[kmix] autostart kmix after pulseaudio

Rex Dieter rdieter at fedoraproject.org
Mon Dec 9 04:14:40 UTC 2013


commit 6f5ec95fcae7f203b64d6697133cd0aae2c498e9
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sun Dec 8 22:14:38 2013 -0600

    autostart kmix after pulseaudio

 kmix-4.11.97-autostart.patch |   21 +++++++++++++++++++++
 kmix.spec                    |   11 ++++++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/kmix-4.11.97-autostart.patch b/kmix-4.11.97-autostart.patch
new file mode 100644
index 0000000..047d9a6
--- /dev/null
+++ b/kmix-4.11.97-autostart.patch
@@ -0,0 +1,21 @@
+diff -up kmix-4.11.97/kmix_autostart.desktop.autostart kmix-4.11.97/kmix_autostart.desktop
+--- kmix-4.11.97/kmix_autostart.desktop.autostart	2013-09-03 04:57:22.000000000 -0500
++++ kmix-4.11.97/kmix_autostart.desktop	2013-12-08 22:05:18.359384464 -0600
+@@ -6,6 +6,7 @@ Type=Application
+ MimeType=
+ Terminal=false
+ X-KDE-autostart-after=panel
++X-KDE-autostart-after=pulseaudio
+ X-KDE-StartupNotify=false
+ X-DBUS-StartupType=Unique
+ X-KDE-autostart-condition=kmixrc:Global:AutoStart:true
+diff -up kmix-4.11.97/restore_kmix_volumes.desktop.autostart kmix-4.11.97/restore_kmix_volumes.desktop
+--- kmix-4.11.97/restore_kmix_volumes.desktop.autostart	2013-09-03 04:57:22.000000000 -0500
++++ kmix-4.11.97/restore_kmix_volumes.desktop	2013-12-08 22:10:12.757238970 -0600
+@@ -1,5 +1,6 @@
+ [Desktop Entry]
+ X-KDE-autostart-phase=1
++X-KDE-autostart-after=pulseaudio
+ X-KDE-autostart-condition=kmixrc:Global:startkdeRestore:true
+ Type=Application
+ Exec=kmixctrl --restore
diff --git a/kmix.spec b/kmix.spec
index 4a4dfcb..4c8ad19 100644
--- a/kmix.spec
+++ b/kmix.spec
@@ -1,7 +1,7 @@
 Name:    kmix 
 Summary: KDE volume control 
 Version: 4.11.97
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # code is LGPLv2+ except for gui/osdwidget.* which is GPLv2+
 # docs GFDL
@@ -17,6 +17,10 @@ Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar
 
 ## upstream patches
 
+## upstreamable patches
+# try to ensure kmix autostart is after pulseaudio
+Patch1: kmix-4.11.97-autostart.patch
+
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs4-devel >= %{version}
 BuildRequires: pkgconfig(alsa)
@@ -37,6 +41,8 @@ Provides:  kdemultimedia-kmix = 6:%{version}-%{release}
 %prep
 %setup -q
 
+%patch1 -p1 -b .autostart
+
 
 %build
 mkdir -p %{_target_platform}
@@ -97,6 +103,9 @@ fi
 
 
 %changelog
+* Sun Dec 08 2013 Rex Dieter <rdieter at fedoraproject.org> - 4.11.97-2
+- autostart kmix after pulseaudio
+
 * Sun Dec 01 2013 Rex Dieter <rdieter at fedoraproject.org> - 4.11.97-1
 - 4.11.97
 


More information about the scm-commits mailing list