Hello community,
here is the log from the commit of package kmix for openSUSE:Factory checked in at 2014-11-29 08:39:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmix (Old)
and /work/SRC/openSUSE:Factory/.kmix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmix"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kmix/kmix.changes 2014-11-19 20:29:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kmix.new/kmix.changes 2014-11-29 08:39:44.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov 23 04:49:00 UTC 2014 - Led
+
+- fix bashisms in kmixremote script
+- add patches:
+ * kmix-4.14.3-fix-bashisms.patch
+
+-------------------------------------------------------------------
New:
----
kmix-4.14.3-fix-bashisms.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kmix.spec ++++++
--- /var/tmp/diff_new_pack.gurJYu/_old 2014-11-29 08:39:45.000000000 +0100
+++ /var/tmp/diff_new_pack.gurJYu/_new 2014-11-29 08:39:45.000000000 +0100
@@ -33,6 +33,7 @@
# 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 @@
%if 0%{?suse_version} >= 1310
%patch0 -p1
%endif
+%patch1 -p1
%build
%cmake_kde4 -d build
++++++ kmix-4.14.3-fix-bashisms.patch ++++++
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=$?
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org