[pkg-fso-commits] [SCM] elementary based mplayer audio frontend branch, master, updated. f100217c3205afcf226dbad6efed86833082f783

Sebastian Reichel sre at ring0.de
Sun Nov 3 16:00:12 UTC 2013


The following commit has been merged in the master branch:
commit f100217c3205afcf226dbad6efed86833082f783
Author: Sebastian Reichel <sre at ring0.de>
Date:   Sun Nov 3 14:54:45 2013 +0100

    import debian packaging

diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..fc635ff
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,8 @@
+If you want intone to load the needed kernel modules
+you need to start it as root. But you can just load
+the needed modules before starting intone, too:
+
+ * uinput               Needed for Bluetooth Headset Buttons.
+ * snd-pcm-oss          Don't block opening busy PCM devices.
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Wed, 23 Sep 2009 00:23:00
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3a6f829
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,90 @@
+intone (0.77+git20120308-1) unstable; urgency=low
+
+  * new upstream snapshot
+   * use dh-autoreconf to generate configure file
+  * update debian/watch
+  * update debian/copyright
+  * use compat level 9
+  * use canonical Vcs URIs
+  * update debian standards version to 3.9.5
+  * build with --as-needed
+
+ -- Sebastian Reichel <sre at debian.org>  Sun, 03 Nov 2013 14:21:55 +0100
+
+intone (0.77-2) unstable; urgency=low
+
+  * Apply use-dbus-to-set-scenario.patch from David Kalnischkies
+    (Closes: #605888)
+  * Update Format of copyright to current DEP5 revision
+  * Switch from CDBS to debhelper
+
+ -- Sebastian Reichel <sre at debian.org>  Thu, 15 Dec 2011 16:36:52 +0100
+
+intone (0.77-1) unstable; urgency=low
+
+  * New upstream release (Closes: #615734)
+  * Update my mail address
+
+ -- Sebastian Reichel <sre at debian.org>  Fri, 24 Jun 2011 13:18:57 +0200
+
+intone (0.66+svn20100620-3) unstable; urgency=low
+
+  * Add patch to allow building against the new eina release
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Mon, 30 Aug 2010 22:39:55 +0200
+
+intone (0.66+svn20100620-2) unstable; urgency=low
+
+  * Recommend libevas-svn-06-engines-x, it's needed in almost all cases 
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Wed, 28 Jul 2010 11:59:33 +0200
+
+intone (0.66+svn20100620-1) unstable; urgency=low
+
+  * New upstream version
+   - fix symlink vulnerability
+   - genlist fixes
+  * Fix file permissions
+  * CDBS takes care of generating configure stuff
+  * Update Debian Standards Version to 3.9.1.0
+  * Switch to DebSrc 3.0 (quilt)
+  * Update copyright file to DEP-5 style
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Mon, 26 Jul 2010 16:39:38 +0200
+
+intone (0.66+svn20091213-1) unstable; urgency=low
+ 
+  [ Timo Jyrinki ]
+  * New upstream version
+   - Fixes for crashes
+   - Added artwork and song list ordering support
+   - Mostly clean now, removing manual get-orig-source.sh cleanup
+
+  [ Sebastian Reichel ]
+  * fix-bluetooth-buttons.patch: drop, implemented upstream
+  * Allow DM upload
+
+ -- Timo Jyrinki <timo at debian.org>  Tue, 12 Jan 2010 17:44:44 +0200
+
+intone (0.66+svn20090913-3) unstable; urgency=low
+
+  * Prepare for inclusion into Debian main
+   - Move README.source to get-orig-source target in rules file
+   - Create a new README.source
+   - Use "Freesmartphone.org Team" as Maintainer
+   - Suggest installing fso-framework and bluez-alsa
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Wed, 23 Sep 2009 00:23:00 +0200
+
+intone (0.66+svn20090913-2) unstable; urgency=low
+
+  * Add patch for correct bluetooth keynames
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Wed, 16 Sep 2009 18:41:00 +0200
+
+intone (0.66+svn20090913-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Sebastian Reichel <elektranox at gmail.com>  Sun, 13 Sep 2009 02:40:00 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2340595
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: intone
+Section: sound
+Priority: optional
+Maintainer: Debian freesmartphone.org Team <pkg-fso-maint at lists.alioth.debian.org>
+Uploaders: Sebastian Reichel <sre at debian.org>,
+           Timo Jyrinki <timo at debian.org>
+Build-Depends: debhelper (>= 9~),
+               dh-autoreconf,
+               libelementary-dev (>= 1.0.0),
+               libdbus-1-dev,
+               libsqlite3-dev,
+               libedbus-dev,
+               libvorbis-dev,
+               libid3-3.8.3-dev
+Standards-Version: 3.9.5
+Homepage: http://intone.googlecode.com
+Vcs-Git: git://anonscm.debian.org/pkg-fso/intone.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fso/intone.git;a=summary
+
+Package: intone
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         mplayer
+Recommends: libevas1-engines-x
+Suggests: fso-frameworkd, bluez-alsa
+Description: Elementary based mplayer frontend for audio files
+ Intone is an elementary based front end for mplayer written in C.
+ .
+ It has been written for Openmoko Freerunner, but will run on
+ other systems, too. Apart from common things supported by most
+ audio players intone supports A2DP headsets (audio via bluetooth)
+ and interacts with FSO for call detection (pause music on call).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4f4f5b8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://intone.googlecode.com
+
+Files: *
+Copyright: 2009-2010, Chaitanya Chandel <cchandel at yahoo.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2009-2013, Sebastian Reichel <sre at debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..3d54ad7
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(intone):needs="X11" section="Applications/Sound"\
+  title="intone" command="/usr/bin/intone"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bde7328
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-dbus-to-set-scenario.patch
diff --git a/debian/patches/use-dbus-to-set-scenario.patch b/debian/patches/use-dbus-to-set-scenario.patch
new file mode 100644
index 0000000..0e9768e
--- /dev/null
+++ b/debian/patches/use-dbus-to-set-scenario.patch
@@ -0,0 +1,55 @@
+Description: Use D-Bus methods for scenario setting
+ alsactl needs to be run as root while every client can ask
+ the framework to set the scenario.
+ .
+ Furthermore different distributions use different paths to
+ store their state files in, so we can also abstract from it
+ by using D-Bus
+Author: David Kalnischkies <kalnischkies at gmail.com>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605888
+Last-Update: 2010-12-15
+
+--- a/src/dbus-stuff.c
++++ b/src/dbus-stuff.c
+@@ -149,3 +149,19 @@
+ 	e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL);
+ 	dbus_message_unref(msg);
+ }
++
++void set_audio_scenario(char const * const scenario)
++{
++	DBusMessage *msg;
++	msg = dbus_message_new_method_call(
++		"org.freesmartphone.odeviced",
++		"/org/freesmartphone/Device/Audio",
++		"org.freesmartphone.Device.Audio",
++		"SetScenario"
++	);
++
++	dbus_message_append_args (msg, DBUS_TYPE_STRING, &scenario, DBUS_TYPE_INVALID);
++
++	e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL);
++	dbus_message_unref(msg);
++}
+--- a/src/dbus-stuff.h
++++ b/src/dbus-stuff.h
+@@ -29,6 +29,7 @@
+ void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error);
+ void bluetooth_on(void);
+ void bluetooth_off(void);
++void set_audio_scenario(char const * const scenario);
+ 
+ E_DBus_Connection *conn;
+ extern void play_button_clicked(void *data, Evas_Object *obj, void *event_info);
+--- a/src/main.c
++++ b/src/main.c
+@@ -66,7 +66,8 @@
+ 	if (bt)bluetooth_off();
+ 	release_cpu ();
+ 	//restore alsa state
+-	ret = system("alsactl -f /usr/share/shr/scenarii/stereoout.state restore");
++	set_audio_scenario("headset"); // we have no way to force reload of a state
++	set_audio_scenario("stereoout");
+ 	elm_exit();
+ }
+ 
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7c39288
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+
+%:
+	dh $@ --with autoreconf
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a1f2e2d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/intone/downloads/list?can=1 \
+  .*/intone-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip)

-- 
elementary based mplayer audio frontend



More information about the pkg-fso-commits mailing list