Accepting request 263008 from KDE:Distro:Factory
1 OBS-URL: https://build.opensuse.org/request/show/263008 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmix?expand=0&rev=38
This commit is contained in:
parent
cb1b7c42e0
commit
1f1c1a89c0
39
kmix-4.14.3-fix-bashisms.patch
Normal file
39
kmix-4.14.3-fix-bashisms.patch
Normal file
@ -0,0 +1,39 @@
|
||||
diff -Ndur kmix-4.14.3/apps/kmixremote kmix-4.14.3-fix-bashisms/apps/kmixremote
|
||||
--- kmix-4.14.3/apps/kmixremote 2014-07-16 11:24:17.000000000 +0300
|
||||
+++ kmix-4.14.3-fix-bashisms/apps/kmixremote 2014-11-23 06:46:36.616308340 +0200
|
||||
@@ -7,7 +7,7 @@
|
||||
# Mute
|
||||
#################################################################################
|
||||
|
||||
-function usage
|
||||
+usage()
|
||||
{
|
||||
echo "Usage:"
|
||||
echo "List mixers # $0 list"
|
||||
@@ -18,7 +18,7 @@
|
||||
echo
|
||||
}
|
||||
|
||||
-function exit_with_error
|
||||
+exit_with_error()
|
||||
{
|
||||
echo "Error: $1"
|
||||
echo
|
||||
@@ -27,7 +27,7 @@
|
||||
}
|
||||
|
||||
# Prints the mixer DBUS ID's on the console. leaving out the "/Mixers/" prefix
|
||||
-function listMixers
|
||||
+listMixers()
|
||||
{
|
||||
qdbus org.kde.kmix /Mixers org.freedesktop.DBus.Properties.Get org.kde.KMix.MixSet mixers | cut -f3 -d/
|
||||
errorCode=$?
|
||||
@@ -37,7 +37,7 @@
|
||||
}
|
||||
|
||||
# Prints the mixer control DBUS ID's of the given mixer on the console. leaving out the "/Mixers/" prefix
|
||||
-function listControls
|
||||
+listControls()
|
||||
{
|
||||
qdbus org.kde.kmix $1 org.freedesktop.DBus.Properties.Get org.kde.KMix.Mixer controls | cut -f4 -d/
|
||||
errorCode=$?
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 23 04:49:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in kmixremote script
|
||||
- add patches:
|
||||
* kmix-4.14.3-fix-bashisms.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 9 20:39:19 UTC 2014 - tittiatcoke@gmail.com
|
||||
|
||||
|
@ -33,6 +33,7 @@ Source0: %{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-OPENSUSE Who-needs-event-slider.patch -- since KNotify will no longer be able pretending it can
|
||||
# control volume, also remove the Event slider within KMix
|
||||
Patch0: Who-needs-event-slider.patch
|
||||
Patch1: kmix-4.14.3-fix-bashisms.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
@ -44,6 +45,7 @@ KDE's full featured mini mixer
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
|
Loading…
Reference in New Issue
Block a user