summaryrefslogtreecommitdiff
path: root/net-p2p/deluge/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/deluge/files/patch-setup.py')
-rw-r--r--net-p2p/deluge/files/patch-setup.py82
1 files changed, 16 insertions, 66 deletions
diff --git a/net-p2p/deluge/files/patch-setup.py b/net-p2p/deluge/files/patch-setup.py
index 294f27b847e4..af911aca30d7 100644
--- a/net-p2p/deluge/files/patch-setup.py
+++ b/net-p2p/deluge/files/patch-setup.py
@@ -1,53 +1,6 @@
---- setup.py.orig 2010-08-20 18:20:27.000000000 -0300
-+++ setup.py 2010-08-21 16:49:05.000000000 -0300
-@@ -68,7 +68,6 @@
- "-D_FILE_OFFSET_BITS=64",
- "-DNDEBUG",
- "-DTORRENT_USE_OPENSSL=1",
-- "-O2",
- ]
-
- if windows_check():
-@@ -115,12 +114,14 @@
- remove_from_cflags(removals)
-
- _library_dirs = [
-+ '%%LOCALBASE%%/lib'
- ]
-
- _include_dirs = [
- './libtorrent',
- './libtorrent/include',
-- './libtorrent/include/libtorrent'
-+ './libtorrent/include/libtorrent',
-+ '%%LOCALBASE%%/include'
- ]
-
- if windows_check():
-@@ -142,14 +143,6 @@
- 'zlib'
- ]
- else:
-- _include_dirs += [
-- '/usr/include/python' + python_version,
-- sysconfig.get_config_var("INCLUDEDIR")
-- ]
-- for include in os.environ.get("INCLUDEDIR", "").split(":"):
-- _include_dirs.append(include)
--
-- _library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib']
- if osx_check():
- _include_dirs += [
- '/opt/local/include/boost-1_35',
-@@ -163,7 +156,6 @@
- 'boost_iostreams',
- 'boost_python',
- 'boost_thread',
-- 'pthread',
- 'ssl',
- 'z'
- ]
-@@ -212,6 +204,7 @@
+--- setup.py.orig 2010-09-18 15:31:07.000000000 -0300
++++ setup.py 2010-09-19 23:33:09.000000000 -0300
+@@ -211,6 +203,7 @@
build_libtorrent = True
else:
build_libtorrent = False
@@ -55,16 +8,7 @@
if build_libtorrent:
got_libtorrent = False
-@@ -392,8 +385,6 @@
- for cmd_name in self.get_sub_commands():
- self.run_command(cmd_name)
- _install.run(self)
-- if not self.root:
-- self.do_egg_install()
-
- cmdclass = {
- 'build': build,
-@@ -409,7 +400,7 @@
+@@ -399,7 +392,7 @@
# Data files to be installed to the system
_data_files = [
@@ -73,12 +17,18 @@
('share/icons/hicolor/128x128/apps', ['deluge/data/icons/hicolor/128x128/apps/deluge.png']),
('share/icons/hicolor/16x16/apps', ['deluge/data/icons/hicolor/16x16/apps/deluge.png']),
('share/icons/hicolor/192x192/apps', ['deluge/data/icons/hicolor/192x192/apps/deluge.png']),
-@@ -424,7 +415,7 @@
+@@ -413,13 +406,7 @@
+ ('share/icons/hicolor/72x72/apps', ['deluge/data/icons/hicolor/72x72/apps/deluge.png']),
('share/icons/hicolor/96x96/apps', ['deluge/data/icons/hicolor/96x96/apps/deluge.png']),
('share/applications', ['deluge/data/share/applications/deluge.desktop']),
- ('share/pixmaps', ['deluge/data/pixmaps/deluge.png', 'deluge/data/pixmaps/deluge.xpm']),
+- ('share/pixmaps', ['deluge/data/pixmaps/deluge.png', 'deluge/data/pixmaps/deluge.xpm']),
- ('share/man/man1', [
-+ ('man/man1', [
- 'docs/man/deluge.1',
- 'docs/man/deluged.1',
- 'docs/man/deluge-gtk.1',
+- 'docs/man/deluge.1',
+- 'docs/man/deluged.1',
+- 'docs/man/deluge-gtk.1',
+- 'docs/man/deluge-web.1',
+- 'docs/man/deluge-console.1'])
++ ('share/pixmaps', ['deluge/data/pixmaps/deluge.png', 'deluge/data/pixmaps/deluge.xpm'])
+ ]
+
+ # Main setup