summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2015-05-28 00:34:58 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-07-16 21:09:04 +0200
commitd4e5b33047e467494f4a0343f18fcab2ebf18f79 (patch)
tree12a3e538a4c04e808a55dda9710637f82b24f777
parentf3f6e2bbc0beeed3d3dc8e82f1044659cbfd2125 (diff)
downloadmeta-openembedded-d4e5b33047e467494f4a0343f18fcab2ebf18f79.tar.gz
libxfce4ui: build gtk3 libs and pack gtk2/gtk3 libs in separate packages
the solution provided still allows gtk3 free images (tested on image including packagegroup-xfce-extended) but there will be updates/new recipes for xfce4 requiring gtk3 part of libxfce4ui e.g xfce4-pulseaudio-plugin (replacement for deprecated xfce4-mixer due to missing mixer API in gstreamer-1.0) / parole / xfce4-power-manager. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
-rw-r--r--meta-xfce/recipes-xfce/libxfce4ui/files/0002-configure.ac-remove-optional-gtk3-support.patch37
-rw-r--r--meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb7
2 files changed, 5 insertions, 39 deletions
diff --git a/meta-xfce/recipes-xfce/libxfce4ui/files/0002-configure.ac-remove-optional-gtk3-support.patch b/meta-xfce/recipes-xfce/libxfce4ui/files/0002-configure.ac-remove-optional-gtk3-support.patch
deleted file mode 100644
index e15471192..000000000
--- a/meta-xfce/recipes-xfce/libxfce4ui/files/0002-configure.ac-remove-optional-gtk3-support.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From d61dc6718a2abaf70d19f17d34128cb7e161e057 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 18 Sep 2013 20:50:11 +0200
4Subject: [PATCH] configure.ac: remove optional gtk3 support
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9it drags in gtk3 if that was build before. This is not yet wanted
10
11Upstream-Status: Inappropriate [configuration]
12
13Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
14---
15 configure.ac | 6 ------
16 1 file changed, 6 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index e47df04..b6edab1 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -129,12 +129,6 @@ XDT_CHECK_PACKAGE([GOBJECT], [gobject-2.0], [2.28.0])
23 XDT_CHECK_PACKAGE([GTK2], [gtk+-2.0], [2.24.0])
24 XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.10.0])
25
26-dnl ***********************************************************
27-dnl *** Optional support for a GTK+3 version of the library ***
28-dnl ***********************************************************
29-XDT_CHECK_OPTIONAL_PACKAGE([GTK3],
30- [gtk+-3.0], [3.2.0], [gtk3],
31- [GTK+ 3 support])
32 AM_CONDITIONAL([ENABLE_GTK3_LIBRARY], [test "x$GTK3_FOUND" = "xyes"])
33
34 dnl *************************************************
35--
361.8.3.1
37
diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb
index 36f42d3f9..26d21c1f0 100644
--- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb
+++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb
@@ -2,13 +2,12 @@ SUMMARY = "Xfce4 Widget library and X Window System interaction"
2SECTION = "x11/libs" 2SECTION = "x11/libs"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" 4LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475"
5DEPENDS = "perl-native glib-2.0 gtk+ intltool libxfce4util xfconf xfce4-dev-tools virtual/libx11 libsm libice" 5DEPENDS = "perl-native glib-2.0 gtk+ gtk+3 intltool libxfce4util xfconf xfce4-dev-tools virtual/libx11 libsm libice"
6 6
7inherit xfce autotools gettext gtk-doc 7inherit xfce autotools gettext gtk-doc
8 8
9SRC_URI += " \ 9SRC_URI += " \
10 file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \ 10 file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \
11 file://0002-configure.ac-remove-optional-gtk3-support.patch \
12" 11"
13SRC_URI[md5sum] = "ea9fad7d059fe8f531fe8db42dabb5a9" 12SRC_URI[md5sum] = "ea9fad7d059fe8f531fe8db42dabb5a9"
14SRC_URI[sha256sum] = "3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43" 13SRC_URI[sha256sum] = "3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43"
@@ -19,6 +18,10 @@ PACKAGECONFIG ??= ""
19PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3" 18PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3"
20PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" 19PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
21 20
21PACKAGES =+ "${PN}-gtk2 ${PN}-gtk3"
22FILES_${PN}-gtk2 += "${libdir}/libxfce4ui-1.so.* ${libdir}/libxfce4kbd-private-2.so.*"
23FILES_${PN}-gtk3 += "${libdir}/libxfce4ui-2.so.* ${libdir}/libxfce4kbd-private-3.so.*"
24
22FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" 25FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug"
23FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \ 26FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \
24 ${datadir}/glade3/catalogs/*.in" 27 ${datadir}/glade3/catalogs/*.in"