rpms/xfce-utils/F-8 xfce-utils-4.4.2-pulseaudio.patch, NONE, 1.1 xfce-utils.spec, 1.18, 1.19

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Sat Jan 5 21:12:36 UTC 2008


Author: kevin

Update of /cvs/extras/rpms/xfce-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24641

Modified Files:
	xfce-utils.spec 
Added Files:
	xfce-utils-4.4.2-pulseaudio.patch 
Log Message:
Add patch to start pulseaudio if installed


xfce-utils-4.4.2-pulseaudio.patch:

--- NEW FILE xfce-utils-4.4.2-pulseaudio.patch ---
diff -Nur xfce-utils-4.4.2.orig/scripts/xinitrc xfce-utils-4.4.2/scripts/xinitrc
--- xfce-utils-4.4.2.orig/scripts/xinitrc	2007-11-17 12:52:22.000000000 -0700
+++ xfce-utils-4.4.2/scripts/xinitrc	2008-01-02 14:10:42.000000000 -0700
@@ -9,6 +9,13 @@
 	fi
 fi
 
+#
+# Fedora 8 and later use pulseaudio, start it for sound. 
+#
+if [ -x /usr/bin/pulseaudio ]; then
+	/usr/bin/pulseaudio -D
+fi
+
 # $XDG_CONFIG_HOME defines the base directory relative to which user specific 
 # configuration files should be stored. If $XDG_CONFIG_HOME is either not set 
 # or empty, a default equal to $HOME/.config should be used.


Index: xfce-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce-utils/F-8/xfce-utils.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- xfce-utils.spec	7 Dec 2007 03:40:18 -0000	1.18
+++ xfce-utils.spec	5 Jan 2008 21:11:40 -0000	1.19
@@ -3,11 +3,12 @@
 Summary: Utilities for the Xfce Desktop Environment
 Name: xfce-utils
 Version: 4.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 URL: http://www.xfce.org/
 Source0: http://www.xfce.org/archive/xfce-4.4.2/src/xfce-utils-4.4.2.tar.bz2
 Source1: xfce4.desktop
+Patch0: xfce-utils-4.4.2-pulseaudio.patch
 Group: User Interface/Desktops
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: xfce-mcs-manager
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .pulseaudio
 
 %build
 %configure --enable-gdm
@@ -87,6 +89,9 @@
 %{_datadir}/dbus-1/services/org.xfce.RunDialog.service
 
 %changelog
+* Wed Jan 02 2008 Kevin Fenzi <kevin at tummy.com> - 4.4.2-2
+- Add patch to start pulseaudio if installed
+
 * Sun Nov 18 2007 Kevin Fenzi <kevin at tummy.com> - 4.4.2-1
 - Update to 4.4.2
 




More information about the fedora-extras-commits mailing list