]> code.ossystems Code Review - openembedded-core.git/commitdiff
metacity-clutter: Fix after recent updates
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 27 Jan 2009 14:15:13 +0000 (14:15 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 27 Jan 2009 14:15:13 +0000 (14:15 +0000)
meta/packages/gnome/metacity-clutter/nodocs.patch [new file with mode: 0644]
meta/packages/gnome/metacity-clutter_git.bb

diff --git a/meta/packages/gnome/metacity-clutter/nodocs.patch b/meta/packages/gnome/metacity-clutter/nodocs.patch
new file mode 100644 (file)
index 0000000..98f43be
--- /dev/null
@@ -0,0 +1,29 @@
+Index: git/Makefile.am
+===================================================================
+--- git.orig/Makefile.am       2009-01-27 13:26:12.000000000 +0000
++++ git/Makefile.am    2009-01-27 14:07:13.000000000 +0000
+@@ -1,5 +1,5 @@
+-SUBDIRS=src po doc
++SUBDIRS=src po
+ EXTRA_DIST = HACKING MAINTAINERS rationales.txt \
+       intltool-extract.in intltool-merge.in intltool-update.in
+Index: git/configure.in
+===================================================================
+--- git.orig/configure.in      2009-01-27 13:26:12.000000000 +0000
++++ git/configure.in   2009-01-27 14:11:16.000000000 +0000
+@@ -538,12 +538,9 @@
+ # Warnings are there for a reason
+ if test "x$GCC" = "xyes"; then
+-  CFLAGS="$CFLAGS -Wall -Werror -ansi"
++  CFLAGS="$CFLAGS -Wall -ansi"
+ fi
+-# Use gnome-doc-utils:
+-GNOME_DOC_INIT([0.8.0])
+-
+ AC_CONFIG_FILES([
+ Makefile
+ doc/Makefile
index 2abaef12d902f470cd085d1c6237f0d959e11206..94e25a8b4a1da0b586bd68c868def512e0561edd 100644 (file)
@@ -2,11 +2,12 @@ SECTION = "x11/wm"
 DESCRIPTION = "Metacity is the boring window manager for the adult in you."
 LICENSE = "GPL"
 DEPENDS = "startup-notification gtk+ gconf clutter-0.8 gdk-pixbuf-csource-native intltool"
-PR = "r5"
+PR = "r7"
 PV = "2.25.1+git${SRCREV}"
 inherit gnome update-alternatives
 
 SRC_URI = "git://git.o-hand.com/metacity-clutter.git;protocol=git;branch=clutter \
+           file://nodocs.patch;patch=1 \
            file://fix_pkgconfig.patch;patch=1"
 S = "${WORKDIR}/git"
 
@@ -22,6 +23,10 @@ EXTRA_OECONF += "--disable-verbose   \
 FILES_${PN} += "${datadir}/themes ${libdir}/metacity/plugins/clutter/*.so"
 FILES_${PN}-dbg += "${libdir}/metacity/plugins/clutter/.debug/*"
 
+do_configure_prepend () {
+        echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make
+}              
+
 do_stage () {
         autotools_stage_all
 }