--- libtorrent-rasterbar-0.14.1.orig/debian/control +++ libtorrent-rasterbar-0.14.1/debian/control @@ -0,0 +1,116 @@ +Source: libtorrent-rasterbar +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Cristian Greco +Build-Depends: debhelper (>= 7), + libboost1.35-dev, + libboost-date-time1.35-dev, + libboost-filesystem1.35-dev, + libboost-thread1.35-dev, + libboost-regex1.35-dev, + libboost-program-options1.35-dev, + libboost-python1.35-dev, + libasio-dev (>= 1.2.0), + libssl-dev, + libz-dev, + python-dev, + quilt (>= 0.40) +XS-Python-Version: current +Standards-Version: 3.8.0 +Homepage: http://www.rasterbar.com/products/libtorrent/index.html + +Package: libtorrent-rasterbar1 +Section: libs +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-rasterbar1 (= ${binary:Version}), + libboost1.35-dev, + libboost-date-time1.35-dev, + libboost-filesystem1.35-dev, + libboost-thread1.35-dev, + libboost-regex1.35-dev, + libasio-dev (>= 1.2.0), + 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-rasterbar1 (= ${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-rasterbar1 (= ${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.1.orig/debian/docs +++ libtorrent-rasterbar-0.14.1/debian/docs @@ -0,0 +1 @@ +AUTHORS --- libtorrent-rasterbar-0.14.1.orig/debian/watch +++ libtorrent-rasterbar-0.14.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libtorrent/libtorrent-rasterbar-(.*)\.tar\.gz --- libtorrent-rasterbar-0.14.1.orig/debian/libtorrent-rasterbar-doc.install +++ libtorrent-rasterbar-0.14.1/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.1.orig/debian/rules +++ libtorrent-rasterbar-0.14.1/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +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 \ + --with-asio=system \ + --disable-examples \ + --disable-tests \ + --enable-python-binding \ + --with-boost-filesystem=mt \ + --with-boost-thread=mt \ + --with-boost-regex=mt \ + --with-boost-program-options=mt \ + --with-boost-python=mt-py25 + +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: clean-patched unpatch + dh $@ + +# temporary fix: clean-up before unpatching sources because the patch +# 01_fix_ax_python_m4 affects the configure/build system +clean-patched: + $(MAKE) distclean || true + +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.1.orig/debian/libtorrent-rasterbar1.install +++ libtorrent-rasterbar-0.14.1/debian/libtorrent-rasterbar1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libtorrent-rasterbar-0.14.1.orig/debian/changelog +++ libtorrent-rasterbar-0.14.1/debian/changelog @@ -0,0 +1,70 @@ +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.1.orig/debian/libtorrent-rasterbar-doc.doc-base +++ libtorrent-rasterbar-0.14.1/debian/libtorrent-rasterbar-doc.doc-base @@ -0,0 +1,11 @@ +Document: libtorrent-rasterbar +Section: Programming +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.1.orig/debian/README.source +++ libtorrent-rasterbar-0.14.1/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libtorrent-rasterbar-0.14.1.orig/debian/README.Debian +++ libtorrent-rasterbar-0.14.1/debian/README.Debian @@ -0,0 +1,58 @@ +libtorrent-rasterbar for Debian +------------------------------- + +* 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.1.orig/debian/compat +++ libtorrent-rasterbar-0.14.1/debian/compat @@ -0,0 +1 @@ +7 --- libtorrent-rasterbar-0.14.1.orig/debian/libtorrent-rasterbar-doc.examples +++ libtorrent-rasterbar-0.14.1/debian/libtorrent-rasterbar-doc.examples @@ -0,0 +1 @@ +examples/*.cpp --- libtorrent-rasterbar-0.14.1.orig/debian/libtorrent-rasterbar-dev.install +++ libtorrent-rasterbar-0.14.1/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.1.orig/debian/python-libtorrent.install +++ libtorrent-rasterbar-0.14.1/debian/python-libtorrent.install @@ -0,0 +1 @@ +usr/lib/python*/site-packages/libtorrent.so --- libtorrent-rasterbar-0.14.1.orig/debian/copyright +++ libtorrent-rasterbar-0.14.1/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.1.orig/debian/patches/01_fix_ax_python_m4.patch +++ libtorrent-rasterbar-0.14.1/debian/patches/01_fix_ax_python_m4.patch @@ -0,0 +1,318 @@ +Author: Cristian Greco +Description: Fix file m4/ax_python.m4 to not use the `locate` command when +searching for python include dir (already merged upstream). +--- libtorrent-rasterbar-0.14.1.orig/Makefile.in ++++ libtorrent-rasterbar-0.14.1/Makefile.in +@@ -47,8 +47,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ +--- libtorrent-rasterbar-0.14.1.orig/aclocal.m4 ++++ libtorrent-rasterbar-0.14.1/aclocal.m4 +@@ -7708,5 +7708,5 @@ + m4_include([m4/ax_boost_regex.m4]) + m4_include([m4/ax_boost_system.m4]) + m4_include([m4/ax_boost_thread.m4]) +-m4_include([m4/ax_python.m4]) ++m4_include([m4/ax_python-fixed.m4]) + m4_include([m4/check_ssl.m4]) +--- libtorrent-rasterbar-0.14.1.orig/bindings/python/Makefile.in ++++ libtorrent-rasterbar-0.14.1/bindings/python/Makefile.in +@@ -44,8 +44,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d +--- libtorrent-rasterbar-0.14.1.orig/configure ++++ libtorrent-rasterbar-0.14.1/configure +@@ -25035,7 +25035,7 @@ + + fi + if test `eval echo '${'$as_ac_Header'}'` = yes; then +- ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,` ++ ax_python_header=/usr/include/$ax_python_bin + else + ax_python_header=no + fi +--- libtorrent-rasterbar-0.14.1.orig/examples/Makefile.in ++++ libtorrent-rasterbar-0.14.1/examples/Makefile.in +@@ -50,8 +50,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d +--- libtorrent-rasterbar-0.14.1.orig/include/Makefile.in ++++ libtorrent-rasterbar-0.14.1/include/Makefile.in +@@ -236,8 +236,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d +--- /dev/null ++++ libtorrent-rasterbar-0.14.1/m4/ax_python-fixed.m4 +@@ -0,0 +1,99 @@ ++# =========================================================================== ++# http://autoconf-archive.cryp.to/ax_python.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_PYTHON ++# ++# DESCRIPTION ++# ++# This macro does a complete Python development environment check. ++# ++# It recurses through several python versions (from 2.1 to 2.5 in this ++# version), looking for an executable. When it finds an executable, it ++# looks to find the header files and library. ++# ++# It sets PYTHON_BIN to the name of the python executable, ++# PYTHON_INCLUDE_DIR to the directory holding the header files, and ++# PYTHON_LIB to the name of the Python library. ++# ++# This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG), ++# PYTHON_INCLUDE_DIR and PYTHON_LIB. ++# ++# LAST MODIFICATION ++# ++# 2008-04-12 ++# ++# COPYLEFT ++# ++# Copyright (c) 2008 Michael Tindal ++# ++# This program 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 program 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 program. If not, see . ++# ++# As a special exception, the respective Autoconf Macro's copyright owner ++# gives unlimited permission to copy, distribute and modify the configure ++# scripts that are the output of Autoconf when processing the Macro. You ++# need not follow the terms of the GNU General Public License when using ++# or distributing such scripts, even though portions of the text of the ++# Macro appear in them. The GNU General Public License (GPL) does govern ++# all other use of the material that constitutes the Autoconf Macro. ++# ++# This special exception to the GPL applies to versions of the Autoconf ++# Macro released by the Autoconf Macro Archive. When you make and ++# distribute a modified version of the Autoconf Macro, you may extend this ++# special exception to the GPL to apply to your modified version as well. ++ ++AC_DEFUN([AX_PYTHON], ++[AC_MSG_CHECKING(for python build information) ++AC_MSG_RESULT([]) ++for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do ++AC_CHECK_PROGS(PYTHON_BIN, [$python]) ++ax_python_bin=$PYTHON_BIN ++if test x$ax_python_bin != x; then ++ AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) ++ AC_CHECK_HEADER([$ax_python_bin/Python.h], ++ ax_python_header=/usr/include/$ax_python_bin, ++ ax_python_header=no) ++ if test $ax_python_lib != no; then ++ if test $ax_python_header != no; then ++ break; ++ fi ++ fi ++fi ++done ++if test x$ax_python_bin = x; then ++ ax_python_bin=no ++fi ++if test x$ax_python_header = x; then ++ ax_python_header=no ++fi ++if test x$ax_python_lib = x; then ++ ax_python_lib=no ++fi ++ ++AC_MSG_RESULT([ results of the Python check:]) ++AC_MSG_RESULT([ Binary: $ax_python_bin]) ++AC_MSG_RESULT([ Library: $ax_python_lib]) ++AC_MSG_RESULT([ Include Dir: $ax_python_header]) ++ ++if test x$ax_python_header != xno; then ++ PYTHON_INCLUDE_DIR=$ax_python_header ++ AC_SUBST(PYTHON_INCLUDE_DIR) ++fi ++if test x$ax_python_lib != xno; then ++ PYTHON_LIB=$ax_python_lib ++ AC_SUBST(PYTHON_LIB) ++fi ++])dnl +--- libtorrent-rasterbar-0.14.1.orig/m4/ax_python.m4 ++++ /dev/null +@@ -1,99 +0,0 @@ +-# =========================================================================== +-# http://autoconf-archive.cryp.to/ax_python.html +-# =========================================================================== +-# +-# SYNOPSIS +-# +-# AX_PYTHON +-# +-# DESCRIPTION +-# +-# This macro does a complete Python development environment check. +-# +-# It recurses through several python versions (from 2.1 to 2.5 in this +-# version), looking for an executable. When it finds an executable, it +-# looks to find the header files and library. +-# +-# It sets PYTHON_BIN to the name of the python executable, +-# PYTHON_INCLUDE_DIR to the directory holding the header files, and +-# PYTHON_LIB to the name of the Python library. +-# +-# This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG), +-# PYTHON_INCLUDE_DIR and PYTHON_LIB. +-# +-# LAST MODIFICATION +-# +-# 2008-04-12 +-# +-# COPYLEFT +-# +-# Copyright (c) 2008 Michael Tindal +-# +-# This program 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 program 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 program. If not, see . +-# +-# As a special exception, the respective Autoconf Macro's copyright owner +-# gives unlimited permission to copy, distribute and modify the configure +-# scripts that are the output of Autoconf when processing the Macro. You +-# need not follow the terms of the GNU General Public License when using +-# or distributing such scripts, even though portions of the text of the +-# Macro appear in them. The GNU General Public License (GPL) does govern +-# all other use of the material that constitutes the Autoconf Macro. +-# +-# This special exception to the GPL applies to versions of the Autoconf +-# Macro released by the Autoconf Macro Archive. When you make and +-# distribute a modified version of the Autoconf Macro, you may extend this +-# special exception to the GPL to apply to your modified version as well. +- +-AC_DEFUN([AX_PYTHON], +-[AC_MSG_CHECKING(for python build information) +-AC_MSG_RESULT([]) +-for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do +-AC_CHECK_PROGS(PYTHON_BIN, [$python]) +-ax_python_bin=$PYTHON_BIN +-if test x$ax_python_bin != x; then +- AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no) +- AC_CHECK_HEADER([$ax_python_bin/Python.h], +- [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]], +- ax_python_header=no) +- if test $ax_python_lib != no; then +- if test $ax_python_header != no; then +- break; +- fi +- fi +-fi +-done +-if test x$ax_python_bin = x; then +- ax_python_bin=no +-fi +-if test x$ax_python_header = x; then +- ax_python_header=no +-fi +-if test x$ax_python_lib = x; then +- ax_python_lib=no +-fi +- +-AC_MSG_RESULT([ results of the Python check:]) +-AC_MSG_RESULT([ Binary: $ax_python_bin]) +-AC_MSG_RESULT([ Library: $ax_python_lib]) +-AC_MSG_RESULT([ Include Dir: $ax_python_header]) +- +-if test x$ax_python_header != xno; then +- PYTHON_INCLUDE_DIR=$ax_python_header +- AC_SUBST(PYTHON_INCLUDE_DIR) +-fi +-if test x$ax_python_lib != xno; then +- PYTHON_LIB=$ax_python_lib +- AC_SUBST(PYTHON_LIB) +-fi +-])dnl +--- libtorrent-rasterbar-0.14.1.orig/src/Makefile.in ++++ libtorrent-rasterbar-0.14.1/src/Makefile.in +@@ -46,8 +46,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d +--- libtorrent-rasterbar-0.14.1.orig/test/Makefile.in ++++ libtorrent-rasterbar-0.14.1/test/Makefile.in +@@ -48,8 +48,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d +--- libtorrent-rasterbar-0.14.1.orig/zlib/Makefile.in ++++ libtorrent-rasterbar-0.14.1/zlib/Makefile.in +@@ -46,8 +46,8 @@ + $(top_srcdir)/m4/ax_boost_regex.m4 \ + $(top_srcdir)/m4/ax_boost_system.m4 \ + $(top_srcdir)/m4/ax_boost_thread.m4 \ +- $(top_srcdir)/m4/ax_python.m4 $(top_srcdir)/m4/check_ssl.m4 \ +- $(top_srcdir)/configure.in ++ $(top_srcdir)/m4/ax_python-fixed.m4 \ ++ $(top_srcdir)/m4/check_ssl.m4 $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(install_sh) -d --- libtorrent-rasterbar-0.14.1.orig/debian/patches/series +++ libtorrent-rasterbar-0.14.1/debian/patches/series @@ -0,0 +1 @@ +01_fix_ax_python_m4.patch