SOURCES: deluge-libtorrent.patch (NEW) - patch to force building internal l...
duddits
duddits at pld-linux.org
Wed Nov 12 16:56:47 CET 2008
Author: duddits Date: Wed Nov 12 15:56:47 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch to force building internal libtorrent module, otherwise deluge
won't work
---- Files affected:
SOURCES:
deluge-libtorrent.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/deluge-libtorrent.patch
diff -u /dev/null SOURCES/deluge-libtorrent.patch:1.1
--- /dev/null Wed Nov 12 16:56:48 2008
+++ SOURCES/deluge-libtorrent.patch Wed Nov 12 16:56:42 2008
@@ -0,0 +1,36 @@
+diff -burNp deluge-1.0.5/setup.py deluge-1.0.5-new/setup.py
+--- deluge-1.0.5/setup.py 2008-11-09 17:44:40.000000000 +0100
++++ deluge-1.0.5-new/setup.py 2008-11-12 16:39:58.129552094 +0100
+@@ -180,18 +180,18 @@ for source in _sources:
+ break
+
+ _ext_modules = []
+-if windows_check() or not os.path.exists(os.path.join(sysconfig.get_config_var("LIBDIR"), "libtorrent-rasterbar.so.1")):
+- # There isn't a system libtorrent library, so let's build the one included with deluge
+- libtorrent = Extension(
++# Force to build libtorrent module that comes with deluge, otherwise
++# it won't work.
++libtorrent = Extension(
+ 'libtorrent',
+ extra_compile_args = _extra_compile_args,
+ include_dirs = _include_dirs,
+ libraries = _libraries,
+ library_dirs = _library_dirs,
+ sources = _sources
+- )
++)
+
+- _ext_modules = [libtorrent]
++_ext_modules = [libtorrent]
+
+ class build_trans(cmd.Command):
+ description = 'Compile .po files into .mo files'
+@@ -294,7 +294,7 @@ setup(
+ deluged = deluge.main:start_daemon
+ """,
+ ext_package = "deluge",
+- ext_modules = [libtorrent],
++ ext_modules = _ext_modules,
+ fullname = "Deluge Bittorent Client",
+ include_package_data = True,
+ license = "GPLv3",
================================================================
More information about the pld-cvs-commit
mailing list