Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=python26.git;a=commitdiff;h=39cb5bf3a5260e0d81add292897f0d1685d166ed

commit 39cb5bf3a5260e0d81add292897f0d1685d166ed
Author: Miklos Vajna <[email protected]>
Date:   Sat Dec 27 04:21:00 2008 +0100

striim-0.0.4-2-i686

- rebuilt with python-2.6

diff --git a/source/gnome-extra/striim/FrugalBuild 
b/source/gnome-extra/striim/FrugalBuild
index e7ea94a..f2a4eb3 100644
--- a/source/gnome-extra/striim/FrugalBuild
+++ b/source/gnome-extra/striim/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=striim
pkgver=0.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="striim is an Internet radio player for GNOME."
url="http://striim.sourceforge.net/";
depends=('dbus-python' 'python-musicbrainz2' 'gnome-python' 'gst-python' 
'gst-plugins-base' 'gst-plugins-ugly' 'yelp' 'pygtk')
@@ -12,7 +12,8 @@ makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
groups=('gnome-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url/download.php"
-source=($url/$pkgname-$pkgver.tar.bz2)
+source=($url/$pkgname-$pkgver.tar.bz2 gst-nocheck.patch)
Fconfopts="${fconfop...@]} --disable-scrollkeeper"
-sha1sums=('956b48c0de4aed0e6b0ad917db7cbe1dcabf018d')
+sha1sums=('956b48c0de4aed0e6b0ad917db7cbe1dcabf018d' \
+          'f8ac3cc14901cb808cf15ff79689260f4339243e')

diff --git a/source/gnome-extra/striim/gst-nocheck.patch 
b/source/gnome-extra/striim/gst-nocheck.patch
new file mode 100644
index 0000000..a4a639d
--- /dev/null
+++ b/source/gnome-extra/striim/gst-nocheck.patch
@@ -0,0 +1,36 @@
+No idea why, but manually importing the gst module works, but from the
+configure script it fails with:
+
+Traceback (most recent call last):
+  File "depcheck.py", line 86, in <module>
+    check_dependencies()
+  File "depcheck.py", line 71, in check_dependencies
+    import gst
+  File "/usr/lib/python2.6/site-packages/gst-0.10/gst/__init__.py", line 170, 
in <module>
+    from _gst import *
+RuntimeError: can't initialize module gst: Error re-scanning registry , child 
terminated by signal
+
+so just don't check for it for now.
+
+diff --git a/depcheck.py b/depcheck.py
+index 3325b5c..2a78b54 100644
+--- a/depcheck.py
++++ b/depcheck.py
+@@ -67,17 +67,6 @@ def check_dependencies():
+               except ImportError:
+                       print "Error: python-musicbrainz2 was not found."
+                       raise SystemExit
+-              try:
+-                      import gst
+-                      if gst.version() < (0, 10, 3, 0):
+-                              raise AssertionError
+-                      print "Checking for Gstreamer (Python)... yes"
+-              except ImportError:
+-                      print "Error: gst-python was not found"
+-                      raise SystemExit
+-              except AssertionError:
+-                      print "Error: Version 0.10.3 or better of Gstreamer 
needed."
+-                      raise SystemExit
+       except SystemExit:
+               from sys import exit
+               exit(1)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to