openbsd-ports/x11/kde4/kmix/patches/patch-apps_kmixremote
zhuk 5ce7841d3a "small update" (c) tedu@
Here KDE 4.13.2 comes. Big release changelogs could be read here:

  http://www.kde.org/announcements/4.12/
  http://www.kde.org/announcements/4.13/

Critical things you should be aware of:

  1. Nepomuk is gone, it's superseeded by Baloo. Nepomuk libraries
     are still here, though, but they do rely on Baloo internally.

  2. kdnssd was renamed to zeroconf-ioslave;

  3. kwallet was renamed to kwalletmanager;

  4. Akonadi cache will be rebuilt; this could result in change
     of PIM folder indexes, which in turn could mess up your
     mail filters - beware.

  5. ... a lot of other little problems that always happen during
     update.

Things could be broken for a day or two in subtle ways - don't
hesistate on reporting them!
2014-07-09 20:03:22 +00:00

46 lines
1.2 KiB
Plaintext

$OpenBSD: patch-apps_kmixremote,v 1.1 2014/07/09 20:03:26 zhuk Exp $
Make this more portable.
--- apps/kmixremote.orig Fri Jun 27 19:14:11 2014
+++ apps/kmixremote Fri Jun 27 19:15:34 2014
@@ -1,3 +1,4 @@
+#!/bin/sh
#################################################################################
# kmixremote - control kmix from a script.
#
@@ -6,7 +7,7 @@
# Mute
#################################################################################
-function usage
+usage()
{
echo "Usage:"
echo "List mixers # $0 list"
@@ -17,7 +18,7 @@ function usage
echo
}
-function exit_with_error
+exit_with_error()
{
echo "Error: $1"
echo
@@ -26,7 +27,7 @@ function exit_with_error
}
# 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=$?
@@ -36,7 +37,7 @@ function listMixers
}
# 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=$?