Skip to contentSkip to conversation

minor xfce4/gnome updates

PATCH New Andreas Müller 1 participant 6 messages Jul 27, 2015

lore
Share & tools
lore
#0 lore raw

cover minor xfce4/gnome updates

The following changes since commit f637fadb106a09a6f3dfba4181d06dc9b5e82ff5:

hidapi: new recipe (2015-07-16 21:09:11 +0200)

are available in the git repository at:

git://github.com/schnitzeltony/meta-openembedded.git patches

for you to fetch changes up to 010cb4db72ac85efdc6dd396c358c3d9c0e1986b:

packagegroup-xfce-extended: add xfce4-hotcorner-plugin (2015-07-27 21:23:53 +0200)

----------------------------------------------------------------
Andreas Müller (5):
xfce4-notifyd: update to 0.2.4
libwnck3: update to 3.14
libwnck: update to 2.31 / avoid conflicts with libwnck3
xfce4-hotcorner-plugin: initial add 0.0.2 packagegroup-xfce-extended: add xfce4-hotcorner-plugin

 meta-gnome/recipes-gnome/libwnck/{libwnck3_3.0.2.bb => libwnck3_3.14.0.bb}                          |   7 ++--
 meta-gnome/recipes-gnome/libwnck/libwnck_2.30.5.bb                                                  |  15 --------
 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb                                                  |  22 +++++++++++
 meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 meta-xfce/recipes-apps/xfce4-notifyd/{xfce4-notifyd_0.2.2.bb => xfce4-notifyd_0.2.4.bb}             |  10 ++---
 meta-xfce/recipes-panel-plugins/hotcorner/xfce4-hotcorner-plugin_0.0.2.bb                           |  11 ++++++
 meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb                                  |   1 +
 7 files changed, 194 insertions(+), 24 deletions(-)
 rename meta-gnome/recipes-gnome/libwnck/{libwnck3_3.0.2.bb => libwnck3_3.14.0.bb} (70%)
 delete mode 100644 meta-gnome/recipes-gnome/libwnck/libwnck_2.30.5.bb
 create mode 100644 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb
 create mode 100644 meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch
 rename meta-xfce/recipes-apps/xfce4-notifyd/{xfce4-notifyd_0.2.2.bb => xfce4-notifyd_0.2.4.bb} (58%)
 create mode 100644 meta-xfce/recipes-panel-plugins/hotcorner/xfce4-hotcorner-plugin_0.0.2.bb
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/5 xfce4-notifyd: update to 0.2.4

This update makes xfce4-notifyd compatible to oe-core's current libnotify and libnotify >= 0.7.0

---
 ...ore-libnotify-version-7.0.0-compatibility.patch | 152 +++++++++++++++++++++
 ...ce4-notifyd_0.2.2.bb => xfce4-notifyd_0.2.4.bb} |  10 +-
 2 files changed, 157 insertions(+), 5 deletions(-)
 create mode 100644 meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch
 rename meta-xfce/recipes-apps/xfce4-notifyd/{xfce4-notifyd_0.2.2.bb => xfce4-notifyd_0.2.4.bb} (58%)
meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch new file +152 -0
new file mode 100644
index 0000000..9e61a0e
@@ -0,0 +1,152 @@
+From ebfbe9358068716ed7f39e253bce4d13e696bc9b Mon Sep 17 00:00:00 2001
+From: Ivailo Monev <[email protected]>
+Date: Wed, 11 Dec 2013 13:18:13 +0000
+Subject: [PATCH 1/1] Restore libnotify version < 7.0.0 compatibility
+
+Upstream-Status: Pending [1]
+
+[1] https://mail.xfce.org/pipermail/xfce/2013-December/032733.html
+
+Signed-off-by: Ivailo Monev <[email protected]>
+---
+ Makefile.am                 |  4 +++-
+ configure.ac                |  2 +-
+ tests/test-actions.c        |  7 ++++++-
+ tests/test-positioning.c    |  7 ++++++-
+ tests/test-text.c           | 21 ++++++++++++++++++---
+ xfce4-notifyd-config/main.c |  7 ++++++-
+ 6 files changed, 40 insertions(+), 8 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index df81bea..034d6c1 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -271,9 +271,11 @@ noinst_PROGRAMS = \
+ 
+ tests_cflags = \
+ 	-I$(top_srcdir) \
+-	$(LIBNOTIFY_CFLAGS)
++	$(LIBNOTIFY_CFLAGS) \
++	$(common_cflags)
+ 
+ tests_ldadd = \
++	$(common_ldadd) \
+ 	$(LIBNOTIFY_LIBS)
+ 
+ tests_test_actions_SOURCES = tests/test-actions.c
+diff --git a/configure.ac b/configure.ac
+index cf5258f..9d2e8a7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -67,7 +67,7 @@ XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [0.1.0svn-r26876])
+ XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
+ XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.0.0])
+ XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.72])
+-XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.7.0])
++XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.5.0])
+ 
+ AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool])
+ AS_IF([test -z "$DBUS_BINDING_TOOL"],
+diff --git a/tests/test-actions.c b/tests/test-actions.c
+index a7f6494..4cdf882 100644
+--- a/tests/test-actions.c
++++ b/tests/test-actions.c
+@@ -106,7 +106,12 @@ int main (int argc, char **argv)
+ 
+   notification = notify_notification_new ("Action!",
+                                           "Click my shiny actions",
+-                                          NULL);
++                                          NULL
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                          );
++#else
++                                          ,NULL);
++#endif
+ 
+   notify_notification_add_action (notification,
+                                   "action1",
+diff --git a/tests/test-positioning.c b/tests/test-positioning.c
+index 4478a92..2a90c6e 100644
+--- a/tests/test-positioning.c
++++ b/tests/test-positioning.c
+@@ -60,7 +60,12 @@ int main (int argc, char **argv)
+ 
+       notification = notify_notification_new (summary,
+                                               body,
+-                                              NULL);
++                                              NULL
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                              );
++#else
++                                              ,NULL);
++#endif
+ 
+       if (!notify_notification_show (notification, NULL))
+         {
+diff --git a/tests/test-text.c b/tests/test-text.c
+index 7500cb2..ac95931 100644
+--- a/tests/test-text.c
++++ b/tests/test-text.c
+@@ -40,7 +40,12 @@ int main (int argc, char **argv)
+ 
+   notification = notify_notification_new ("Test text support",
+                                           "Does it work?",
+-                                          NULL);
++                                          NULL
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                          );
++#else
++                                          ,NULL);
++#endif
+ 
+   if (!notify_notification_show (notification, NULL))
+     {
+@@ -56,7 +61,12 @@ int main (int argc, char **argv)
+ 
+   notification = notify_notification_new ("Summary only support",
+                                           NULL,
+-                                          NULL);
++                                          NULL
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                          );
++#else
++                                          ,NULL);
++#endif
+ 
+   if (!notify_notification_show (notification, NULL))
+     {
+@@ -75,7 +85,12 @@ int main (int argc, char **argv)
+                                           "<b>Bold</b>\n"
+                                           "<u>Underlined</u>\n"
+                                           "<a href=\"http://www.xfce.org\">Xfce Web site</a>",
+-                                          NULL);
++                                          NULL
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                          );
++#else
++                                          ,NULL);
++#endif
+ 
+   if (!notify_notification_show (notification, NULL))
+     {
+diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
+index 5977749..eff4994 100644
+--- a/xfce4-notifyd-config/main.c
++++ b/xfce4-notifyd-config/main.c
+@@ -56,7 +56,12 @@ xfce_notifyd_config_show_notification_preview(GtkWindow *parent_window)
+     notification =
+         notify_notification_new(_("Notification Preview"),
+                                 _("This is how notifications will look like"),
+-                                "xfce4-notifyd");
++                                "xfce4-notifyd"
++#if NOTIFY_CHECK_VERSION > (0, 6, 9)
++                                );
++#else
++                                ,NULL);
++#endif
+ 
+     notify_notification_add_action(notification,
+                                    "button",
+-- 
+1.9.3
+
meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.4.bb renamed from meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb +5 -5
similarity index 58%
rename from meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
rename to meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.4.bb
index eb554ce..9d0e198 100644
@@ -2,11 +2,14 @@ SUMMARY = "Easily themable notification daemon with transparency effects"
 HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-notifyd"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib"
-
+DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib libnotify"
 
 inherit xfce-app
 
+SRC_URI[md5sum] = "094be6f29206aac8299f27084e284e88"
+SRC_URI[sha256sum] = "8c7ed62f9496816d1391281f77d1b32216f9bf6fd22fbe4f6f3f4e07a6bbced0"
+SRC_URI += "file://0001-Restore-libnotify-version-7.0.0-compatibility.patch"
+
 do_compile_prepend() {
 	mkdir -p xfce4-notifyd
 }
@@ -16,6 +19,3 @@ FILES_${PN} += " \
     ${datadir}/themes \
     ${datadir}/dbus-1 \
 "
-
-SRC_URI[md5sum] = "8687fb7a0f270231ada265e363b6ffcc"
-SRC_URI[sha256sum] = "b66e68dfc2164bcf479acd3c7e8b6f83065d23aef988535e2db3506d06a39168"
Signature · 1 line
2.1.0
#2 lore raw

PATCH 2/5 libwnck3: update to 3.14

In reply to Andreas Müller
---
 .../libwnck/{libwnck3_3.0.2.bb => libwnck3_3.14.0.bb}              | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta-gnome/recipes-gnome/libwnck/{libwnck3_3.0.2.bb => libwnck3_3.14.0.bb} (70%)
meta-gnome/recipes-gnome/libwnck/libwnck3_3.14.0.bb renamed from meta-gnome/recipes-gnome/libwnck/libwnck3_3.0.2.bb +3 -4
similarity index 70%
rename from meta-gnome/recipes-gnome/libwnck/libwnck3_3.0.2.bb
rename to meta-gnome/recipes-gnome/libwnck/libwnck3_3.14.0.bb
index fd0ecd9..35e07cb 100644
@@ -7,11 +7,10 @@ BPN = "libwnck"
 SECTION = "x11/libs"
 DEPENDS = "gobject-introspection-stub gtk+3 gdk-pixbuf-native libxres"
 
-PR = "r1"
-
 PACKAGECONFIG ??= "startup-notification"
 PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
 
 inherit gnomebase
-SRC_URI[archive.md5sum] = "e4ea87320dd0600a81c50186e3804aae"
-SRC_URI[archive.sha256sum] = "4946b612c22d53238810d431f1b05c21f073f201edfd247ff74e2fa228618083"
+GNOME_COMPRESS_TYPE = "xz"
+SRC_URI[archive.md5sum] = "4538672e0d775fadedf10abeb8020047"
+SRC_URI[archive.sha256sum] = "f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c"
Signature · 1 line
2.1.0
#3 lore raw

PATCH 3/5 libwnck: update to 2.31 / avoid conflicts with libwnck3

In reply to Andreas Müller

Both libwnck and libwnck3 install the commandline tools 'wnck-urgency-monitor' and 'wnckprop' to bindir. The packages depending on libwnck were checked: In none of them there is a trace for these tools.

To avoid conflicts the tools are installed by libwnck3 only. If something requires 'wnck-urgency-monitor' or 'wnckprop' it needs to install libwnck3.

---
 meta-gnome/recipes-gnome/libwnck/libwnck_2.30.5.bb | 15 ---------------
 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb | 22 ++++++++++++++++++++++
 2 files changed, 22 insertions(+), 15 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/libwnck/libwnck_2.30.5.bb
 create mode 100644 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb
meta-gnome/recipes-gnome/libwnck/libwnck_2.30.5.bb deleted +0 -15
deleted file mode 100644
index 61836d2..0000000
@@ -1,15 +0,0 @@
-SUMMARY = "Window navigation construction toolkit"
-LICENSE = "LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
-
-PR = "r2"
-
-SECTION = "x11/libs"
-DEPENDS = "gobject-introspection-stub gtk+ gdk-pixbuf-native libxres"
-
-PACKAGECONFIG ??= "startup-notification"
-PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
-
-inherit gnomebase
-SRC_URI[archive.md5sum] = "4162d5b96151e6d24ec02ae3a822203c"
-SRC_URI[archive.sha256sum] = "56b6681e89cd45491bb640165d62276d81369a08974042b26645dc1e0e954cc1"
meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb new file +22 -0
new file mode 100644
index 0000000..3e5370d
@@ -0,0 +1,22 @@
+SUMMARY = "Window navigation construction toolkit"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
+
+SECTION = "x11/libs"
+DEPENDS = "gobject-introspection-stub gtk+ gdk-pixbuf-native libxres"
+
+PACKAGECONFIG ??= "startup-notification"
+PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
+
+inherit gnomebase
+GNOME_COMPRESS_TYPE = "xz"
+SRC_URI[archive.md5sum] = "f03e1139296e2a3a92e3b65a3080cd32"
+SRC_URI[archive.sha256sum] = "83f732d20781fc88b22cdc6aaf2d4f388db6d3d4ff28d1a8fd45be9fb7743a9e"
+
+do_install_append() {
+    # to avoid conflicts with libwnck3 remove cmdline tools
+    # if the tools are requrired add libwnck3 to your image
+    rm ${D}${bindir}/wnckprop
+    rm ${D}${bindir}/wnck-urgency-monitor
+    rmdir ${D}${bindir}
+}
Signature · 1 line
2.1.0
#4 lore raw

PATCH 4/5 xfce4-hotcorner-plugin: initial add 0.0.2

In reply to Andreas Müller
---
 .../hotcorner/xfce4-hotcorner-plugin_0.0.2.bb                 | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-xfce/recipes-panel-plugins/hotcorner/xfce4-hotcorner-plugin_0.0.2.bb
meta-xfce/recipes-panel-plugins/hotcorner/xfce4-hotcorner-plugin_0.0.2.bb new file +11 -0
new file mode 100644
index 0000000..f86c92e
@@ -0,0 +1,11 @@
+SUMMARY = "Plugin providing hotcorners"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://README.md;beginline=48;endline=53;md5=2c694b8e0f73274b13465b509e4f5427"
+
+inherit xfce-panel-plugin cmake
+
+DEPENDS += "libwnck3"
+
+SRC_URI = "https://github.com/brianhsu/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "ac31b45cda1867cb6bd69bb285638263"
+SRC_URI[sha256sum] = "942684c92f96a158e1417e597947f822769ac56aa1993a8c9f166ee633ef2b8d"
Signature · 1 line
2.1.0
#5 lore raw

PATCH 5/5 packagegroup-xfce-extended: add xfce4-hotcorner-plugin

In reply to Andreas Müller
---
 meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 1 +
 1 file changed, 1 insertion(+)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +1 -0
index db3a2ce..c19a46a 100644
@@ -45,6 +45,7 @@ RRECOMMENDS_${PN} = " \
     xfce4-mailwatch-plugin \
     xfce4-kbdleds-plugin \
     xfce4-smartbookmark-plugin \
+    xfce4-hotcorner-plugin \
     \
     thunar-media-tags-plugin \
     thunar-archive-plugin \
Signature · 1 line
2.1.0