From 3c6262dd270a7c2f709c84335501b345f2b47d38 Mon Sep 17 00:00:00 2001 From: Constantin Musca Date: Fri, 21 Dec 2012 15:10:00 +0200 Subject: metacity: upgrade to 2.34.13 crosscompile.patch: removed - schema_bindings binary not generated anymore remove-yelp-help-rules-var.patch: added - YELP_HELP_RULES var is not used [Other changes] - the 2.34.13 version requires the gsettings-desktop-schemas (add it to DEPENDS) Signed-off-by: Constantin Musca Signed-off-by: Saul Wold --- .../gnome/metacity/crosscompile.patch | 62 ---------------------- .../metacity/remove-yelp-help-rules-var.patch | 28 ++++++++++ meta/recipes-gnome/gnome/metacity_2.30.3.bb | 30 ----------- meta/recipes-gnome/gnome/metacity_2.34.13.bb | 30 +++++++++++ 4 files changed, 58 insertions(+), 92 deletions(-) delete mode 100644 meta/recipes-gnome/gnome/metacity/crosscompile.patch create mode 100644 meta/recipes-gnome/gnome/metacity/remove-yelp-help-rules-var.patch delete mode 100644 meta/recipes-gnome/gnome/metacity_2.30.3.bb create mode 100644 meta/recipes-gnome/gnome/metacity_2.34.13.bb (limited to 'meta/recipes-gnome/gnome') diff --git a/meta/recipes-gnome/gnome/metacity/crosscompile.patch b/meta/recipes-gnome/gnome/metacity/crosscompile.patch deleted file mode 100644 index 7a1942ab26..0000000000 --- a/meta/recipes-gnome/gnome/metacity/crosscompile.patch +++ /dev/null @@ -1,62 +0,0 @@ -This patch is revised version from openembed. It build host native binary -rather than target binary in cross-compile environment. - -Signed-off-by: Zhai Edwin - -Upstream-Status: Inappropriate [embedded specific] - -Index: metacity-2.30.3/src/Makefile.am -=================================================================== ---- metacity-2.30.3.orig/src/Makefile.am 2010-09-05 00:09:52.000000000 +0800 -+++ metacity-2.30.3/src/Makefile.am 2010-12-31 11:15:31.000000000 +0800 -@@ -134,11 +134,9 @@ - metacity_theme_viewer_SOURCES= \ - ui/theme-viewer.c - --schema_bindings_SOURCES = \ -- core/schema-bindings.c \ -- metacity.schemas.in.in -+schema_bindings: -+ @CC_FOR_BUILD@ core/schema-bindings.c -I./include -I../ @CFLAGS_FOR_BUILD@ @LDFLAGS_FOR_BUILD@ -o schema_bindings - --schema_bindings_LDADD = @METACITY_LIBS@ - metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in - @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in - ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in -Index: metacity-2.30.3/configure.in -=================================================================== ---- metacity-2.30.3.orig/configure.in 2010-09-22 22:14:06.000000000 +0800 -+++ metacity-2.30.3/configure.in 2010-12-31 11:15:31.000000000 +0800 -@@ -31,6 +31,32 @@ - AC_LIBTOOL_WIN32_DLL - AM_PROG_LIBTOOL - -+if test x"$CC_FOR_BUILD" = x; then -+ if test x"$cross_compiling" = xyes; then -+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc) -+ else -+ CC_FOR_BUILD="$CC" -+ fi -+fi -+AC_SUBST([CC_FOR_BUILD]) -+if test x"$CFLAGS_FOR_BUILD" = x; then -+ if test x"$cross_compiling" = xyes; then -+ echo boo! -+ else -+ CFLAGS_FOR_BUILD="$CFLAGS" -+ fi -+fi -+AC_SUBST([CFLAGS_FOR_BUILD]) -+if test x"$LDFLAGS_FOR_BUILD" = x; then -+ if test x"$cross_compiling" = xyes; then -+ echo boo! -+ else -+ LDFLAGS_FOR_BUILD="$LDFLAGS" -+ fi -+fi -+AC_SUBST([LDFLAGS_FOR_BUILD]) -+ -+ - #### Integer sizes - - AC_CHECK_SIZEOF(char) diff --git a/meta/recipes-gnome/gnome/metacity/remove-yelp-help-rules-var.patch b/meta/recipes-gnome/gnome/metacity/remove-yelp-help-rules-var.patch new file mode 100644 index 0000000000..1970e9afb1 --- /dev/null +++ b/meta/recipes-gnome/gnome/metacity/remove-yelp-help-rules-var.patch @@ -0,0 +1,28 @@ +Remove unused variable (YELP_HELP_RULES) + +Upstream-Status: Pending +Signed-off-by: Constantin Musca + +Index: metacity-2.34.13/doc/creating_themes/Makefile.am +=================================================================== +--- metacity-2.34.13.orig/doc/creating_themes/Makefile.am ++++ metacity-2.34.13/doc/creating_themes/Makefile.am +@@ -1,6 +1,5 @@ + ### This part of Makefile.am can be customized by you. + +-@YELP_HELP_RULES@ + + # The name of the directory in /usr/share/gnome/help/, + # and the name of the main .xml file: +Index: metacity-2.34.13/doc/creating_themes/Makefile.in +=================================================================== +--- metacity-2.34.13.orig/doc/creating_themes/Makefile.in ++++ metacity-2.34.13/doc/creating_themes/Makefile.in +@@ -455,7 +455,6 @@ uninstall-am: + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + + +-@YELP_HELP_RULES@ + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/meta/recipes-gnome/gnome/metacity_2.30.3.bb b/meta/recipes-gnome/gnome/metacity_2.30.3.bb deleted file mode 100644 index 5b996d2297..0000000000 --- a/meta/recipes-gnome/gnome/metacity_2.30.3.bb +++ /dev/null @@ -1,30 +0,0 @@ -SECTION = "x11/wm" -DESCRIPTION = "Metacity is the boring window manager for the adult in you." -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" - -DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils" -PR = "r5" - -inherit gnome update-alternatives - -SRC_URI += "file://crosscompile.patch" -SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339" -SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd" - -ALTERNATIVE_${PN} = "x-window-manager" -ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/metacity" -ALTERNATIVE_PRIORITY = "10" - -EXTRA_OECONF += "--disable-verbose \ - --disable-xinerama" - -do_configure_prepend() { - sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in -} -CFLAGS_FOR_BUILD += "-I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" -LDFLAGS_FOR_BUILD += "-L${STAGING_LIBDIR_NATIVE} -lglib-2.0" - -FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" - diff --git a/meta/recipes-gnome/gnome/metacity_2.34.13.bb b/meta/recipes-gnome/gnome/metacity_2.34.13.bb new file mode 100644 index 0000000000..360520152b --- /dev/null +++ b/meta/recipes-gnome/gnome/metacity_2.34.13.bb @@ -0,0 +1,30 @@ +SECTION = "x11/wm" +DESCRIPTION = "Metacity is the boring window manager for the adult in you." +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" + +DEPENDS = "gsettings-desktop-schemas startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils" +PR = "r0" + +inherit gnome update-alternatives + +GNOME_COMPRESS_TYPE = "xz" + +SRC_URI += "file://remove-yelp-help-rules-var.patch" +SRC_URI[archive.md5sum] = "6d89b71672d4fa49fc87f83d610d0ef6" +SRC_URI[archive.sha256sum] = "8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075" + +ALTERNATIVE_${PN} = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/metacity" +ALTERNATIVE_PRIORITY = "10" + +EXTRA_OECONF += "--disable-verbose \ + --disable-xinerama" + +do_configure_prepend() { + sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in +} + +FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" + -- cgit 1.2.3-korg