Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5a22ce4dd5077389094ae5f458675dcb858fc50a

commit 5a22ce4dd5077389094ae5f458675dcb858fc50a
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Jan 25 22:40:46 2010 +0000

volti-0.1.6-1-i686
*new package

diff --git a/source/xapps-extra/volti/Fix_started.diff 
b/source/xapps-extra/volti/Fix_started.diff
new file mode 100644
index 0000000..84b8512
--- /dev/null
+++ b/source/xapps-extra/volti/Fix_started.diff
@@ -0,0 +1,14 @@
+--- volti-0.1.6/src/main.py~   2010-01-16 13:23:19.000000000 +0000
++++ volti-0.1.6/src/main.py    2010-01-25 22:28:55.000000000 +0000
+@@ -175,7 +175,10 @@
+     def mixer_get_pid(self):
+         pid = Popen(["pidof", "-x", preferences.prefs["mixer"]], 
stdout=PIPE).communicate()[0]
+         if pid:
+-            return int(pid)
++            try:
++                return int(pid)
++            except ValueError:
++                return None
+         return None
+
+     def mixer_get_active(self):
diff --git a/source/xapps-extra/volti/FrugalBuild 
b/source/xapps-extra/volti/FrugalBuild
index 57e0c7e..26bb666 100644
--- a/source/xapps-extra/volti/FrugalBuild
+++ b/source/xapps-extra/volti/FrugalBuild
@@ -4,12 +4,14 @@
pkgname=volti
pkgver=0.1.6
pkgrel=1
-pkgdesc="Watch the TV with your box"
+pkgdesc="gtk+ application for controlling audio volume"
depends=('pygtk' 'pyalsaaudio' 'dbus-python')
groups=('xapps-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
_F_gnome_desktop="y"
Finclude gnome-scriptlet googlecode
-sha1sums=('1b0e57a7d12d8367a5205d002534093e03766d9c')
+source=($source Fix_started.diff)
+sha1sums=('1b0e57a7d12d8367a5205d002534093e03766d9c' \
+          '1350fff5bb9aa3136277bb2ea4a4b79c8037c43c')
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to