[OE-core] [PATCH 2/4] gdk-pixbuf: pick up ${NM} to fix libtool naming issue

Kang Kai kai.kang at windriver.com
Thu Oct 13 09:05:34 UTC 2011


When gdk-pixbuf configures, it should pick up ${NM} from the
environment if it is defined, instead of just looking
for "nm".

The patch is from WindRiver Linux.
CQID:  WIND00260200

Signed-off-by: Kang Kai <kai.kang at windriver.com>
---
 .../gdk-pixbuf-2.24.0/configure-nm.patch           |   32 ++++++++++++++++++++
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb |    3 ++
 2 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch

diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch
new file mode 100644
index 0000000..71defd0
--- /dev/null
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch
@@ -0,0 +1,32 @@
+This patch is from WindRiver Linux, to fix libtool naming issue.
+The original commit info is:
+
+commit 684b9d2daab517856222cc078ac51c72ce3ca3a9
+Author: David Borman <david.borman at windriver.com>
+Date:   Thu Mar 10 07:51:11 2011 -0600
+
+    Have gdk-pixbuf pick up ${NM}, fix libtool naming issue
+    
+    CQID: WIND00260200
+    
+    The configuration for gdk-pixbuf needs to pick up $NM
+    from the environment, this is the same patch that was
+    applied to gdk+.
+    
+    Signed-off-by: David Borman <david.borman at windriver.com>
+
+Upstream-Status: Pending
+
+Signed-off-by: Kang Kai <kai.kang at windriver.com>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -149,7 +149,7 @@
+ AC_SYS_LARGEFILE
+ 
+ AM_PROG_AS
+-AC_PATH_PROG(NM, nm, nm)
++AC_PATH_PROG(NM, [$NM nm], nm)
+ 
+ AC_MSG_CHECKING([for some Win32 platform])
+ AS_CASE(["$host"],
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
index 9fabbe2..2099b98 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
@@ -10,9 +10,12 @@ SECTION = "libs"
 
 DEPENDS = "libpng glib-2.0 jpeg"
 
+PR = "r1"
+
 SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${PV}.tar.bz2 \
            file://hardcoded_libtool.patch \
            file://configure_fix.patch \
+           file://configure-nm.patch;patch=1 \
            "
 
 SRC_URI[md5sum] = "d8ece3a4ade4a91c768328620e473ab8"
-- 
1.7.5.1.300.gc565c





More information about the Openembedded-core mailing list