]> code.ossystems Code Review - openembedded-core.git/commitdiff
metacity: do not require gdk-pixbuf-csource
authorMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 23 Sep 2008 12:54:15 +0000 (12:54 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 23 Sep 2008 12:54:15 +0000 (12:54 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5241 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/gnome/metacity/no-csource.patch [new file with mode: 0644]
meta/packages/gnome/metacity_2.22.0.bb

diff --git a/meta/packages/gnome/metacity/no-csource.patch b/meta/packages/gnome/metacity/no-csource.patch
new file mode 100644 (file)
index 0000000..9359ada
--- /dev/null
@@ -0,0 +1,25 @@
+---
+ configure.in |    8 --------
+ 1 file changed, 8 deletions(-)
+
+--- metacity-2.22.0.orig/configure.in
++++ metacity-2.22.0/configure.in
+@@ -449,18 +449,10 @@ fi
+ AM_CONDITIONAL(HAVE_SM, test "$found_sm" = "yes") 
+ HOST_ALIAS=$host_alias
+ AC_SUBST(HOST_ALIAS)
+-AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
+-
+-if test x"$GDK_PIXBUF_CSOURCE" = xno; then
+-  AC_MSG_ERROR([gdk-pixbuf-csource executable not found in your path - should be installed with GTK])
+-fi
+-
+-AC_SUBST(GDK_PIXBUF_CSOURCE)
+-
+ if test x$enable_gconf = xyes; then 
+    AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
+    if test x"$GCONFTOOL" = xno; then
+      AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
+    fi
index 9250d4a45f6bf7544c8087c16a38d0630ead0283..ee95c6245dca64cb7218bd06da05950a4c6322a1 100644 (file)
@@ -2,10 +2,12 @@ SECTION = "x11/wm"
 DESCRIPTION = "Metacity is the boring window manager for the adult in you."
 LICENSE = "GPL"
 DEPENDS = "startup-notification gtk+ gconf"
-PR = "r1"
+PR = "r2"
 
 inherit gnome update-alternatives
 
+SRC_URI += "file://no-csource.patch;patch=1"
+
 ALTERNATIVE_NAME = "x-window-manager"
 ALTERNATIVE_LINK = "${bindir}/x-window-manager"
 ALTERNATIVE_PATH = "${bindir}/metacity"