[pkg-fso-commits] [SCM] openmoko-files-nonfree, various not DFSG-free files for the Openmoko devices branch, master, updated. debian/20080911-1-2-gec7ccf2
Luca Capello
luca at pca.it
Wed Oct 29 01:46:30 UTC 2008
The following commit has been merged in the master branch:
commit ec7ccf24822dafeac23766596aa31145ad90a0f8
Author: Luca Capello <luca at pca.it>
Date: Wed Oct 29 02:45:53 2008 +0100
debian/openmoko-nonfree.yaml: new file
diff --git a/debian/changelog b/debian/changelog
index ff7e389..a4275cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,14 @@ openmoko-files-nonfree (20080911-2) UNRELEASED; urgency=low
* debian/control:
- do not Conflicts: with nor Replaces: fso-sounds, since
different fso-sounds-* package can be installed together.
+ * debian/fso-sounds-openmoko-nonfree.install:
+ + install debian/openmoko-nonfree.yaml into
+ /etc/freesmartphone/opreferences/conf/phone.
+ * debian/fso-sounds-openmoko-nonfree.postinst:
+ + register the phone file with update-alternatives.
+ * debian/fso-sounds-openmoko-nonfree.prerm:
+ - remove the phone file from update-alternatives.
+ * debian/openmoko-nonfree.yaml: new file.
--
diff --git a/debian/fso-sounds-openmoko-nonfree.install b/debian/fso-sounds-openmoko-nonfree.install
index bfd9e74..aa40762 100644
--- a/debian/fso-sounds-openmoko-nonfree.install
+++ b/debian/fso-sounds-openmoko-nonfree.install
@@ -1 +1,2 @@
+debian/openmoko-nonfree.yaml /etc/freesmartphone/opreferences/conf/phone
debian/sounds/* /usr/share/sounds
diff --git a/debian/fso-sounds-openmoko-nonfree.postinst b/debian/fso-sounds-openmoko-nonfree.postinst
new file mode 100644
index 0000000..c2ba76c
--- /dev/null
+++ b/debian/fso-sounds-openmoko-nonfree.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# Register the phone file with update-alternatives.
+if [ "$1" = "configure" ]; then
+ update-alternatives \
+ --install \
+ /etc/freesmartphone/opreferences/conf/phone/default.yaml \
+ fso-frameworkd-default-sounds.yaml \
+ /etc/freesmartphone/opreferences/conf/phone/openmoko-nonfree.yaml \
+ 20
+fi
diff --git a/debian/fso-sounds-openmoko-nonfree.prerm b/debian/fso-sounds-openmoko-nonfree.prerm
new file mode 100644
index 0000000..da77dec
--- /dev/null
+++ b/debian/fso-sounds-openmoko-nonfree.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+# Remove the phone file from update-alternatives.
+if [ "$1" = "remove" ]; then
+ update-alternatives \
+ --remove \
+ fso-frameworkd-default-sounds.yaml \
+ /etc/freesmartphone/opreferences/conf/phone/openmoko-nonfree.yaml
+fi
diff --git a/debian/openmoko-nonfree.yaml b/debian/openmoko-nonfree.yaml
new file mode 100644
index 0000000..3ca9c1d
--- /dev/null
+++ b/debian/openmoko-nonfree.yaml
@@ -0,0 +1,8 @@
+
+
+ring-tone: "Arkanoid_PSID.sid"
+ring-volume: 10
+
+message-tone: "notify_message.mp3"
+message-volume: 10
+
--
openmoko-files-nonfree, various not DFSG-free files for the Openmoko devices
More information about the pkg-fso-commits
mailing list