[packages/mate-settings-daemon] up to 1.5.6
glen
glen at pld-linux.org
Thu Mar 14 11:55:58 CET 2013
commit 7477c4be3d7dd368903e1e1356e89b7ebd83baa7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Mar 14 12:53:49 2013 +0200
up to 1.5.6
mate-settings-daemon.spec | 9 +-
use-libnotify.patch | 290 ----------------------------------------------
2 files changed, 4 insertions(+), 295 deletions(-)
---
diff --git a/mate-settings-daemon.spec b/mate-settings-daemon.spec
index 58e189b..e9df345 100644
--- a/mate-settings-daemon.spec
+++ b/mate-settings-daemon.spec
@@ -4,15 +4,15 @@
Summary: MATE Desktop settings daemon
Name: mate-settings-daemon
-Version: 1.5.5
-Release: 3
+Version: 1.5.6
+Release: 1
License: GPL v2+
Group: X11/Applications
Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
-# Source0-md5: d0c02b1a8cee205bccf1bd237d21d82a
-Patch0: use-libnotify.patch
+# Source0-md5: fe275138bc57882c3dffd4f87046bf12
URL: http://wiki.mate-desktop.org/mate-settings-daemon
BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: dconf-devel >= 0.13
BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 1:2.17.3
BuildRequires: gtk+2-devel >= 2:2.24.0
@@ -55,7 +55,6 @@ Development files for mate-settings-daemon
%prep
%setup -q
-%patch0 -p1
%build
NOCONFIGURE=1 ./autogen.sh
diff --git a/use-libnotify.patch b/use-libnotify.patch
deleted file mode 100644
index 42b39c0..0000000
--- a/use-libnotify.patch
+++ /dev/null
@@ -1,290 +0,0 @@
---- mate-settings-daemon-1.5.5/./plugins/xrandr/Makefile.am~ 2013-02-08 01:25:01.000000000 +0200
-+++ mate-settings-daemon-1.5.5/./plugins/xrandr/Makefile.am 2013-02-18 22:09:42.379069593 +0200
-@@ -54,7 +54,7 @@
-
- libxrandr_la_CFLAGS = \
- $(SETTINGS_PLUGIN_CFLAGS) \
-- $(LIBMATENOTIFY_CFLAGS) \
-+ $(LIBNOTIFY_CFLAGS) \
- $(MATE_DESKTOP_CFLAGS) \
- $(AM_CFLAGS)
-
-@@ -63,7 +63,7 @@
-
- libxrandr_la_LIBADD = \
- $(SETTINGS_PLUGIN_LIBS) \
-- $(LIBMATENOTIFY_LIBS) \
-+ $(LIBNOTIFY_LIBS) \
- $(MATE_DESKTOP_LIBS)
-
- plugin_in_files = \
---- mate-settings-daemon-1.5.5/plugins/xrandr/msd-xrandr-manager.c 2013-02-18 22:25:36.719541100 +0200
-+++ mate-settings-daemon-1.5.5/plugins/xrandr/msd-xrandr-manager.c 2013-02-26 00:46:56.115307180 +0200
-@@ -46,8 +46,8 @@
- #include <libmateui/mate-rr.h>
- #include <libmateui/mate-rr-labeler.h>
-
--#ifdef HAVE_LIBMATENOTIFY
--#include <libmatenotify/notify.h>
-+#ifdef HAVE_LIBNOTIFY
-+#include <libnotify/notify.h>
- #endif
-
- #include "mate-settings-profile.h"
-@@ -1079,22 +1079,20 @@
- static void
- error_message (MsdXrandrManager *mgr, const char *primary_text, GError *error_to_display, const char *secondary_text)
- {
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- MsdXrandrManagerPrivate *priv = mgr->priv;
- NotifyNotification *notification;
-
- g_assert (error_to_display == NULL || secondary_text == NULL);
-
- if (priv->status_icon)
-- notification = notify_notification_new_with_status_icon (primary_text,
-- error_to_display ? error_to_display->message : secondary_text,
-- MSD_XRANDR_ICON_NAME,
-- priv->status_icon);
-+ notification = notify_notification_new (primary_text,
-+ error_to_display ? error_to_display->message : secondary_text,
-+ gtk_status_icon_get_icon_name(priv->status_icon));
- else
- notification = notify_notification_new (primary_text,
- error_to_display ? error_to_display->message : secondary_text,
-- MSD_XRANDR_ICON_NAME,
-- NULL);
-+ MSD_XRANDR_ICON_NAME);
-
- notify_notification_show (notification, NULL); /* NULL-GError */
- #else
-@@ -1107,7 +1105,7 @@
-
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
- }
-
- static void
---- mate-settings-daemon-1.5.5/./plugins/a11y-keyboard/Makefile.am~ 2013-02-08 01:25:01.000000000 +0200
-+++ mate-settings-daemon-1.5.5/./plugins/a11y-keyboard/Makefile.am 2013-02-18 22:10:28.794534045 +0200
-@@ -52,7 +52,7 @@
-
- liba11y_keyboard_la_CFLAGS = \
- $(SETTINGS_PLUGIN_CFLAGS) \
-- $(LIBMATENOTIFY_CFLAGS) \
-+ $(LIBNOTIFY_CFLAGS) \
- $(AM_CFLAGS)
-
- liba11y_keyboard_la_LDFLAGS = \
-@@ -62,7 +62,7 @@
- liba11y_keyboard_la_LIBADD = \
- $(SETTINGS_PLUGIN_LIBS) \
- $(XF86MISC_LIBS) \
-- $(LIBMATENOTIFY_LIBS) \
-+ $(LIBNOTIFY_LIBS) \
- $(NULL)
-
- plugin_in_files = \
---- mate-settings-daemon-1.5.5/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c 2013-02-18 22:20:31.682202641 +0200
-+++ mate-settings-daemon-1.5.5/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c 2013-02-26 01:10:16.830084486 +0200
-@@ -46,9 +46,9 @@
- #include <X11/extensions/XIproto.h>
- #endif
-
--#ifdef HAVE_LIBMATENOTIFY
--#include <libmatenotify/notify.h>
--#endif /* HAVE_LIBMATENOTIFY */
-+#ifdef HAVE_LIBNOTIFY
-+#include <libnotify/notify.h>
-+#endif /* HAVE_LIBNOTIFY */
-
- #include "mate-settings-profile.h"
- #include "msd-a11y-keyboard-manager.h"
-@@ -72,9 +72,9 @@
-
- GSettings *settings;
-
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- NotifyNotification *notification;
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
- };
-
- static void msd_a11y_keyboard_manager_class_init (MsdA11yKeyboardManagerClass *klass);
-@@ -497,7 +497,7 @@
- gtk_status_icon_set_visible (manager->priv->status_icon, show);
- }
-
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- static void
- on_notification_closed (NotifyNotification *notification,
- MsdA11yKeyboardManager *manager)
-@@ -558,13 +558,13 @@
- }
- }
-
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
-
- static gboolean
- ax_slowkeys_warning_post_bubble (MsdA11yKeyboardManager *manager,
- gboolean enabled)
- {
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- gboolean res;
- const char *title;
- const char *message;
-@@ -591,9 +591,7 @@
- msd_a11y_keyboard_manager_ensure_status_icon (manager);
- manager->priv->notification = notify_notification_new (title,
- message,
-- "preferences-desktop-accessibility",
-- NULL);
-- notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon);
-+ "preferences-desktop-accessibility");
- notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000);
-
- notify_notification_add_action (manager->priv->notification,
-@@ -625,7 +623,7 @@
- return res;
- #else
- return FALSE;
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
- }
-
-
-@@ -700,7 +698,7 @@
- ax_stickykeys_warning_post_bubble (MsdA11yKeyboardManager *manager,
- gboolean enabled)
- {
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- gboolean res;
- const char *title;
- const char *message;
-@@ -730,9 +728,7 @@
- msd_a11y_keyboard_manager_ensure_status_icon (manager);
- manager->priv->notification = notify_notification_new (title,
- message,
-- "preferences-desktop-accessibility",
-- NULL);
-- notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon);
-+ "preferences-desktop-accessibility");
- notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000);
-
- notify_notification_add_action (manager->priv->notification,
-@@ -764,7 +760,7 @@
- return res;
- #else
- return FALSE;
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
- }
-
- static void
-@@ -1250,9 +1246,9 @@
- {
- manager->priv = MSD_A11Y_KEYBOARD_MANAGER_GET_PRIVATE (manager);
-
--#ifdef HAVE_LIBMATENOTIFY
-+#ifdef HAVE_LIBNOTIFY
- notify_init ("mate-settings-daemon");
--#endif /* HAVE_LIBMATENOTIFY */
-+#endif /* HAVE_LIBNOTIFY */
- }
-
- static void
---- mate-settings-daemon-1.5.5/./plugins/housekeeping/Makefile.am~ 2013-02-08 01:25:01.000000000 +0200
-+++ mate-settings-daemon-1.5.5/./plugins/housekeeping/Makefile.am 2013-02-18 22:11:49.998262432 +0200
-@@ -20,12 +20,12 @@
- libhousekeeping_la_CFLAGS = \
- $(SETTINGS_PLUGIN_CFLAGS) \
- $(GIOUNIX_CFLAGS) \
-- $(LIBMATENOTIFY_CFLAGS) \
-+ $(LIBNOTIFY_CFLAGS) \
- $(AM_CFLAGS)
-
- libhousekeeping_la_LDFLAGS = $(MSD_PLUGIN_LDFLAGS)
-
--libhousekeeping_la_LIBADD = $(SETTINGS_PLUGIN_LIBS) $(GIOUNIX_LIBS) $(LIBMATENOTIFY_LIBS)
-+libhousekeeping_la_LIBADD = $(SETTINGS_PLUGIN_LIBS) $(GIOUNIX_LIBS) $(LIBNOTIFY_LIBS)
-
- plugin_in_files = housekeeping.mate-settings-plugin.in
-
---- mate-settings-daemon-1.5.5/./plugins/housekeeping/msd-disk-space.c~ 2013-02-08 01:25:01.000000000 +0200
-+++ mate-settings-daemon-1.5.5/./plugins/housekeeping/msd-disk-space.c 2013-02-18 22:12:03.545551115 +0200
-@@ -21,7 +21,7 @@
- *
- */
-
--/* gcc -DHAVE_LIBMATENOTIFY -DTEST -Wall `pkg-config --cflags --libs gobject-2.0 gio-unix-2.0 glib-2.0 gtk+-2.0 libmatenotify` -o msd-disk-space-test msd-disk-space.c */
-+/* gcc -DHAVE_LIBNOTIFY -DTEST -Wall `pkg-config --cflags --libs gobject-2.0 gio-unix-2.0 glib-2.0 gtk+-2.0 libnotify` -o msd-disk-space-test msd-disk-space.c */
-
- #include "config.h"
-
---- mate-settings-daemon-1.5.5/./configure.ac~ 2013-02-08 01:25:01.000000000 +0200
-+++ mate-settings-daemon-1.5.5/./configure.ac 2013-02-18 22:13:56.937424046 +0200
-@@ -53,7 +53,7 @@
- GTK_REQUIRED_VERSION=2.24.0
- GIO_REQUIRED_VERSION=2.26.0
- MATE_DESKTOP_REQUIRED_VERSION=1.5.0
--LIBMATENOTIFY_REQUIRED_VERSION=1.1.0
-+LIBNOTIFY_REQUIRED_VERSION=0.7.5
-
- EXTRA_COMPILE_WARNINGS(yes)
-
-@@ -90,24 +90,24 @@
- PKG_CHECK_MODULES(MATE_DESKTOP, mate-desktop-2.0 >= $MATE_DESKTOP_REQUIRED_VERSION)
-
- dnl ---------------------------------------------------------------------------
--dnl - Check for libmatenotify
-+dnl - Check for libnotify
- dnl ---------------------------------------------------------------------------
-
--have_libmatenotify=no
--AC_ARG_WITH(libmatenotify,
-- AC_HELP_STRING([--without-libmatenotify], [Disable notifications (default: auto)]),
-- with_libmatenotify=$withval, with_libmatenotify=auto)
--
--if test "x$with_libmatenotify" != "xno"; then
-- PKG_CHECK_MODULES(LIBMATENOTIFY, libmatenotify >= $LIBMATENOTIFY_REQUIRED_VERSION,
-- [AC_DEFINE(HAVE_LIBMATENOTIFY, 1, [Define if libmatenotify is available])
-- have_libmatenotify=yes], have_libmatenotify=no)
-- if test "x$have_libmatenotify" = xno -a "x$with_libmatenotify" = xyes; then
-- AC_MSG_ERROR([libmatenotify support requested but libraries not found])
-+have_libnotify=no
-+AC_ARG_WITH(libnotify,
-+ AC_HELP_STRING([--without-libnotify], [Disable notifications (default: auto)]),
-+ with_libnotify=$withval, with_libnotify=auto)
-+
-+if test "x$with_libnotify" != "xno"; then
-+ PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED_VERSION,
-+ [AC_DEFINE(HAVE_LIBNOTIFY, 1, [Define if libnotify is available])
-+ have_libnotify=yes], have_libnotify=no)
-+ if test "x$have_libnotify" = xno -a "x$with_libnotify" = xyes; then
-+ AC_MSG_ERROR([libnotify support requested but libraries not found])
- fi
- fi
--AC_SUBST(LIBMATENOTIFY_CFLAGS)
--AC_SUBST(LIBMATENOTIFY_LIBS)
-+AC_SUBST(LIBNOTIFY_CFLAGS)
-+AC_SUBST(LIBNOTIFY_LIBS)
-
- dnl ---------------------------------------------------------------------------
- dnl - Check for D-Bus
-@@ -520,7 +520,7 @@
- dbus-1 system.d dir: ${DBUS_SYS_DIR}
- PolicyKit support: ${HAVE_POLKIT}
-
-- Libmatenotify support: ${have_libmatenotify}
-+ Libnotify support: ${have_libnotify}
- GStreamer support: ${have_gstreamer}
- PulseAudio support: ${have_pulse}
- Smartcard support: ${have_smartcard_support}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mate-settings-daemon.git/commitdiff/7477c4be3d7dd368903e1e1356e89b7ebd83baa7
More information about the pld-cvs-commit
mailing list