libunique: remove
PATCH 1/3 libunique: remove
* development has stopped almost a decade ago
* since xfce 4.16 no recipe requires it any more
* it is GTK2 based
Signed-off-by Andreas Müller <[email protected]>
--- ...LIBTOOL-instead-of-hardcoded-libtool.patch | 27 -- ...ue-Add-format-qualifier-s-for-string.patch | 32 -- .../libunique/libunique/build.patch | 421 ------------------ .../fix_for_compile_with_gcc-4.6.0.patch | 36 -- .../libunique/libunique/noconst.patch | 130 ------ .../libunique/libunique_1.1.6.bb | 34 -- 6 files changed, 680 deletions(-) delete mode 100644 meta-xfce/recipes-extended/libunique/libunique/0001-Makefile.am-use-LIBTOOL-instead-of-hardcoded-libtool.patch delete mode 100644 meta-xfce/recipes-extended/libunique/libunique/0001-test-unique-Add-format-qualifier-s-for-string.patch delete mode 100644 meta-xfce/recipes-extended/libunique/libunique/build.patch delete mode 100644 meta-xfce/recipes-extended/libunique/libunique/fix_for_compile_with_gcc-4.6.0.patch delete mode 100644 meta-xfce/recipes-extended/libunique/libunique/noconst.patch delete mode 100644 meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
meta-xfce/recipes-extended/libunique/libunique/0001-Makefile.am-use-LIBTOOL-instead-of-hardcoded-libtool.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From f39bcd5af79aa3efe2cecb2212793c5b596890a8 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Thu, 18 Feb 2016 17:40:45 +0200 -Subject: [PATCH] Makefile.am: use $(LIBTOOL) instead of hardcoded libtool name - -Upstream-Status: Pending -Signed-off-by: Alexander Kanavin <[email protected]> ---- - unique/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/unique/Makefile.am b/unique/Makefile.am -index 6475a87..734f431 100644 ---- a/unique/Makefile.am -+++ b/unique/Makefile.am -@@ -114,7 +114,7 @@ Unique-1.0.gir: $(INTROSPECTION_SCANNER) libunique-1.0.la - --include=GObject-2.0 \ - --include=Gtk-2.0 \ - --library=libunique-1.0.la \ -- --libtool="$(top_builddir)/libtool" \ -+ --libtool="$(LIBTOOL)" \ - --pkg gobject-2.0 \ - --pkg gtk+-2.0 \ - --output $@ \ --- -2.7.0 -
meta-xfce/recipes-extended/libunique/libunique/0001-test-unique-Add-format-qualifier-s-for-string.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 37632aca00d48c53e91f08bc7435c721ba81b2cd Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 30 Mar 2017 14:32:55 -0700 -Subject: [PATCH] test-unique: Add format qualifier %s for string - -Fixes potential security issues that compiler flags - -Signed-off-by: Khem Raj <[email protected]> ---- - tests/test-unique.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test-unique.c b/tests/test-unique.c -index b7cde45..82ee81b 100644 ---- a/tests/test-unique.c -+++ b/tests/test-unique.c -@@ -82,10 +82,10 @@ app_message_cb (UniqueApp *app, - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_INFO, - GTK_BUTTONS_CLOSE, -- title); -+ "%s",title); - if (message) - gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), -- message); -+ "%s",message); - - gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE); - --- -2.12.1 -
meta-xfce/recipes-extended/libunique/libunique/build.patch deleted +0 -421
421 lines not on this page · raw message
meta-xfce/recipes-extended/libunique/libunique/fix_for_compile_with_gcc-4.6.0.patch deleted +0 -36
@@ -1,36 +0,0 @@ -Upstream-Status: Pending - -Fix Following compilation errors with gcc 4.6.0 - -Nitin A Kamble <[email protected]> 2011/05/10 - -| uniquebackend-dbus.c: In function 'unique_backend_dbus_request_name': -| uniquebackend-dbus.c:87:22: error: variable 'backend_dbus' set but not used [-Werror=unused-but-set-variable] -| uniquebackend-dbus.c: In function 'unique_backend_dbus_send_message': -| uniquebackend-dbus.c:189:12: error: variable 'res' set but not used [-Werror=unused-but-set-variable] -| cc1: all warnings being treated as errors -| -| make[5]: *** [libunique_dbus_la-uniquebackend-dbus.lo] Error 1 - -Index: libunique-1.1.6/unique/dbus/uniquebackend-dbus.c -=================================================================== ---- libunique-1.1.6.orig/unique/dbus/uniquebackend-dbus.c -+++ libunique-1.1.6/unique/dbus/uniquebackend-dbus.c -@@ -84,7 +84,7 @@ unique_backend_dbus_register_proxy (Uniq - static gboolean - unique_backend_dbus_request_name (UniqueBackend *backend) - { -- UniqueBackendDBus *backend_dbus; -+ UniqueBackendDBus __attribute__((__unused__)) *backend_dbus; - const gchar *name; - DBusGConnection *connection; - DBusGProxy *proxy; -@@ -186,7 +186,7 @@ unique_backend_dbus_send_message (Unique - GValueArray *data; - gchar *cmd; - gchar *resp; -- gboolean res; -+ gboolean __attribute__((__unused__)) res; - GError *error; - UniqueResponse response; -
meta-xfce/recipes-extended/libunique/libunique/noconst.patch deleted +0 -130
130 lines not on this page · raw message
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb deleted +0 -34
@@ -1,34 +0,0 @@ -SUMMARY = "Library for supporting single instance GTK+ applications" -DESCRIPTION = "Unique is a library for writing single instance GTK+ applications. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance." -HOMEPAGE = "https://wiki.gnome.org/Attic/LibUnique" -BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=libunique" - -SRC_URI = "${GNOME_MIRROR}/libunique/1.1/libunique-${PV}.tar.bz2 \ - file://fix_for_compile_with_gcc-4.6.0.patch \ - file://noconst.patch \ - file://build.patch \ - file://0001-Makefile.am-use-LIBTOOL-instead-of-hardcoded-libtool.patch \ - file://0001-test-unique-Add-format-qualifier-s-for-string.patch \ - " - -SRC_URI[md5sum] = "7955769ef31f1bc4f83446dbb3625e6d" -SRC_URI[sha256sum] = "e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb" - -PR = "r7" - -DEPENDS = "dbus-glib-native glib-2.0 gtk+" - -PACKAGECONFIG ??= "dbus" -PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib" - -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" - - -inherit autotools pkgconfig gobject-introspection features_check gtk-doc - -REQUIRED_DISTRO_FEATURES = "x11" - -do_install_append () { - rmdir --ignore-fail-on-non-empty ${D}${datadir} -}
Signature · 1 line
2.26.2
PATCH 2/3 xfce4-screenshooter: replace gtk+ -> gtk+3 in DEPENDS
Signed-off-by Andreas Müller <[email protected]>
--- .../xfce4-screenshooter/xfce4-screenshooter_1.9.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.8.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-screenshooter" SECTION = "x11/application" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855" -DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+ glib-2.0 libsoup-2.4 exo libxfixes xext virtual/libx11" +DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+3 glib-2.0 libsoup-2.4 exo libxfixes xext virtual/libx11" inherit xfce-app
Signature · 1 line
2.26.2
PATCH 3/3 libxfce4ui: Fix sporadic install error
In reply to Andreas MüllerSigned-off-by Andreas Müller <[email protected]>
---
...ate-xfce4-keyboard-shortcuts.xml-fix.patch | 0
.../0002-Remove-GTK2-leftovers.patch | 44 +++++++++++++++++++
.../libxfce4ui/libxfce4ui_4.16.0.bb | 7 ++-
3 files changed, 49 insertions(+), 2 deletions(-)
rename meta-xfce/recipes-xfce/libxfce4ui/{files => libxfce4ui}/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch (100%)
create mode 100644 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0002-Remove-GTK2-leftovers.patchmeta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch renamed from meta-xfce/recipes-xfce/libxfce4ui/files/0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch +0 -0
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0002-Remove-GTK2-leftovers.patch new file +44 -0
44 lines not on this page · raw message
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.0.bb +5 -2
@@ -8,8 +8,11 @@ inherit xfce gtk-doc gobject-introspection features_check REQUIRED_DISTRO_FEATURES = "x11" -# TODO: Check if this can go -SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" +# TODO: Check if 0001-... can go +SRC_URI += " \ + file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \ + file://0002-Remove-GTK2-leftovers.patch \ +" SRC_URI[sha256sum] = "8b06c9e94f4be88a9d87c47592411b6cbc32073e7af9cbd64c7b2924ec90ceaa" EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
Signature · 1 line
2.26.2