* [PATCH] jpeg_8b: Allow using older versions of automake
@ 2010-08-27 15:50 Chase Maupin
2010-08-27 20:19 ` Khem Raj
2010-08-29 15:10 ` Enrico Scholz
0 siblings, 2 replies; 6+ messages in thread
From: Chase Maupin @ 2010-08-27 15:50 UTC (permalink / raw)
To: openembedded-devel
From: Chase <chase@chase-laptop.(none)>
* Added patch to allow using older versions of automake such
as 1.10.3 when building jpeg version 8b.
* Only use the AM_SILENT_RULES if it is available.
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
---
...igure-make-jpeg-work-with-older-autotools.patch | 30 ++++++++++++++++++++
recipes/jpeg/jpeg_8b.bb | 7 +++-
2 files changed, 35 insertions(+), 2 deletions(-)
create mode 100644 recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
diff --git a/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
new file mode 100644
index 0000000..dd6fd52
--- /dev/null
+++ b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
@@ -0,0 +1,30 @@
+From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:00 2001
+From: Chase Maupin <chase.maupin@ti.com>
+Date: Tue, 17 Aug 2010 08:30:56 -0500
+Subject: [PATCH] configure: make jpeg work with older autotools
+
+* Only use the AM_SILENT_RULES variable if it is defined. Older
+ versions of automake don't support this option.
+
+Signed-off-by: Chase Maupin <chase.maupin@ti.com>
+---
+ configure.ac | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 96da13b..9a58c51 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -26,7 +26,8 @@ AM_INIT_AUTOMAKE([-Wall -Werror ansi2knr no-dist foreign])
+ # Make --enable-silent-rules the default.
+ # To get verbose build output you may configure
+ # with --disable-silent-rules or use "make V=1".
+-AM_SILENT_RULES([yes])
++# only use if available
++m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+ # This is required when using the de-ANSI-fication feature.
+ AM_C_PROTOTYPES
+--
+1.7.0.4
+
diff --git a/recipes/jpeg/jpeg_8b.bb b/recipes/jpeg/jpeg_8b.bb
index 4251ca6..4e6f25b 100644
--- a/recipes/jpeg/jpeg_8b.bb
+++ b/recipes/jpeg/jpeg_8b.bb
@@ -2,12 +2,15 @@ DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format."
LICENSE = "jpeg"
SECTION = "libs"
PRIORITY = "required"
-PR = "r0"
+PR = "r1"
# TODO: really needed?
RPROVIDES_${PN} = "jpeg"
-SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz"
+SRC_URI = "\
+ http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
+ file://0001-configure-make-jpeg-work-with-older-autotools.patch;apply=yes \
+ "
S = "${WORKDIR}/jpeg-${PV}"
inherit autotools
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] jpeg_8b: Allow using older versions of automake
2010-08-27 15:50 [PATCH] jpeg_8b: Allow using older versions of automake Chase Maupin
@ 2010-08-27 20:19 ` Khem Raj
2010-08-30 13:24 ` Maupin, Chase
2010-08-29 15:10 ` Enrico Scholz
1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2010-08-27 20:19 UTC (permalink / raw)
To: openembedded-devel
On Fri, Aug 27, 2010 at 8:50 AM, Chase Maupin <chasemaupin03@gmail.com> wrote:
>
>
> Signed-off-by: Chase Maupin <chase.maupin@ti.com>
patch looks ok. I would suggest to regenerate configure and also
include in the patch. If we use autotools class do_configure
then configure is regenerated so that may not be needed but it does
not hurt to have it patched
> ---
> ...igure-make-jpeg-work-with-older-autotools.patch | 30 ++++++++++++++++++++
> recipes/jpeg/jpeg_8b.bb | 7 +++-
> 2 files changed, 35 insertions(+), 2 deletions(-)
> create mode 100644 recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
>
> diff --git a/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
> new file mode 100644
> index 0000000..dd6fd52
> --- /dev/null
> +++ b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch
> @@ -0,0 +1,30 @@
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] jpeg_8b: Allow using older versions of automake
2010-08-27 15:50 [PATCH] jpeg_8b: Allow using older versions of automake Chase Maupin
2010-08-27 20:19 ` Khem Raj
@ 2010-08-29 15:10 ` Enrico Scholz
1 sibling, 0 replies; 6+ messages in thread
From: Enrico Scholz @ 2010-08-29 15:10 UTC (permalink / raw)
To: openembedded-devel
Chase Maupin <chasemaupin03@gmail.com> writes:
> * Added patch to allow using older versions of automake such
> as 1.10.3 when building jpeg version 8b.
> * Only use the AM_SILENT_RULES if it is available.
>
> Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
> + file://0001-configure-make-jpeg-work-with-older-autotools.patch;apply=yes \
I suggest to remove the explicit ';apply=yes'.
Enrico
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] jpeg_8b: Allow using older versions of automake
2010-08-27 20:19 ` Khem Raj
@ 2010-08-30 13:24 ` Maupin, Chase
2010-09-10 18:04 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Maupin, Chase @ 2010-08-30 13:24 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Khem,
I'd be happy to make the patch but in this case the resulting differences in configure appear to be just changes to line numbers in the script because my patch caused a new comment line to be inserted. I'm not sure if this patch to configure would add anything but clutter. However, if you still want it I'll add it to the patch and resend. The changes to configure would be (and sorry for any outlook mangling):
diff -burpN orig/configure new/configure
--- orig/configure 2010-08-30 08:03:01.485893044 -0500
+++ new/configure 2010-08-30 08:08:57.961780786 -0500
@@ -2950,6 +2950,7 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
# Make --enable-silent-rules the default.
# To get verbose build output you may configure
# with --disable-silent-rules or use "make V=1".
+# only use if available
# Check whether --enable-silent-rules was given.
if test "${enable_silent_rules+set}" = set; then :
enableval=$enable_silent_rules;
@@ -6950,13 +6951,13 @@ if test "${lt_cv_nm_interface+set}" = se
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:6953: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:6954: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:6956: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:6957: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:6959: output\"" >&5)
+ (eval echo "\"\$as_me:6960: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -8147,7 +8148,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 8150 "configure"' > conftest.$ac_ext
+ echo '#line 8151 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -9404,11 +9405,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9407: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9408: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9411: \$? = $ac_status" >&5
+ echo "$as_me:9412: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -9743,11 +9744,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9746: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9747: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9750: \$? = $ac_status" >&5
+ echo "$as_me:9751: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -9848,11 +9849,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9851: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9852: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9855: \$? = $ac_status" >&5
+ echo "$as_me:9856: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -9903,11 +9904,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9906: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9907: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9910: \$? = $ac_status" >&5
+ echo "$as_me:9911: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12270,7 +12271,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12273 "configure"
+#line 12274 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12366,7 +12367,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12369 "configure"
+#line 12370 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
Sincerely,
Chase Maupin
Software Applications
Catalog DSP Products
e-mail: chase.maupin@ti.com
phone: (281) 274-3285
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Khem Raj
> Sent: Friday, August 27, 2010 3:19 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCH] jpeg_8b: Allow using older versions of automake
>
> On Fri, Aug 27, 2010 at 8:50 AM, Chase Maupin <chasemaupin03@gmail.com>
> wrote:
> >
> >
> > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
>
> patch looks ok. I would suggest to regenerate configure and also
> include in the patch. If we use autotools class do_configure
> then configure is regenerated so that may not be needed but it does
> not hurt to have it patched
>
> > ---
> > ...igure-make-jpeg-work-with-older-autotools.patch | 30
> ++++++++++++++++++++
> > recipes/jpeg/jpeg_8b.bb | 7 +++-
> > 2 files changed, 35 insertions(+), 2 deletions(-)
> > create mode 100644 recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-
> with-older-autotools.patch
> >
> > diff --git a/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-
> older-autotools.patch b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-
> work-with-older-autotools.patch
> > new file mode 100644
> > index 0000000..dd6fd52
> > --- /dev/null
> > +++ b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-
> autotools.patch
> > @@ -0,0 +1,30 @@
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] jpeg_8b: Allow using older versions of automake
2010-08-30 13:24 ` Maupin, Chase
@ 2010-09-10 18:04 ` Denys Dmytriyenko
2010-09-10 18:09 ` Maupin, Chase
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2010-09-10 18:04 UTC (permalink / raw)
To: openembedded-devel
On Mon, Aug 30, 2010 at 08:24:30AM -0500, Maupin, Chase wrote:
> Khem,
>
> I'd be happy to make the patch but in this case the resulting differences in
> configure appear to be just changes to line numbers in the script because my
> patch caused a new comment line to be inserted. I'm not sure if this patch
> to configure would add anything but clutter. However, if you still want it
> I'll add it to the patch and resend. The changes to configure would be (and
> sorry for any outlook mangling):
Ping.
While the patch is not required, but it's nice to have. I'd vote to apply the
original version w/o changes to configure script, but with change proposed by
Enrico.
Acked-by: Denys Dmytriyenko <denis@denix.org>
--
Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] jpeg_8b: Allow using older versions of automake
2010-09-10 18:04 ` Denys Dmytriyenko
@ 2010-09-10 18:09 ` Maupin, Chase
0 siblings, 0 replies; 6+ messages in thread
From: Maupin, Chase @ 2010-09-10 18:09 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Enricos change is on my list. I will resubmit this.
Sincerely,
Chase Maupin
Software Applications
Catalog DSP Products
e-mail: chase.maupin@ti.com
phone: (281) 274-3285
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Denys Dmytriyenko
> Sent: Friday, September 10, 2010 1:05 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCH] jpeg_8b: Allow using older versions of automake
>
> On Mon, Aug 30, 2010 at 08:24:30AM -0500, Maupin, Chase wrote:
> > Khem,
> >
> > I'd be happy to make the patch but in this case the resulting
> differences in
> > configure appear to be just changes to line numbers in the script
> because my
> > patch caused a new comment line to be inserted. I'm not sure if this
> patch
> > to configure would add anything but clutter. However, if you still want
> it
> > I'll add it to the patch and resend. The changes to configure would be
> (and
> > sorry for any outlook mangling):
>
> Ping.
>
> While the patch is not required, but it's nice to have. I'd vote to apply
> the
> original version w/o changes to configure script, but with change proposed
> by
> Enrico.
>
> Acked-by: Denys Dmytriyenko <denis@denix.org>
>
> --
> Denys
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-10 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27 15:50 [PATCH] jpeg_8b: Allow using older versions of automake Chase Maupin
2010-08-27 20:19 ` Khem Raj
2010-08-30 13:24 ` Maupin, Chase
2010-09-10 18:04 ` Denys Dmytriyenko
2010-09-10 18:09 ` Maupin, Chase
2010-08-29 15:10 ` Enrico Scholz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.