--- libtorrent-rasterbar-0.14.2.orig/debian/libtorrent-rasterbar2.install +++ libtorrent-rasterbar-0.14.2/debian/libtorrent-rasterbar2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libtorrent-rasterbar-0.14.2.orig/debian/README.source +++ libtorrent-rasterbar-0.14.2/debian/README.source @@ -0,0 +1,25 @@ +Boost build dependencies +------------------------ + +Actually the libtorrent-rasterbar library supports building against all +available boost versions, from 1.34.1 to 1.38. +Nevertheless building against boost1.34.1 requires using a separated version of +the asio library (shipped within the tarball or installed on the system), while +all boost versions >= 1.35 come with integrated asio headers. + +Build dependencies and configure options are set so that building with either +boost1.34.1 or boost >= 1.35 is possible, for backporting purposes. The +debian/control file contains some declarations (Build-Depends:) like: + + libboost1.37-dev | libboost-dev (>= 1.34.1) + +which will cause building against the latest boost library on unstable (the +first option takes precedence) or against boost1.34.1 as a fallback (i.e. when +backporting to stable distribution). +On the other hand the debian/rules file contains some configure options that +are intended to work with both boost1.34.1 and boost >= 1.35. Please read the +related notes for further informations. + +Some build dependencies and configure options are included only for +compatibility and backports, but it isn't so much overhead since they are +standard recommended boost libraries. --- libtorrent-rasterbar-0.14.2.orig/debian/libtorrent-rasterbar-dev.install +++ libtorrent-rasterbar-0.14.2/debian/libtorrent-rasterbar-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/lib*.la +usr/lib/pkgconfig/*.pc --- libtorrent-rasterbar-0.14.2.orig/debian/copyright +++ libtorrent-rasterbar-0.14.2/debian/copyright @@ -0,0 +1,164 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Author: Arvid Norberg +Packaged-By: Cristian Greco +Packaged-Date: Wed, 02 Jul 2008 10:46:21 +0200 +Original-Source-Location: http://www.rasterbar.com/products/libtorrent/index.html + + +Files: debian/* +Copyright: Copyright © 2008 Cristian Greco +License: GPL-2+ + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + + +Files: *.cpp, *.hpp, docs/*.rst, docs/*.html +Copyright: Copyright © 2003-2008 Arvid Norberg +Contributor: Copyright © 2003-2007 Daniel Wallin +Contributor: Copyright © 2007 Un Shyam +Contributor: Copyright © 2006 Magnus Jonsson +Contributor: Copyright © 2006 MassaRoddel +License: BSD-C3 + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the author nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +Files: src/GeoIP.c, include/libtorrent/GeoIP.h +Copyright: Copyright (C) 2006 MaxMind LLC +License: LGPL-2.1+ + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + + +Files: include/libtorrent/asio.hpp, include/libtorrent/asio/* +Copyright: Copyright © 2003-2008 Christopher M. Kohlhoff +License: Boost Software License - Version 1.0 - August 17th, 2003 + +Files: include/libtorrent/invariant_check.hpp +Copyright: Copyright © 2004 Daniel Wallin +License: Boost Software License - Version 1.0 - August 17th, 2003 + +Files: include/libtorrent/variant_stream.hpp +Copyright: Copyright © 2007 Daniel Wallin and Arvid Norberg +License: Boost Software License - Version 1.0 - August 17th, 2003 + +Files: bindings/python/*.py, bindings/python/src/*.cpp, bindings/python/src/*.hpp +Copyright: Copyright Daniel Wallin 2006,2007 + Copyright Arvid Norberg 2006,2007,2008 + Copyright Andrew Resch 2008 +License: Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + +Files: zlib/* +Copyright: Copyright © 1995-1998 Jean-loup Gailly and Mark Adler +License: ZLIB + +Files: include/libtorrent/utf8.hpp +Copyright: Copyright © 2004-2005 Cory Nelson +License: ZLIB + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + +Files: src/sha1.cpp +Copyright: Steve Reid + Modified 7/98 By James H. Brown + Modified 8/98 By Steve Reid + Modified 4/01 By Saul Kravitz + Converted to C++ 6/04 By Arvid Norberg +License: PD + + The file sha1.c was put in the public domain by Steve Reid. --- libtorrent-rasterbar-0.14.2.orig/debian/libtorrent-rasterbar-doc.doc-base +++ libtorrent-rasterbar-0.14.2/debian/libtorrent-rasterbar-doc.doc-base @@ -0,0 +1,11 @@ +Document: libtorrent-rasterbar +Section: Programming/C++ +Title: Libtorrent-rasterbar Documentation +Author: Arvid Norberg +Abstract: This documentation describes mainly the API + interface of libtorrent-rasterbar and contains other + useful informations for developers. + +Format: HTML +Index: /usr/share/doc/libtorrent-rasterbar-doc/html/index.html +Files: /usr/share/doc/libtorrent-rasterbar-doc/html/*.html --- libtorrent-rasterbar-0.14.2.orig/debian/watch +++ libtorrent-rasterbar-0.14.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libtorrent/libtorrent-rasterbar-(.*)\.tar\.gz --- libtorrent-rasterbar-0.14.2.orig/debian/compat +++ libtorrent-rasterbar-0.14.2/debian/compat @@ -0,0 +1 @@ +7 --- libtorrent-rasterbar-0.14.2.orig/debian/libtorrent-rasterbar-doc.install +++ libtorrent-rasterbar-0.14.2/debian/libtorrent-rasterbar-doc.install @@ -0,0 +1 @@ +docs/*.html docs/*.jpg docs/*.gif docs/*.png docs/style.css usr/share/doc/libtorrent-rasterbar-doc/html/ --- libtorrent-rasterbar-0.14.2.orig/debian/README.Debian +++ libtorrent-rasterbar-0.14.2/debian/README.Debian @@ -0,0 +1,68 @@ +libtorrent-rasterbar for Debian +------------------------------- + +* libtorrent-rasterbar 0.14.2-1 + +Enabled building against boost1.37 due to the boost library transition: build +dependencies will be updated each time a new version of boost get uploaded in +Debian (this will happen likely two times a year in the future). +Building against boost1.34.1 is still supported for backport purposes. + + -- Cristian Greco Fri, 27 Feb 2009 07:46:38 +0100 + + +* libtorrent-rasterbar 0.14.1-1 + +While version 0.14 was built against boost1.36, it seems like this release of +the boost libraries has been deleted from Debian and maintainers encourage use +of the next stable release boost1.37. +Anyhow, the best choice actually is to build 0.14.1 against boost1.34.1 because +it is a widely used and well tested release, and on the other hand maybe +libtorrent-rasterbar is not yet ready to support boost1.37. + + -- Cristian Greco Mon, 15 Dec 2008 15:34:17 +0100 + + +* libtorrent-rasterbar 0.14-1 + +- Python bindings for libtorrent-rasterbar +Added a patch (merged upstream, will be available in 0.14.1) to build python +bindings using configure and make. The name of the python module (and package) +is 'python-libtorrent' (as requested by upstream). + +- Lintian Info tag 'no-symbols-control-file' +Maintaining a symbols control file for that library is more a cost than a +benefit. In fact, libtorrent-rasterbar exports a lot of symbols (quite big +symbols files, ~600Kb) and the C++ ABI mangling requires to maintain a +different control file for each architecture. Moreover this library has a few +reverse dependencies (less than 10 clients, much of them not yet packaged for +Debian), so it wouldn't be difficult to maintain them. + + -- Cristian Greco Sun, 23 Nov 2008 18:55:24 +0100 + + +* libtorrent-rasterbar 0.13.1-2 + +Building a debug version (--enable-debug) of libtorrent-rasterbar seems to +cause some clients to crash (such as qbittorrent, btg - qbittorrent needs a +special option in order to build against a debug version), and actually most +clients upstream developers seems to prefer a release build of the library. + +Then, now libtorrent-rasterbar builds a release version (--disable-debug). + +NOTE for maintainers of all clients which depend on libtorrent-rasterbar: +please build-depends on this exact revision of the package in your +debian/control file: + Build-Depends: libtorrent-rasterbar-dev (>= 0.13.1-2) + + -- Cristian Greco Wed, 23 Jul 2008 11:18:31 +0200 + + +* libtorrent-rasterbar 0.13.1-1 + +Actually, libtorrent-rasterbar has to be built against boost-1.34 and libasio +instead of boost-1.35 (which includes libasio and conflicts with version 1.34); +this is for compatibility with most bittorrent clients which depend also on +boost-1.34. + + -- Cristian Greco Wed, 02 Jul 2008 10:46:21 +0200 --- libtorrent-rasterbar-0.14.2.orig/debian/docs +++ libtorrent-rasterbar-0.14.2/debian/docs @@ -0,0 +1 @@ +AUTHORS --- libtorrent-rasterbar-0.14.2.orig/debian/libtorrent-rasterbar-doc.examples +++ libtorrent-rasterbar-0.14.2/debian/libtorrent-rasterbar-doc.examples @@ -0,0 +1 @@ +examples/*.cpp --- libtorrent-rasterbar-0.14.2.orig/debian/python-libtorrent.install +++ libtorrent-rasterbar-0.14.2/debian/python-libtorrent.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/libtorrent.so --- libtorrent-rasterbar-0.14.2.orig/debian/rules +++ libtorrent-rasterbar-0.14.2/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +# The following configuration flags will work with both boost1.34.1 and +# boost1.35 (or higher). There are two mutually exclusive options: +# - the '--with-asio' option is enabled only when building against boost1.34.1 +# and causes using the asio library shipped with upstream package: this is a +# compromise for backports, but not much overhead since asio is an +# header-only library. +# - the '--with-boost-system' option is enabled only when boost >= 1.35 is +# detected, so that it uses the asio library integrated with boost. +# The '--with-boost-regex' and '--with-boost-program-options' flags (and their +# related build-dependency, together with libboost-date-time-dev) could be +# deleted because they are needed only for building tests and examples +# (disabled), but are carried-in and enabled for compatibility and backports. +CONFIGUREFLAGS = \ + --prefix=/usr \ + --disable-dependency-tracking \ + --disable-fast-install \ + --enable-static \ + --enable-shared \ + --disable-debug \ + --with-logging=none \ + --with-dht=on \ + --with-encryption=on \ + --with-ssl \ + --with-zlib=system \ + --disable-examples \ + --disable-tests \ + --enable-python-binding \ + --with-asio=shipped \ + --with-boost-system=boost_system-mt \ + --with-boost-filesystem=boost_filesystem-mt \ + --with-boost-thread=boost_thread-mt \ + --with-boost-regex=boost_regex-mt \ + --with-boost-program-options=boost_program_options-mt \ + --with-boost-python=boost_python-mt-py26 + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build --before configure + dh_auto_configure -- PTHREAD_LIBS="-lpthread" CFLAGS="$(CFLAGS)" \ + LDFLAGS="-Wl,--as-needed -lrt" $(CONFIGUREFLAGS) + dh build --after configure + touch $@ + +clean: unpatch + dh $@ + +install: build install-stamp +install-stamp: + dh install --before dh_compress + dh_compress -Xcpp + dh install --after dh_compress + touch $@ + +binary-arch: install + dh binary-arch --before dh_strip + dh_strip -a --dbg-package=libtorrent-rasterbar-dbg + dh binary-arch --after dh_strip --before dh_makeshlibs + dh_makeshlibs -a -V + dh binary-arch --after dh_makeshlibs + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: build clean binary-indep binary-arch binary install --- libtorrent-rasterbar-0.14.2.orig/debian/changelog +++ libtorrent-rasterbar-0.14.2/debian/changelog @@ -0,0 +1,102 @@ +libtorrent-rasterbar (0.14.2-1ubuntu1) jaunty; urgency=low + + * Merge from Debian. (LP: #335741) + * debian/python-libtorrent.install + - Install to usr/lib/python*/*-packages/ for python 2.6 transition. + * debian/rules: + - Use --with-boost-python=boost_python-mt-py26 flag. + * Patch makefile to use "setup.py install --install-layout=deb" + - debian/control, debian/rules: add build dependency on quilt. + - Add debian/patch/10_setuppy_instal-layout.diff + + -- Andrew Starr-Bochicchio Mon, 02 Mar 2009 02:43:39 -0500 + +libtorrent-rasterbar (0.14.2-1) unstable; urgency=low + + * New upstream version. + - new package libtorrent-rasterbar2 (bump up library SONAME); + - remove patch 01_fix_ax_python_m4.patch (merged upstream); + - debian/control, debian/rules, debian/README.source: drop build + dependency on quilt system. + * debian/control, debian/rules, debian/README.source: adjusting build + dependencies and configure flags to build against boost1.37 and continue + to provide compatibility with boost1.34.1 for backports (adding some notes). + * debian/control: fix lintian I:binary-control-field-duplicates-source. + * Moving section from 'Programming' to 'Programming/C++' for the doc-base + files in libtorrent-rasterbar-doc. + * Closing a bug already fixed in 0.14-1: fixed documentation about + storage_mode_allocate (Closes: #502241). + * Upload to unstable (Closes: #517000). + + -- Cristian Greco Fri, 27 Feb 2009 07:46:38 +0100 + +libtorrent-rasterbar (0.14.1-1ubuntu1) jaunty; urgency=low + + * Transition build-dep and -dev package dependsfrom libboost*-dev to + libboost*1.35-dev and drop version requirements (all 1.35 packages have + sufficent version) + + -- Scott Kitterman Thu, 19 Feb 2009 22:10:53 -0500 + +libtorrent-rasterbar (0.14.1-1) experimental; urgency=low + + * New upstream version + - remove patch 01_python_bindings.patch (included upstream); + - add patch 01_fix_ax_python_m4.patch (already merged upstream, see + description for details). + * Revert build-depends on libboost-dev (>= 1.34.1) and libasio-dev because + boost1.36 has been removed from unstable and boost1.37 is not yet fully + supported by the library (added notes on README.Debian). + * Install .cpp examples using dh_installexamples and a .examples file. + * debian/copyright: fix main BSD license text. + + -- Cristian Greco Mon, 15 Dec 2008 15:34:17 +0100 + +libtorrent-rasterbar (0.14-1) experimental; urgency=low + + * New upstream version. + - debian/copyright: new and updated copyright notes and files. + - debian/control: + + build-depends on libboost1.36-dev and python-dev; + + new package libtorrent-rasterbar1 (bump up library SONAME); + + new package python-libtorrent which contains python bindings + for the library. + - debian/rules: + + use multi-threaded boost libraries (--with-boost-system=mt, ...); + + add --disable-examples and --disable-tests options; + + delete specific information about debian revision in dh_makeshlibs + (i.e., use only dh_makeshlibs -V). + - debian/control, debian/rules, debian/README.source, debian/patches: + build-depends on quilt patch system and install a patch of mine + (01_python_bindings, already merged upstream) in order to build python + bindings; use a temporary fix for the 'clean' target. + * Install example files (.cpp) with the -doc package. + * Provide a doc-base control file to install html docs + (libtorrent-rasterbar-doc.doc-base). + * debian/README.Debian: new notes about the python package and the lintian + tag 'no-symbols-control-file' for libtorrent-rasterbar1. + * Close a bug in Ubuntu about build with --disable-debug, already solved + with 0.13.1-2 (LP: #291448). + * Upload to experimental to test the new python bindings package. + * New maintainer email address. + + -- Cristian Greco Sun, 23 Nov 2008 18:55:24 +0100 + +libtorrent-rasterbar (0.13.1-2) unstable; urgency=low + + * debian/rules: + - build with --disable-debug option because enabling debug seems to cause + some clients to crash, and most upstream authors prefer a release build of + the library. + - added specific version information to dh_makeshlibs so that reverse + dependencies will depend on this particular version. + * README.Debian: updated with info about --disable-debug. + + -- Cristian Greco Wed, 23 Jul 2008 11:18:31 +0200 + +libtorrent-rasterbar (0.13.1-1) unstable; urgency=low + + * Initial release (Closes: #402462) + + -- Cristian Greco Wed, 02 Jul 2008 10:46:21 +0200 + --- libtorrent-rasterbar-0.14.2.orig/debian/control +++ libtorrent-rasterbar-0.14.2/debian/control @@ -0,0 +1,112 @@ +Source: libtorrent-rasterbar +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Cristian Greco +Build-Depends: debhelper (>= 7), + quilt, + libboost1.37-dev | libboost-dev (>= 1.34.1), + libboost-filesystem1.37-dev | libboost-filesystem-dev (>= 1.34.1), + libboost-thread1.37-dev | libboost-thread-dev (>= 1.34.1), + libboost-python1.37-dev | libboost-python-dev (>= 1.34.1), + libboost-date-time1.37-dev | libboost-date-time-dev (>= 1.34.1), + libboost-program-options1.37-dev | libboost-program-options-dev (>= 1.34.1), + libboost-regex1.37-dev | libboost-regex-dev (>= 1.34.1), + libssl-dev, + libz-dev, + python-dev +XS-Python-Version: current +Standards-Version: 3.8.0 +Homepage: http://www.rasterbar.com/products/libtorrent/index.html + +Package: libtorrent-rasterbar2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libtorrent-rasterbar-dbg +Description: C++ bittorrent library by Rasterbar Software + Bittorrent library by Rasterbar Software (Arvid Norberg). + libtorrent-rasterbar is a C++ library that aims to be a good alternative to + all the other bittorrent implementations around. + . + The main goals of libtorrent-rasterbar are: + * to be cpu efficient + * to be memory efficient + * to be very easy to use + . + This package contains libtorrent-rasterbar run time shared library. + +Package: libtorrent-rasterbar-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libtorrent-rasterbar2 (= ${binary:Version}), + libboost1.37-dev | libboost-dev (>= 1.34.1), + libboost-date-time1.37-dev | libboost-date-time-dev (>= 1.34.1), + libboost-filesystem1.37-dev | libboost-filesystem-dev (>= 1.34.1), + libboost-thread1.37-dev | libboost-thread-dev (>= 1.34.1), + libssl-dev, + libz-dev, + pkg-config +Suggests: libtorrent-rasterbar-doc +Description: Development files for libtorrent-rasterbar + Bittorrent library by Rasterbar Software (Arvid Norberg). + libtorrent-rasterbar is a C++ library that aims to be a good alternative to + all the other bittorrent implementations around. + . + The main goals of libtorrent-rasterbar are: + * to be cpu efficient + * to be memory efficient + * to be very easy to use + . + This package contains header files and static version of the library. + +Package: libtorrent-rasterbar-dbg +Section: devel +Priority: extra +Architecture: any +Depends: ${misc:Depends}, libtorrent-rasterbar2 (= ${binary:Version}) +Description: Debug symbols for libtorrent-rasterbar + Bittorrent library by Rasterbar Software (Arvid Norberg). + libtorrent-rasterbar is a C++ library that aims to be a good alternative to + all the other bittorrent implementations around. + . + The main goals of libtorrent-rasterbar are: + * to be cpu efficient + * to be memory efficient + * to be very easy to use + . + This package contains debugging symbols. + +Package: libtorrent-rasterbar-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Documentation for libtorrent-rasterbar + Bittorrent library by Rasterbar Software (Arvid Norberg). + libtorrent-rasterbar is a C++ library that aims to be a good alternative to + all the other bittorrent implementations around. + . + The main goals of libtorrent-rasterbar are: + * to be cpu efficient + * to be memory efficient + * to be very easy to use + . + This package contains documentation and example files. + +Package: python-libtorrent +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libtorrent-rasterbar2 (= ${binary:Version}) +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: Python bindings for libtorrent-rasterbar + Bittorrent library by Rasterbar Software (Arvid Norberg). + libtorrent-rasterbar is a C++ library that aims to be a good alternative to + all the other bittorrent implementations around. + . + The main goals of libtorrent-rasterbar are: + * to be cpu efficient + * to be memory efficient + * to be very easy to use + . + This package contains Python bindings for the libtorrent-rasterbar library. --- libtorrent-rasterbar-0.14.2.orig/debian/patches/series +++ libtorrent-rasterbar-0.14.2/debian/patches/series @@ -0,0 +1 @@ +10_setuppy_instal-layout.diff --- libtorrent-rasterbar-0.14.2.orig/debian/patches/10_setuppy_instal-layout.diff +++ libtorrent-rasterbar-0.14.2/debian/patches/10_setuppy_instal-layout.diff @@ -0,0 +1,28 @@ +## Needed for python 2.6 transition. +## See LP: https://bugs.launchpad.net/bugs/335741 +Index: libtorrent-rasterbar-0.14.2/bindings/python/Makefile.am +=================================================================== +--- libtorrent-rasterbar-0.14.2.orig/bindings/python/Makefile.am 2009-03-03 14:16:14.177131727 -0500 ++++ libtorrent-rasterbar-0.14.2/bindings/python/Makefile.am 2009-03-03 14:52:29.030524511 -0500 +@@ -4,7 +4,7 @@ + $(PYTHON) setup.py build + + install-exec-local: +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --install-layout=deb + + uninstall-local: + rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*libtorrent* +Index: libtorrent-rasterbar-0.14.2/bindings/python/Makefile.in +=================================================================== +--- libtorrent-rasterbar-0.14.2.orig/bindings/python/Makefile.in 2009-03-03 14:52:53.564116494 -0500 ++++ libtorrent-rasterbar-0.14.2/bindings/python/Makefile.in 2009-03-03 14:53:23.173104112 -0500 +@@ -373,7 +373,7 @@ + @ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py build + + @ENABLE_PYTHON_BINDING_TRUE@install-exec-local: +-@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py install --root=$(DESTDIR) --install-layout=deb + + @ENABLE_PYTHON_BINDING_TRUE@uninstall-local: + @ENABLE_PYTHON_BINDING_TRUE@ rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*libtorrent*