minor libcanberra cleanup / new xfce stuff
cover minor libcanberra cleanup / new xfce stuff
[1-3] libcanberra: While working on event sounds libcanberra needed some love.
Sounds still doesn't work properly in gtk2 environment. There will be follow ups.
[4-9] Updates + new datetime setter for XFCE
Andreas Müller (9):
libcanberra: add PACKAGES_DYNAMIC so we use the splitted packages
libcanberra: remove r0 - it is of no use
libcanberra: handle alsa and pulsaudio by PACKAGECONFIG - defaults
based upon DISTRO_FEATURES
libxfce4ui: update to git head
xfce4-settings: move to schnitzeltony's git repo to get new datetime
setter
xfwm4: move to git repo
xfce4-weather-plugin: update to 0.8.3
xfce4-equake-plugin: initial add 1.3.3 packagegroup-xfce-extended: add xfce4-equake-plugin
.../libcanberra/libcanberra_0.29.bb | 12 +-
.../equake/xfce4-equake-plugin_1.3.3.bb | 13 +
.../weather/files/port-to-libxfce4ui.patch | 104 --
.../weather/xfce4-weather-plugin_0.7.4.bb | 23 -
.../weather/xfce4-weather-plugin_0.8.3.bb | 11 +
.../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 17 +-
.../packagegroups/packagegroup-xfce-extended.bb | 1 +
...the-settings-manager-window-size-bug-9384.patch | 155 ---
.../0001-add-cursor-theme-xfce-invisible.patch | 8 +-
...ngs-dialog-add-touchscreen-pointer-option.patch | 1083 +-------------------
...tect-a-change-of-pointer-device-used-and-.patch | 10 +-
...e4-settings_4.11.0.bb => xfce4-settings_git.bb} | 23 +-
.../xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} | 17 +-
13 files changed, 90 insertions(+), 1387 deletions(-)
create mode 100644 meta-xfce/recipes-panel-plugins/equake/xfce4-equake-plugin_1.3.3.bb
delete mode 100644 meta-xfce/recipes-panel-plugins/weather/files/port-to-libxfce4ui.patch
delete mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb
create mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.8.3.bb
delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.11.0.bb => xfce4-settings_git.bb} (64%)
rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} (70%)Signature · 1 line
1.7.6.5
PATCH 1/9 libcanberra: add PACKAGES_DYNAMIC so we use the splitted packages
--- .../libcanberra/libcanberra_0.29.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb +1 -0
@@ -32,6 +32,7 @@ python populate_packages_prepend() { } PACKAGES =+ "${PN}-gnome ${PN}-gtk2 ${PN}-gtk3 ${PN}-systemd" +PACKAGES_DYNAMIC += "^libcanberra-.*" FILES_${PN} = "${bindir}/ ${libdir}/${BPN}.so.*"
Signature · 1 line
1.7.6.5
PATCH 2/9 libcanberra: remove r0 - it is of no use
In reply to Andreas Müller--- .../libcanberra/libcanberra_0.29.bb | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb +0 -1
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" DEPENDS = "alsa-lib gstreamer gtk+ gtk+3 libtool libvorbis pulseaudio" -PR = "r0" inherit autotools
Signature · 1 line
1.7.6.5
PATCH 3/9 libcanberra: handle alsa and pulsaudio by PACKAGECONFIG - defaults based upon DISTRO_FEATURES
In reply to Andreas Müller--- .../libcanberra/libcanberra_0.29.bb | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb +7 -3
@@ -4,7 +4,7 @@ LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" -DEPENDS = "alsa-lib gstreamer gtk+ gtk+3 libtool libvorbis pulseaudio" +DEPENDS = "gstreamer gtk+ gtk+3 libtool libvorbis" inherit autotools
@@ -14,9 +14,7 @@ SRC_URI[sha256sum] = "127a5ef07805856d63758e5180ebfb241d1f80094fd301c287591a15b8 EXTRA_OECONF = "\ --enable-null \ - --enable-alsa \ --enable-gstreamer \ - --enable-pulse \ --disable-oss \ --enable-gtk \ --enable-gtk3 \
@@ -24,6 +22,12 @@ EXTRA_OECONF = "\ --disable-lynx \ " +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','alsa','alsa','',d)} \ + ${@base_contains('DISTRO_FEATURES','pulseaudio','pulseaudio','',d)} \ +" +PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" +PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" + python populate_packages_prepend() { plugindir = d.expand('${libdir}/${P}/') do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' )
Signature · 1 line
1.7.6.5
PATCH 4/9 libxfce4ui: update to git head
In reply to Andreas Müller* in commit f30f9742e64ea5ec3b23d977b904f24799d773d6 the signature for xfce_shortcut_conflict_dialog was changed. This change is required for xfce4-setings HEAD. In the next patch of this series the development of a datetime setter for xfce4-settings will be introduced and this is put on top of xfce4-setings HEAD.
* there has been no release since 04.2012
--- .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +13 -4
@@ -2,14 +2,23 @@ DESCRIPTION = "Xfce4 Widget library and X Window System interaction" SECTION = "x11/libs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" -PR = "r1" DEPENDS = "gtk+ intltool libxfce4util startup-notification xfconf glade3" inherit xfce -SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" -SRC_URI[md5sum] = "6df1ce474a3d4885aee31cda9dbc9192" -SRC_URI[sha256sum] = "a2b9fa288ccb5f16fa13264e507ba3f7b8da0176da259a11239f21538c0ea3e2" +SRC_URI = " \ + git://git.xfce.org/xfce/libxfce4ui;protocol=git \ + file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \ +" +SRCREV = "530b72f50fcbd8cb4b970fcc97be0321bf78183e" +PV = "4.10.0+git${SRCPV}" +S = "${WORKDIR}/git" + +EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" + +do_configure_prepend() { + NOCONFIGURE=yes ./autogen.sh +} FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \
Signature · 1 line
1.7.6.5
PATCH 5/9 xfce4-settings: move to schnitzeltony's git repo to get new datetime setter
In reply to Andreas MüllerI implemented a datetime setting dialog based on gnome-control-center and submitted a pull-request in [1,2]. As long as it is not submitted - or as long as I find no way to patch binary files (e.g. icons - I asked for that in [3] - no response yet) we use the git repo and a copied branch of the pull-request (just in case some feedback from xfce-devels requires modifcations).
Some patches had to be modified/removed to apply against mainline HEAD still. Furthermore in 0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch label 'alignment8' was introduced mainline and we do not need mouse-dialog_ui.h when building from git in maintainer-mode - this file is created during build process.
[1] http://mail.xfce.org/pipermail/xfce4-dev/2013-September/030442.html
[2] https://bugzilla.xfce.org/show_bug.cgi?id=10354
[3] http://lists.openembedded.org/pipermail/openembedded-core/2013-September/083804.html
---
...the-settings-manager-window-size-bug-9384.patch | 155 ---
.../0001-add-cursor-theme-xfce-invisible.patch | 8 +-
...ngs-dialog-add-touchscreen-pointer-option.patch | 1083 +-------------------
...tect-a-change-of-pointer-device-used-and-.patch | 10 +-
...e4-settings_4.11.0.bb => xfce4-settings_git.bb} | 23 +-
5 files changed, 30 insertions(+), 1249 deletions(-)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.11.0.bb => xfce4-settings_git.bb} (64%)meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch deleted +0 -155
@@ -1,155 +0,0 @@ -From b3b1986327b9b42ac6f9442443ff103f6565a323 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Guelfucci?= <[email protected]> -Date: Wed, 19 Dec 2012 09:53:58 +0100 -Subject: [PATCH] Remember the settings manager window size (bug #9384). - -Handy with pluggable dialogs, allows the user to get rid of most of the -scrollbars. - -Upstream-Status: applied ---- - xfce4-settings-manager/Makefile.am | 2 + - xfce4-settings-manager/main.c | 13 +++++++ - .../xfce-settings-manager-dialog.c | 38 +++++++++++++++----- - 3 files changed, 44 insertions(+), 9 deletions(-) - -diff --git a/xfce4-settings-manager/Makefile.am b/xfce4-settings-manager/Makefile.am -index c6bdc2d..99f9b3f 100644 ---- a/xfce4-settings-manager/Makefile.am -+++ b/xfce4-settings-manager/Makefile.am -@@ -20,6 +20,7 @@ xfce4_settings_manager_CFLAGS = \ - $(LIBXFCE4UTIL_CFLAGS) \ - $(LIBXFCE4UI_CFLAGS) \ - $(GARCON_CFLAGS) \ -+ $(XFCONF_CFLAGS) \ - $(EXO_CFLAGS) \ - $(PLATFORM_CFLAGS) - -@@ -31,6 +32,7 @@ xfce4_settings_manager_LDADD = \ - $(GTK_LIBS) \ - $(LIBXFCE4UTIL_LIBS) \ - $(LIBXFCE4UI_LIBS) \ -+ $(XFCONF_LIBS) \ - $(EXO_LIBS) \ - $(GARCON_LIBS) - -diff --git a/xfce4-settings-manager/main.c b/xfce4-settings-manager/main.c -index 3a65879..42bec66 100644 ---- a/xfce4-settings-manager/main.c -+++ b/xfce4-settings-manager/main.c -@@ -28,6 +28,7 @@ - #include <gtk/gtk.h> - #include <libxfce4util/libxfce4util.h> - #include <garcon/garcon.h> -+#include <xfconf/xfconf.h> - - #include "xfce-settings-manager-dialog.h" - -@@ -79,6 +80,16 @@ main(int argc, - return EXIT_SUCCESS; - } - -+ /* initialize xfconf */ -+ if (G_UNLIKELY (!xfconf_init (&error))) -+ { -+ /* print error and leave */ -+ g_critical ("Failed to connect to Xfconf daemon: %s", error->message); -+ g_error_free (error); -+ -+ return EXIT_FAILURE; -+ } -+ - garcon_set_environment ("XFCE"); - - dialog = xfce_settings_manager_dialog_new (); -@@ -95,5 +106,7 @@ main(int argc, - - gtk_main(); - -+ xfconf_shutdown (); -+ - return EXIT_SUCCESS; - } -diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c -index 043b143..39e33ff 100644 ---- a/xfce4-settings-manager/xfce-settings-manager-dialog.c -+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c -@@ -35,6 +35,7 @@ - - #include <libxfce4util/libxfce4util.h> - #include <libxfce4ui/libxfce4ui.h> -+#include <xfconf/xfconf.h> - #include <garcon/garcon.h> - #include <exo/exo.h> - -@@ -55,6 +56,7 @@ struct _XfceSettingsManagerDialog - { - XfceTitledDialog __parent__; - -+ XfconfChannel *channel; - GarconMenu *menu; - - GtkListStore *store; -@@ -156,17 +158,19 @@ xfce_settings_manager_dialog_class_init (XfceSettingsManagerDialogClass *klass) - static void - xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog) - { -- GtkWidget *scroll; -+ GtkWidget *align; -+ GtkWidget *bbox; - GtkWidget *dialog_vbox; -- GtkWidget *viewport; -- gchar *path; -- GtkWidget *hbox; -+ GtkWidget *ebox; - GtkWidget *entry; -- GtkWidget *align; -- GList *children; -+ GtkWidget *hbox; - GtkWidget *header; -- GtkWidget *ebox; -- GtkWidget *bbox; -+ GtkWidget *scroll; -+ GtkWidget *viewport; -+ GList *children; -+ gchar *path; -+ -+ dialog->channel = xfconf_channel_get ("xfce4-settings-manager"); - - dialog->store = gtk_list_store_new (N_COLUMNS, - G_TYPE_STRING, -@@ -180,7 +184,9 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog) - dialog->menu = garcon_menu_new_for_path (path != NULL ? path : MENUFILE); - g_free (path); - -- gtk_window_set_default_size (GTK_WINDOW (dialog), 640, 500); -+ gtk_window_set_default_size (GTK_WINDOW (dialog), -+ xfconf_channel_get_int (dialog->channel, "/last/window-width", 640), -+ xfconf_channel_get_int (dialog->channel, "/last/window-height", 500)); - xfce_settings_manager_dialog_set_title (dialog, NULL, NULL, NULL); - - dialog->button_back = xfce_gtk_button_new_mixed (GTK_STOCK_GO_BACK, _("All _Settings")); -@@ -334,6 +340,20 @@ xfce_settings_manager_dialog_response (GtkDialog *widget, - } - else - { -+ GdkWindowState state; -+ gint width, height; -+ -+ /* Don't save the state for full-screen windows */ -+ state = gdk_window_get_state (GTK_WIDGET (widget)->window); -+ -+ if ((state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN)) == 0) -+ { -+ /* Save window size */ -+ gtk_window_get_size (GTK_WINDOW (widget), &width, &height); -+ xfconf_channel_set_int (dialog->channel, "/last/window-width", width), -+ xfconf_channel_set_int (dialog->channel, "/last/window-height", height); -+ } -+ - gtk_widget_destroy (GTK_WIDGET (widget)); - gtk_main_quit (); - } --- -1.7.4.4 -
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0001-add-cursor-theme-xfce-invisible.patch +4 -4
@@ -11,7 +11,7 @@ Upstream-Status: Submitted [1] [1] https://bugzilla.xfce.org/show_bug.cgi?id=9474 --- Makefile.am | 1 + - configure.ac | 2 + + configure.ac.in | 2 + cursors/Makefile.am | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++ cursors/index.theme | 3 + 6 files changed, 184 insertions(+), 0 deletions(-)
@@ -30,10 +30,10 @@ index 3060bac..3f0dd1d 100644 dialogs \ xfce4-settings-manager \ xfce4-settings-editor \ -diff --git a/configure.ac b/configure.ac +diff --git a/configure.ac.in b/configure.ac.in index 0e7907d..1378049 100644 ---- a/configure.ac -+++ b/configure.ac +--- a/configure.ac.in ++++ b/configure.ac.in @@ -157,6 +157,7 @@ dnl *** Optional support for Xcursor *** dnl ************************************ XDT_CHECK_OPTIONAL_PACKAGE([XCURSOR], [xcursor], [1.1.0],
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0002-mouse-settings-dialog-add-touchscreen-pointer-option.patch +1 -1082
1,101 lines not on this page · raw message
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch +7 -3
@@ -133,7 +133,7 @@ index 62ebc60..32662cc 100644 (*G_OBJECT_CLASS (xfce_pointers_helper_parent_class)->finalize) (object); } -@@ -267,17 +295,17 @@ static void +@@ -267,19 +295,19 @@ static void xfce_pointers_helper_syndaemon_check (XfcePointersHelper *helper) { #ifdef DEVICE_PROPERTIES
@@ -146,7 +146,9 @@ index 62ebc60..32662cc 100644 - Atom *props; - gint i, nprops; - gboolean have_synaptics = FALSE; -- gchar *args[] = { "syndaemon", "-i", "2.0", "-K", "-R", NULL }; +- gdouble disable_duration; +- gchar disable_duration_string[64]; +- gchar *args[] = { "syndaemon", "-i", disable_duration_string, "-K", "-R", NULL }; - GError *error = NULL; + Display *xdisplay = GDK_DISPLAY (); + XDeviceInfo *device_list;
@@ -157,7 +159,9 @@ index 62ebc60..32662cc 100644 + Atom *props; + gint i, nprops; + gboolean have_synaptics = FALSE; -+ gchar *args[] = { "syndaemon", "-i", "2.0", "-K", "-R", NULL }; ++ gdouble disable_duration; ++ gchar disable_duration_string[64]; ++ gchar *args[] = { "syndaemon", "-i", disable_duration_string, "-K", "-R", NULL }; + GError *error = NULL; /* only stop a running daemon */
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.11.0.bb +18 -5
@@ -6,9 +6,9 @@ DEPENDS = "exo garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtua inherit xfce -SRC_URI += "file://0001-xsettings.xml-remove-trouble-causing-comment.patch \ +SRC_URI = " git://gitorious.org/xfce/xfce4-settings.git;protocol=git;branch=for-oe \ + file://0001-xsettings.xml-remove-trouble-causing-comment.patch \ file://0002-xsettings.xml-Set-default-themes.patch \ - file://0003-Remember-the-settings-manager-window-size-bug-9384.patch \ file://touchscreen/invisible \ file://touchscreen/wait \ file://touchscreen/0001-add-cursor-theme-xfce-invisible.patch \
@@ -17,10 +17,23 @@ SRC_URI += "file://0001-xsettings.xml-remove-trouble-causing-comment.patch \ file://touchscreen/0004-XfceXSettingsHelper-gets-a-property-touchscreen-poin.patch \ file://touchscreen/0005-pointers-detect-a-change-of-pointer-device-used-and-.patch \ " -SRC_URI[md5sum] = "3bf42281b64b10b2691008cd693f7dbd" -SRC_URI[sha256sum] = "4a4f1e79a58b524f3a6dd030b6fc687671b35566f847e6f516c6f84211191698" +SRCREV = "b7a0e1fd77f5bb5c372223ff62aec7acf252f061" +S = "${WORKDIR}/git" +PV = "4.10.0+git${SRCPV}" -FILES_${PN} += "${libdir}/xfce4" +EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" + +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','datetime-setter','',d)}" +PACKAGECONFIG[datetime-setter] = "--enable-datetime-settings, --disable-datetime-settings,, tzdata" + +do_configure_prepend() { + NOCONFIGURE=yes ./autogen.sh +} + +FILES_${PN} += " \ + ${libdir}/xfce4 \ + ${datadir}/xfce4 \ +" do_install_prepend() { # somehow binary files are not patched correctly by oe-patch - so copy them
Signature · 1 line
1.7.6.5
PATCH 6/9 xfwm4: move to git repo
In reply to Andreas Müllerfollow libxfce4ui API change [1]
---
.../xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} (70%)meta-xfce/recipes-xfce/xfwm4/xfwm4_git.bb renamed from meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.1.bb +14 -3
@@ -6,9 +6,20 @@ DEPENDS = "virtual/libx11 libxpm gtk+ libxfce4util libxfce4ui xfconf libwnck dbu inherit xfce update-alternatives -SRC_URI[md5sum] = "10de50c79ed944cbb9c87741062c2a76" -SRC_URI[sha256sum] = "380c44fba6eb779e34be0fe94f3726cfa131803014d6073c45aec8a1257fa740" -SRC_URI += "file://0001-don-t-block-display-events-when-time-is-set-backward.patch" +SRC_URI = " \ + git://git.xfce.org/xfce/xfwm4;protocol=git \ + file://0001-don-t-block-display-events-when-time-is-set-backward.patch \ +" + +SRCREV = "bce3062d0879ab8504c446f99ad57c9fd76c5097" +S = "${WORKDIR}/git" +PV = "4.10.1+git${SRCPV}" + +EXTRA_OECONF += "--enable-maintainer-mode" + +do_configure_prepend() { + NOCONFIGURE=yes ./autogen.sh +} python populate_packages_prepend () { themedir = d.expand('${datadir}/themes')
Signature · 1 line
1.7.6.5
PATCH 7/9 xfce4-weather-plugin: update to 0.8.3
In reply to Andreas Müller--- .../weather/files/port-to-libxfce4ui.patch | 104 -------------------- .../weather/xfce4-weather-plugin_0.7.4.bb | 23 ----- .../weather/xfce4-weather-plugin_0.8.3.bb | 11 ++ 3 files changed, 11 insertions(+), 127 deletions(-) delete mode 100644 meta-xfce/recipes-panel-plugins/weather/files/port-to-libxfce4ui.patch delete mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb create mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.8.3.bb
meta-xfce/recipes-panel-plugins/weather/files/port-to-libxfce4ui.patch deleted +0 -104
@@ -1,104 +0,0 @@ -From 24da1964f72429b0b4d20e0805cbd8346179527f Mon Sep 17 00:00:00 2001 -From: Matias De lellis <[email protected]> -Date: Mon, 5 Sep 2011 14:17:29 -0300 -Subject: [PATCH] Port xfce4-weather-plugin to libxfce4ui - ---- - configure.ac | 2 +- - panel-plugin/Makefile.am | 4 ++-- - panel-plugin/weather-config.c | 2 +- - panel-plugin/weather-search.c | 2 +- - panel-plugin/weather-summary.c | 2 +- - panel-plugin/weather.c | 2 +- - 6 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 04f466a..d1bb58e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -59,7 +59,7 @@ dnl *********************************** - XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0]) - XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0]) - XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.90.2]) --XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.90.2]) -+XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.7.0]) - XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.99.1]) - XDT_CHECK_PACKAGE([LIBXML], [libxml-2.0], [2.4.0]) - -diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am -index 50fc962..ed06da1 100644 ---- a/panel-plugin/Makefile.am -+++ b/panel-plugin/Makefile.am -@@ -33,7 +33,7 @@ xfce4_weather_plugin_SOURCES = \ - - xfce4_weather_plugin_CFLAGS = \ - $(LIBXFCE4PANEL_CFLAGS) \ -- $(LIBXFCEGUI4_CFLAGS) \ -+ $(LIBXFCE4UI_CFLAGS) \ - $(LIBXFCE4UTIL_CFLAGS) \ - $(GTK_CFLAGS) \ - $(LIBXML_CFLAGS) -@@ -41,7 +41,7 @@ xfce4_weather_plugin_CFLAGS = \ - xfce4_weather_plugin_LDADD = \ - $(LIBXFCE4PANEL_LIBS) \ - $(LIBXFCE4UTIL_LIBS) \ -- $(LIBXFCEGUI4_LIBS) \ -+ $(LIBXFCE4UI_LIBS) \ - $(GTK_LIBS) \ - $(LIBXML_LIBS) \ - $(LIBRESOLV) -diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c -index 3023e11..d183e75 100644 ---- a/panel-plugin/weather-config.c -+++ b/panel-plugin/weather-config.c -@@ -20,7 +20,7 @@ - #endif - - #include <string.h> --#include <libxfcegui4/libxfcegui4.h> -+#include <libxfce4ui/libxfce4ui.h> - - #include "weather-parsers.h" - #include "weather-data.h" -diff --git a/panel-plugin/weather-search.c b/panel-plugin/weather-search.c -index c43ad15..dba395f 100644 ---- a/panel-plugin/weather-search.c -+++ b/panel-plugin/weather-search.c -@@ -21,7 +21,7 @@ - - #include <string.h> - --#include <libxfcegui4/libxfcegui4.h> -+#include <libxfce4ui/libxfce4ui.h> - - #include "weather-parsers.h" - #include "weather-data.h" -diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c -index 36eeb14..b584c7d 100644 ---- a/panel-plugin/weather-summary.c -+++ b/panel-plugin/weather-summary.c -@@ -19,7 +19,7 @@ - #include <config.h> - #endif - --#include <libxfcegui4/libxfcegui4.h> -+#include <libxfce4ui/libxfce4ui.h> - - #include "weather-parsers.h" - #include "weather-data.h" -diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c -index cd341aa..c6c918d 100644 ---- a/panel-plugin/weather.c -+++ b/panel-plugin/weather.c -@@ -23,7 +23,7 @@ - #include <sys/stat.h> - - #include <libxfce4util/libxfce4util.h> --#include <libxfcegui4/libxfcegui4.h> -+#include <libxfce4ui/libxfce4ui.h> - - #include "weather-parsers.h" - #include "weather-data.h" --- -1.7.6 -
meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb deleted +0 -23
@@ -1,23 +0,0 @@ -DESCRIPTION = "Panel plugin to display current temperature and weather condition" -HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -PR = "r1" - -inherit xfce-panel-plugin - -SRC_URI += "file://port-to-libxfce4ui.patch" -SRC_URI[md5sum] = "03c972d13eba5cd226432ff66e3ff282" -SRC_URI[sha256sum] = "3f76207b8a845d15bfec6825bd5300aedd086c455259c4dd8670a89a3c8ab382" - -do_compile_prepend() { - # Switch to a working license key - # https://bugs.archlinux.org/task/26815 - sed -i \ - -e 's/^#define PARTNER_ID.*/#define PARTNER_ID "1003666583"/' \ - -e 's/^#define LICENSE_KEY.*/#define LICENSE_KEY "4128909340a9b2fc"/' \ - ${S}/panel-plugin/weather.h - -} - -FILES_${PN} += "${datadir}/xfce4/weather"
meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.8.3.bb new file +11 -0
@@ -0,0 +1,11 @@ +DESCRIPTION = "Panel plugin to display current temperature and weather condition" +HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +inherit xfce-panel-plugin + +SRC_URI[md5sum] = "755b33089c02afe88abb39253003a7f3" +SRC_URI[sha256sum] = "40a6a22be7653b15a47174a430da89040f178695b48e5e01e77990050f715ce4" + +FILES_${PN} += "${datadir}/xfce4/weather"
Signature · 1 line
1.7.6.5
PATCH 8/9 xfce4-equake-plugin: initial add 1.3.3
In reply to Andreas Müller--- .../equake/xfce4-equake-plugin_1.3.3.bb | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 meta-xfce/recipes-panel-plugins/equake/xfce4-equake-plugin_1.3.3.bb
meta-xfce/recipes-panel-plugins/equake/xfce4-equake-plugin_1.3.3.bb new file +13 -0
@@ -0,0 +1,13 @@ +DESCRIPTION = "Equake XFCE is a panel plugin for the XFCE panel which monitors earthquakes and displays an update each time a new earthquake occurs." +HOMEPAGE = "http://freecode.com/projects/equake-xfce" +SECTION = "x11/application" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +inherit xfce-panel-plugin + +SRC_URI = "http://www.e-quake.org/wp-uploads/2013/09/xfce4-equake-plugin-${PV}.tar.gz" +SRC_URI[md5sum] = "fa1e934f5b7e522efc4e30a99278f908" +SRC_URI[sha256sum] = "ea37e691606dbcd705f98cecccabd69b870c7acd008f47faae6d0fee21fe14a2" + +FILES_${PN} += "${libdir}/xfce4/panel-plugins/xfce4-equake-plugin"
Signature · 1 line
1.7.6.5
PATCH 9/9 packagegroup-xfce-extended: add xfce4-equake-plugin
In reply to Andreas Müller--- .../packagegroups/packagegroup-xfce-extended.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +1 -0
@@ -42,6 +42,7 @@ RRECOMMENDS_${PN} = " \ xfce4-mount-plugin \ xfce4-brightness-plugin \ xfce4-closebutton-plugin \ + xfce4-equake-plugin \ \ thunar-media-tags-plugin \ thunar-archive-plugin \
Signature · 1 line
1.7.6.5
Quoted 4 lines · Andreas Müller
[1-3] libcanberra: While working on event sounds libcanberra needed some love.
Sounds still doesn't work properly in gtk2 environment. There will be follow ups.
[4-9] Updates + new datetime setter for XFCE
All merged thanks.
Quoted 43 lines
Andreas Müller (9):
libcanberra: addPACKAGES_DYNAMICso we use the splitted packages
libcanberra: remove r0 - it is of no use
libcanberra: handle alsa and pulsaudio by PACKAGECONFIG - defaults
based uponDISTRO_FEATURES
libxfce4ui: update to git head
xfce4-settings: move to schnitzeltony's git repo to get new datetime
setter
xfwm4: move to git repo
xfce4-weather-plugin: update to 0.8.3
xfce4-equake-plugin: initial add 1.3.3 packagegroup-xfce-extended: add xfce4-equake-plugin.../libcanberra/libcanberra_0.29.bb | 12 +- .../equake/xfce4-equake-plugin_1.3.3.bb | 13 + .../weather/files/port-to-libxfce4ui.patch | 104 -- .../weather/xfce4-weather-plugin_0.7.4.bb | 23 - .../weather/xfce4-weather-plugin_0.8.3.bb | 11 + .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 17 +- .../packagegroups/packagegroup-xfce-extended.bb | 1 + ...the-settings-manager-window-size-bug-9384.patch | 155 --- .../0001-add-cursor-theme-xfce-invisible.patch | 8 +- ...ngs-dialog-add-touchscreen-pointer-option.patch | 1083 +------------------- ...tect-a-change-of-pointer-device-used-and-.patch | 10 +- ...e4-settings_4.11.0.bb => xfce4-settings_git.bb} | 23 +- .../xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} | 17 +- 13 files changed, 90 insertions(+), 1387 deletions(-) create mode 100644 meta-xfce/recipes-panel-plugins/equake/xfce4-equake-plugin_1.3.3.bb delete mode 100644 meta-xfce/recipes-panel-plugins/weather/files/port-to-libxfce4ui.patch delete mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb create mode 100644 meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.8.3.bb delete mode 100644 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.11.0.bb => xfce4-settings_git.bb} (64%) rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} (70%)Signature · 6 lines
1.7.6.5 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]