[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, gismo-debian-split-config, updated. debian/0.2.0-git20080909-6-17-g7208cb0

Luca Capello luca at pca.it
Fri Oct 31 12:25:33 UTC 2008


The following commit has been merged in the gismo-debian-split-config branch:
commit 7208cb0e12af971a6e5844008369fe895172b8c8
Author: Luca Capello <luca at pca.it>
Date:   Fri Oct 31 13:25:23 2008 +0100

    debian/README.Debian: local configuration for the sounds

diff --git a/debian/README.Debian b/debian/README.Debian
index bb90b70..1a3c1ad 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -44,4 +44,36 @@ as an example.
 If you want to know a list of all availables fso-sounds-* package,
 please use `apt-cache showpkg fso-sounds`, section "Reverse Provides".
 
- -- Luca Capello <luca at pca.it>, Fri, 31 Oct 2008 12:33:37 +0100
+
+* local configuration for the ring- and message-tones
+
+If you do not want to install any fso-sounds-* package at all, you
+should create your own local configuration file and register it as an
+alternative for the upstream default file through update-alternatives.
+The local configuration must have the highest alternative priority to
+preserve it as the default alternative in case an fso-sounds-* package
+is installed.
+
+NB, sounds file should be in /usr/share/sounds and the extension
+    should always be specified.
+
+Please follow these commands:
+
+  $ cat <<EOF >/usr/local/share/fso-frameworkd-default-sounds-local.yaml
+    # Debian ring- and message-tones configuration: local
+    ring-tone: "$RING_FILE"
+    ring-volume: $RING_VOLUME
+    message-tone: "$MESSAGE_FILE"
+    message-volume: $MESSAGE_VOLUME
+    EOF
+  $ update-alternatives \
+	--install \
+	/etc/freesmartphone/opreferences/conf/phone/default.yaml \
+	fso-frameworkd-default-sounds.yaml \
+	/usr/local/share/fso-frameworkd-default-sounds-local.yaml \
+	100
+
+Check the update-alternatives manpage for further information about
+how to manage the different alternatives.
+
+ -- Luca Capello <luca at pca.it>, Fri, 31 Oct 2008 13:24:19 +0100
diff --git a/debian/changelog b/debian/changelog
index 32f2af5..acb5c15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,8 @@ fso-frameworkd (0.2.0-git20080909-7) UNRELEASED; urgency=low
     + explain the need for /etc/frameworkd.conf.
     + explain what a fso-config-* package is and contains.
     + explain what a fso-sounds-* package is and contains.
+    + explain how to create a local configuration for the sounds and
+      register it as alternative with the highest priority.
   * debian/rules:
     + install fso-sounds-none files.
     - no more need to generate the debian/sounds/*.

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list