rpms/xfce4-notifyd/devel xfce4-notifyd-0.1.0-dbus-service-name.patch, NONE, 1.1 xfce4-notifyd.spec, 1.2, 1.3

Christoph Wickert cwickert at fedoraproject.org
Wed May 13 23:53:54 UTC 2009


Author: cwickert

Update of /cvs/pkgs/rpms/xfce4-notifyd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27577

Modified Files:
	xfce4-notifyd.spec 
Added Files:
	xfce4-notifyd-0.1.0-dbus-service-name.patch 
Log Message:
* Mon Feb 23 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.0-2
- Patch to rename dbus-service file to avoid conflict with notification-daemon


xfce4-notifyd-0.1.0-dbus-service-name.patch:

--- NEW FILE xfce4-notifyd-0.1.0-dbus-service-name.patch ---
diff -Nur xfce4-notifyd-0.1.0.orig/xfce4-notifyd/Makefile.am xfce4-notifyd-0.1.0/xfce4-notifyd/Makefile.am
--- xfce4-notifyd-0.1.0.orig/xfce4-notifyd/Makefile.am	2008-11-24 20:36:12.000000000 +0100
+++ xfce4-notifyd-0.1.0/xfce4-notifyd/Makefile.am	2009-05-14 01:38:31.000000000 +0200
@@ -32,7 +32,7 @@
 
 
 servicedir = $(datadir)/dbus-1/services
-service_in_files = org.freedesktop.Notifications.service.in
+service_in_files = xfce-org.freedesktop.Notifications.service.in
 service_DATA = $(service_in_files:.service.in=.service)
 
 %.service: $(srcdir)/%.service.in Makefile
diff -Nur xfce4-notifyd-0.1.0.orig/xfce4-notifyd/Makefile.in xfce4-notifyd-0.1.0/xfce4-notifyd/Makefile.in
--- xfce4-notifyd-0.1.0.orig/xfce4-notifyd/Makefile.in	2008-11-24 20:36:20.000000000 +0100
+++ xfce4-notifyd-0.1.0/xfce4-notifyd/Makefile.in	2009-05-14 01:38:58.000000000 +0200
@@ -268,7 +268,7 @@
 	$(LIBSEXY_LIBS)
 
 servicedir = $(datadir)/dbus-1/services
-service_in_files = org.freedesktop.Notifications.service.in
+service_in_files = xfce-org.freedesktop.Notifications.service.in
 service_DATA = $(service_in_files:.service.in=.service)
 @MAINTAINER_MODE_TRUE at BUILT_SOURCES = \
 @MAINTAINER_MODE_TRUE@	notify-dbus.h \
diff -Nur xfce4-notifyd-0.1.0.orig/xfce4-notifyd/org.freedesktop.Notifications.service.in xfce4-notifyd-0.1.0/xfce4-notifyd/org.freedesktop.Notifications.service.in
--- xfce4-notifyd-0.1.0.orig/xfce4-notifyd/org.freedesktop.Notifications.service.in	2008-11-15 10:29:42.000000000 +0100
+++ xfce4-notifyd-0.1.0/xfce4-notifyd/org.freedesktop.Notifications.service.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=org.freedesktop.Notifications
-Exec=@libexecdir@/xfce4-notifyd
diff -Nur xfce4-notifyd-0.1.0.orig/xfce4-notifyd/xfce-org.freedesktop.Notifications.service.in xfce4-notifyd-0.1.0/xfce4-notifyd/xfce-org.freedesktop.Notifications.service.in
--- xfce4-notifyd-0.1.0.orig/xfce4-notifyd/xfce-org.freedesktop.Notifications.service.in	1970-01-01 01:00:00.000000000 +0100
+++ xfce4-notifyd-0.1.0/xfce4-notifyd/xfce-org.freedesktop.Notifications.service.in	2008-11-15 10:29:42.000000000 +0100
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Notifications
+Exec=@libexecdir@/xfce4-notifyd


Index: xfce4-notifyd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xfce4-notifyd/devel/xfce4-notifyd.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- xfce4-notifyd.spec	6 May 2009 23:10:18 -0000	1.2
+++ xfce4-notifyd.spec	13 May 2009 23:53:23 -0000	1.3
@@ -2,13 +2,14 @@
 
 Name:           xfce4-notifyd
 Version:        0.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Simple notification daemon for Xfce
 
 Group:          User Interface/Desktops
 License:        GPLv2
 URL:            http://spuriousinterrupt.org/projects/xfce4-notifyd
 Source0:        http://spuriousinterrupt.org/files/xfce4-notifyd/xfce4-notifyd-%{version}.tar.bz2
+Patch0:         xfce4-notifyd-0.1.0-dbus-service-name.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel >= 2.10.0
@@ -21,9 +22,7 @@ BuildRequires:  desktop-file-utils
 BuildRequires:  intltool
 Requires:       dbus
 Requires:       hicolor-icon-theme
-# the package conflicts with Gnome's notification-daemon
-Conflicts:      notification-daemon
-# but also provides
+# for compatibility this package provides
 Provides:       desktop-notification-daemon
 # and obsoletes all notification-daemon-xfce releases
 Obsoletes:      notification-daemon-xfce <= 0.3.7
@@ -40,7 +39,7 @@ Features:
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .dbus-service-name
 
 %build
 %configure
@@ -85,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/xfce4-notifyd-config
 %{_libexecdir}/xfce4-notifyd
 %{_datadir}/applications/xfce4-notifyd-config.desktop
-%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
+%{_datadir}/dbus-1/services/xfce-org.freedesktop.Notifications.service
 %{_datadir}/icons/hicolor/48x48/apps/xfce4-notifyd.png
 %{_datadir}/themes/Default/xfce-notify-4.0/
 %{_datadir}/themes/Smoke/
@@ -93,5 +92,8 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Feb 23 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.0-2
+- Patch to rename dbus-service file to avoid conflict with notification-daemon
+
 * Mon Feb 23 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.0-1
 - Initial Fedora Package




More information about the fedora-extras-commits mailing list