[Frugalware-darcs] frugalware-current: democracy-0.9.6-1-i686

Priyank priyank at frugalware.org
Sun Jul 1 13:23:29 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070701101113-5ce2c-4aa5f1760315cbfcab91f9594403242617085c50.gz;

[democracy-0.9.6-1-i686
Priyank <priyank at frugalware.org>**20070701101113
 New package / Initial Import
 * Closes #1612
] {
adddir ./source/xmultimedia-extra/democracy
addfile ./source/xmultimedia-extra/democracy/FrugalBuild
hunk ./source/xmultimedia-extra/democracy/FrugalBuild 1
+# Compiling Time: 0.16 SBU
+# Maintainer: Priyank Gosalia <priyankmg at gmail.com>
+
+pkgname=democracy
+pkgver=0.9.6
+pkgrel=1
+pkgdesc="The free and open source internet TV platform."
+url="http://www.getdemocracy.com/"
+depends=('gtk+2' 'pygtk' 'dbus-python' 'pyrex' 'boost' 'xine-lib' \
+	'nss' 'nspr' 'xulrunner' 'gnome-python-extras' 'gnome-python-extras-mozembed')
+groups=('xmultimedia-extra')
+archs=('i686')
+up2date="lynx -dump http://ftp.osuosl.org/pub/pculture.org/$pkgname/src/ | grep 'Democracy' | Flasttar"
+source=(http://ftp.osuosl.org/pub/pculture.org/$pkgname/src/Democracy-$pkgver.tar.gz \
+	qt-mt.pc dbus_python0.8_fixes.patch)
+_F_cd_path="Democracy-$pkgver"
+sha1sums=('30d3442f696af67f902dd87758a64436730b9eb9' \
+          '153e1902352eb4d724ec816b8097f01830178181' \
+          'baed01f46d5606f106d01c573c9cbdf94044e961')
+
+
+build()
+{
+	Fcd
+	Fpatchall
+	PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$Fsrcdir
+	cd platform/gtk-x11
+	Fsed 'boost_python' 'boost_python-gcc42-mt' setup.py
+	python setup.py install --root=$Fdestdir || Fdie
+}
+
+# optimization OK
addfile ./source/xmultimedia-extra/democracy/dbus_python0.8_fixes.patch
hunk ./source/xmultimedia-extra/democracy/dbus_python0.8_fixes.patch 1
+--- platform/gtk-x11/onetime.py.orig	2007-05-20 21:50:54.000000000 -0400
++++ platform/gtk-x11/onetime.py	2007-05-20 21:51:01.000000000 -0400
+@@ -86,7 +86,7 @@
+     # we can delete the low-level name here because these objects
+     # are guaranteed to exist only once for each bus name
+     def __del__(self):
+-        dbus_bindings.bus_release_name(self._bus.get_connection(), self._name)
++        dbus.dbus_bindings.bus_release_name(self._bus.get_connection(), self._name)
+         pass
+ 
+     def get_bus(self):
+@@ -109,7 +109,8 @@
+     def __init__(self):
+         bus = dbus.SessionBus()
+         bus_name = BusNameFlags('org.participatoryculture.dtv.onetime', bus=bus, flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)
+-        dbus.service.Object.__init__(self, bus_name, '/org/participatoryculture/dtv/OneTime')
++        dbus.service.Object.__init__(self, bus_name=bus_name,
++                                     object_path='/org/participatoryculture/dtv/OneTime')
+ 
+     @dbus.service.method('org.participatoryculture.dtv.OneTimeIface')
+     def HandleArgs (self, args):
addfile ./source/xmultimedia-extra/democracy/qt-mt.pc
hunk ./source/xmultimedia-extra/democracy/qt-mt.pc 1
+prefix=/opt/qt
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+qt_config=qt warn_on release incremental link_prl nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql release dll thread largefile stl ipv6 system-mng system-jpeg system-png gif system-zlib nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype xkb dylib create_prl link_prl qt warn_on depend_includepath qmake_cache x11 x11inc create_libtool create_pc moc x11lib
+
+Name: Qt
+Description: Libqt-mt.so.3.3.8 Library
+Version: 3.3.8
+Libs: -L${libdir} -lqt-mt -L/usr/X11R6/lib -L/usr/X11R6/lib -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread  
+Cflags: -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}
}


More information about the Frugalware-darcs mailing list