diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-05-28 00:34:58 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-16 21:09:04 +0200 |
commit | d4e5b33047e467494f4a0343f18fcab2ebf18f79 (patch) | |
tree | 12a3e538a4c04e808a55dda9710637f82b24f777 | |
parent | f3f6e2bbc0beeed3d3dc8e82f1044659cbfd2125 (diff) | |
download | meta-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.patch | 37 | ||||
-rw-r--r-- | meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.12.1.bb | 7 |
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 @@ | |||
1 | From d61dc6718a2abaf70d19f17d34128cb7e161e057 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Wed, 18 Sep 2013 20:50:11 +0200 | ||
4 | Subject: [PATCH] configure.ac: remove optional gtk3 support | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | it drags in gtk3 if that was build before. This is not yet wanted | ||
10 | |||
11 | Upstream-Status: Inappropriate [configuration] | ||
12 | |||
13 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
14 | --- | ||
15 | configure.ac | 6 ------ | ||
16 | 1 file changed, 6 deletions(-) | ||
17 | |||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index 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 | -- | ||
36 | 1.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" | |||
2 | SECTION = "x11/libs" | 2 | SECTION = "x11/libs" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" |
5 | DEPENDS = "perl-native glib-2.0 gtk+ intltool libxfce4util xfconf xfce4-dev-tools virtual/libx11 libsm libice" | 5 | DEPENDS = "perl-native glib-2.0 gtk+ gtk+3 intltool libxfce4util xfconf xfce4-dev-tools virtual/libx11 libsm libice" |
6 | 6 | ||
7 | inherit xfce autotools gettext gtk-doc | 7 | inherit xfce autotools gettext gtk-doc |
8 | 8 | ||
9 | SRC_URI += " \ | 9 | SRC_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 | " |
13 | SRC_URI[md5sum] = "ea9fad7d059fe8f531fe8db42dabb5a9" | 12 | SRC_URI[md5sum] = "ea9fad7d059fe8f531fe8db42dabb5a9" |
14 | SRC_URI[sha256sum] = "3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43" | 13 | SRC_URI[sha256sum] = "3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43" |
@@ -19,6 +18,10 @@ PACKAGECONFIG ??= "" | |||
19 | PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3" | 18 | PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3" |
20 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" | 19 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" |
21 | 20 | ||
21 | PACKAGES =+ "${PN}-gtk2 ${PN}-gtk3" | ||
22 | FILES_${PN}-gtk2 += "${libdir}/libxfce4ui-1.so.* ${libdir}/libxfce4kbd-private-2.so.*" | ||
23 | FILES_${PN}-gtk3 += "${libdir}/libxfce4ui-2.so.* ${libdir}/libxfce4kbd-private-3.so.*" | ||
24 | |||
22 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" | 25 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" |
23 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \ | 26 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \ |
24 | ${datadir}/glade3/catalogs/*.in" | 27 | ${datadir}/glade3/catalogs/*.in" |