[Pkg-gtkpod-devel] r116 - in libgpod/trunk/debian: . patches
Frank Lichtenheld
djpig at costa.debian.org
Sat Apr 8 19:12:58 UTC 2006
Author: djpig
Date: 2006-04-08 19:12:57 +0000 (Sat, 08 Apr 2006)
New Revision: 116
Added:
libgpod/trunk/debian/patches/
libgpod/trunk/debian/patches/01_python_bind.patch
libgpod/trunk/debian/python2.3-gpod.install
Modified:
libgpod/trunk/debian/changelog
libgpod/trunk/debian/control
libgpod/trunk/debian/rules
Log:
Make python bindings usable. Patch by Thomas Perl based on
a patch by Abaakouk Mehdi. I have not really tested this,
feedback welcome... (Closes: #360807)
Modified: libgpod/trunk/debian/changelog
===================================================================
--- libgpod/trunk/debian/changelog 2006-04-08 18:58:24 UTC (rev 115)
+++ libgpod/trunk/debian/changelog 2006-04-08 19:12:57 UTC (rev 116)
@@ -3,8 +3,11 @@
* New upstream release. (Closes: #358561)
* Add Recommends: libgpod-common to libgpod0. Since there is no
strict dependency currently, don't use Depends. (Closes: #358732)
+ * Make python bindings usable. Patch by Thomas Perl based on
+ a patch by Abaakouk Mehdi. I have not really tested this,
+ feedback welcome... (Closes: #360807)
- -- Frank Lichtenheld <djpig at debian.org> Sat, 8 Apr 2006 20:49:53 +0200
+ -- Frank Lichtenheld <djpig at debian.org> Sat, 8 Apr 2006 21:07:34 +0200
libgpod (0.3.0-4) unstable; urgency=low
Modified: libgpod/trunk/debian/control
===================================================================
--- libgpod/trunk/debian/control 2006-04-08 18:58:24 UTC (rev 115)
+++ libgpod/trunk/debian/control 2006-04-08 19:12:57 UTC (rev 116)
@@ -1,7 +1,7 @@
Source: libgpod
Priority: optional
Maintainer: Frank Lichtenheld <djpig at debian.org>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, cdbs, libglib2.0-dev (>= 2.4), libgtk2.0-dev, intltool, pkg-config
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, cdbs, libglib2.0-dev (>= 2.4), libgtk2.0-dev, intltool, pkg-config, swig
Standards-Version: 3.6.2
Section: libs
@@ -38,4 +38,16 @@
provides an easy to use API to retrieve the list of files and playlist
stored on an iPod, to modify them and to save them back to the iPod
.
+
+Package: python2.3-gpod
+Section: python
+Architecture: all
+Depends: libgpod0 (= ${Source-Version}),python (>= 2.3), ${shlibs:Depends}, ${misc:Depends}
+Description: a library to read and write songs and artwork to an iPod
+ libgpod is a library meant to abstract access to an iPod content. It
+ provides an easy to use API to retrieve the list of files and playlist
+ stored on an iPod, to modify them and to save them back to the iPod
+ .
+ This package contains the python bindins for the library
+
This package contains the files doing the internationalization.
Added: libgpod/trunk/debian/patches/01_python_bind.patch
===================================================================
--- libgpod/trunk/debian/patches/01_python_bind.patch 2006-04-08 18:58:24 UTC (rev 115)
+++ libgpod/trunk/debian/patches/01_python_bind.patch 2006-04-08 19:12:57 UTC (rev 116)
@@ -0,0 +1,13 @@
+--- libgpod-0.3.0/bindings/python/Makefile 2005-09-20 17:20:29.000000000 +0200
++++ libgpod-0.3.0.new/bindings/python/Makefile 2006-03-17 11:50:41.000000000 +0100
+@@ -18,3 +18,10 @@
+
+ test: _gpod.so play.py
+ LD_LIBRARY_PATH=../../src/.libs ./play.py
++
++
++install:
++ mkdir -p $(DESTDIR)/usr/lib/python2.3/site-packages
++ install -m 644 gpod.py $(DESTDIR)/usr/lib/python2.3/site-packages/
++ install -m 644 _gpod.so $(DESTDIR)/usr/lib/python2.3/site-packages/
++
Added: libgpod/trunk/debian/python2.3-gpod.install
===================================================================
--- libgpod/trunk/debian/python2.3-gpod.install 2006-04-08 18:58:24 UTC (rev 115)
+++ libgpod/trunk/debian/python2.3-gpod.install 2006-04-08 19:12:57 UTC (rev 116)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2.3/site-packages
Modified: libgpod/trunk/debian/rules
===================================================================
--- libgpod/trunk/debian/rules 2006-04-08 18:58:24 UTC (rev 115)
+++ libgpod/trunk/debian/rules 2006-04-08 19:12:57 UTC (rev 116)
@@ -8,3 +8,15 @@
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#DEB_DH_MAKESHLIBS_ARGS_libgpod0 := -V 'libgpod'
+
+clean/python2.3-gpod::
+ cd bindings/python/ && $(MAKE) clean
+
+build/python2.3-gpod::
+ cd bindings/python/ && $(MAKE)
+
+install/python2.3-gpod::
+ cd bindings/python/ && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ dh_python
+
+
More information about the Pkg-gtkpod-devel
mailing list