jpeg_8b: Allow using older versions of automake
PATCH v2 1/1 jpeg_8b: Allow using older versions of automake
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.
--- ...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
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch new file +30 -0
@@ -0,0 +1,30 @@ +From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +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 <[email protected]> +--- + 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 +
recipes/jpeg/jpeg_8b.bb +5 -2
@@ -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 \ + " S = "${WORKDIR}/jpeg-${PV}" inherit autotools
Signature · 1 line
1.7.0.4
Quoted 7 lines · Chase Maupin
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 theAM_SILENT_RULESif it is available.Signed-off-by Chase Maupin <[email protected]>
Quoted 72 lines
--- ...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.patchrecipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch new file +30
-0@@ -0,0 +1,30 @@ +From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +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 <[email protected]> +--- + 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 +recipes/jpeg/jpeg_8b.bb +5
-2@@ -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 \ + " S = "${WORKDIR}/jpeg-${PV}" inherit autotoolsSignature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Dear Chase,
Am Freitag, den 10.09.2010, 15:20 -0400 schrieb Denys Dmytriyenko:
Quoted 2 lines · Chase Maupin
Quoted 1 line
From: Chase <chase@chase-laptop.(none)>
please set up Git on your laptop with the following command.
git config user.name Chase Maupin
git config user.email [email protected]
Quoted 7 lines
Quoted 5 lines
* Added patch to allow using older versions of automake such as 1.10.3 when building jpeg version 8b.
* Only use theAM_SILENT_RULESif it is available.Signed-off-by Chase Maupin <[email protected]>
To get the stats right, maybe the one who is pushing this can fix this up by deleting the From: line in the message body.
Thanks,
Paul
Quoted 66 lines
Quoted 66 lines
--- ...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.patchrecipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-autotools.patch new file +30
-0@@ -0,0 +1,30 @@ +From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +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 <[email protected]> +--- + 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 +recipes/jpeg/jpeg_8b.bb +5
-2@@ -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 \ + " S = "${WORKDIR}/jpeg-${PV}" inherit autotoolsSignature · 1 line
1.7.0.4
Quoted 12 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Friday, September 10, 2010 2:52 PM
To: [email protected]
Subject: Re: [oe] [PATCHv2]jpeg_8b: Allow using older versions of automakeDear Chase,
Quoted 8 lines
Am Freitag, den 10.09.2010, 15:20 -0400 schrieb Denys Dmytriyenko:
Quoted 2 lines · Chase Maupin
Quoted 1 line
From: Chase <chase@chase-laptop.(none)>
please set up Git on your laptop with the following command.
git config user.name Chase Maupin
git config user.email [email protected]
Paul,
I'm not sure how that From line got in this mail. My other patches don't have it. I have my git config set for user.email [email protected] (even though I send through a gmail account because I'm not trying to hide that these patches are from someone at TI). The weird thing is that my laptop is my Windows PC and I don't send patches from it. Perhaps this snuck in because I responded to the thread from my Windows PC (outlook).
Quoted 90 lines
Quoted 8 lines
Quoted 6 lines
* Added patch to allow using older versions of automake such as 1.10.3 when building jpeg version 8b.
* Only use theAM_SILENT_RULESif it is available.Signed-off-by Chase Maupin <[email protected]>To get the stats right, maybe the one who is pushing this can fix this up by deleting the From: line in the message body.
Thanks,
Paul
Quoted 2 lines
Quoted 2 lines
--- ...igure-make-jpeg-work-with-older-autotools.patch | 30++++++++++++++++++++
Quoted 3 lines
Quoted 3 lines
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
Quoted 2 lines
Review
Quoted 2 lines
(quoted diff) +0
-0older-autotools.patch b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg- work-with-older-autotools.patch
Quoted 4 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-
Quoted 4 lines
new file mode 100644
index 0000000..dd6fd52recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +0
-0autotools.patch
Quoted 2 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- line 1
Quoted 2 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +1
-0@@ -0,0 +1,30 @@ +From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:002001
Quoted 9 lines
Quoted 9 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +9
-0+From: Chase Maupin <[email protected]> +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 <[email protected]> +---Quoted 8 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- line 18
Quoted 8 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +8
-0+ 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-distforeign])
Quoted 9 lines
Quoted 9 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +9
-0+ # 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_PROTOTYPESQuoted 8 lines
recipes/jpeg/jpeg_8b.bb DESCRIPTION = "libjpeg is a library for handling the
Quoted 8 lines
recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older- new file +3
-0+-- +1.7.0.4 +recipes/jpeg/jpeg_8b.bb +0
-0@@ -2,12 +2,15 @@ DESCRIPTION = "libjpeg is a library for handling theJPEG (JFIF) image format."
Quoted 19 lines
Quoted 19 lines
recipes/jpeg/jpeg_8b.bb +5
-3LICENSE = "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 \ + " S = "${WORKDIR}/jpeg-${PV}" inherit autotools --1.7.0.4