summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/recipes-apps/xfce4-screenshooter/files/0001-Fix-panel-plugin-build.patch43
-rw-r--r--meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.2.bb (renamed from meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.1.bb)12
2 files changed, 7 insertions, 48 deletions
diff --git a/meta-xfce/recipes-apps/xfce4-screenshooter/files/0001-Fix-panel-plugin-build.patch b/meta-xfce/recipes-apps/xfce4-screenshooter/files/0001-Fix-panel-plugin-build.patch
deleted file mode 100644
index 98ce875b7..000000000
--- a/meta-xfce/recipes-apps/xfce4-screenshooter/files/0001-Fix-panel-plugin-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From 08053be7adc6d4a83191efed735c3f565bcbcf1f Mon Sep 17 00:00:00 2001
2From: Samuli Suominen <ssuominen@gentoo.org>
3Date: Sat, 5 May 2012 17:13:45 +0200
4Subject: [PATCH] Fix panel plugin build.
5
6- Don't use a versioned library.
7- Build as a module.
8- Only export needed symbols.
9---
10Upstream-Status: applied
11 Makefile.am | 12 +++++++++---
12 1 files changed, 9 insertions(+), 3 deletions(-)
13
14diff --git a/Makefile.am b/Makefile.am
15index 45100fd..d0c0adb 100644
16--- a/Makefile.am
17+++ b/Makefile.am
18@@ -132,13 +132,19 @@ panel_plugin_libscreenshooterplugin_la_CFLAGS = \
19 @SOUP_CFLAGS@
20
21 panel_plugin_libscreenshooterplugin_la_LDFLAGS = \
22+ -avoid-version \
23+ -module \
24+ -no-undefined \
25+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
26+ $(PLATFORM_LDFLAGS)
27+
28+panel_plugin_libscreenshooterplugin_la_LIBADD = \
29 @EXO_LIBS@ \
30 @LIBXFCE4PANEL_LIBS@ \
31 @GTHREAD_LIBS@ \
32 @SOUP_LIBS@ \
33- @LIBXFCE4UI_LIBS@
34-
35-panel_plugin_libscreenshooterplugin_la_LIBADD = lib/libscreenshooter.la
36+ @LIBXFCE4UI_LIBS@ \
37+ lib/libscreenshooter.la
38
39 panel_plugin_libscreenshooterplugin_la_SOURCES = \
40 panel-plugin/screenshooter-plugin.c
41--
421.7.4.4
43
diff --git a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.1.bb b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.2.bb
index 0e2e327f0..ae19492f3 100644
--- a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.1.bb
+++ b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.2.bb
@@ -7,13 +7,15 @@ DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+ glib-2.0 libsoup-
7 7
8inherit xfce-app 8inherit xfce-app
9 9
10SRC_URI += "file://0001-Fix-panel-plugin-build.patch" 10SRC_URI[md5sum] = "3a32ecc5566453a58f6a4ddd70649444"
11SRC_URI[md5sum] = "d0ffea2052a8e70154cf13789070711f" 11SRC_URI[sha256sum] = "9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69"
12SRC_URI[sha256sum] = "40419892bd28989315eed053c159bba0f4264ed8c6c6738806024e481eab9492"
13 12
14do_compile_prepend() { 13do_compile_prepend() {
15 mkdir -p lib 14 mkdir -p lib
16} 15}
17 16
18FILES_${PN} += "${datadir}/xfce4/panel/plugins \ 17FILES_${PN} += " \
19 ${libdir}/xfce4/panel/plugins" 18 ${datadir}/appdata \
19 ${datadir}/xfce4/panel/plugins \
20 ${libdir}/xfce4/panel/plugins \
21"