[Python-modules-commits] r20118 - in packages/python-xmp-toolkit/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu Jan 26 18:54:43 UTC 2012


    Date: Thursday, January 26, 2012 @ 18:54:42
  Author: jwilk
Revision: 20118

Hardcode library name instead.

Added:
  packages/python-xmp-toolkit/trunk/debian/patches/hardcode-library-name.diff
Modified:
  packages/python-xmp-toolkit/trunk/debian/changelog
  packages/python-xmp-toolkit/trunk/debian/patches/series

Modified: packages/python-xmp-toolkit/trunk/debian/changelog
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/changelog	2012-01-26 18:46:59 UTC (rev 20117)
+++ packages/python-xmp-toolkit/trunk/debian/changelog	2012-01-26 18:54:42 UTC (rev 20118)
@@ -2,5 +2,7 @@
 
   * Initial release (closes: #657270).
   * Disable use of setuptools. (no-setuptools.diff)
+  * Hardcode library name instead of using ctypes.util.find_library.
+    (hardcode-library-name.diff)
 
- -- Jakub Wilk <jwilk at debian.org>  Thu, 26 Jan 2012 19:41:15 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Thu, 26 Jan 2012 19:53:17 +0100

Added: packages/python-xmp-toolkit/trunk/debian/patches/hardcode-library-name.diff
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/patches/hardcode-library-name.diff	                        (rev 0)
+++ packages/python-xmp-toolkit/trunk/debian/patches/hardcode-library-name.diff	2012-01-26 18:54:42 UTC (rev 20118)
@@ -0,0 +1,16 @@
+Description: Hardcode library name (instead of using ctypes.util.find_library).
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: no
+Last-Update: 2012-01-26
+
+--- a/libxmp/__init__.py
++++ b/libxmp/__init__.py
+@@ -108,7 +108,7 @@
+ #  Load C library - Exempi must be installed on the system
+ #
+ try:
+-	lib = ctypes.util.find_library('exempi')
++	lib = 'libexempi.so.3'
+ 	if lib:
+ 		if os.name != 'nt':
+ 			_exempi = ctypes.CDLL( lib )

Modified: packages/python-xmp-toolkit/trunk/debian/patches/series
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/patches/series	2012-01-26 18:46:59 UTC (rev 20117)
+++ packages/python-xmp-toolkit/trunk/debian/patches/series	2012-01-26 18:54:42 UTC (rev 20118)
@@ -1 +1,2 @@
 no-setuptools.diff
+hardcode-library-name.diff




More information about the Python-modules-commits mailing list