mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-08 11:47:30 +08:00
Add debian packaging files for the custom libtorrent PPA
This commit is contained in:
parent
1e9188127f
commit
66b4148eee
74
libtorrent-debian/README.Debian
Normal file
74
libtorrent-debian/README.Debian
Normal file
@ -0,0 +1,74 @@
|
||||
libtorrent-rasterbar for Debian
|
||||
-------------------------------
|
||||
|
||||
* libtorrent-rasterbar 0.14.2-2
|
||||
|
||||
Revert build dependencies to boost1.37 only.
|
||||
|
||||
-- Cristian Greco <cristian.debian@gmail.com> Wed, 11 Mar 2009 16:27:20 +0100
|
||||
|
||||
* 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 <cristian.debian@gmail.com> 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 <cristian.debian@gmail.com> 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 one 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 <cristian.debian@gmail.com> 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 <cgreco@cs.unibo.it> 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 <cgreco@cs.unibo.it> Wed, 02 Jul 2008 10:46:21 +0200
|
41
libtorrent-debian/changelog
Normal file
41
libtorrent-debian/changelog
Normal file
@ -0,0 +1,41 @@
|
||||
libtorrent-rasterbar (1.2.5+git20200401.dcf3c83d29-1ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.5
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Wed, 01 Apr 2020 18:05:54 +0300
|
||||
|
||||
libtorrent-rasterbar (1.2.5+git20200323.0d06d47a29-2ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.5
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Tue, 24 Mar 2020 15:37:24 +0200
|
||||
|
||||
libtorrent-rasterbar (1.2.5+git20200323.0d06d47a29-1ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.5
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Mon, 23 Mar 2020 21:02:09 +0200
|
||||
|
||||
libtorrent-rasterbar (1.2.3+git20191216.68196dceae-1ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.3
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Mon, 16 Dec 2019 01:11:34 +0200
|
||||
|
||||
libtorrent-rasterbar (1.2.2+git20191202.7b0bb2fb0b-1ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.2
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Mon, 02 Dec 2019 15:36:28 +0200
|
||||
|
||||
libtorrent-rasterbar (1.2.0+git20190220.82900c441c-1ppa1~19.04) disco; urgency=medium
|
||||
|
||||
* Build 1.2.0
|
||||
* Use C++14 mode
|
||||
|
||||
-- sledgehammer999 <hammered999@gmail.com> Wed, 20 Feb 2019 17:04:17 +0200
|
1
libtorrent-debian/compat
Normal file
1
libtorrent-debian/compat
Normal file
@ -0,0 +1 @@
|
||||
10
|
53
libtorrent-debian/control
Normal file
53
libtorrent-debian/control
Normal file
@ -0,0 +1,53 @@
|
||||
Source: libtorrent-rasterbar
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Cristian Greco <cristian@debian.org>
|
||||
Uploaders: Andrew Starr-Bochicchio <asb@debian.org>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-autoreconf,
|
||||
dpkg-dev (>= 1.16.1~),
|
||||
libboost-system-dev,
|
||||
libssl-dev,
|
||||
pkg-config
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Git: git://anonscm.debian.org/collab-maint/libtorrent-rasterbar.git
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libtorrent-rasterbar.git
|
||||
Homepage: http://www.rasterbar.com/products/libtorrent/index.html
|
||||
|
||||
Package: libtorrent-rasterbar10
|
||||
Architecture: any
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
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
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${misc:Depends},
|
||||
libtorrent-rasterbar10 (= ${binary:Version}),
|
||||
libboost-system-dev,
|
||||
libssl-dev,
|
||||
pkg-config
|
||||
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.
|
168
libtorrent-debian/copyright
Normal file
168
libtorrent-debian/copyright
Normal file
@ -0,0 +1,168 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Packaged-By: Cristian Greco <cristian.debian@gmail.com>
|
||||
Packaged-Date: Wed, 02 Jul 2008 10:46:21 +0200
|
||||
Upstream-Name: libtorrent
|
||||
Upstream-Contact: Arvid Norberg <arvid@rasterbar.com>
|
||||
Source: https://github.com/arvidn/libtorrent/releases
|
||||
|
||||
|
||||
Files: debian/*
|
||||
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: 2003-2008 Arvid Norberg
|
||||
Comment: Contributors:
|
||||
2003-2007 Daniel Wallin
|
||||
2007 Un Shyam
|
||||
2006 Magnus Jonsson
|
||||
2006 MassaRoddel
|
||||
License: BSD-3-clause
|
||||
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.
|
||||
|
||||
|
||||
Files: src/GeoIP.c include/libtorrent/GeoIP.h
|
||||
Copyright: 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: bindings/python/*.py
|
||||
bindings/python/src/*.cpp
|
||||
bindings/python/src/*.hpp
|
||||
include/libtorrent/invariant_check.hpp
|
||||
Copyright: 2004-2007 Daniel Wallin
|
||||
2006-2008 Arvid Norberg
|
||||
2008 Andrew Resch
|
||||
License: BSL-1.0
|
||||
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: src/ConvertUTF.cpp include/libtorrent/ConvertUTF.h
|
||||
Copyright: 2001-2004 Unicode, Inc.
|
||||
License: other
|
||||
This source code is provided as is by Unicode, Inc. No claims are
|
||||
made as to fitness for any particular purpose. No warranties of any
|
||||
kind are expressed or implied. The recipient agrees to determine
|
||||
applicability of information provided. If this file has been
|
||||
purchased on magnetic or optical media from Unicode, Inc., the
|
||||
sole remedy for any claim will be exchange of defective media
|
||||
within 90 days of receipt.
|
||||
.
|
||||
Limitations on Rights to Redistribute This Code
|
||||
.
|
||||
Unicode, Inc. hereby grants the right to freely use the information
|
||||
supplied in this file in the creation of products supporting the
|
||||
Unicode Standard, and to make copies of this file in any form
|
||||
for internal or external distribution as long as this notice
|
||||
remains attached.
|
||||
|
||||
|
||||
Files: include/libtorrent/puff.hpp
|
||||
Copyright: 2002-2003 Mark Adler
|
||||
License: Zlib
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the author 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 <sreid@sea-to-sky.net>
|
||||
Comment: Contributors:
|
||||
Modified 7/98 By James H. Brown <jbrown@burgoyne.com>
|
||||
Modified 8/98 By Steve Reid <sreid@sea-to-sky.net>
|
||||
Modified 4/01 By Saul Kravitz <Saul.Kravitz@celera.com>
|
||||
Converted to C++ 6/04 By Arvid Norberg <arvidn@sourceforge.net>
|
||||
License: public-domain
|
||||
The file sha1.c was put in the public domain by Steve Reid.
|
1
libtorrent-debian/docs
Normal file
1
libtorrent-debian/docs
Normal file
@ -0,0 +1 @@
|
||||
AUTHORS
|
1
libtorrent-debian/files
Normal file
1
libtorrent-debian/files
Normal file
@ -0,0 +1 @@
|
||||
libtorrent-rasterbar_1.2.5+git20200401.dcf3c83d29-1ppa1~19.04_source.buildinfo libs optional
|
4
libtorrent-debian/libtorrent-rasterbar-dev.install
Normal file
4
libtorrent-debian/libtorrent-rasterbar-dev.install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/include/*
|
||||
usr/lib/*/lib*.a
|
||||
usr/lib/*/lib*.so
|
||||
usr/lib/*/pkgconfig/*.pc
|
1
libtorrent-debian/libtorrent-rasterbar10.install
Normal file
1
libtorrent-debian/libtorrent-rasterbar10.install
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/*/lib*.so.*
|
50
libtorrent-debian/rules
Normal file
50
libtorrent-debian/rules
Normal file
@ -0,0 +1,50 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
CONFIGURE_ARGS = --with-libiconv --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --disable-deprecated-functions CXXFLAGS=-std=c++14 CPPFLAGS=-std=c++14
|
||||
|
||||
%:
|
||||
dh $@ --parallel --with autoreconf
|
||||
|
||||
override_dh_auto_configure-nopy:
|
||||
dh_auto_configure --builddirectory build -- $(CONFIGURE_ARGS)
|
||||
|
||||
# By default dh_autoreconf runs `autoreconf -f -i`
|
||||
# But that fails because it can't find `config.rpath`
|
||||
# Running `autotool.sh` just works
|
||||
override_dh_autoreconf:
|
||||
./autotool.sh
|
||||
|
||||
override_dh_auto_configure: override_dh_auto_configure-nopy
|
||||
|
||||
|
||||
override_dh_auto_build-nopy:
|
||||
dh_auto_build --builddirectory build
|
||||
|
||||
override_dh_auto_build: override_dh_auto_build-nopy
|
||||
|
||||
|
||||
override_dh_auto_install-nopy:
|
||||
dh_auto_install --builddirectory build
|
||||
|
||||
override_dh_auto_install: override_dh_auto_install-nopy
|
||||
|
||||
# During initial build, there is a "clean" step performed
|
||||
# at this point there isn't a Makefile yet and
|
||||
# dh_auto_clean falsely detects that it has to run `setup.py`
|
||||
# and fails.
|
||||
override_dh_auto_clean:
|
||||
[ ! -f Makefile ] || dh_auto_clean
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -Xcpp
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -V
|
||||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb -- -Z xz
|
1
libtorrent-debian/source/format
Normal file
1
libtorrent-debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
3
libtorrent-debian/watch
Normal file
3
libtorrent-debian/watch
Normal file
@ -0,0 +1,3 @@
|
||||
version=3
|
||||
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
|
||||
https://github.com/arvidn/libtorrent/releases .*/libtorrent-rasterbar-(\d\S*)\.tar\.gz
|
Loading…
Reference in New Issue
Block a user