All of lore.kernel.org
 help / color / mirror / Atom feed
From: nitin.a.kamble@intel.com
To: Openembedded-core@lists.openembedded.org
Subject: [PATCH 02/19] jpeg: fix configure with automake 1.12.1
Date: Tue, 10 Jul 2012 09:02:02 -0700	[thread overview]
Message-ID: <fa9bb7a4ca930d60a52cf189666d54616f65783c.1341935782.git.nitin.a.kamble@intel.com> (raw)
In-Reply-To: <b4314c7a2f9fb120c2c4affd52567fe60a96bb5a.1341935782.git.nitin.a.kamble@intel.com>
In-Reply-To: <cover.1341935782.git.nitin.a.kamble@intel.com>

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Bring back earlier jpeg fix. upstream has removed the fix from earlier release.

The support for automatic de-ANSI-fication has been deprecated in
automake 1.11.2, and will be removed altogether in automake 1.12

This avoids this error:
| configure.ac:24: automatic de-ANSI-fication support is deprecated
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
NOTE: package jpeg-native-8c-r2: task do_configure: Failed

(From OE-Core rev: 893ce9db79a5c4cca8a6b6ed6a9cec81777aba2f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch     |   44 ++++++++++++++++++++
 meta/recipes-core/jpeg/jpeg_8d.bb                  |    5 +-
 2 files changed, 47 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch

diff --git a/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch b/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
new file mode 100644
index 0000000..3a970ea
--- /dev/null
+++ b/meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
@@ -0,0 +1,44 @@
+Upstream-Status: Pending
+
+The support for automatic de-ANSI-fication has been deprecated in
+automake 1.11.2, and will be removed altogether in automake 1.12
+
+This avoids this error:
+| configure.ac:24: automatic de-ANSI-fication support is deprecated
+| autoreconf: automake failed with exit status: 1
+| ERROR: autoreconf execution failed.
+NOTE: package jpeg-native-8c-r2: task do_configure: Failed
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2011/12/28
+
+
+Index: jpeg-8d/configure.ac
+===================================================================
+--- jpeg-8d.orig/configure.ac
++++ jpeg-8d/configure.ac
+@@ -21,7 +21,7 @@ AC_CANONICAL_TARGET
+ 
+ # Initialize Automake
+ # Don't require all the GNU mandated files
+-AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete ansi2knr no-dist foreign])
++AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete no-dist foreign])
+ 
+ # Make --enable-silent-rules the default.
+ # To get verbose build output you may configure
+@@ -29,7 +29,14 @@ AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obs
+ AM_SILENT_RULES([yes])
+ 
+ # This is required when using the de-ANSI-fication feature.
+-AM_C_PROTOTYPES
++#AM_C_PROTOTYPES
++# add following to avoid this error:
++#| automake: warnings are treated as errors
++#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libjpeg.la': linking libtool libraries using a non-POSIX
++#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
++#| Makefile.am:65:   while processing Libtool library 'libjpeg.la'
++#| autoreconf: automake failed with exit status: 1
++AM_PROG_AR
+ 
+ # Add configure option --enable-maintainer-mode which enables
+ # dependency checking and generation useful to package maintainers.
diff --git a/meta/recipes-core/jpeg/jpeg_8d.bb b/meta/recipes-core/jpeg/jpeg_8d.bb
index 61f1c2e..6781619 100644
--- a/meta/recipes-core/jpeg/jpeg_8d.bb
+++ b/meta/recipes-core/jpeg/jpeg_8d.bb
@@ -11,10 +11,11 @@ SECTION = "libs"
 DEPENDS = "libtool-cross"
 DEPENDS_virtclass-native = "libtool-native"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
-	   file://debian-libjpeg7_7-1.diff"
+	   file://debian-libjpeg7_7-1.diff \
+           file://fix_for_automake_1.12.1.patch"
 
 SRC_URI[md5sum] = "52654eb3b2e60c35731ea8fc87f1bd29"
 SRC_URI[sha256sum] = "00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3"
-- 
1.7.3.4




  parent reply	other threads:[~2012-07-10 16:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10 15:58 [PATCH 00/19] automake update related commits on master nitin.a.kamble
2012-07-10 16:02 ` [PATCH 01/19] automake: upgrade from 1.11.3 to 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` nitin.a.kamble [this message]
2012-07-10 16:02 ` [PATCH 03/19] gnutls: Fix build with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 04/19] pcmanfm: fix build with automake 1.12.x nitin.a.kamble
2012-07-10 16:02 ` [PATCH 05/19] avahi: fix build with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 06/19] dates: fix build with automake 1.12.x nitin.a.kamble
2012-07-10 16:02 ` [PATCH 07/19] librsvg: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 08/19] evolution-data-server: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 09/19] tar: " nitin.a.kamble
2012-07-11 22:15   ` Saul Wold
2012-07-10 16:02 ` [PATCH 10/19] libgcrypt: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 11/19] telepathy-glib: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 12/19] xf86-video-vmware: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 13/19] libfm: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 14/19] pango: fix dependencies to avoid build issue nitin.a.kamble
2012-07-10 16:02 ` [PATCH 15/19] libunistring: fix build with automake 1.12 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 16/19] telepathy-python: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 17/19] libidn: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 18/19] webgit-gtk: fix build with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 19/19] gpgme: fix build with automake 1.12.x nitin.a.kamble
2012-07-12 23:10 ` [PATCH 00/19] automake update related commits on master Saul Wold
2012-07-13  4:05   ` Kamble, Nitin A
2012-07-13  4:29     ` Saul Wold
2012-07-17 16:23 ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa9bb7a4ca930d60a52cf189666d54616f65783c.1341935782.git.nitin.a.kamble@intel.com \
    --to=nitin.a.kamble@intel.com \
    --cc=Openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.