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