From 4e70eb9149d3de3d9e0b1bc5d6e6454bba645bed Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 24 Jun 2011 17:55:56 +0200 Subject: gnome-panel3: add 3.0.2 Signed-off-by: Koen Kooi --- .../gnome-panel/gnome-panel3/as-needed.patch | 36 +++++++++++++++++ .../gnome-panel/gnome-panel3_3.0.2.bb | 45 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel3/as-needed.patch create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb (limited to 'meta-gnome/recipes-gnome') diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3/as-needed.patch b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3/as-needed.patch new file mode 100644 index 0000000000..378e3e405a --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3/as-needed.patch @@ -0,0 +1,36 @@ +From c65f1ae3472cfd4cd96fd376b7bbd95fba5eef0a Mon Sep 17 00:00:00 2001 +From: Vincent Untz +Date: Fri, 27 May 2011 17:00:14 +0000 +Subject: build: Fix build with --as-needed + +upstream-status: backport + +--- +diff --git a/applets/notification_area/Makefile.am b/applets/notification_area/Makefile.am +index 0afc6c5..9734536 100644 +--- a/applets/notification_area/Makefile.am ++++ b/applets/notification_area/Makefile.am +@@ -29,17 +29,17 @@ libtray_la_SOURCES = \ + NOTIFICATION_AREA_SOURCES = main.c main.h + + NOTIFICATION_AREA_LDADD = \ ++ libtray.la \ + ../../libpanel-applet/libpanel-applet-4.la \ + $(X_LIBS) \ + $(NOTIFICATION_AREA_LIBS) \ +- $(LIBPANEL_APPLET_LIBS) \ +- libtray.la ++ $(LIBPANEL_APPLET_LIBS) + + testtray_SOURCES = testtray.c + testtray_LDADD = \ ++ libtray.la \ + $(X_LIBS) \ +- $(NOTIFICATION_AREA_LIBS) \ +- libtray.la ++ $(NOTIFICATION_AREA_LIBS) + + if NOTIFICATION_AREA_INPROCESS + APPLET_IN_PROCESS = true +-- +cgit v0.9 diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb new file mode 100644 index 0000000000..f1d6b3da07 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "GNOME panel" +LICENSE = "GPLv2 && LGPLv2 && GFDLv1.1" + +BPN = "gnome-panel" + +DEFAULT_PREFERENCE = "-1" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING-DOCS;md5=c9211dab3ae61e580f48432020784324 \ + file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2" + +SECTION = "x11/gnome" + +DEPENDS = "gnome-doc-utils-native gtk+3 gconf glib-2.0 gnome-desktop3 gtk+ pango libwnck3 gnome-menus cairo libgweather3 dbus-glib librsvg libcanberra" + +inherit gtk-doc gnome gettext pkgconfig + +SRC_URI += "file://as-needed.patch " + +SRC_URI[archive.md5sum] = "0f2f644dc4081b72f6df7a65282af7c6" +SRC_URI[archive.sha256sum] = "25db8ec026c4bf47f0ef5cc7e2712f2aad175bd7fb8e4952ef5f8b200f17f196" + +EXTRA_OECONF = "--disable-scrollkeeper --disable-eds --enable-bonobo=no --with-in-process-applets=none" + +do_configure_prepend() { + gnome-doc-prepare --automake + sed -i -e s:help:: ${S}/Makefile.am +} + +pkg_postinst_append () { + gconftool-2 --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults \ + --direct --load /etc/gconf/schemas/panel-default-setup.entries +} + +PACKAGES =+ "libpanel-applet" +FILES_libpanel-applet = "${libdir}/libpanel-applet-3.so.*" + +FILES_${PN} =+ "${datadir}/gnome* \ + ${datadir}/dbus-1 \ + ${datadir}/icons \ + ${datadir}/PolicyKit \ + ${libdir}/bonobo \ + " + + -- cgit 1.2.3-korg