--- ktorrent-3.2.1+dfsg.1.orig/debian/plasma-widget-ktorrent.install +++ ktorrent-3.2.1+dfsg.1/debian/plasma-widget-ktorrent.install @@ -0,0 +1,4 @@ +usr/lib/kde4/plasma_applet_ktorrent.so +usr/lib/kde4/plasma_engine_ktorrent.so +usr/share/kde4/services/plasma-applet-ktorrent.desktop +usr/share/kde4/services/plasma-dataengine-ktorrent.desktop --- ktorrent-3.2.1+dfsg.1.orig/debian/copyright +++ ktorrent-3.2.1+dfsg.1/debian/copyright @@ -0,0 +1,251 @@ +This package was debianized by Joel Johnson on +Tue, 21 Jun 2005 11:19:46 -0700. +This package has been maintained by Debian KDE Extras Team +since Thu, 10 May 2007 13:11:35 +0300 + +The original source was downloaded from +http://ktorrent.org/index.php?page=downloads + +Upstream Authors: + Joris Guisson + Ivan Vasic + +Upstream copyright holders: + + Copyright: © 2005-2008 Joris Guisson + Copyright: © 2005-2008 Ivan Vasic + Copyright: © 2008 Alan Jones + Copyright: © 2007 Krzysztof Kundzicz + Copyright: © 2006 Diego R. Brogna + Copyright: © 2007 David Faure + Copyright: © 2006 Juliusz Chroboczek. + Copyright: © 2005 Adam Treat + Copyright: © 2002-2005, 2007 Walter Zorn. All Rights Reserved. + Copyright: © 2007 Modestas Vainius + Copyright: © 2005-2007 Vincent Wagelaar + Copyright: © 2006 Dan Kennedy. + Copyright: © 2000-2002 Andrew Kepert + Copyright: © 2007 Charles Connell + Copyright: © 2005 Maggioni Marcello + Copyright: © 2007 Dagur Valberg Johannsson + Copyright: © 2000-2002 Paul Johnston + +Translators (po/*): + + Copyright: © 2006-2008 Jannick Kuhr + Copyright: © 2008 Viesturs Zarins + Copyright: © 2006 Xavier Batlle i Pèlach + Copyright: © 2006 Canonical Ltd + Copyright: © 2007-2008 Spiros Georgaras + Copyright: © 2007-2008 Serdar Soytetir + Copyright: © 2005-2008 Stefan Asserhäll + Copyright: © 2002-2008 Free Software Foundation Inc. + Copyright: © 2005-2008 Nicola Ruggero + Copyright: © 2005 Waldemar Silva Júnior + Copyright: © 2005-2008 Enrique Matias Sanchez (aka Quique) + Copyright: © 2005-2008 Marek Laane + Copyright: © 2007-2008 Nick Shaforostoff + Copyright: © 2008 Martin Schlander + Copyright: © 2005-2008 Rinse de Vries + Copyright: © 2007-2008 mvillarino + Copyright: © 2008 Freek de Kruijf + Copyright: © 2006 Danny Kukawka + Copyright: © 2008 Auk Piseth + Copyright: © 2007 Václav Čermák + Copyright: © 2008 Mickael Sibelle + Copyright: © 2008 Madsen + Copyright: © 2008 Luiz Fernando Ranghetti + Copyright: © 2005 Maarten Rütten + Copyright: © 2008 Ivan Petrouchtchak + Copyright: © Najib Zulon Idrissi Katouni + Copyright: © 2005 Златко Попов + Copyright: © 2006, 2008 Manfred Wiese + Copyright: © 2008 Jure Repinc + Copyright: © 2007-2008 Jerzy Trzeciak + Copyright: © Thomas 'Dark-Side' Refis + Copyright: © 2007 Brendan Osborne + Copyright: © 2008 Cristian Tarsoaga + Copyright: © 2007-2008 Karl Ove Hufthammer + Copyright: © 2005-2006, 2008 Bram Schoenmakers + Copyright: © Pierre "delroth" Bourdon + Copyright: © 2007-2008 Sébastien Renard + Copyright: © 2008 Evgeniy Ivanov + Copyright: © 2007-2008 Andrius Štikonas + Copyright: © Kevin "Katen" Soltysiak + Copyright: © 2007 Youssef Chahibi + Copyright: © Quentin "Cygal" Pradet + Copyright: © 2005 Barış Metin + Copyright: © 2008 Maris Nartiss + Copyright: © 2008 Anne-Marie Mahfouf + Copyright: © 2008 Sergiu Bivol + Copyright: © 2006-2008 Martijn van Vliet + Copyright: © 2008 Franklin Weng + Copyright: © 2006 Engin Çağatay + Copyright: © 2008 Vit Pelcak + Copyright: © 2005-2006 Klara Cihlarova + Copyright: © 2008 Erdal Ronahi + Copyright: © 2006 Marcos Goienetxe + Copyright: © 2005 Joris Guisson + Copyright: © 2007 Richard Fric + Copyright: © 2007-2008 Benoit Verduyn + Copyright: © 2007-2008 Toussis Manolis + Copyright: © 2007 Akın Ömeroğlu + Copyright: © 2005 Lukáš Tinkl + Copyright: © 2008 Marta Rybczyńska + Copyright: © 2006-2008 Sönke Dibbern + Copyright: © 2008 Frank Weng (a.k.a. Franklin) + Copyright: © 2008 Alexander Nicolaysen Sørnes + Copyright: © 2008 Artem Sereda + Copyright: © 2007 Darafei Praliaskouski + Copyright: © 2008 Dobrovolny + Copyright: © 2007 Everest Law + Copyright: © 2008 Nicolas Ternisien + Copyright: © 2008 Tamas Szanto + Copyright: © 2007 Markus Hietaranta + Copyright: © 2007-2008 Jaime Robles + Copyright: © 2005-2006 Patrick Trettenbrein + Copyright: © 2006 Ion Gaztañaga + Copyright: © 2007 Donatas Glodenis + Copyright: © 2008 Yuri Chornoivan + Copyright: © 2005-2007 Zlatko Popov + Copyright: © 2007 doutor.zero + Copyright: © Gabriel "bluestorm" Scherer + Copyright: © 2008 Marce Villarino + Copyright: © Simon "asmanur" Castellan + Copyright: © 2008 George Pantsis + Copyright: © 2008 Goodhorse + Copyright: © 2008 Khoem Sokhem + Copyright: © 2007-2008 Hu Wei + Copyright: © 2007 Klára Cihlářová + Copyright: © 2008 Ravishankar Shrivastava + Copyright: © 2007-2008 Xavier Batlle Pelach + Copyright: © 2005-2008 Thomas Reitelbach + Copyright: © Grégoire "Metzgermeister" Duchêne + Copyright: © 2007 Marek Stopka + Copyright: © 2005-2008 Yukiko Bando + Copyright: © 2008 Eirik U. Birkeland + Copyright: © 2006 Hasso Tepper + Copyright: © 2007-2008 Cindy McKee + Copyright: © 2006, 2008 Josep Ma. Ferrer + Copyright: © 2005 sejishikong + Copyright: © Laurențiu Buzdugan + Copyright: © 2005 Stephan Johach + Copyright: © 2005-09-23 Funda Wang + Copyright: © 2007-2008 Yannig Marchegay + Copyright: © 2008 Eng Vannak + Copyright: © 2005 Pablo de Vicente + Copyright: © 2008 Ni Hui + +Debian packaging (debian/*) is under: + +Copyright: © 2005-2007 Joel Johnson + © 2007-2008 Modestas Vainius + © Joey Hess (debhelper scripts) +License: GPL-2+ + +License for all components unless stated otherwise: +-- + GNU General Public License, version 2 or later (GPL-2+) + + On Debian systems, the complete text of the + GNU General Public License version 2 can be found in + /usr/share/common-licenses/GPL-2 +-- + +Other used licenses: +-- + GNU General Public License, version 3 or later (GPL-3+) + 23 file(s) are licensed under this license: + + plugins/bitfinder/* + plugins/bitfinder/filter/* + plugins/bitfinder/source/* + + On Debian systems, the complete text of the + GNU General Public License version 3 can be found in + /usr/share/common-licenses/GPL-3 +-- + +-- + GNU Lesser General Public License, version 2.1 or later (LGPL-2.1+) + 1 file(s) are licensed under this license: + + + plugins/webinterface/www/default/wz_tooltip.js + + On Debian systems, the complete text of the + GNU Lesser General Public License version 2.1 can be found in + /usr/share/common-licenses/LGPL-2.1 +-- + +-- + GNU Library General Public License, version 2 or later (LGPL-2+) + 3 file(s) are licensed under this license: + + + libbtcore/btcore_export.h + + libktcore/ktcore_export.h + + libktupnp/ktupnp_export.h + + On Debian systems, the complete text of the + GNU Library General Public License version 2 can be found in + /usr/share/common-licenses/LGPL-2 +-- + +-- + + libbtcore/util/win32.cpp + + libbtcore/util/win32.h + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +-- + +-- + cmake/modules/* + + libbtcore/config-btcore.h.cmake + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. +-- + +-- + BSD License + + + plugins/webinterface/common/sha1.js + + On Debian systems, the complete text of the BSD License can be found in + /usr/share/common-licenses/BSD +-- --- ktorrent-3.2.1+dfsg.1.orig/debian/control +++ ktorrent-3.2.1+dfsg.1/debian/control @@ -0,0 +1,78 @@ +Source: ktorrent +Section: net +Priority: optional +Maintainer: Kubuntu Developers +XSBC-Original-Maintainer: Debian KDE Extras Team +Uploaders: Modestas Vainius +DM-Upload-Allowed: yes +Build-Depends: cmake (>= 2.6.2), debhelper (>= 7), quilt, pkg-kde-tools (>= 0.2), cdbs, + kdelibs5-dev (>= 4:4.2.0), libphonon-dev (>= 4:4.3.0), kdepimlibs5-dev (>= 4:4.2.0), + kdebase-workspace-dev (>= 4:4.2.0), libtag1-dev, + pkg-config, libgeoip-dev, libgmp3-dev, libqca2-dev, libx11-dev, libboost-serialization1.35-dev +Standards-Version: 3.8.0 +Homepage: http://ktorrent.org/ + +Package: ktorrent +Architecture: any +Depends: ${shlibs:Depends}, ktorrent-data (= ${source:Version}) +Suggests: plasma-widget-ktorrent (= ${binary:Version}) +Description: BitTorrent client based on the KDE 4 technology platform + This package contains KTorrent, a BitTorrent peer-to-peer network client, that + is based on the Qt4 and KDE 4 libraries. Obviously, KTorrent supports such + basic features as downloading, uploading and seeding files on the BitTorrent + network. However, lots of other additional features and intuitive GUI should + make KTorrent a good choice for everyone. Some features are available as + plugins hence you should make sure you have the ones you need enabled. + - Support for HTTP and UDP trackers, trackerless DHT (mainline) and webseeds. + - Alternative UI support including Web interface and Plasma widget. + - Torrent grouping, speed capping, various download prioritization + capabilities on both torrent and file level as well as bandwidth + scheduling. + - Support for fetching torrent files from many sources including any local + file or remote URL, RSS feeds (with filtering) or actively monitored + directory etc. + - Integrated and customizable torrent search on the Web. + - Various security features like IP blocking and protocol encryption. + - Disk space preallocation to reduce fragmentation. + - uTorrent compatible peer exchange. + - Autoconfiguration for LANs like Zeroconf extension and port forwarning via + uPnP. + - Scripting support via Kross and interprocess control via DBus interface. + - SOCKSv4 and SOCKSv5 proxy, IPv6 support. + - Lots of other useful builtin features and plugins. + +Package: ktorrent-data +Architecture: all +Recommends: ktorrent (>= ${source:Version}) +Replaces: ktorrent (<< 3.2~beta1+svn902175) +Description: KTorrent data and other architecture independant files + This packages contains architecture independent data files for KTorrent, + a BitTorrent peer-to-peer network client. Unless you have ktorrent package + installed, you probably won't find this package useful. + +Package: plasma-widget-ktorrent +Section: kde +Architecture: any +Depends: ${shlibs:Depends}, ktorrent (= ${binary:Version}) +Replaces: ktorrent (<< 3.2~beta1+svn898132), plasma-applet-ktorrent +Conflicts: plasma-applet-ktorrent +Description: KTorrent Plasma widget + This package provides the KTorrent Plasma widget which features display of + the current upload and download speeds and status of any single torrent which + KTorrent knows about. Please note that KTorrent must be running for this + widget to be able to display any up-to-date information. + . + This package contains KTorrent Plasma data engine as well. + +Package: ktorrent-dbg +Section: devel +Architecture: any +Priority: extra +Depends: ktorrent (= ${binary:Version}) +Recommends: kdelibs5-dbg +Description: KTorrent debugging symbols + This package contains debugging symbols for KTorrent. When KTorrent crashes, + in most cases this package is needed to get a backtrace that is useful for + developers. If you have experienced KTorrent crash without this package + installed, please install it, try to reproduce the problem and fill a bug + report with a new backtrace attached. --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.xpm +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.xpm @@ -0,0 +1,295 @@ +/* XPM */ +static char *ktorrent[] = { +/* columns rows colors chars-per-pixel */ +"32 32 257 2", +" c #000000", +". c #070808", +"X c #0B0B0C", +"o c #0E0F10", +"O c #0D1111", +"+ c #130D11", +"@ c #121313", +"# c #1B1C1B", +"$ c #151818", +"% c #1E211F", +"& c #2E0F0C", +"* c #201316", +"= c #351A1A", +"- c #291F22", +"; c #242322", +": c #2B2B29", +"> c #252B27", +", c #26322C", +"< c #323533", +"1 c #333C35", +"2 c #372A28", +"3 c #3B473F", +"4 c #3C4940", +"5 c #385B44", +"6 c #397F4F", +"7 c #4B110F", +"8 c #451310", +"9 c #530C07", +"0 c #59130F", +"q c #5D1811", +"w c #440906", +"e c #42251E", +"r c #473B35", +"t c #5A2E2C", +"y c #472A24", +"u c #671E15", +"i c #6F2820", +"p c #7A2D23", +"a c #7A352D", +"s c #653A34", +"d c #4A443D", +"f c #51433D", +"g c #454442", +"h c #484744", +"j c #45554A", +"k c #4D5144", +"l c #514948", +"z c #525653", +"x c #476F4D", +"c c #4C7357", +"v c #5B605C", +"b c #5A7154", +"n c #5D6660", +"m c #7A4B45", +"M c #7C5753", +"N c #654C48", +"B c #65605F", +"V c #646E67", +"C c #7F7978", +"Z c #767672", +"A c #019430", +"S c #10963B", +"D c #139D3F", +"F c #159C41", +"G c #1D9B45", +"H c #19A146", +"J c #239D4A", +"K c #289F4E", +"L c #34884F", +"P c #378E55", +"I c #25A24D", +"U c #2CA151", +"Y c #33A457", +"T c #34A559", +"R c #39A45C", +"E c #3AA95E", +"W c #35AB5B", +"Q c #3EA961", +"! c #448459", +"~ c #44955E", +"^ c #439457", +"/ c #4F8961", +"( c #499B63", +") c #518863", +"_ c #5B8B6B", +"` c #5D8069", +"' c #579568", +"] c #5F9871", +"[ c #44AD66", +"{ c #47AD68", +"} c #47B46B", +"| c #4BB06B", +" . c #43B266", +".. c #4DB570", +"X. c #51AC6E", +"o. c #5CB679", +"O. c #58B777", +"+. c #678A72", +"@. c #669676", +"#. c #76837A", +"$. c #6DA17E", +"%. c #62BB7E", +"&. c #63B57C", +"*. c #5FC07E", +"=. c #709F80", +"-. c #6CAD81", +";. c #67BA81", +":. c #7BA489", +">. c #73A082", +",. c #71BC89", +"<. c #66C184", +"1. c #73C48D", +"2. c #79C491", +"3. c #7BCA94", +"4. c #8F1C0D", +"5. c #8F2517", +"6. c #982415", +"7. c #883429", +"8. c #863D34", +"9. c #AF2613", +"0. c #BC2511", +"q. c #B92915", +"w. c #B72713", +"e. c #A83628", +"r. c #BE3B29", +"t. c #8B4137", +"y. c #984339", +"u. c #B44536", +"i. c #A84538", +"p. c #894940", +"a. c #964D43", +"s. c #9D584E", +"d. c #8C605A", +"f. c #92615A", +"g. c #896E6B", +"h. c #996A63", +"j. c #917A77", +"k. c #BD4F40", +"l. c #A6554B", +"z. c #BB6054", +"x. c #AC6A61", +"c. c #AA736B", +"v. c #A87B75", +"b. c #B26E64", +"n. c #B47269", +"m. c #B57E76", +"M. c #C02A16", +"N. c #C5301C", +"B. c #C84939", +"V. c #C66355", +"C. c #C46659", +"Z. c #C86356", +"A. c #CA6659", +"S. c #CB695C", +"D. c #C16B5F", +"F. c #D0685A", +"G. c #CA6E62", +"H. c #C16E62", +"J. c #CB7165", +"K. c #CC766A", +"L. c #CD786D", +"P. c #C3746A", +"I. c #CE7B70", +"U. c #D36E60", +"Y. c #D37165", +"T. c #DC7163", +"R. c #D57D72", +"E. c #C4877E", +"W. c #D2847A", +"Q. c #D4887D", +"!. c #D68478", +"~. c #86928A", +"^. c #8B9A90", +"/. c #978886", +"(. c #938280", +"). c #8CA995", +"_. c #8EB59A", +"`. c #88B696", +"'. c #9AA79F", +"]. c #91BA9E", +"[. c #9DA5A0", +"{. c #9BBAA6", +"}. c #AE9B98", +"|. c #BD958F", +" X c #A68783", +".X c #A3AEA6", +"XX c #B1A8A6", +"oX c #87CB9C", +"OX c #8FCFA3", +"+X c #96CFA8", +"@X c #99C9A8", +"#X c #98D4AB", +"$X c #A2C0AC", +"%X c #ADC2B4", +"&X c #A3D5B3", +"*X c #ABD7B9", +"=X c #B2C7B9", +"-X c #B1D5BD", +";X c #B6DDC2", +":X c #BEDDC8", +">X c #B9D4C2", +",X c #BDE0C8", +" . YXYXYXYXYXYX . . YXYXYXYXYXYXYXYXYX", +"YX V KXJXKXKXKXMX%X#.d @ YX g.l YXYXYXYXYXYXYXYX", +"YX > mXHXGXGXGXFXVXVXbX).+.j % . r sXtX# YXYXYXYXYXYXYXYX", +"YX .XKXGXGXVXVXMXbX%X@X#XoX,.] # O |.pXjX}.. YXYXYXYXYXYXYX", +"YXYX. z KXGXDXBXNXMXbX%X@XOX3.%.o.$ M iX6XdXAXZ YXYXYXYXYXYX", +"YXYX # mXHXDXBXMXmXvX>X_.oX2.<.' - L.Q.6XdXCXSXg YXYXYXYXYX", +"YXYX '.KXBXNXMXbXnX:X$X_.@.<.c t Y.Q.6XsXCXSXxX# YXYXYXYXYX", +"YXYXYX z JXBXMXMXvXcX:X 5 X : N h.P.U.F.Z.S.R.r ", +"YXYXYXYX # l d.b.U.T.f. ", +"YXYXYXYXYX o r M v.# ", +"YXYXYXYXYXYXYX YX @ X ", +"YXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYX ", +"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX" +}; --- ktorrent-3.2.1+dfsg.1.orig/debian/compat +++ ktorrent-3.2.1+dfsg.1/debian/compat @@ -0,0 +1 @@ +7 --- ktorrent-3.2.1+dfsg.1.orig/debian/installgen +++ ktorrent-3.2.1+dfsg.1/debian/installgen @@ -0,0 +1,17 @@ +[libbtcore-dev_virtual] +miss dst:usr/lib/[^/]+\.so$ link: +miss dst:usr/include/libbtcore/ +miss dst:FindBTCore.cmake$ + +[plasma-widget-ktorrent] +from:/plasma/ + +[ktorrent] +dst:usr/bin/ +dst:usr/lib/lib.*\.so\. +dst:usr/lib/kde4/ +dst:usr/share/applications/ +dst:usr/share/kde4/services/kt + +[ktorrent-data] +dst:usr/share/ --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.lintian-overrides +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.lintian-overrides @@ -0,0 +1,2 @@ +ktorrent: package-name-doesnt-match-sonames +ktorrent: menu-icon-missing /usr/share/pixmaps/ktorrent.xpm --- ktorrent-3.2.1+dfsg.1.orig/debian/NEWS +++ ktorrent-3.2.1+dfsg.1/debian/NEWS @@ -0,0 +1,33 @@ +ktorrent (3.1+dfsg.2-1) unstable; urgency=low + + * Since there have been two stable KTorrent 3.x (for KDE4) releases by the + time of writing and KTorrent 2.2.x (for KDE3) has not been updated much in + the meantime, I decided to ship both versions in Debian Lenny choosing + KTorrent 3.x as default. Therefore: + - you can get the old KTorrent 2.2.x release by installing ktorrent2.2 + package if you don't want to install KDE4 runtime dependencies or new + features are not important for you; + - since ktorrent binary package provides KDE4 based release from now on, + it will pull in KDE4 runtime dependencies. However, it is a newer + KTorrent upstream release and has more features. It should work fine + with KDE3 desktop environment; + - you cannot co-install both ktorrent2.2 and ktorrent. They conflict with + each other and you can have only one of them on the system at the same + time. + - KTorrent 3.1 supports migration of torrents from KTorrent 2.2 but not + vice-versa. Therefore, if you start downloading/uploading torrents with + KTorrent 3.1, you will probably not be able to resume them with + KTorrent 2.2 if you downgrade. + + -- Modestas Vainius Mon, 30 Jun 2008 22:46:56 +0300 + +ktorrent (2.1.4.dfsg.1-1) unstable; urgency=low + + * Now KTorrent uses system-wide GeoIP library (libgeoip1) and its default + GeoIP Country database to determine countries, which BitTorrent peers + originate from. The default free database provided by libgeoip is a bit + outdated and not very accurate. If you wish to upgrade the database, + please read /usr/share/doc/ktorrent/README.Debian and + /usr/share/doc/libgeoip1/README.Debian. + + -- Modestas Vainius Sun, 03 Jun 2007 15:40:07 +0300 --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent-data.lintian-overrides +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent-data.lintian-overrides @@ -0,0 +1 @@ +ktorrent-data: unusual-interpreter --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.install +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.install @@ -0,0 +1,35 @@ +usr/bin/ktorrent +usr/bin/ktupnptest +usr/lib/kde4/ktbwschedulerplugin.so +usr/lib/kde4/ktdownloadorderplugin.so +usr/lib/kde4/ktinfowidgetplugin.so +usr/lib/kde4/ktipfilterplugin.so +usr/lib/kde4/ktlogviewerplugin.so +usr/lib/kde4/ktmediaplayerplugin.so +usr/lib/kde4/ktscanfolderplugin.so +usr/lib/kde4/ktscriptingplugin.so +usr/lib/kde4/ktsearchplugin.so +usr/lib/kde4/ktstatsplugin.so +usr/lib/kde4/ktsyndicationplugin.so +usr/lib/kde4/ktupnpplugin.so +usr/lib/kde4/ktwebinterfaceplugin.so +usr/lib/kde4/ktzeroconfplugin.so +usr/lib/libbtcore.so.* +usr/lib/libktcore.so.* +usr/lib/libktupnp.so.* +usr/share/applications/kde4/ktorrent.desktop +usr/share/kde4/services/ktbwschedulerplugin.desktop +usr/share/kde4/services/ktdownloadorderplugin.desktop +usr/share/kde4/services/ktinfowidgetplugin.desktop +usr/share/kde4/services/ktipfilterplugin.desktop +usr/share/kde4/services/ktlogviewerplugin.desktop +usr/share/kde4/services/ktmediaplayerplugin.desktop +usr/share/kde4/services/ktscanfolderplugin.desktop +usr/share/kde4/services/ktscriptingplugin.desktop +usr/share/kde4/services/ktsearchplugin.desktop +usr/share/kde4/services/ktstatsplugin.desktop +usr/share/kde4/services/ktsyndicationplugin.desktop +usr/share/kde4/services/ktupnpplugin.desktop +usr/share/kde4/services/ktwebinterfaceplugin.desktop +usr/share/kde4/services/ktzeroconfplugin.desktop +usr/share/kde4/servicetypes/ktorrentplugin.desktop --- ktorrent-3.2.1+dfsg.1.orig/debian/ktupnptest.1 +++ ktorrent-3.2.1+dfsg.1/debian/ktupnptest.1 @@ -0,0 +1,41 @@ +.TH KTORRENT 1 "JUNE 2007" +.SH NAME +kupnptest \- KTorrent's UPnP test application. +.SH SYNOPSIS +\fBktupnptest\fP [Qt-options] [KDE-options] +.SH DESCRIPTION +.P +\fBKTUPnPTest\fP is a small GUI based helper utility which can be used to +find UPnP capable router(s) on the local network and request them to forward +or unforward (open or close) specific ports to the host running this +application. It's primarily intended to be used to test \fBKTorrent\fP UPnP +plugin settings, but you might find it useful to quickly forward a port to +your host for any other purpose. +.P +\fBKTUPnPTest\fP does not accept any application specific command line options, +but you can use any generic option(s) which are common for all KDE applications. +.SS Generic options +.TP +\fB\-\-help\fP +Show help about options +.TP +\fB\-\-help-qt\fP +Show Qt specific options +.TP +\fB\-\-help-kde\fP +Show KDE specific options +.TP +\fB\-\-help-all\fP +Show all options +.TP +\fB\-\-author\fP +Show author information +.TP +\fB\-v, \-\-version\fP +Show version information +.TP +\fB\-\-license\fP +Show license information +.TP +\fB\-\-\fP +End of options --- ktorrent-3.2.1+dfsg.1.orig/debian/README.source +++ ktorrent-3.2.1+dfsg.1/debian/README.source @@ -0,0 +1,6 @@ +This package uses quilt for upstream source code patch management. Please read +/usr/share/doc/quilt/README.source for more information how to apply, unapply, +add, modify or remove patches. + +Please note that /usr/share/doc/quilt/README.source is only available in quilt +version 0.46-4.1 or later. --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.menu +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.menu @@ -0,0 +1,8 @@ +?package(ktorrent):\ + needs="X11"\ + section="Applications/Network/File Transfer"\ + title="KTorrent"\ + command="ktorrent"\ + hints="KDE,Network,FileTransfer"\ + icon="/usr/share/pixmaps/ktorrent.xpm" + --- ktorrent-3.2.1+dfsg.1.orig/debian/copyright.source +++ ktorrent-3.2.1+dfsg.1/debian/copyright.source @@ -0,0 +1,24 @@ +---------------------------------------------------------------------- +-- Short Copyright Holders Report -- +-- (18 holders out of 932 copyright statements) -- +---------------------------------------------------------------------- + +Copyright: © 2005-2008 Joris Guisson +Copyright: © 2005-2008 Ivan Vasic +Copyright: © 2008 Alan Jones +Copyright: © 2007 Krzysztof Kundzicz +Copyright: © 2006 Diego R. Brogna +Copyright: © 2007 David Faure +Copyright: © 2006 Juliusz Chroboczek. +Copyright: © 2005 Adam Treat +Copyright: © 2002-2005, 2007 Walter Zorn. All Rights Reserved. +Copyright: © 2007 Modestas Vainius +Copyright: © 2005-2007 Vincent Wagelaar +Copyright: © 2006 Dan Kennedy. +Copyright: © 2000-2002 Andrew Kepert +Copyright: © 2007 Charles Connell +Copyright: © 2005 Maggioni Marcello +Copyright: © 2007 Dagur Valberg Johannsson +Copyright: © 2000-2002 Paul Johnston + + --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.manpages +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.manpages @@ -0,0 +1,2 @@ +debian/ktorrent.1 +debian/ktupnptest.1 --- ktorrent-3.2.1+dfsg.1.orig/debian/watch +++ ktorrent-3.2.1+dfsg.1/debian/watch @@ -0,0 +1,6 @@ +version=3 + +# Track development releases as well +opts="dversionmangle=s/\+dfsg\.?\d+//; duversionmangle=s/([\d.]+)-?(.*)/$1~$2/i" \ + http://ktorrent.org/downloads/([\d.]+(?:-?.*)?)/ \ + ktorrent-([\d.]+(?:-?.*)?)\.tar\.(?:bz2|gz) --- ktorrent-3.2.1+dfsg.1.orig/debian/rules +++ ktorrent-3.2.1+dfsg.1/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +# THIS_SHOULD_GO_TO_UNSTABLE=1 + +include /usr/share/cdbs/1/class/kde4.mk + +export KUBUNTU_DESKTOP_POT=extragear-network_ktorrent + +DEB_CMAKE_CUSTOM_FLAGS += -DWITH_SYSTEM_GEOIP:BOOL=ON \ + -DWITH_BUILTIN_COUNTRY_FLAGS:BOOL=OFF +DEB_KDE_LINK_WITH_AS_NEEDED := yes + +prune-tarball: + # Remove non-free components: flags and geoip stuff + rm -f plugins/infowidget/geoip/*.png + rm -f plugins/infowidget/geoip/FLAGS_LICENCE + rm -f plugins/infowidget/geoip/geoip.dat + rm -f plugins/infowidget/geoip/GeoIP-LICENSE.txt + rm -f plugins/infowidget/GeoIP.c + rm -f plugins/infowidget/GeoIP.h + +.PHONY: prune-tarball --- ktorrent-3.2.1+dfsg.1.orig/debian/changelog +++ ktorrent-3.2.1+dfsg.1/debian/changelog @@ -0,0 +1,1121 @@ +ktorrent (3.2.1+dfsg.1-0ubuntu3) jaunty; urgency=low + + * Add kubuntu_01_call_front_on_empty_qlist.diff to prevent a crash when + starting downloads (Upstream patch, KDE bug 189268) (LP: #359008) + + -- Jonathan Thomas Fri, 17 Apr 2009 09:03:48 -0400 + +ktorrent (3.2.1+dfsg.1-0ubuntu2) jaunty; urgency=low + + * Add KUBUNTU_DESKTOP_POT + + -- Jonathan Riddell Wed, 08 Apr 2009 15:27:31 +0100 + +ktorrent (3.2.1+dfsg.1-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #356230): + - Add libtag1-dev to build-depends + + -- Jonathan Thomas Mon, 06 Apr 2009 08:32:32 -0400 + +ktorrent (3.2+dfsg.1-2ubuntu1) jaunty; urgency=low + + * Merge with Debian, remaining changes: (LP: #296433) + - Use Kubuntu's kde4.mk + - Build-depend on libboost-serialization1.35-dev since unversioned -dev is + in universe + - Change plasma-applet-ktorrent to plasma-widget-ktorrent since we're + supposed to call them widgets for the users + + -- Jonathan Thomas Sun, 16 Feb 2009 18:37:14 -0500 + +ktorrent (3.2+dfsg.1-2) experimental; urgency=low + + * Rename plasma-applet-ktorrent to plasma-widget-ktorrent, add + conflicts/replaces with plasma-applet-ktorrent. + * Change debian sections: + - source package, ktorrent, ktorrent-data: net + - plasma-widget-ktorrent: kde + - ktorrent-dbg: devel + * Bump kdebase-workspace-dev build depend to 4:4.2.0. + * Drop libstreamanalyzer-dev build depend, not needed. + + -- Modestas Vainius Mon, 16 Feb 2009 13:46:18 +0200 + +ktorrent (3.2+dfsg.1-1) experimental; urgency=low + + * New upstream release (3.2). + * Remove 02_appear_as_kde3.2rc1.diff, no longer relevant. + * Fix issues with debian/watch (lintian warning etc.). + + -- Modestas Vainius Mon, 16 Feb 2009 03:00:44 +0200 + +ktorrent (3.2~rc1+svn923353-1) experimental; urgency=low + + * New upstream development snapshot: + - revision 923353 on 2009-02-08 18:32:38 +0200; + - translations from 3.2 RC1 tarball; + * Another attempt to fix "stalled torrents until client restart" problem. + * Keep disguising as 3.2 RC1 to the rest of the torrent world. + + -- Modestas Vainius Mon, 09 Feb 2009 01:24:07 +0200 + +ktorrent (3.2~rc1+svn919439-1) experimental; urgency=low + + * New upstream development snapshot based on the new development release + (3.2 RC1): + - includes changes from ktorrent trunk up to r919439 which include + the fix for annoying "torrent is stalled all the time until client + restart bug"; + - includes translations from official 3.2 RC1 release tarball; + - no longer crashes when removing a torrent (Closes: #511451); + * Bump build depends on KDE 4.2: + - remove libplasma-dev build depend, rebuild against libplasma3; + - add build depend on libphonon-dev 4:4.3.0; + - bump build depends on strigi to 0.6.3. + * Add 02_appear_as_kde3.2rc1.diff patch to make this snapshot appear as + 3.2 RC1 to the trackers. + * Disable 01_libbtcore_scramble_soname.diff patch. Pointless. + * Small update to debian/debhelper/kde4.mk (sync with + plasma-applet-networkmanager). + * Install zeroconf plugin. + + -- Modestas Vainius Sun, 01 Feb 2009 04:25:27 +0200 + +ktorrent (3.2~beta1+svn902175-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 902175 by scripty. + - Date: 2008-12-27 18:21:46 +0200. + - Translations as of Sun, 28 Dec 2008 12:00:25 +0200 are included. + * Do not suggest php5-cli. No longer needed. + * Update install files. + * Improve descriptions. + * Update debian/not-installed. + * Split off ktorrent plasma applet to plasma-applet-ktorrent package: + - this "moves" kdebase-workspace-libs4+5 and libplasma dependencies to + plasma-applet-ktorrent package; + - make ktorrent package suggest plasma-applet-ktorrent; + - plasma-applet-ktorrent replaces earlier ktorrent package. + * Split off architecture independent files to ktorrent-data package. + * Add debian/installgen file. + * Update debian/copyright. + * Update lintian overrides. + * Add debian/watch file. + + -- Modestas Vainius Sun, 28 Dec 2008 14:20:08 +0200 + +ktorrent (3.1.5+dfsg.1-1ubuntu1) jaunty; urgency=low + + * Merge with Debian, remaining changes: + - Use Kubuntu's kde4.mk + - Add replaces/conflicts on ktorrent-kde4 + + -- Jonathan Riddell Thu, 11 Dec 2008 20:27:09 +0000 + +ktorrent (3.2~beta1+svn894712-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 894712 by guisson; + - Date: 2008-12-09 10:59:23 +0200 (An, 09 Grd 2008). + - Translation as of Wed, 10 Dec 2008 01:22:21 +0200 are included. + * Replace libboost1.35-dev build dependency with libboost-serialization-dev. + + -- Modestas Vainius Wed, 10 Dec 2008 01:20:36 +0200 + +ktorrent (3.1.5+dfsg.1-1) unstable; urgency=low + + * New upstream release. + + -- Modestas Vainius Sun, 16 Nov 2008 14:10:43 +0200 + +ktorrent (3.1.4+dfsg.1-1ubuntu1) jaunty; urgency=low + + * Merge with Debian, remaining changes: + - Use Kubuntu's kde4.mk + - Add replaces/conflicts on ktorrent-kde4 + + -- Jonathan Riddell Wed, 19 Nov 2008 15:57:20 +0000 + +ktorrent (3.2~beta1+dfsg.1-1) experimental; urgency=low + + * New upstream development snapshot: + - Working SyndicationPlugin (RSS). + - A lot faster loading of torrents with many files. + - Lots of other improvements. + * Resync custom debhelper scripts with amarok. Make necessary (small) + adjustments to packaging. + * Update debian/non-installed. + * Tighten KDE4 related build depends to 4.1.1 or later. + * Make quilt build dependency versionless again. Tweak README.source. + * Build depend on pkg-kde-tools >= 0.2. Use variables.mk from there and + enable linking with --as-needed. + * Build depend on kdepimlibs5-dev instead of kdelibs5-dev (needed by + SyndicationPlugin). + + -- Modestas Vainius Sun, 16 Nov 2008 13:56:42 +0200 + +ktorrent (3.2~~svn873807-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 873807 by guisson on 2008-10-20 10:58:12 +0300. + - The latest translations as of Mon, 20 Oct 2008 15:43:49 +0300 are + included in the orig tarball. + - Snapshot highlights: + * Beginning of the SyndicationPlugin (i.e. RSS plugin). + * Fix bug causing infinite DNS lookups in UDP tracker when lookup fails + (Closes: #502071). + * debian/Debhelper/kde4.mk: pass -DCMAKE_USE_RELATIVE_PATHS=ON to cmake when + cmake >= 2.6.2-1 is used. + * Rewrite debian/Debhelper/kde4.mk and make it thread-safe: + - Drop double-collon rules as they are not thread safe. + - Avoid running configure twice when repeating interrupted build. + * Build depend on cmake 2.6.2-1 for relative paths support. + * Build depend on libboost1.35-dev which is needed to build + SyndicationPlugin. + * Refresh patch. + * Drop debian/tmp from ktorrent.install. No longer needed as of dh v7. + * Add/remove files from ktorrent.install. + + -- Modestas Vainius Mon, 20 Oct 2008 16:25:42 +0300 + +ktorrent (3.1.4+dfsg.1-1) unstable; urgency=low + + * New upstream bugfix release: + - Make sure user is properly logged in when handling a torrent post in the + webgui. + - Prevent PHP injection attacks in webgui. + - Update file size in CacheFile::growFile, this fixes a SIGBUS error. + - Fix bug causing infinite DNS lookups in UDP tracker when lookup fails + (Closes: #502071). + - Remove default label text KSqueezedTextLabel in trackerview. + * Disable both 97_fix_target_link_libraries.diff patches. + + -- Modestas Vainius Mon, 20 Oct 2008 14:40:23 +0300 + +ktorrent (3.1.3+dfsg.2-1) unstable; urgency=low + + * No real code changes. Upstream tarball includes the patch below. + * Remove 01_webinterface_httpserver_time_h.diff - merged upstream. + * Build conflict with Qt 4.4.2-2 as it has broken shlibs. + + -- Modestas Vainius Wed, 01 Oct 2008 19:38:25 +0300 + +ktorrent (3.1.3+dfsg.1-1) unstable; urgency=low + + * New upstream release. + * Update patches (library minor version bumps). + * Update debian/not-installed. + * Add patch (01_webinterface_httpserver_time_h.diff) to fix upstream FTBFS + in plugins/webinterface/httpserver.cpp - missing include. + + -- Modestas Vainius Tue, 30 Sep 2008 00:31:08 +0300 + +ktorrent (3.2~~svn862155-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 862155 by guisson on 2008-09-18 12:07:56 +0300. + - The latest translations as of Thu, 18 Sep 2008 19:59:22 +0300 are + included in the orig tarball. + * Add libx11-dev to build-depends (until #499061 is fixed). + * Update ktorrent.install: add Download Order Plugin. + + -- Modestas Vainius Tue, 16 Sep 2008 00:03:40 +0300 + +ktorrent (3.2~~svn856351-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 856351 by guisson on 2008-09-02 20:49:37 +0300. + - The latest translations as of 2008-09-02 21:14:03 +0300 are included in + the orig tarball. + - Highlights: + * Reworked chunk management, which should result into much lower memory + consumption. + * Drop 97_* patches. + * Bump Standards-Version to 3.8.0: + - add README.source; + - build depend on quilt (>= 0.46-4.1) for + /usr/share/doc/quilt/README.source. + * Sync debhelper scripts with amarok 1.90 packaging. + * Build depend on kdebase-workspace-dev. Needed for taskmanager stuff. + + -- Modestas Vainius Tue, 02 Sep 2008 22:05:13 +0300 + +ktorrent (3.2~~svn847397-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 847397 by guisson on 2008-08-15 13:46:58 +0300. + - The latest translations as of 2008-08-16 02:03:00 +0300 are included in + the orig tarball. + * Remove the following patches (merged upstream): + - 01_arm_qreal_fixes.diff + - libbtcore/01_touch_proper_dnd_file.diff + * Refresh other patches. + * Update ktorrent.install: use wildcards for libraries due to frequent + library version changes. + + -- Modestas Vainius Sat, 16 Aug 2008 02:18:25 +0300 + +ktorrent (3.1.2+dfsg.1-1) unstable; urgency=low + + * New upstream bugfix release. + * Remove 01_arm_qreal_fixes.diff - merged upstream. + * Update other patches. + * Update ktorrent.install file. + + -- Modestas Vainius Wed, 06 Aug 2008 18:39:28 +0300 + +ktorrent (3.2~~svn839064-1) experimental; urgency=low + + * New upstream development snapshot: + - Revision 839064 by guisson on 2008-07-29 13:51:20 +0300. + - The latest translations as of 2008-07-29 14:29:00 +0300 are included in + the original tarball. + - Improvements: + * Lower CPU usage + * KTorrent plasmoid. + * BitFinder and Scripting plugins. + * Add 01_touch_proper_dnd_file.diff patch which fixes a bug causing ktorrent + to allocate useless filled with zeros in place of first and last chunks. + dnd files for each "Do not download" file in the multifile torrent. + When there are many small files in the torrent, disk usage of those dnd + files become very significant (up to 10-20% of the torrent size) and + allocation of such a torrent is very slow due to lots of I/O during writing + useless zeros. + * Refresh other patches. + * Switch packaging from CDBS to debhelper 7 (based on amarok 2 packaging). + * Build-depend on libplasma-dev. + * Update build-depends to at least KDE 4.1.0. + * Update ktorrent.install file: new plugins and KTorrent plasmoid. + * Remove Vcs fields from the debian/control until ktorrent packaging is + moved to git. + + -- Modestas Vainius Tue, 29 Jul 2008 16:20:32 +0300 + +ktorrent (3.1.1+dfsg.1-1) unstable; urgency=medium + + * New upstream bugfix release. + * Remove 00_r828279_branch_pull.diff - part of this release. + * Update other patches due to library version and soname changes. + * Add 01_arm_qreal_fixes.diff patch to fix FTBFS on arm(el) due to qreal + being float on this arch. + * Update install files (library versions and soname changes). + * Urgency medium to shorten testing migration time to 5 days. + + -- Modestas Vainius Mon, 14 Jul 2008 17:22:25 +0300 + +ktorrent (3.1+dfsg.2-1) unstable; urgency=low + + * Repack upstream tarball. Leave cmake/ dir alone, just prune non-free + stuff. + * Pull changes from ktorent 3.1 upstream branch up to revision 828279 + (debian/patches/00_r828279_branch_pull.diff). + * Remove the following patches because I'm not going to split off libbtcore + for lenny: + - libbtcore/01_libbtcore_export.diff + - 01_support_external_libbtcore.diff + - 02_no_dht_without_dht_headers.diff + * Upload to unstable. Now this source package ships KDE4 based version. + ktorrent 3 series already had 2 major stable releases and it has many + improvements. However, old KDE3 based KTorrent has been kept in + ktorrent2.2 source package for the Lenny release. If you wish to use + ktorrent 2.2.x (KDE3 based version), just install ktorrent2.2 package. In + addition, the following changes related to this move have been made in + this package: + - Add NEWS entry. + - Explain KTorrent 2.2.x vs. KTorrent 3.x situation in README.Debian. + * Bump kdelibs5-dev build-depend to the version in unstable. + * Drop libphonon-dev build-depend. It is pulled by kdelibs5-dev. + * Update URIs in Vcs fields. + * Set THIS_SHOULD_GO_TO_UNSTABLE=1 in debian/rules. I want this to be + unstable upload. + + -- Modestas Vainius Mon, 07 Jul 2008 15:00:35 +0300 + +ktorrent (3.1+dfsg.1-1) experimental; urgency=low + + * New upstream release. + * Update patches. + * Update install files (bumps of library minor versions). + + -- Modestas Vainius Tue, 17 Jun 2008 12:48:39 +0300 + +ktorrent (3.1~rc1+dfsg.1-1) experimental; urgency=low + + * New upstream development release. + * Drop ktorrent-dbg from ktorrent Recommends as ktorrent development + releases proved to be pretty stable (Closes: #483970). + * Update install files (soname bumps). + * Adopt patches to upstream changes. + + -- Modestas Vainius Wed, 04 Jun 2008 23:15:51 +0300 + +ktorrent (3.1.2+dfsg.1-0ubuntu2) intrepid; urgency=low + + * Add kubuntu_01_fix_infinite_dns_lookups_in_upd.diff from upstream SVN + (LP: #285807) + + -- Harald Sitter Mon, 20 Oct 2008 16:37:42 +0200 + +ktorrent (3.1.2+dfsg.1-0ubuntu1) intrepid; urgency=low + + * New upstream release (LP: #255171) + + -- Jonathan Thomas (The man) Tue, 05 Aug 2008 20:23:04 -0400 + +ktorrent (3.1.1+dfsg.1-0ubuntu1) intrepid; urgency=low + + * New upstream release + * Updated standards version to 3.8.0 + * Added Conflicts/Replaces ktorrent-kde4 in debian/control + * Updated paths in ktorrent.install libbtcore.so to 7.0.0 + libktcore.so to 6.1.0 + libktupnp.so to 3.2.0 + + -- Richard Birnie Mon, 21 Jul 2008 16:50:47 +0000 + +ktorrent (3.1~rc1+dfsg.1-1ubuntu2) intrepid; urgency=low + + * Suggest -dbg package, not recommend. Recommends are installed + on the CD by default now + + -- Jonathan Riddell Thu, 17 Jul 2008 15:10:19 +0100 + +ktorrent (3.1~rc1+dfsg.1-1ubuntu1) intrepid; urgency=low + + * New upstream development release + - Dropped 01_support_external_libbtcore.diffm, + 97_fix_target_link_libraries.diff, + 99_libbtcore_scramble_soname.diff + + -- Richard Birnie Tue, 03 Jun 2008 20:32:46 +0100 + +ktorrent (3.1~beta2+dfsg.1-1) experimental; urgency=low + + * New upstream development release. + * Embed libbtcore back to ktorrent package. I'm tired of continuous soname + bumping which results in ktorrent and/or libbtcore sitting in NEW on + almost each new upstream release. libbtcore will be split of again for + final 3.1 release. + - Add 99_libbtcore_scramble_soname.diff patch to scamble libbtcore soname. + libbtcore shipped in this package should be considered private. + - Do not install libbtcore development files. + - Remove build-dependency on libbtcore4-dev and libbtcore-dbg from + ktorrent-dbg recommends. + - Add libbtcore build-dependences: libgmp3-dev and libqca2-dev. + * Update install files (due to soname bumps mainly) + + -- Modestas Vainius Thu, 22 May 2008 03:31:32 +0300 + +ktorrent (3.1~beta1+dfsg.1-1) experimental; urgency=low + + [ Modestas Vainius ] + * New upstream development release: + - Highlights: + * A new media player plugin. + * Fixes a crash with Qt 4.4 on close. + * More bug fixes. + - libbtcore and cmake (BTCore specific) have been moved from the + upstream tarball to the source package of their own (libbtcore). + * Remove libbtcore specific build depends. + * Build depend on libbtcore4-dev. Add 01 patch to enable building against + external BTCore library. + * Improve ktorrent description a bit to bring it more up to date with + current features in 3.1~beta1. + * Build-depend on kdelibs5-dev (>= 4:4.0.72). + * Build-depend on pkg-config and libstreamanalyzer-dev. + * Add new files to ktorrent.install: + - /usr/lib/kde4/ktmediaplayerplugin.so + - /usr/share/kde4/services/ktmediaplayerplugin.desktop + * ktcore soname was bumped. Update ktorrent.install + * Add Vcs fields. + * Update debian/copyright. + + -- Debian KDE Extras Team Sun, 04 May 2008 01:11:21 +0300 + +ktorrent (3.1~~svn793490.dfsg.1-1) experimental; urgency=low + + [ Modestas Vainius ] + * New upstream development snapshot (r793490): + - The original tarball has never been released upstream. It's a snapshot + of KDE subversion repository /trunk/extragear/network/ktorrent with DFSG + non-free files removed. + - The latest included svn revision is r793490 commited by guisson + on 2008-04-04 10:45:34 +0300 + - The latest translations as of Fri, 04 Apr 2008 19:30:46 +0300 are + included in the original tarball. + * There are a few missing symbols in libbtcore3. Ignore this fact for now as + there are no rdepends and it's a development snapshot anyway. + * As always, add ktorrent-dbg to ktorrent Recommends as it's development + snapshot. + * Adopt debian/rules to debian/cdbs/kde.mk changes: + - Now I need to reset DEB_DH_INSTALL_SOURCEDIR instead of + DEB_DH_INSTALL_ARGS to get rid of --sourcedir=debian/tmp. + + -- Debian KDE Extras Team Fri, 04 Apr 2008 19:55:17 +0300 + +ktorrent (3.0.0.dfsg.1-1) experimental; urgency=low + + [ Modestas Vainius ] + * New upstream stable release (3.0) for KDE4: + - IPv6 support + - SOCKSv4 and v5 support + - The network interface to use, can now be selected + - Alternative flat list mode to display the files of a torrent + - Reorganization of the config dialog + - Individual files of a torrent can now be moved + - New queuemanager gui + * Remove ktorrent-dbg from ktorrent Recommends. Ktorrent 3 is stable now + (and I can confirm that from my experience). + * Drop kdebase-runtime-data-common and kdebase-data from ktorrent + Recommends, because actually kdebase-runtime-data-common is ktorrent + dependency via kdebase-runtime-data. As a result, it makes no sence to + recommend any alternatives too. + * Remove RSS plugin from ktorrent description. It is not available in this + release yet. + * List more features in ktorrent description. + * Resync patches: + - 01_system_geoip_and_flags.diff - removed, merged upstream. + - 02_kclosestnodessearch_cleanup.diff - removed, useless. + - 03_trunk_pull_r769910.diff - removed, it was taken from upstream. + - 04_pastedialog_support_remote_urls.diff - removed, merged upstream. + - 05_infowidget_localizednumber.diff - removed, merged upstream. + * Rename libbtcore2 to libbtcore3. Library changed soname though there was + no real need. Anyway, I notified upstream but I'm doing the change this + time. Modified files: + - debian/rules, debian/control + - debian/libbtcore2.symbols.amd64 -> debian/libbtcore3.symbols.amd64 + - debian/libbtcore2.install -> debian/libbtcore3.install + * Internal libktcore library changed soname too. Adjust + debian/ktorrent.install + + -- Debian KDE Extras Team Sun, 17 Feb 2008 20:53:06 +0200 + +ktorrent (3.0~rc1.dfsg.1-1) experimental; urgency=low + + [ Modestas Vainius ] + * New upstream development release for KDE4 (3.0 rc1) + * Major part of packaging was done from scratch in comparision with + 2.2.4.dfsg.1-1 therefore some changes might have been left undocumented + in this changelog. + * Remove all GeoIP stuff from ktorrent tarball including LGPL library + source code. Debian uses libgeoip1 anyway. + * Switching to CDBS and debhelper v6. Build-Depend on cdbs (>= 0.4.51) + to get non-empty -dbg package with compat=6. + * Update Standards-Version to 3.7.3.0 + * Now ktorrent-dbg recommends kdelibs5-dbg due to obvious reasons. Also add + ktorrent-dbg to ktorrent Recommends because this is upstream development + release. + * Drop Homepage stanza from ktorrent description, add Homepage field to + debian/control source section instead. + * New binary packages (libbtcore2 and libbtcore-dev) for btcore public + library. + * Add symbols file for libbtcore2 on amd64. Unfortunately, different + internal type of __SIZE_TYPE__ on at least amd64 and i386 (which as a + result affect C++ mangling of one symbol) and differing vtable offsets + (C++ specific) prevent me from making this symbols file arch any. + * Add kdebase-runtime-data-common as an alternative for kdebase-data in + ktorrent Recommends. They both ship flags used by ktorrent infowidget + plugin. + * Remove all patches from ktorrent 2.2.x. Add new patches: + - 01_system_geoip_and_flags.diff - add support for "system GeoIP" and + ability to skip installation of builtin country flags to the build + system. + - 02_kclosestnodessearch_cleanup.dif - cleanup unused variable. Endless + loop is fixed in 3.0rc1. + - 03_trunk_pull_r769910.diff - pull trunk up to revision 769910. Version + bump related changes skipped. This patch should fix socket leak which + made ktorrent almost unusable for more than 20 minutes. + - 04_pastedialog_support_remote_urls.diff - add back support for remote + urls in "Paste Torrent URL" dialog. The patch fixes incorrect KUrl API + usage. + - 05_infowidget_localizednumber.diff - show localized number instead of + "1e+02 %" in infowidget "Files" view "% Complete" column. + * Add "DM-Upload-Allowed: yes" to debian/control source section. + * Tweak overrides.lintian by adding "libktcore2 libktupnp1" to + package-name-doesnt-match-sonames. These libraries are supposed to be used + only by KTorrent and its utilities. + * A few corrections to ktorrent.1 manual page, also remove ktshell.1 man + page, because ktshell has not been ported yet. + * Add a man page for the new 'ktupnptest' binary. + * Bug fixes: + - "Refuses to add downloads to existing group" - seems to work in this + release (Closes: #460470). + - "wrong translate" - the string in question is translated differently in + this release. If I'm not wrong, the translation is correct + (Closes: #459241). + - "chunks window download speed column is misleading" - ktorrent 3.0 + groups all chunks from the same peer into single listitem for which + only single total speed associated with that peer is shown. Therefore, + there is no confusion anymore (Closes: #372162). + * Update debian/copyright. + + -- Debian KDE Extras Team Thu, 07 Feb 2008 12:45:31 +0200 + +ktorrent (2.2.4.dfsg.1-1) unstable; urgency=medium + + [ Modestas Vainius] + * New upstream release (Closes: #452334): + - Resolves frequent crashes on some systems (esp. SMP) (hence medium + urgency). + - "Set max upload/download rate" via tray icon menu should work correctly + now. + - A few additional web gui features. + * Add a few new patches to make cleverer dpkg-shlibdeps happy (almost): + - 05_cleanup_am_lib_qt.diff - originally a few other libraries like + libpng12 etc. were exported in automake LIB_QT variable. Only a few (if + any) KDE applications use them directly so linking any single binary + against them is unnecessary. KTorrent is not an exception. This patch + reduces LIB_QT to contain just the main Qt library. Previous version of the + variable has been made available under the name LIB_QT_EXT. As a result of + this patch, KTorrent depencences shrank to the bare minumum solving tons + of dpkg-shlibdeps warnings too. + - 06_makefile_am_fixups.diff - various fixes to Makefile.am's all around + the source code with the intention to resolve warnings reported by + dpkg-shlibdeps. The only type of warnings left are those regarding + libm.so.6, which can't be fixed because they come from g++ itself. + + -- Debian KDE Extras Team Thu, 22 Nov 2007 04:34:54 +0200 + +ktorrent (2.2.3.dfsg.1-1) unstable; urgency=low + + * New upstream release + * Add kdebase-kio-plugins to Recommends. Users willing to use IP Blocking + plugin should install it. (Closes: #443624) + + -- Debian KDE Extras Team Wed, 14 Nov 2007 23:49:56 +0200 + +ktorrent (2.2.2.dfsg.1-1) unstable; urgency=low + + [ Modestas Vainius ] + * New upstream bugfix release. + * Change ktorrent.menu section to Applications/Network/File Transfer. + + -- Debian KDE Extras Team Wed, 29 Aug 2007 23:06:30 +0300 + +ktorrent (2.2.1.dfsg.1-1) unstable; urgency=low + + * New upstream release: + - Fixes a few output format issues with ktshell. Thanks to + Avi Rozen for the patches (Closes: #432433, #432655). + - Also fixes the file selection bug and a number of other bugs. + * Corrent README.Debian. The patches mentioned there have been merged + upstream. + * Don't build with --enable-final on arm. + + -- Debian KDE Extras Team Mon, 23 Jul 2007 21:47:47 +0300 + +ktorrent (2.2.0.dfsg.1-1) unstable; urgency=low + + [Modestas Vainius] + * New upstream release. + * Fix override disparity - change ktorrent-dbg priority to extra. + * Drop ktorrent-dbg from ktorrent Recommends. 2.2 is stable now. + * Update patches: + - 10_use_system_geoip.diff - remove, merged upstream. + - 11_flagdb-alternative-source.diff - remove, merged upstream. + - 12_gnu_kfreebsd.diff - remove, merged upstream. + - 13_inst_apps.diff - remove, merged upstream. + - 14_wz_tooltip_CVE-2007-3154.diff - remove, merged upstream. + - 98_buildprep.diff - regenerate (relibtoolize). + + -- Debian KDE Extras Team Wed, 04 Jul 2007 01:46:19 +0300 + +ktorrent (2.2~rc1.dfsg.1-1) experimental; urgency=low + + [Modestas Vainius] + * New upstream development release. + * Update patches: + - 10_use_system_geoip.diff - fix offsets. + - 11_flagdb-alternative-source.diff - fix offsets. + - 98_buildprep.diff - regenerate. + * Add patch 14_wz_tooltip_CVE-2007-3154.diff - fixes CVE-2007-3154. + The patch is based on wz_tooltip.js from eGroupWare 1.4.001 + (Closes: #429209). + * Fix "debian-rules-ignores-make-clean-error" lintian warning. + * Use ${binary:Version} instead of ${Source-Version} for ktorrent-dbg + dependency on ktorrent. + + -- Debian KDE Extras Team Tue, 26 Jun 2007 11:17:02 +0300 + +ktorrent (2.2~beta1.dfsg.1-2) experimental; urgency=low + + [Modestas Vainius] + * Correct invalid character(s) in debian/control. + * Install *.la files for plugins (Closes: #427432). + + -- Debian KDE Extras Team Mon, 04 Jun 2007 04:54:27 +0300 + +ktorrent (2.2~beta1.dfsg.1-1) experimental; urgency=low + + [Modestas Vainius] + * New upstream development release (2.2 beta1). + * Prune upstream tarball from non-free parts, remove useless autotools + cache directory and create a new dfsg-free orig tarball. + * Update debian/patches: + 01_libtool_update.diff - regenerate. + 10_use_system_geoip.diff - adapt to upstream changes. + 11_flagdb-alternative-source.diff - adapt to upstream changes. + 98_buildprep.diff - regenerate. + * Add a new binary package, ktorrent-dbg, to hold debugging symbols. + Make appropriate changes to debian/control and debian/rules. + * Since this release is a development beta release, crashes are expected. + Therefore add ktorrent-dbg to ktorrent Recommends till final release. + * Add php5-cli to ktorrent Suggests. It is needed for KTorrent WebInterface + plugin. + * Update description of the ktorrent binary package. + + -- Debian KDE Extras Team Sun, 03 Jun 2007 22:19:03 +0300 + +ktorrent (2.1.4.dfsg.1-1) unstable; urgency=low + + * ktorrent is now maintained by Debian KDE Extras Team. + + [Modestas Vainius] + * New major upstream release (2.1): (Closes: #400186) + - µTorrent compatible peer exchange + - Zeroconf extension to find peers on the local network + - Switched the GUI to an IDEAl style GUI (like KDevelop) + - WebGUI plugin + - RSS plugin + - MAJOR improvements in down and upload performance + - Grouping feature to put torrents into groups + - Improved search plugin, which now allows multiple searches + - Allows setting priority for files in multifile torrents (Closes: #367120) + - Download speed is shown individually for each chunk in the chunk + window (Closes: #372162) + * New bugfix upstream release (2.1.4): (Closes: #420913) + - Fixed crash in parsing of DHT messages (Closes: #425043) + - Fixed problem with files with .. in their name (Closes: #425948) + - ScanFolder can now handle incomplete torrent files properly + * Prune upstream tarball from non-free parts (GeoIP Country Database and + country flag images). Patches 10 and 11 have been developed to make + impact of this as minimal as possible on the users. + * Remove LDFLAGS patch. It has been integrated upstream. + * debian/rules: upstream no longer ships .desktop files in applnk. + * Pass --enable-largefile to configure to enable large file (over 2GB) + support on 32bit architectures. There are known problems with >4GB files + on all architectures though (Closes: #402185). + * Use quilt as a patch management system. + * New patches: + - 10_use-system-geoip.diff - adds support for the --enable-system-geoip + configure parameter. It makes ktorrent build against system-wide GeoIP + library (libgeoip1) and use libgeoip1 default GeoIP Country database. + - 11_flagdb-alternative-source.diff - adds support for the + --disable-builtin-country-flags configure parameter. It allows to skip + installation of non-free ktorrent builtin country flags. In addition, + the patch adds support for the "flag database" that lets ktorrent get + country flag images from more than one filesystem source transparently. + It also adds additional (and the only for the debian package) source - + flag images shipped with kdebase. + - 12_gnu_kfreebsd.diff - fix FTBFS on GNU/kFreeBSD. Thanks to Petr Salinger + (Closes: #401753). + - Usual build system patches for relibtoolization. + * Add libgeoip-dev to Build-Depends. Build ktorrent with system GeoIP. + * Add kdebase-data to Recommends. It is needed as a source of the country + flag images for the Peer View. If not installed, country flags won't be + shown. + * Add debian/ktorrent.install. Prepare for multiple binary packages. + * Add Ktorrent to Debian menu (Closes: #392893). + * Now 'clean' target fully cleans the source tree after build + (Closes: #424476). + * Fully support DEB_BUILD_OPTIONS. + * Add manual pages for ktorrent and ktshell. + * Update README.Debian with new information about GeoIP and country flag + images and add NEWS about accuracy of the default GeoIP Country database. + + -- Debian KDE Extras Team Sun, 03 Jun 2007 16:03:17 +0300 + +ktorrent (2.0.3+dfsg1-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Redo the previous patch without kilt, integrating it into the buildsystem + directly (yuck !). + + -- Pierre Habouzit Thu, 22 Mar 2007 16:41:39 +0100 + +ktorrent (2.0.3+dfsg1-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix security issue (Closes: 414832, 414830): + + drop patch from #414832 in debian/patches. + + use quilt as a patches management system to deal with it. + + urgency set to high due to RC bugfix. + + -- Pierre Habouzit Thu, 22 Mar 2007 11:11:20 +0100 + +ktorrent (2.0.3+dfsg1-2) unstable; urgency=low + + * Resolve FTBFS - remove nonportable "-z now" from LDFLAGS (Closes: 395897) + + -- Joel Johnson Wed, 01 Nov 2006 14:06:36 -0800 + +ktorrent (2.0.3+dfsg1-1) unstable; urgency=medium + + * new upstream release (Closes: 392687) + + speed issues fix + * urgency=medium in order to get this into etch in time + + -- Joel Johnson Fri, 20 Oct 2006 11:13:24 -0700 + +ktorrent (2.0.2+dfsg1-1) unstable; urgency=medium + + * New upstream release (skipping 2.0, 2.0.1) (Closes: 378947, 384131) + * built with GeoIP support enabled, but removed the database file + and country flags due to licensing restrictions (see README.Debian) + * urgency=medium in order to get this into etch in time + + -- Joel Johnson Fri, 06 Oct 2006 09:15:07 -0700 + +ktorrent (2.2.5-0ubuntu1) hardy; urgency=low + + * New upstream release + - Numerous bugfixes, notably to DHT and webui + * Added a watchfile to track 2.x.x series + + -- John Dong Sun, 27 Jan 2008 17:26:13 -0500 + +ktorrent (2.2.4-0ubuntu1) hardy; urgency=low + + * New upstream release + * Drop kubuntu_04_revert_threaded_filelist, included upstream + + -- John Dong Wed, 21 Nov 2007 14:28:35 -0500 + +ktorrent (2.2.3-0ubuntu3) hardy; urgency=low + + * Adopt better approach from upstream for filelist (LP: #163426) + - kubuntu_04_revert_threaded_filelist.patch: Switch to fix + in r738262 using more responsive QTimers approach + + -- John Dong Sun, 18 Nov 2007 12:19:26 -0500 + +ktorrent (2.2.3-0ubuntu2) hardy; urgency=low + + * kubuntu_04_revert_threaded_filelist.patch: Revert svn revno 728567 + due to crashes. (LP: #163426) + + -- John Dong Sat, 17 Nov 2007 16:46:47 -0500 + +ktorrent (2.2.3-0ubuntu1) hardy; urgency=low + + * New upstream release + * kubuntu_03_remove_nasty_search_engines.patch: rebase against 2.2.3 + * Add kdebase-kio-plugins to Recommends, needed for IP Filters plugin + (LP: #150062) + + -- John Dong Fri, 16 Nov 2007 02:11:41 -0500 + +ktorrent (2.2.2-0ubuntu2) hardy; urgency=low + + * Reuploaded as the buildd seems to be fixed + + -- Anthony Mercatante Mon, 12 Nov 2007 14:16:59 +0100 + +ktorrent (2.2.2-0ubuntu1) hardy; urgency=low + + * New upstream release + * Removed upstream_01_fix_exit_crash.patch, merged upstream + + -- Anthony Mercatante Sat, 10 Nov 2007 11:22:05 +0100 + +ktorrent (2.2.1-0ubuntu3) gutsy; urgency=low + + * Fix debdiff spacing that I screwed up. + - Fixes LP: #130300 + + -- John Dong Sat, 11 Aug 2007 14:59:17 -0400 + +ktorrent (2.2.1-0ubuntu2) gutsy; urgency=low + + * Backport SVN rev 692284 + - Fixes LP: #130300 + + -- John Dong Fri, 10 Aug 2007 11:27:51 -0400 + +ktorrent (2.2.1-0ubuntu1) gutsy; urgency=low + + * New upstream release + - Fixes LP: #128341 + + -- Ryan Kavanagh Wed, 25 Jul 2007 15:37:41 -0400 + +ktorrent (2.2-0ubuntu2) gutsy; urgency=low + + * Fixed homepage in debian/control. Fixes LP: #113972 + + -- Anthony Mercatante Wed, 18 Jul 2007 23:29:16 +0200 + +ktorrent (2.2-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- Anthony Mercatante Wed, 04 Jul 2007 14:43:57 +0200 + +ktorrent (2.2~rc1-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- jdong Wed, 13 Jun 2007 23:05:16 -0400 + +ktorrent (2.2~beta1-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- John Dong Sat, 26 May 2007 15:22:14 -0400 + +ktorrent (2.1.4-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- John Dong Tue, 24 Apr 2007 14:47:01 -0400 + +ktorrent (2.1.3-0ubuntu1) feisty; urgency=low + + * New upstream release + * fixes crasher in 2.1.2 series + + -- John Dong Sat, 7 Apr 2007 22:04:38 -0400 + +ktorrent (2.1.2-0ubuntu1) feisty; urgency=low + + * New Upstream Release + + -- Richard A. Johnson Fri, 9 Mar 2007 13:09:09 -0600 + +ktorrent (2.1.1-0ubuntu1) feisty; urgency=low + + * New Upstream Release + + -- Richard A. Johnson Mon, 5 Mar 2007 13:05:13 -0600 + +ktorrent (2.1-0ubuntu1) feisty; urgency=low + + * New upstream release + + -- Anthony Mercatante Mon, 5 Feb 2007 20:52:18 +0100 + +ktorrent (2.1~rc1-0ubuntu3) feisty; urgency=low + + * debian/patches/kubuntu_03_remove_nasty_search_engines.patch: + - isohunt is just back online. + + -- Anthony Mercatante Mon, 22 Jan 2007 16:51:45 +0100 + +ktorrent (2.1~rc1-0ubuntu1) feisty; urgency=low + + * New upstream release + * uTorrent-compatible Peer Exchange + * Zeroconf LAN peer finder + * Misc bugfixes + * dropped debian/patches/kubuntu_01_autoconf2.60.patch, included upstream + * dropped debian/patches/kubuntu_02_kdepot.patch, no longer needed + + -- John Dong Wed, 3 Jan 2007 15:21:56 -0500 + +ktorrent (2.1~beta1-0ubuntu2) feisty; urgency=low + + * Corrected builddeps (docbook2x instead of docbook) + + -- Anthony Mercatante Mon, 18 Dec 2006 16:09:09 +0100 + +ktorrent (2.1~beta1-0ubuntu1) feisty; urgency=low + + * New upstream release + * Cleaned packaging, switching to cdbs + * Removed obsolete kubuntu_03_powerpc_compile_fix.diff + + -- Anthony Mercatante Tue, 05 Dec 2006 18:14:05 +0100 + +ktorrent (2.0.3+dfsg1-0ubuntu2) feisty; urgency=low + + * Add kubuntu_03_remove_nasty_search_engines.diff to remove + nasty search engines + + -- Anthony Mercatante Tue, 11 Nov 2006 15:56:19 -0800 + +ktorrent (2.0.3+dfsg1-0ubuntu1) edgy; urgency=low + + * built with GeoIP support enabled, but removed the database file + and country flags due to licensing restrictions (see README.Debian) + + -- Jonathan Riddell Fri, 20 Oct 2006 12:56:19 +0100 + +ktorrent (2.0.3-0ubuntu4) edgy; urgency=low + + * Add kubuntu_00_autoconf2.60.diff to allow relibtoolise with autoconf 2.6 + * Add kubuntu_02_powerpc_compile_fix.diff to fix fail to build on powerpc, + Closes https://launchpad.net/malone/66169 + + -- Jonathan Riddell Sun, 15 Oct 2006 22:41:14 +0100 + +ktorrent (2.0.3-0ubuntu3) edgy; urgency=low + + * Removed kubuntu_04_ktshell_bash.patch, included + upstream + + -- Anthony Mercatante Thu, 11 Oct 2006 16:30:01 +0200 + +ktorrent (2.0.3-0ubuntu2) edgy; urgency=low + + * Removed kubuntu_02_r586445_choke.patch and + kubuntu_03_r588047_faster_download.patch adopted upstream + + -- Brandon Holtsclaw Tue, 10 Oct 2006 17:46:01 -0500 + +ktorrent (2.0.3-0ubuntu1) edgy; urgency=low + + * New Upstream Version ( uvfe approved by mdz ) + * Closes Malone: #65066 + + -- Brandon Holtsclaw Tue, 10 Oct 2006 17:46:01 -0500 + +ktorrent (2.0.2-0ubuntu3) edgy; urgency=low + + * Added kubuntu_04_ktshell_bash.patch, closes Malone + #61324 + + -- Anthony Mercatante Mon, 02 Oct 2006 21:01:07 +0200 + +ktorrent (2.0.2-0ubuntu2) edgy; urgency=low + + * Backport SVN revisions 586445 and 588047, fixes download speed oscillation + and instances where all peers are choked/snubbed. + + -- John Dong Wed, 27 Sep 2006 02:07:07 -0400 + +ktorrent (2.0.2-0ubuntu1) edgy; urgency=low + + * New Upstream Release + * UVFe approved by Colin Watson ( https://launchpad.net/bugs/58139 ) + + -- Brandon Holtsclaw Mon, 18 Sep 2006 13:28:37 -0500 + +ktorrent (2.0.1-0ubuntu1) edgy; urgency=low + + * New Upstream Version approved by mdz at https://launchpad.net/bugs/57219 + + -- Brandon Holtsclaw Tue, 22 Aug 2006 09:51:44 -0500 + +ktorrent (2.0-0ubuntu2) edgy; urgency=low + + * Fixed install issue by removing debian/ktorrent/usr/share/applnk and + debian/ktorrent/usr/share/mimelnk in debian/rules already provided by kdelibs-data + * Closes Malone Bug #55969 + + -- Brandon Holtsclaw Wed, 09 Aug 2006 09:51:44 -0500 + +ktorrent (2.0-0ubuntu1) edgy; urgency=low + + * New Upstream Version + * Updated admin/ directory so .pot would generate correctly + * commented debian/patches/kubuntu_01_kdepot.patch from debian/rules , not needed + * added libgmp3-dev to build depends as required to build 2.0 + + -- Brandon Holtsclaw Wed, 09 Aug 2006 09:51:44 -0500 + +ktorrent (1.2-1ubuntu3) edgy; urgency=low + + * debian/rules: moved the fix from clean to install rule, to fix the ftbfs, + really + + -- Stephan Hermann Thu, 13 Jul 2006 09:51:44 +0200 + +ktorrent (1.2-1ubuntu2) edgy; urgency=low + + * debian/rules: Removed translations/nb/messages/ktorrent.po to be friendly + to our buildds + + -- Stephan Hermann Wed, 12 Jul 2006 18:37:00 +0200 + +ktorrent (1.2-1ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + + -- Stephan Hermann Thu, 6 Jul 2006 13:53:48 +0200 + +ktorrent (1.2-1) unstable; urgency=low + + * Acknowledge NMU (Closes: 349983) + Actually removed debian libtoolization temporarily due to + package inclusion of a library in upstream. Soon to be reapplied + with proper support for avoiding redundant dependencies. + * New upstream release (Closes: 348605) + + Doesn't freeze/lock anymore (Closes: 340766) + + Properly builds with G++ 4.1 (Closes: 357096) + * add shlib support and post{inst,rm} via debhelper for new shared library + * Set --enable-final as configure directive + * Update copyright file to reflect additional files and changed dir layout + * patch upstream Makefile.in to include translations directory + * Update upstream homepage URL in control + + -- Joel Johnson Tue, 6 Jun 2006 22:07:58 -0700 + +ktorrent (1.2-0ubuntu5) dapper; urgency=low + + * added debian/patches/kubuntu_01_kdepot.patch + * debian/rules: added generation of po/ktorrent.pot + + -- Bastian Holst Tue, 23 May 2006 17:37:34 +0200 + +ktorrent (1.2-0ubuntu4) dapper; urgency=low + + * debian/rules: Remove ./translations/nb/messages/ktorrent.po since it's + empty (and thus invalid). + + -- Martin Pitt Tue, 23 May 2006 12:25:14 +0200 + +ktorrent (1.2-0ubuntu3) dapper; urgency=low + + * Added dh_iconcache + + -- Brandon Holtsclaw Tue, 23 May 2006 17:05:49 +0100 + +ktorrent (1.2-0ubuntu2) dapper; urgency=low + + * Make debian/rules relibtoolise, installs .po translation files + closes Malone #45791 + + -- Jonathan Riddell Mon, 22 May 2006 17:05:49 +0100 + +ktorrent (1.2-0ubuntu1) dapper; urgency=low + + * New Upstream Version + * Sponsored upload for Sarah Hobbs + + -- Jonathan Riddell Fri, 10 Feb 2006 12:02:16 +1100 + +ktorrent (1.1-2.1) unstable; urgency=low + + * Non-maintainer upload by sponsor due to no maintainer reaction. + * Relibtoolize _after_ setting AM_MAINTAINER_MODE (Closes: #349983) + + -- Florian Ernst Tue, 7 Feb 2006 13:15:30 +0100 + +ktorrent (1.1-2) unstable; urgency=low + + * Limit build dependencies to what we directly depend on + and set AM_MAINTAINER_MODE in configure.in.in + * Change section from net to kde + * Remove sponsor as Uploader as requested + + -- Joel Johnson Thu, 1 Dec 2005 13:11:22 -0800 + +ktorrent (1.1-1build1) dapper; urgency=low + + * Rebulid for libstdc++ transition + + -- Jonathan Riddell Sat, 17 Dec 2005 15:20:35 +0000 + +ktorrent (1.1-1) unstable; urgency=low + + * Initial Debian Upload (Closes: #313659) + * Update copyright file with new FSF address + * Incorporate changes to a previous package version + - disable rpath in ./configure + - add lintian override (missing manpage) + Thanks to Jonathan Riddell + * Add linda override (missing manpage) + + -- Joel Johnson Thu, 24 Oct 2005 08:47:09 -0700 + --- ktorrent-3.2.1+dfsg.1.orig/debian/copyright.po +++ ktorrent-3.2.1+dfsg.1/debian/copyright.po @@ -0,0 +1,110 @@ +---------------------------------------------------------------------- +-- Short Copyright Holders Report -- +-- (104 holders out of 124 copyright statements) -- +---------------------------------------------------------------------- + +Copyright: © 2006-2008 Jannick Kuhr +Copyright: © 2008 Viesturs Zarins +Copyright: © 2006 Xavier Batlle i Pèlach +Copyright: © 2006 Canonical Ltd +Copyright: © 2007-2008 Spiros Georgaras +Copyright: © 2007-2008 Serdar Soytetir +Copyright: © 2005-2008 Stefan Asserhäll +Copyright: © 2002-2008 Free Software Foundation Inc. +Copyright: © 2005-2008 Nicola Ruggero +Copyright: © 2005 Waldemar Silva Júnior +Copyright: © 2005-2008 Enrique Matias Sanchez (aka Quique) +Copyright: © 2005-2008 Marek Laane +Copyright: © 2007-2008 Nick Shaforostoff +Copyright: © 2008 Martin Schlander +Copyright: © 2005-2008 Rinse de Vries +Copyright: © 2007-2008 mvillarino +Copyright: © 2008 Freek de Kruijf +Copyright: © 2006 Danny Kukawka +Copyright: © 2008 Auk Piseth +Copyright: © 2007 Václav Čermák +Copyright: © 2008 Mickael Sibelle +Copyright: © 2008 Madsen +Copyright: © 2008 Luiz Fernando Ranghetti +Copyright: © 2005 Maarten Rütten +Copyright: © 2008 Ivan Petrouchtchak +Copyright: © Najib Zulon Idrissi Katouni +Copyright: © 2005 Златко Попов +Copyright: © 2006, 2008 Manfred Wiese +Copyright: © 2008 Jure Repinc +Copyright: © 2007-2008 Jerzy Trzeciak +Copyright: © Thomas 'Dark-Side' Refis +Copyright: © 2007 Brendan Osborne +Copyright: © 2008 Cristian Tarsoaga +Copyright: © 2007-2008 Karl Ove Hufthammer +Copyright: © 2005-2006, 2008 Bram Schoenmakers +Copyright: © Pierre "delroth" Bourdon +Copyright: © 2007-2008 Sébastien Renard +Copyright: © 2008 Evgeniy Ivanov +Copyright: © 2007-2008 Andrius Štikonas +Copyright: © Kevin "Katen" Soltysiak +Copyright: © 2007 Youssef Chahibi +Copyright: © Quentin "Cygal" Pradet +Copyright: © 2005 Barış Metin +Copyright: © 2008 Maris Nartiss +Copyright: © 2008 Anne-Marie Mahfouf +Copyright: © 2008 Sergiu Bivol +Copyright: © 2006-2008 Martijn van Vliet +Copyright: © 2008 Franklin Weng +Copyright: © 2006 Engin Çağatay +Copyright: © 2008 Vit Pelcak +Copyright: © 2005-2006 Klara Cihlarova +Copyright: © 2008 Erdal Ronahi +Copyright: © 2006 Marcos Goienetxe +Copyright: © 2005 Joris Guisson +Copyright: © 2007 Richard Fric +Copyright: © 2007-2008 Benoit Verduyn +Copyright: © 2007-2008 Toussis Manolis +Copyright: © 2007 Akın Ömeroğlu +Copyright: © 2005 Lukáš Tinkl +Copyright: © 2008 Marta Rybczyńska +Copyright: © 2006-2008 Sönke Dibbern +Copyright: © 2008 Frank Weng (a.k.a. Franklin) +Copyright: © 2008 Alexander Nicolaysen Sørnes +Copyright: © 2008 Artem Sereda +Copyright: © 2007 Darafei Praliaskouski +Copyright: © 2008 Dobrovolny +Copyright: © 2007 Everest Law +Copyright: © 2008 Nicolas Ternisien +Copyright: © 2008 Tamas Szanto +Copyright: © 2007 Markus Hietaranta +Copyright: © 2007-2008 Jaime Robles +Copyright: © 2005-2006 Patrick Trettenbrein +Copyright: © 2006 Ion Gaztañaga +Copyright: © 2007 Donatas Glodenis +Copyright: © 2008 Yuri Chornoivan +Copyright: © 2005-2007 Zlatko Popov +Copyright: © 2007 doutor.zero +Copyright: © Gabriel "bluestorm" Scherer +Copyright: © 2008 Marce Villarino +Copyright: © Simon "asmanur" Castellan +Copyright: © 2008 George Pantsis +Copyright: © 2008 Goodhorse +Copyright: © 2008 Khoem Sokhem +Copyright: © 2007-2008 Hu Wei +Copyright: © 2007 Klára Cihlářová +Copyright: © 2008 Ravishankar Shrivastava +Copyright: © 2007-2008 Xavier Batlle Pelach +Copyright: © 2005-2008 Thomas Reitelbach +Copyright: © Grégoire "Metzgermeister" Duchêne +Copyright: © 2007 Marek Stopka +Copyright: © 2005-2008 Yukiko Bando +Copyright: © 2008 Eirik U. Birkeland +Copyright: © 2006 Hasso Tepper +Copyright: © 2007-2008 Cindy McKee +Copyright: © 2006, 2008 Josep Ma. Ferrer +Copyright: © 2005 sejishikong +Copyright: © Laurențiu Buzdugan +Copyright: © 2005 Stephan Johach +Copyright: © 2005-09-23 Funda Wang +Copyright: © 2007-2008 Yannig Marchegay +Copyright: © 2008 Eng Vannak +Copyright: © 2005 Pablo de Vicente +Copyright: © 2008 Ni Hui + + --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent-data.install +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent-data.install @@ -0,0 +1,4 @@ +../ktorrent.xpm usr/share/pixmaps/ +usr/share/icons/hicolor/* +usr/share/kde4/apps/ktorrent/* +usr/share/locale/* --- ktorrent-3.2.1+dfsg.1.orig/debian/not-installed +++ ktorrent-3.2.1+dfsg.1/debian/not-installed @@ -0,0 +1,132 @@ +# Development stuff +./usr/include/libbtcore/bcodec/bdecoder.h +./usr/include/libbtcore/bcodec/bencoder.h +./usr/include/libbtcore/bcodec/bnode.h +./usr/include/libbtcore/bcodec/value.h +./usr/include/libbtcore/btcore_export.h +./usr/include/libbtcore/btversion.h +./usr/include/libbtcore/datachecker/datachecker.h +./usr/include/libbtcore/datachecker/datacheckerlistener.h +./usr/include/libbtcore/datachecker/datacheckerthread.h +./usr/include/libbtcore/datachecker/multidatachecker.h +./usr/include/libbtcore/datachecker/singledatachecker.h +./usr/include/libbtcore/dht/announcetask.h +./usr/include/libbtcore/dht/database.h +./usr/include/libbtcore/dht/dht.h +./usr/include/libbtcore/dht/dhtbase.h +./usr/include/libbtcore/dht/dhttrackerbackend.h +./usr/include/libbtcore/dht/kbucket.h +./usr/include/libbtcore/dht/kclosestnodessearch.h +./usr/include/libbtcore/dht/key.h +./usr/include/libbtcore/dht/node.h +./usr/include/libbtcore/dht/nodelookup.h +./usr/include/libbtcore/dht/pack.h +./usr/include/libbtcore/dht/rpccall.h +./usr/include/libbtcore/dht/rpcmsg.h +./usr/include/libbtcore/dht/rpcserver.h +./usr/include/libbtcore/dht/task.h +./usr/include/libbtcore/dht/taskmanager.h +./usr/include/libbtcore/diskio/cache.h +./usr/include/libbtcore/diskio/cachefile.h +./usr/include/libbtcore/diskio/chunk.h +./usr/include/libbtcore/diskio/chunkmanager.h +./usr/include/libbtcore/diskio/deletedatafilesjob.h +./usr/include/libbtcore/diskio/dndfile.h +./usr/include/libbtcore/diskio/movedatafilesjob.h +./usr/include/libbtcore/diskio/multifilecache.h +./usr/include/libbtcore/diskio/piecedata.h +./usr/include/libbtcore/diskio/preallocationthread.h +./usr/include/libbtcore/diskio/singlefilecache.h +./usr/include/libbtcore/download/chunkdownload.h +./usr/include/libbtcore/download/chunkselector.h +./usr/include/libbtcore/download/downloader.h +./usr/include/libbtcore/download/httpdownloader.h +./usr/include/libbtcore/download/packet.h +./usr/include/libbtcore/download/piece.h +./usr/include/libbtcore/download/request.h +./usr/include/libbtcore/interfaces/blocklistinterface.h +./usr/include/libbtcore/interfaces/cachefactory.h +./usr/include/libbtcore/interfaces/chunkdownloadinterface.h +./usr/include/libbtcore/interfaces/chunkselectorinterface.h +./usr/include/libbtcore/interfaces/exitoperation.h +./usr/include/libbtcore/interfaces/logmonitorinterface.h +./usr/include/libbtcore/interfaces/monitorinterface.h +./usr/include/libbtcore/interfaces/peerinterface.h +./usr/include/libbtcore/interfaces/peersource.h +./usr/include/libbtcore/interfaces/piecedownloader.h +./usr/include/libbtcore/interfaces/queuemanagerinterface.h +./usr/include/libbtcore/interfaces/torrentfileinterface.h +./usr/include/libbtcore/interfaces/torrentinterface.h +./usr/include/libbtcore/interfaces/trackerslist.h +./usr/include/libbtcore/interfaces/webseedinterface.h +./usr/include/libbtcore/migrate/cachemigrate.h +./usr/include/libbtcore/migrate/ccmigrate.h +./usr/include/libbtcore/migrate/migrate.h +./usr/include/libbtcore/mse/bigint.h +./usr/include/libbtcore/mse/encryptedauthenticate.h +./usr/include/libbtcore/mse/encryptedserverauthenticate.h +./usr/include/libbtcore/mse/functions.h +./usr/include/libbtcore/mse/rc4encryptor.h +./usr/include/libbtcore/mse/streamsocket.h +./usr/include/libbtcore/net/address.h +./usr/include/libbtcore/net/bufferedsocket.h +./usr/include/libbtcore/net/downloadthread.h +./usr/include/libbtcore/net/networkthread.h +./usr/include/libbtcore/net/portlist.h +./usr/include/libbtcore/net/socket.h +./usr/include/libbtcore/net/socketgroup.h +./usr/include/libbtcore/net/socketmonitor.h +./usr/include/libbtcore/net/socks.h +./usr/include/libbtcore/net/speed.h +./usr/include/libbtcore/net/uploadthread.h +./usr/include/libbtcore/peer/accessmanager.h +./usr/include/libbtcore/peer/authenticate.h +./usr/include/libbtcore/peer/authenticatebase.h +./usr/include/libbtcore/peer/authenticationmonitor.h +./usr/include/libbtcore/peer/chunkcounter.h +./usr/include/libbtcore/peer/packetreader.h +./usr/include/libbtcore/peer/packetwriter.h +./usr/include/libbtcore/peer/peer.h +./usr/include/libbtcore/peer/peerdownloader.h +./usr/include/libbtcore/peer/peerid.h +./usr/include/libbtcore/peer/peermanager.h +./usr/include/libbtcore/peer/peeruploader.h +./usr/include/libbtcore/peer/serverauthenticate.h +./usr/include/libbtcore/peer/utpex.h +./usr/include/libbtcore/torrent/advancedchokealgorithm.h +./usr/include/libbtcore/torrent/choker.h +./usr/include/libbtcore/torrent/globals.h +./usr/include/libbtcore/torrent/peersourcemanager.h +./usr/include/libbtcore/torrent/server.h +./usr/include/libbtcore/torrent/statsfile.h +./usr/include/libbtcore/torrent/timeestimator.h +./usr/include/libbtcore/torrent/torrent.h +./usr/include/libbtcore/torrent/torrentcontrol.h +./usr/include/libbtcore/torrent/torrentcreator.h +./usr/include/libbtcore/torrent/torrentfile.h +./usr/include/libbtcore/torrent/uploader.h +./usr/include/libbtcore/tracker/httptracker.h +./usr/include/libbtcore/tracker/tracker.h +./usr/include/libbtcore/tracker/udptracker.h +./usr/include/libbtcore/tracker/udptrackersocket.h +./usr/include/libbtcore/util/array.h +./usr/include/libbtcore/util/autorotatelogjob.h +./usr/include/libbtcore/util/bitset.h +./usr/include/libbtcore/util/constants.h +./usr/include/libbtcore/util/error.h +./usr/include/libbtcore/util/file.h +./usr/include/libbtcore/util/fileops.h +./usr/include/libbtcore/util/functions.h +./usr/include/libbtcore/util/log.h +./usr/include/libbtcore/util/logsystemmanager.h +./usr/include/libbtcore/util/ptrmap.h +./usr/include/libbtcore/util/sha1hash.h +./usr/include/libbtcore/util/sha1hashgen.h +./usr/include/libbtcore/util/timer.h +./usr/include/libbtcore/util/urlencoder.h +./usr/include/libbtcore/util/waitjob.h +./usr/include/libbtcore/util/win32.h +./usr/lib/libbtcore.so +./usr/lib/libktcore.so +./usr/lib/libktupnp.so +./usr/share/kde4/apps/cmake/modules/FindBTCore.cmake --- ktorrent-3.2.1+dfsg.1.orig/debian/ktorrent.1 +++ ktorrent-3.2.1+dfsg.1/debian/ktorrent.1 @@ -0,0 +1,52 @@ +.TH ktorrent 1 "FEBRUARY 2008" +.SH NAME +ktorrent \- a BitTorrent program for KDE. +.SH SYNOPSIS +\fBktorrent\fP [Qt-options] [KDE-options] [Options] [URL] +.SH DESCRIPTION +\fBKTorrent\fP is a BitTorrent program for KDE. You can use it to +download files from BitTorent network. Its features include speed capping +(both down and up), integrated searching, UDP tracker support, UPnP support, +IP blocking plugin, protocol encryption, file prioritization and much more. + +If you specify URL, KTorrent will load the torrent from the specified location and +start downloading it. + +.SS Options +.TP +\fB\-\-silent\fP +Silently open torrent given on URL + +.SS Generic options +.TP +\fB\-\-help\fP +Show help about options +.TP +\fB\-\-help-qt\fP +Show Qt specific options +.TP +\fB\-\-help-kde\fP +Show KDE specific options +.TP +\fB\-\-help-all\fP +Show all options +.TP +\fB\-\-author\fP +Show author information +.TP +\fB\-v, \-\-version\fP +Show version information +.TP +\fB\-\-license\fP +Show license information +.TP +\fB\-\-\fP +End of options + +.SH AUTHORS +KTorrent was written by: + Joris Guisson + Ivan Vasic + Alan Jones + Diego R. Brogna + Krzysztof Kundzicz --- ktorrent-3.2.1+dfsg.1.orig/debian/copyright.in +++ ktorrent-3.2.1+dfsg.1/debian/copyright.in @@ -0,0 +1,28 @@ +This package was debianized by Joel Johnson on +Tue, 21 Jun 2005 11:19:46 -0700. +This package has been maintained by Debian KDE Extras Team +since Thu, 10 May 2007 13:11:35 +0300 + +The original source was downloaded from +http://ktorrent.org/index.php?page=downloads + +Upstream Authors: + Joris Guisson + Ivan Vasic + +Upstream copyright holders: + +[copyright.source] + +Translators (po/*): + +[copyright.po] + +Debian packaging (debian/*) is under: + +Copyright: © 2005-2007 Joel Johnson + © 2007-2008 Modestas Vainius + © Joey Hess (debhelper scripts) +License: GPL-2+ + +[copyright.licenses] --- ktorrent-3.2.1+dfsg.1.orig/debian/README.Debian +++ ktorrent-3.2.1+dfsg.1/debian/README.Debian @@ -0,0 +1,51 @@ +--- KTorrent 2.2.x (KDE3) and KTorrent 3.x (KDE4) in Debian 5.0 (Lenny) --- + +Since there have been two stable KTorrent 3.x (for KDE4) releases by the time +of writing and KTorrent 2.2.x (for KDE3) has not been updated much in the +meantime, I decided to ship both versions in Debian 5.0 (Lenny) choosing +KTorrent 3.x as default. As a result of this decision: + +* You can get the old KTorrent 2.2.x release by installing ktorrent2.2 package if + you don't want to install KDE4 runtime dependencies or new features are not + important for you. + +* Since ktorrent binary package provides KDE4 based release from now on, + it will pull in KDE4 runtime dependencies. However, it is a newer KTorrent + upstream release and has more features. It should work fine with KDE3 desktop + environment. + +* You cannot co-install both ktorrent2.2 and ktorrent. They conflict with + each other and you can have only one of them on the system at the same time. + +* KTorrent 3.1 supports migration of torrents from KTorrent 2.2 but not + vice-versa. Therefore, if you start downloading/uploading torrents with + KTorrent 3.1, you will probably not be able to resume them with KTorrent 2.2 + if you downgrade. + +--- GeoIP and builtin contry flags licensing issues --- + +Due to licensing restrictions, the source and binary packages of ktorrent do +not include a GeoIP database. The upstream source has been patched to use +system-wide GeoIP library (available in the libgeoip1 package). That package +provides a free GeoIP Country database that is a bit outdated and not very +accurate but it may still be sufficient for most KTorrent users, because +determination of the peer geographic location is only additional and +non-crucial KTorrent functionality, implemented for information purposes. + +However, if you wish to get more accurate information about peer geographic +location, there is a free to download (but undistributable by Debian) "GeoLite +Country" database and even more accurate paid "GeoIP Country" database +available at the following URL: + +http://www.maxmind.com/app/geoip_country + +Please consult libgeop1 documentation how to upgrade GeoIP database on your +system once you obtain a proper database file (geoip.dat). + +The KTorrent builtin country flag images are also not distributed with this +package due to obscure license. If you would like to see country flags next +to the country names, please install kdebase-data package (that is +recommended by the ktorrent binary package). + +The commands used to modify upstream source tarball can be found at debian/rules +"prune-tarball" target. --- ktorrent-3.2.1+dfsg.1.orig/debian/copyright.licenses +++ ktorrent-3.2.1+dfsg.1/debian/copyright.licenses @@ -0,0 +1,106 @@ +License for all components unless stated otherwise: +-- + GNU General Public License, version 2 or later (GPL-2+) + + On Debian systems, the complete text of the + GNU General Public License version 2 can be found in + /usr/share/common-licenses/GPL-2 +-- + +Other used licenses: +-- + GNU General Public License, version 3 or later (GPL-3+) + 23 file(s) are licensed under this license: + + plugins/bitfinder/* + plugins/bitfinder/filter/* + plugins/bitfinder/source/* + + On Debian systems, the complete text of the + GNU General Public License version 3 can be found in + /usr/share/common-licenses/GPL-3 +-- + +-- + GNU Lesser General Public License, version 2.1 or later (LGPL-2.1+) + 1 file(s) are licensed under this license: + + + plugins/webinterface/www/default/wz_tooltip.js + + On Debian systems, the complete text of the + GNU Lesser General Public License version 2.1 can be found in + /usr/share/common-licenses/LGPL-2.1 +-- + +-- + GNU Library General Public License, version 2 or later (LGPL-2+) + 3 file(s) are licensed under this license: + + + libbtcore/btcore_export.h + + libktcore/ktcore_export.h + + libktupnp/ktupnp_export.h + + On Debian systems, the complete text of the + GNU Library General Public License version 2 can be found in + /usr/share/common-licenses/LGPL-2 +-- + +-- + + libbtcore/util/win32.cpp + + libbtcore/util/win32.h + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +-- + +-- + cmake/modules/* + + libbtcore/config-btcore.h.cmake + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. +-- + +-- + BSD License + + + plugins/webinterface/common/sha1.js + + On Debian systems, the complete text of the BSD License can be found in + /usr/share/common-licenses/BSD +-- --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Dh_Lib.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Dh_Lib.pm @@ -0,0 +1,36 @@ +package Debian::Debhelper::Dh_Lib::Ex; +use strict; + +do "/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm"; +Debian::Debhelper::Dh_Lib->import(); + +sub _prepend_args_from_env { + my $envvar = shift; + if (defined($ENV{$envvar})) { + # Ignore leading/trailing whitespace. + unshift @ARGV, + split("\0", `$^X -e 'print join("\\0", \@ARGV)' -- $ENV{$envvar}`); + } +} + +my $dh_lib_init = \&Debian::Debhelper::Dh_Lib::init; +sub init_ex { + # If {DH_HELPER}_OPTIONS is set, prepend it to @ARGV + my $dh_helpername = uc(basename($0)); + if ($dh_helpername =~ /DH_/) { + # Only for dh_* helpers, not for dh(1). + _prepend_args_from_env("${dh_helpername}_OPTIONS") + } + + # Check if DH_ECHO_ARGS environment variable is set and if so, + # print debhelper program name and options to stdout. + if (exists $ENV{DH_ECHO_ARGS} && $ENV{DH_ECHO_ARGS}) { + my $echoname = ($0 =~ m@^/@) ? basename($0) : $0; + print $echoname, " ", escape_shell(@ARGV), "\n"; + } + &$dh_lib_init(@_); +} + +*Debian::Debhelper::Dh_Lib::init = *Debian::Debhelper::Dh_Lib::Ex::init_ex; + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystem.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystem.pm @@ -0,0 +1,58 @@ +# Defines debhelper buildsystem plugin interface. +# PLUGIN_PRIORITY() and is_plugin_applicable() methods +# are common for all plugins handled by Dh_Plugins, +# other methods are buildsystem specific. +# +# Copyright: © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem; + +# Priority of the plugin. All plugins in the plugin directory +# are sorted ascendingly by this number and checked for applicability +# in the resulting sequence. Therefore, the smaller the number, the +# earlier the plugin may be picked (if it is applicable). +# Defaults to very low priority by default. +sub PLUGIN_PRIORITY { 99; } + +# Custom plugin features. Currently supported 'out-of-source-tree' +# for configure. +sub FEATURES { {}; } + +# Module (class) method. It is called to check if the plugin is +# applicable in the current situation, e.g. the package has the buildsystem +# which the plugin handles. Method is also given a 'data' parameter. +# Its value can be configure, build, test, install or clean representing +# which build stage the plugin will used to handle. +# This method must be reimplemented to return 1 appriopriate cases. +sub is_plugin_applicable { 0; } + +# Module (class) method. Creates a new instance of the plugin. +# Default implementation creates an empty instance. +sub new { + my $cls = shift; + return bless({ }, $cls); +} + +# Instance method called at configure stage. +# Default implementation does nothing. +sub configure { 1; } + +# Instance method called at build stage. +# Default implementation does nothing. +sub build { 1; } + +# Instance method called at test stage. +# Default implementation does nothing. +sub test { 1; } + +# Instance method called at install stage. It needs 'destdir' +# argument specifying where to install all package files. +# Default implementation does nothing. +sub install { 1; } + +# Instance method called at clean stage. +# Default implementation does nothing. +sub clean { 1; } + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Dh_Plugins.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Dh_Plugins.pm @@ -0,0 +1,48 @@ +package Debian::Debhelper::Dh_Plugins; + +use strict; +use File::Basename (); +use File::Spec (); +use Debian::Debhelper::Dh_Lib; + +sub find_and_load_plugin { + my $plugin_location = shift; + my $plugin_data = shift; + my @plugin_names = @_; + + $plugin_data = '' unless ($plugin_data); + my $plugin_rel_dirname = File::Spec->catdir(split /::/, $plugin_location); + for my $inc (@INC) { + my $path = File::Spec->catfile($inc, $plugin_rel_dirname); + if (-d $path) { + my @modules; + for my $module_path (glob "$path/*.pm") { + my $plugin_name = File::Basename::basename($module_path); + $plugin_name =~ s/\.pm$//; + if (!@plugin_names || grep(/^\Q$plugin_name\E$/i, @plugin_names)) { + my $module = "${plugin_location}::${plugin_name}"; + if (eval "require $module" && !$@) { + # Module initialization was successful. + push @modules, $module; + } else { + error("Unable to load plugin '$module' due to problems listed below:\n $@"); + } + } + } + # Sort by priority and check which plugin is appriopriate + for my $module (sort { $a->PLUGIN_PRIORITY() <=> + $b->PLUGIN_PRIORITY() } @modules) { + if ($module->is_plugin_applicable($plugin_data)) { + return eval "new ${module}('$plugin_data')"; + } + } + } + } + return undef; +} + +sub find_buildsystem_plugin { + return find_and_load_plugin("Debian::Debhelper::Buildsystems", @_); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Sequence/kde4.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Sequence/kde4.pm @@ -0,0 +1,32 @@ +#!/usr/bin/perl -w + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib; + +# Support automatic detection of -dbg packages +sub sourcepackage { + open (CONTROL, 'debian/control') || + error("cannot read debian/control: $!\n"); + while () { + if (/^Source:\s*(\S+)/) { + close(CONTROL); + return $1; + } + } + close CONTROL; + error("could not find Source: line in control file."); +} + +my @arch_packages = getpackages("arch"); +my $srcpkg = sourcepackage(); +if (grep( { $_ eq "$srcpkg-dbg" } @arch_packages) == 1) { + my @options; + if (exists $ENV{DH_STRIP_OPTIONS}) { + push @options, $ENV{DH_STRIP_OPTIONS}; + } + push @options, "--dbg-package=$srcpkg-dbg"; + $ENV{DH_STRIP_OPTIONS} = join(' ', @options); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystems/Makefile.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystems/Makefile.pm @@ -0,0 +1,150 @@ +# A buildsystem plugin for handling Makefile based projects +# (like autotools based ones). Configuration and +# out-of-source-tree builds are handled in the Makefile_Builddir +# plugin. +# +# Copyright: © 2008 Joey Hess +# © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystems::Makefile; + +use strict; +use File::Spec; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Buildsystem; +use base 'Debian::Debhelper::Buildsystem'; + +sub PLUGIN_PRIORITY { 90; } + +sub _dpkg_architecture_value { + my ($cls, $var) = @_; + my $value=`dpkg-architecture -q$var 2>/dev/null` || error("dpkg-architecture failed"); + chomp $value; + return $value; +} + +sub _get_path_to_source { + my ($self, $file) = @_; + return ($file) ? + File::Spec->catfile($self->{path_to_source}, $file) : + $self->{path_to_source}; +} + +sub _sourcepackage { + my $self = shift; + + open (CONTROL, $self->_get_path_to_source('debian/control')) || + error("cannot read debian/control: $!\n"); + while () { + chomp; + s/\s+$//; + if (/^Source:\s*(.*)/) { + close CONTROL; + return $1; + } + } + + close CONTROL; + error("could not find Source: line in control file."); +} + +sub _exists_make_target { + my ($cls, $target) = @_; + # Use make -n to check to see if the target would do + # anything. There's no good way to test if a target exists. + my $ret=`$ENV{MAKE} -s -n $target 2>/dev/null`; + chomp $ret; + return length($ret); +} + +sub _make_first_existing_target { + my $cls = shift; + my $targets = shift; + + $ENV{MAKE}="make" unless exists $ENV{MAKE}; + foreach my $target (@$targets) { + if ($cls->_exists_make_target($target)) { + doit($ENV{MAKE}, $target, @_); + return $target; + } + } + return undef; +} + +############################# + +sub is_plugin_applicable { + my ($cls, $action) = @_; + if (grep /^\Q$action\E$/, qw{build test install clean}) { + return -e "Makefile" || -e "makefile" || -e "GNUmakefile"; + } + # Do not handle configure stage here. It will be taken care by + # Makefile_Builddir to support out-of-source-tree builds + return 0; +} + +sub new { + my $cls = shift; + return bless({ + 'path_to_source' => '.'}, $cls); +} + +sub configure { + my $self = shift; + + # Standard set of options for configure. + my @opts; + push @opts, "--build=" . + $self->_dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); + push @opts, "--prefix=/usr"; + push @opts, "--includedir=\${prefix}/include"; + push @opts, "--mandir=\${prefix}/share/man"; + push @opts, "--infodir=\${prefix}/share/info"; + push @opts, "--sysconfdir=/etc"; + push @opts, "--localstatedir=/var"; + push @opts, "--libexecdir=\${prefix}/lib/" . $self->_sourcepackage(); + push @opts, "--disable-maintainer-mode"; + push @opts, "--disable-dependency-tracking"; + # Provide --host only if different from --build, as recommended in + # autotools-dev README.Debian: When provided (even if equal) autotools + # 2.52+ switches to cross-compiling mode. + if ($self->_dpkg_architecture_value("DEB_BUILD_GNU_TYPE") + ne $self->_dpkg_architecture_value("DEB_HOST_GNU_TYPE")) { + push @opts, "--host=" . $self->_dpkg_architecture_value("DEB_HOST_GNU_TYPE"); + } + + doit($self->_get_path_to_source("configure"), @opts, @{$dh{U_PARAMS}}); +} + +sub build { + doit(exists $ENV{MAKE} ? $ENV{MAKE} : "make", @{$dh{U_PARAMS}}); +} + +sub test { + my $self = shift; + $self->_make_first_existing_target(['test', 'check'], @{$dh{U_PARAMS}}); +} + +sub install { + my ($self, $destdir) = @_; + + $ENV{MAKE}="make" unless exists $ENV{MAKE}; + my @params="DESTDIR=$destdir"; + + # Special case for MakeMaker generated Makefiles. + if (-e "Makefile" && + system('grep -q "generated automatically by MakeMaker" Makefile') == 0) { + push @params, "PREFIX=/usr"; + } + + $self->_make_first_existing_target(['install'], @params, @{$dh{U_PARAMS}}); +} + +sub clean { + my $self = shift; + $self->_make_first_existing_target( + ['distclean', 'realclean', 'clean'], @{$dh{U_PARAMS}}); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystems/Perl_Build.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystems/Perl_Build.pm @@ -0,0 +1,49 @@ +# A buildsystem plugin for handling Perl Build based projects. +# +# Copyright: © 2008 Joey Hess +# © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystems::Perl_Build; + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Buildsystem; +use base 'Debian::Debhelper::Buildsystem'; + +sub PLUGIN_PRIORITY { 10; } + +sub is_plugin_applicable { + return -e "Build.PL"; +} + +sub new { + my $cls = shift; + return bless( {}, $cls ); +} + +sub configure { + $ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this. + doit("perl", "Build.PL", "installdirs=vendor", @{$dh{U_PARAMS}}); +} + +sub build { + doit("perl", "Build", @{$dh{U_PARAMS}}); +} + +sub test { + doit(qw/perl Build test/, @{$dh{U_PARAMS}}); +} + +sub install { + my ($self, $destdir) = @_; + + doit("perl", "Build", "install", "destdir=$destdir", + "create_packlist=0", @{$dh{U_PARAMS}}); +} + +sub clean { + doit("perl", "Build", "--allow_mb_mismatch", 1, "distclean", @{$dh{U_PARAMS}}); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystems/CMake.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystems/CMake.pm @@ -0,0 +1,59 @@ +# A buildsystem plugin for handling CMake based projects. +# It uses out-of-source-tree Makefile handler for everything but +# configuration. +# +# Copyright: © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystems::CMake; + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Buildsystems::Makefile_Builddir; +use base 'Debian::Debhelper::Buildsystems::Makefile_Builddir'; + +sub PLUGIN_PRIORITY { 10; } + +# No custom features +sub FEATURES { {}; } + +sub _add_cmake_flag { + my ($self, $name, $val) = @_; + push @{$self->{cmake_flags}}, "-D$name=$val"; +} + +############################################## + +sub is_plugin_applicable { + return -e "CMakeLists.txt"; +} + +sub new { + my $cls = shift; + my $self = Debian::Debhelper::Buildsystems::Makefile_Builddir::new($cls, @_); + # Always default to out-of-source-tree builds. Otherwise + # source directory would be hardly cleanable. + $self->build_out_of_source_tree(1); + $self->{cmake_flags} = []; + return $self; +} + +sub configure { + my $self = shift; + + $self->_mk_builddir(); + + # Standard set of cmake flags + $self->_add_cmake_flag("CMAKE_INSTALL_PREFIX", "/usr"); + $self->_add_cmake_flag("CMAKE_C_FLAGS", $ENV{CFLAGS}) if (exists $ENV{CFLAGS}); + $self->_add_cmake_flag("CMAKE_CXX_FLAGS", $ENV{CXXFLAGS}) if (exists $ENV{CXXFLAGS}); + $self->_add_cmake_flag("CMAKE_SKIP_RPATH", "ON"); + $self->_add_cmake_flag("CMAKE_VERBOSE_MAKEFILE", "ON"); + + $self->_cd_to_builddir(); + doit("cmake", $self->_get_path_to_source(), + @{$self->{cmake_flags}}, @{$dh{U_PARAMS}}); + $self->_cd_to_sourcedir(); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystems/Makefile_Builddir.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystems/Makefile_Builddir.pm @@ -0,0 +1,151 @@ +# A buildsystem plugin for handling Makefile based projects +# for building outside the source tree (in the subdirectory). +# It also handles configuration for both in-source-tree and +# out-of-source-tree Makefile builds. +# +# Copyright: © 2008 Joey Hess +# © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystems::Makefile_Builddir; + +use strict; +use File::Spec; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Buildsystems::Makefile; +use base 'Debian::Debhelper::Buildsystems::Makefile'; + +sub PLUGIN_PRIORITY { 90; } + +sub FEATURES { + # Perl emits a warning when there is one element in the anon hash + return { 'out-of-source-tree' => 1, '' => '' }; +} + +sub _get_builddir_name { + my $cls = shift; + return "obj-" . $cls->_dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); +} + +sub _cd { + my ($cls, $dir) = @_; + chdir $dir or error("Unable to chdir to $dir"); +} + +sub _get_builddir { + my $self = shift; + return $self->{builddir}; +} + +sub _cd_to_builddir { + my $self = shift; + if ($self->_get_builddir() && $self->_get_path_to_source() eq ".") { + $self->_cd($self->_get_builddir()); + $self->{path_to_source} = ".."; + return 1; + } + return 0; +} + +sub _cd_to_sourcedir { + my $self = shift; + if ($self->_get_builddir() && $self->_get_path_to_source() ne ".") { + $self->_cd($self->_get_path_to_source()); + $self->{path_to_source} = "."; + return 1; + } + return 0; +} + +sub _mk_builddir { + my $self = shift; + + my $builddir = $self->_get_builddir(); + if ($builddir && ! -d $builddir) { + $self->_cd_to_sourcedir(); + doit("mkdir", $builddir); + } +} + +################################### + +sub is_plugin_applicable { + my ($cls, $action) = @_; + my $builddir = $cls->_get_builddir_name(); + + if (-d $builddir && grep /^\Q$action\E$/, qw{build test install clean}) { + $cls->_cd($builddir); + my $ret = + Debian::Debhelper::Buildsystems::Makefile->is_plugin_applicable($action); + $cls->_cd(".."); + return $ret; + } elsif ($action eq "configure") { + return -x "configure"; + } + return 0; +} + +sub new { + my ($cls, $action) = @_; + my $self = + Debian::Debhelper::Buildsystems::Makefile::new(@_); + # Default to building out-of-source-tree unless we are + # at configure stage (which we handle here for both + # in-source-tree and out-of-source-tree cases) + $self->build_out_of_source_tree($action ne "configure"); + return $self; +} + +sub build_out_of_source_tree { + my ($self, $val) = @_; + $self->{builddir} = ($val) ? $self->_get_builddir_name() : undef; +} + +sub configure { + my $self = shift; + + # Support both in-source-tree and out-of-source-tree + if ($self->_get_builddir()) { + $self->_mk_builddir(); + $self->_cd_to_builddir(); + $self->SUPER::configure(@_); + $self->_cd_to_sourcedir(); + } else { + $self->SUPER::configure(@_); + } +} + +sub build { + my $self = shift; + $self->_cd_to_builddir(); + $self->SUPER::build(@_); + $self->_cd_to_sourcedir(); +} + +sub test { + my $self = shift; + $self->_cd_to_builddir(); + $self->SUPER::test(@_); + $self->_cd_to_sourcedir(); +} + +sub install { + my $self = shift; + $self->_cd_to_builddir(); + $self->SUPER::install(@_); + $self->_cd_to_sourcedir(); +} + +sub clean { + my $self = shift; + + if ($self->_get_builddir()) { + doit("rm", "-rf", $self->_get_builddir(), "Makefile"); + } else { + $self->_cd_to_builddir(); + $self->SUPER::clean(@_); + $self->_cd_to_sourcedir(); + } +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/Debian/Debhelper/Buildsystems/Python_Distutils.pm +++ ktorrent-3.2.1+dfsg.1/debian/Debian/Debhelper/Buildsystems/Python_Distutils.pm @@ -0,0 +1,54 @@ +# A buildsystem plugin for handling Python Distutils based projects +# +# Copyright: © 2008 Joey Hess +# © 2008 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystems::Python_Distutils; + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Buildsystem; +use base 'Debian::Debhelper::Buildsystem'; + +sub PLUGIN_PRIORITY { 10; } + +sub is_plugin_applicable { + return -e "setup.py"; +} + +sub new { + my $cls = shift; + return bless( {}, $cls ); +} + +sub configure { + # Do nothing + 1; +} + +sub build { + doit("python", "setup.py", "build", @{$dh{U_PARAMS}}); +} + +sub test { + 1; +} + +sub install { + my ($self, $destdir) = @_; + + doit("python", "setup.py", "install", + "--root=$destdir", + "--no-compile", "-O0", + @{$dh{U_PARAMS}}); +} + +sub clean { + doit("python", "setup.py", "clean", "-a", @{$dh{U_PARAMS}}); + # The setup.py might import files, leading to python creating pyc + # files. + doit('find', '.', '-name', '*.pyc', '-exec', 'rm', '{}', ';'); +} + +1; --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_bugfiles +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_bugfiles @@ -0,0 +1,131 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_bugfiles - install bug reporting customization files into package build directories + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [B<-A>] [S>] + +=head1 DESCRIPTION + +dh_bugfiles is a debhelper program that is responsible for installing +bug reporting customization files (bug scripts and/or bug control files +and/or presubj files) into package build directories. + +This helper program installs the following files if they are found: + +=over 3 + +=item B, B + +It is the script to be run by the bug reporting program for generating a bug +report template. This file is installed as F into the +package build directory if no other types of bug reporting customization +files are going to be installed for the package in question. Otherwise, +this file is installed as F. Finally, the +installed script is given execute permissions. + +=item B, B + +It is the bug control file containing some directions for the bug reporting +tool. This file is installed as F into the +package build directory. + +=item B, B + +The contents of this file are displayed to the user by the bug reporting +tool before allowing the user to write a bug report on the package to the +Debian Bug Tracking System. This file is installed as +F into the package build directory. + +=back + +=head1 OPTIONS + +=over 4 + +=item B<-A>, B<--all> + +Install debian/bug-* files to ALL packages acted on when respective +debian/package.bug-* files do not exist. Normally, debian/bug-* will +be installed to the first package only. + +=back + +=cut + +init(); + +# Types of bug files this debhelper program handles. +# Hash value is the name of the pkgfile of the respective +# type. +my %bugfile_types = ( + "script" => "bug-script", + "control" => "bug-control", + "presubj" => "bug-presubj", +); + +foreach my $package (@{$dh{DOPACKAGES}}) { + next if is_udeb($package); + + my $tmp=tmpdir($package); + my $dir="$tmp/usr/share/bug/$package"; + + # Gather information which bug files are available for the + # package in question + my %bugfiles=(); + while (my ($type, $pkgfilename) = each(%bugfile_types)) { + my $file=pkgfile($package,$pkgfilename); + if ($file) { + $bugfiles{$type}=$file; + } elsif (-f "debian/$pkgfilename" && $dh{PARAMS_ALL}) { + $bugfiles{$type}="debian/$pkgfilename"; + } + } + + # If there is only a bug script to install, install it as + # /usr/share/bug/$package (unless this path is a directory) + if (! -d $dir && scalar(keys(%bugfiles)) == 1 && exists $bugfiles{script}) { + doit("install","-D","-p","-m755",$bugfiles{script},$dir); + } elsif (scalar(keys(%bugfiles)) > 0) { + if (-f $dir) { + # Move usr/share/bug/$package to usr/share/bug/$package/script + doit("mv", $dir, "${dir}.tmp"); + doit("install","-d",$dir); + doit("mv", "${dir}.tmp", "$dir/script"); + } elsif (! -d $dir) { + doit("install","-d",$dir); + } + while (my ($type, $srcfile) = each(%bugfiles)) { + doit("install","-p","-m644",$srcfile, "$dir/$type"); + } + } + + # Ensure that the bug script is executable + if (-f $dir) { + chmod 0755, $dir; + } elsif (-f "$dir/script") { + chmod 0755, "$dir/script"; + } +} + +=head1 SEE ALSO + +F (needs B package installed) + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Modestas Vainius + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_auto_clean +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_auto_clean @@ -0,0 +1,59 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_auto_clean - automatically cleans up after a build + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Plugins; + +=head1 SYNOPSIS + +B [S>] [S I>] + +=head1 DESCRIPTION + +dh_auto_clean is a debhelper program that tries to automatically clean up +after a package build. If there's a Makefile and it contains a "distclean", +"realclean", or "clean" target, then this is done by running make (or MAKE, +if the environment variable is set). If there is a setup.py or Build.PL, it +is run to clean the package. + +This is intended to work for about 90% of packages. If it doesn't work, or +tries to use the wrong clean target, you're encouraged to skip using +dh_auto_clean at all, and just run make clean manually. + +=head1 OPTIONS + +=over 4 + +=item B<--> I + +Pass "params" to the program that is run. These can be used to supplement +or override the any standard parameters that dh_auto_clean passes. + +=back + +=cut + +init(); + +my $plugin = Debian::Debhelper::Dh_Plugins::find_buildsystem_plugin("clean"); +if ($plugin) { + $plugin->clean(); +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_auto_test +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_auto_test @@ -0,0 +1,60 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_auto_test - automatically runs a package's test suites + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Plugins; + +=head1 SYNOPSIS + +B [S>] [S I>] + +=head1 DESCRIPTION + +dh_auto_test is a debhelper program that tries to automatically run a +package's test suite. If there's a Makefile and it contains a "test" +or "check" target, then this is done by running make (or MAKE, if the +environment variable is set). If the test suite fails, the command will +exit nonzero. If there's no test suite, it will exit zero without doing +anything. + +This is intended to work for about 90% of packages with a test suite. If it +doesn't work, you're encouraged to skip using dh_auto_test at all, and +just run the test suite manually. + +=head1 OPTIONS + +=over 4 + +=item B<--> I + +Pass "params" to the program that is run. These can be used to supplement +or override the any standard parameters that dh_auto_test passes. + +=back + +=cut + +init(); + +my $plugin = Debian::Debhelper::Dh_Plugins::find_buildsystem_plugin("test"); +if ($plugin) { + $plugin->test(); +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/kde4.mk +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/kde4.mk @@ -0,0 +1,75 @@ +# Using quilt patch system +include /usr/share/quilt/quilt.make + +# Include default KDE 4 cmake configuration variables +include /usr/share/pkg-kde-tools/makefiles/1/variables.mk + +# Pass configuration options +DEB_CMAKE_KDE4_DEFAULT_FLAGS = $(DEB_CMAKE_KDE4_FLAGS) $(DEB_CMAKE_CUSTOM_FLAGS) +export DH_AUTO_CONFIGURE_OPTIONS = -- $(DEB_CMAKE_KDE4_DEFAULT_FLAGS) + +# Handle DEB_BUILD_OPTIONS=noopt and C(XX)FLAGS +ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + export CFLAGS=-g -O2 +else + export CFLAGS=-g -O0 +endif +export CXXFLAGS=$(CFLAGS) + +# DEB_BUILD_OPTIONS parallel=n support (policy 3.8.0 compliance) +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +# Pass -DCMAKE_USE_RELATIVE_PATHS=ON to cmake when cmake >= 2.6.2-1 is used. +CMAKE_DEB_VERSION := $(shell dpkg -l 'cmake' | grep 'ii' | awk '{print $$3}') +ifeq (yes,$(shell dpkg --compare-versions '$(CMAKE_DEB_VERSION)' ge '2.6.2-1' && echo 'yes')) + DEB_CMAKE_CUSTOM_FLAGS += -DCMAKE_USE_RELATIVE_PATHS=ON +endif + +# Include debian in the PERL lib search path and executable search path +_PERLLIB := $(PERLLIB) +_PATH := $(PATH) +export PERLLIB := $(CURDIR)/debian:$(_PERLLIB) +export PATH := $(CURDIR)/debian/debhelper:$(_PATH) +DH = dh --with kde4 + +# Default targets +DEB_ALL_DEFAULT_TARGETS := build install binary binary-arch binary-indep clean +KDE4_ALL_DEFAULT_TARGETS := $(patsubst %,kde4/%,$(DEB_ALL_DEFAULT_TARGETS)) + +# Ensure right permissions are set for custom debhelper scripts +dh_permissions: + chmod a+x debian/debhelper/dh* + +$(KDE4_ALL_DEFAULT_TARGETS): | dh_permissions + +.PHONY: dh_permissions + +# Clean rule is more complex. Cleaning should be done +# before unpatching. +clean_before_unpatch: + $(DH) clean + +unpatch: clean_before_unpatch + +kde4/clean: unpatch + +# Required relationship between default targets +$(filter-out build clean kde4/build kde4/clean,$(DEB_ALL_DEFAULT_TARGETS) $(KDE4_ALL_DEFAULT_TARGETS)): build +binary binary-arch binary-indep kde4/binary kde4/binary-arch kde4/binary-indep: install + +kde4/build: patch + +# Default implementation (DH) of default targets. +# Exclude clean as we have a specific target for it +$(filter-out kde4/clean,$(KDE4_ALL_DEFAULT_TARGETS)): + $(DH) $(subst kde4/,,$@) + +# An implicit rule which runs default kde4/ targets +# It can be easily overriden. +%: kde4/% + + +.PHONY: $(KDE4_ALL_DEFAULT_TARGETS) clean_before_unpatch --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_auto_build +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_auto_build @@ -0,0 +1,58 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_auto_build - automatically builds a package + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Plugins; + +=head1 SYNOPSIS + +B [S>] [S I>] + +=head1 DESCRIPTION + +dh_auto_build is a debhelper program that tries to automatically +build a package. If a Makefile is found, this is done by running make (or +MAKE, if the environment variable is set). +If there's a setup.py, or Build.PL, it is run to build the package. + +This is intended to work for about 90% of packages. If it doesn't work, +you're encouraged to skip using dh_auto_build at all, and just run the +build process manually. + +=head1 OPTIONS + +=over 4 + +=item B<--> I + +Pass "params" to the program that is run. These can be used to supplement +or override any standard parameters that dh_auto_build passes. + +=back + +=cut + +init(); + +my $plugin = Debian::Debhelper::Dh_Plugins::find_buildsystem_plugin("build"); +if ($plugin) { + $plugin->build(); +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh @@ -0,0 +1,528 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh - debhelper command sequencer + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B sequence [B<--until> I] [B<--before> I] [B<--after> I] [B<--remaining>] [B<--with> I] [S>] + +=head1 DESCRIPTION + +dh runs a sequence of debhelper commands. The supported sequences +correspond to the targets of a debian/rules file: "build", "clean", +"install", "binary-arch", "binary-indep", and "binary". + +Commands in the binary-indep sequence are passed the "-i" option to ensure +they only work on binary independent packages, and commands in the +binary-arch sequences are passed the "-a" option to ensure they only work +on architecture dependent packages. + +Each debhelper command will record when it's successfully run in +debian/package.debhelper.log. (Which dh_clean deletes.) So dh can tell +which commands have already been run, for which packages, and skip running +those commands again. + +Each time dh is run, it examines the log, and finds the last logged command +that is in the specified sequence. It then continues with the next command +in the sequence. The B<--until>, B<--before>, B<--after>, and B<--remaining> +options can override this behavior. + +=head1 OPTIONS + +=over 4 + +=item B<--until> I + +Run commands in the sequence until and including I, then stop. + +=item B<--before> I + +Run commands in the sequence before I, then stop. + +=item B<--after> I + +Run commands in the sequence that come after I. + +=item B<--remaining> + +Run all commands in the sequence that have yet to be run. + +=item B<--with> I + +Add the debhelper commands specified by the given addon to appropriate places +in the sequence of commands that is run. This option can be repeated more +than once, and is used when there is a third-party package that provides +debhelper commands. See "SEQUENCE ADDONS" below for documentation about what +such packages should do to be supported by --with. + +=back + +All other options passed to dh are passed on to each command it runs. This +can be used to set an option like "-v" or "-X" or "-N", as well as for more +specialised options. + +=head1 COMMAND SPECIFICATION + +I can be a full name of a debhelper command, or a substring. It'll first +search for a command in the sequence exactly matching the name, to avoid any +ambiguity. If there are multiple substring matches, the last one in the +sequence will be used. + +=head1 SEQUENCE ADDONS + +When B<--with> I is used, dh loads the perl module +Debian::Debhelper::Sequence::I. Two functions are provided to let +the module add its commands to sequences: + +=over 4 + +=item Debian::Debhelper::Dh_Lib::insert_before(existing_command, new_command) + +Insert I in sequences before I. + +=item Debian::Debhelper::Dh_Lib::insert_after(existing_command, new_command) + +Insert I in sequences after I. + +=item Debian::Debhelper::Dh_Lib::remove_command(existing_command) + +Remove I from the list of commands to run. + +=back + +=cut + +sub command_pos { + my $command=shift; + my @sequence=@_; + + foreach my $i (0..$#sequence) { + if ($command eq $sequence[$i]) { + return $i; + } + } + + my @matches; + foreach my $i (0..$#sequence) { + if ($sequence[$i] =~ /\Q$command\E/) { + push @matches, $i; + } + } + if (! @matches) { + error "command specification \"$command\" does not match any command in the sequence" + } + else { + return pop @matches; + } +} + +=head1 EXAMPLES + +To see what commands are included in a sequence, without actually doing +anything: + + dh binary-arch --no-act + +This is a very simple rules file, for packages where the default sequences of +commands work with no additional options. + + #!/usr/bin/make -f + %: + dh $@ + +This is a simple rules file that is a good starting place for customisation. +(It's also available in F + + #!/usr/bin/make -f + + build: build-stamp + build-stamp: + dh build + touch build-stamp + + clean: + dh clean + + install: build install-stamp + install-stamp: + dh install + touch install-stamp + + binary-arch: install + dh binary-arch + + binary-indep: install + dh binary-indep + + binary: binary-arch binary-indep + +Often you'll want to pass an option to ./configure. This uses dh to run all +commands before L, then runs that command by hand, +and then finished up by running the rest of the sequence. You could also +run ./configure by hand, instead of bothering with using dh_auto_configure. +And if necessary, you can add commands to run automake, etc here too. + + build: build-stamp + build-stamp: + dh build --before configure + dh_auto_configure -- --kitchen-sink=yes + dh build --after configure + touch build-stamp + +Here's how to skip two automated in a row (configure and build), and +instead run the commands by hand. + + build: build-stamp + build-stamp: + dh build --before configure + ./mondoconfig + make universe-explode-in-delight + dh build --after build + touch build-stamp + +Another common case is wanting to run some code manually after a particular +debhelper command is run. + + install: build install-stamp + install-stamp: + dh install --until dh_fixperms + # dh_fixperms has run, now override it for one program + chmod 4755 debian/foo/usr/bin/foo + # and continue + dh install --after dh_fixperms + touch install-stamp + +It's also fine to run debhelper commands early. Just make sure that at +least dh_prep is run from the sequence first, and be sure to use the +B<--remaining> option to ensure that commands that normally come before +those in the sequence are still run. + + install: build install-stamp + install-stamp: + dh install --until dh_prep + dh_installdocs README TODO + dh_installchangelogs Changes + dh install --remaining + touch install-stamp + + binary-arch: install + dh_strip -X foo + dh binary-arch --remaining + +=cut + +# Stash this away before init modifies it. +my @ARGV_orig=@ARGV; + +init(options => { + "until=s" => \$dh{UNTIL}, + "after=s" => \$dh{AFTER}, + "before=s" => \$dh{BEFORE}, + "remaining" => \$dh{REMAINING}, + "with=s" => sub { + my ($option,$value)=@_; + push @{$dh{WITH}},$value; + }, +}); +inhibit_log(); + +# Definitions of sequences. +my %sequences; +$sequences{build} = [qw{ + dh_testdir + dh_auto_configure + dh_auto_build + dh_auto_test +}], +$sequences{clean} = [qw{ + dh_testdir + dh_auto_clean + dh_clean +}]; +$sequences{install} = [@{$sequences{build}}, qw{ + dh_testroot + dh_prep + dh_installdirs + dh_auto_install + + dh_install + dh_installdocs + dh_installchangelogs + dh_installexamples + dh_installman + + dh_installcatalogs + dh_installcron + dh_installdebconf + dh_installcatalogs + dh_installemacsen + dh_installifupdown + dh_installinfo + dh_installinit + dh_installmenu + dh_installmime + dh_installmodules + dh_installlogcheck + dh_installlogrotate + dh_installpam + dh_installppp + dh_installudev + dh_installwm + dh_installxfonts + dh_bugfiles + dh_lintian + dh_desktop + dh_gconf + dh_icons + dh_perl + dh_scrollkeeper + dh_usrlocal + + dh_link + dh_compress + dh_fixperms +}]; +my @b=qw{ + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb +}; +$sequences{'binary-indep'} = [@{$sequences{install}}, @b]; +$sequences{binary} = [@{$sequences{install}}, qw{ + dh_strip + dh_makeshlibs + dh_shlibdeps +}, @b]; +$sequences{'binary-arch'} = [@{$sequences{binary}}]; + +# --with python-support is enabled by default, at least for now +unshift @{$dh{WITH}}, "python-support"; + +# sequence addon interface +sub _insert { + my $offset=shift; + my $existing=shift; + my $new=shift; + foreach my $sequence (keys %sequences) { + my @list=@{$sequences{$sequence}}; + next unless grep $existing, @list; + my @new; + foreach my $command (@list) { + if ($command eq $existing) { + push @new, $new if $offset < 0; + push @new, $command; + push @new, $new if $offset > 0; + } + else { + push @new, $command; + } + } + $sequences{$sequence}=\@new; + } +} +sub insert_before { + _insert(-1, @_); +} +sub insert_after { + _insert(1, @_); +} +sub remove_command { + my $command=shift; + foreach my $sequence (keys %sequences) { + $sequences{$sequence}=[grep { $_ ne $command } @{$sequences{$sequence}}]; + } + +} +foreach my $addon (@{$dh{WITH}}) { + my $mod="Debian::Debhelper::Sequence::$addon"; + $mod=~s/-/_/g; + eval "use $mod"; + if ($@) { + error("--with $addon not supported or failed to load module $mod"); + } +} + +# Get the sequence of commands to run. +if (! @ARGV) { + error "specify a sequence to run"; +} +my $sequence=shift; +if (! exists $sequences{$sequence}) { + error "Unknown sequence $sequence (chose from: ". + join(" ", sort keys %sequences).")"; +} +my @sequence=@{$sequences{$sequence}}; + +# The list of all packages that can be acted on. +my @packages=@{$dh{DOPACKAGES}}; + +# Get the options to pass to commands in the sequence. +# Filter out options intended only for this program. +my @options; +if ($sequence eq 'binary-arch') { + push @options, "-a"; + # as an optimisation, remove from the list any packages + # that are not arch dependent + my %arch_packages = map { $_ => 1 } getpackages("arch"); + @packages = grep { $arch_packages{$_} } @packages; +} +elsif ($sequence eq 'binary-indep') { + push @options, "-i"; + # ditto optimisation for arch indep + my %indep_packages = map { $_ => 1 } getpackages("indep"); + @packages = grep { $indep_packages{$_} } @packages; +} +while (@ARGV_orig) { + my $opt=shift @ARGV_orig; + next if $opt eq $sequence; + if ($opt =~ /^--?(after|until|before|with)$/) { + shift @ARGV_orig; + next; + } + elsif ($opt =~ /^--?(no-act|remaining|(after|until|before|with)=)/) { + next; + } + push @options, $opt; +} + +# Figure out at what point in the sequence to start for each package. +my %logged; +my %startpoint; +foreach my $package (@packages) { + my @log=loadlog($package); + if ($dh{AFTER}) { + # Run commands in the sequence that come after the + # specified command. + $startpoint{$package}=command_pos($dh{AFTER}, @sequence) + 1; + # Write a dummy log entry indicating that the specified + # command was, in fact, run. This handles the case where + # no commands remain to run after it, communicating to + # future dh instances that the specified command should not + # be run again. + writelog($package, $sequence[$startpoint{$package}-1]); + } + elsif ($dh{REMAINING}) { + # Start at the beginning so all remaining commands will get + # run. + $startpoint{$package}=0; + } + else { + # Find the last logged command that is in the sequence, and + # continue with the next command after it. If no logged + # command is in the sequence, we're starting at the beginning.. + $startpoint{$package}=0; +COMMAND: foreach my $command (reverse @log) { + foreach my $i (0..$#sequence) { + if ($command eq $sequence[$i]) { + $startpoint{$package}=$i+1; + last COMMAND; + } + } + } + } +} + +# Figure out what point in the sequence to go to. +my $stoppoint=$#sequence; +if ($dh{UNTIL}) { + $stoppoint=command_pos($dh{UNTIL}, @sequence); +} +elsif ($dh{BEFORE}) { + $stoppoint=command_pos($dh{BEFORE}, @sequence) - 1; +} + +# Now run the commands in the sequence. +foreach my $i (0..$stoppoint) { + # Figure out which packages need to run this command. + my @exclude; + foreach my $package (@packages) { + if ($startpoint{$package} > $i || + $logged{$package}{$sequence[$i]}) { + push @exclude, $package; + } + } + + if (@exclude eq @packages) { + # Command already done for all packages. + next; + } + elsif (! @exclude) { + # Run command for all packages. + run($sequence[$i], @options); + } + else { + # Run command for only a subset of packages. + run($sequence[$i], @options, + map { "-N$_" } @exclude); + } +} + +sub run { + my $command=shift; + my @options=@_; + + # 3 space indent lines the command being run up under the + # sequence name after "dh ". + print " "; + if (basename($command) =~ m#^dh_#) { + # Probably it is debhelper command. Use DH_ECHO_ARGS + $ENV{DH_ECHO_ARGS} = "YES"; + } else { + print escape_shell($command, @options)."\n"; + } + + if (! $dh{NO_ACT}) { + my $ret=system($command, @options); + if ($ret >> 8 != 0) { + exit $ret >> 8; + } + elsif ($ret) { + exit 1; + } + } +} + +sub loadlog { + my $package=shift; + my $ext=pkgext($package); + + my @log; + open(LOG, "<", "debian/${ext}debhelper.log") || return; + while () { + chomp; + push @log, $_; + $logged{$package}{$_}=1; + } + close LOG; + return @log; +} + +sub writelog { + my $package=shift; + my $cmd=shift; + my $ext=pkgext($package); + + open(LOG, ">>", "debian/${ext}debhelper.log") || error("failed to write to log"); + print LOG $cmd."\n"; + close LOG; +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_auto_configure +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_auto_configure @@ -0,0 +1,75 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_auto_configure - automatically configure a package prior to building + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Plugins; + +=head1 SYNOPSIS + +B [B<-O>] [S>] [S I>] + +=head1 DESCRIPTION + +dh_auto_configure is a debhelper program that tries to automatically +configure a package prior to building. It looks for and runs a ./configure +script, Makefile.PL, Build.PL, or cmake. A standard set of parameters is +determined and passed to the program that is run. If no program to run is +found, dh_auto_configure will exit without doing anything. + +This is intended to work for about 90% of packages. If it doesn't work, +you're encouraged to skip using dh_auto_configure at all, and just run +./configure or its equivalent manually. + +=head1 OPTIONS + +=over 4 + +=item B<-O>, B<--out-of-source-tree> + +Configure the package to be built outside the source tree when supported by +the underlying buildsystem and debhelper. This option is known to work with +autotools based buildsystems. It is default for the CMake buildsystem. The build +directory will be the subdirectory of the package source tree named as +"obj-`dpkg-architecture -qDEB_BUILD_GNU_TYPE`". + +=item B<--> I + +Pass "params" to the program that is run. These can be used to supplement +or override the standard parameters that dh_auto_configure passes. + +=back + +=cut + +my $opt_out_of_source_tree = 0; + +init(options => { + "out-of-source-tree|O!" => \$opt_out_of_source_tree, +}); + +my $plugin = Debian::Debhelper::Dh_Plugins::find_buildsystem_plugin("configure"); +if ($plugin) { + if (exists $plugin->FEATURES()->{'out-of-source-tree'} && + $opt_out_of_source_tree) { + $plugin->build_out_of_source_tree(1); + } + $plugin->configure(); +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/debhelper/dh_auto_install +++ ktorrent-3.2.1+dfsg.1/debian/debhelper/dh_auto_install @@ -0,0 +1,79 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_auto_install - automatically runs make install or similar + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Plugins; +use Cwd; + +=head1 SYNOPSIS + +B [S>] [S I>] + +=head1 DESCRIPTION + +dh_auto_install is a debhelper program that tries to automatically install +built files. If there's a Makefile and it contains a "install" target, +then this is done by running make (or MAKE, if the environment variable is +set). If there is a setup.py or Build.PL, it is used. + +The files are installed into debian// if there is only one binary +package. In the multiple binary package case, the files are instead +installed into debian/tmp/, and should be moved from there to the +appropriate package build directory using L or +L. + +DESTDIR is used to tell make where to install the files. +If the Makefile was generated by MakeMaker from a Makefile.PL, it will +automatically set PREFIX=/usr too, since such Makefiles need that. + +This is intended to work for about 90% of packages. If it doesn't work, or +tries to use the wrong install target, you're encouraged to skip using +dh_auto_install at all, and just run make install manually. + +=head1 OPTIONS + +=over 4 + +=item B<--> I + +Pass "params" to the program that is run. These can be used to supplement +or override the any standard parameters that dh_auto_install passes. + +=back + +=cut + +init(); + +my $destdir; +my @allpackages=getpackages(); +if (@allpackages > 1) { + $destdir="debian/tmp"; +} +else { + $destdir=tmpdir($dh{MAINPACKAGE}); +} +$destdir=cwd()."/".$destdir; + +my $plugin = Debian::Debhelper::Dh_Plugins::find_buildsystem_plugin("install"); +if ($plugin) { + $plugin->install($destdir); +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut --- ktorrent-3.2.1+dfsg.1.orig/debian/patches/kubuntu_01_call_front_on_empty_qlist.diff +++ ktorrent-3.2.1+dfsg.1/debian/patches/kubuntu_01_call_front_on_empty_qlist.diff @@ -0,0 +1,16 @@ +Index: ktorrent-3.2.1+dfsg.1/ktorrent/core.cpp +=================================================================== +--- ktorrent-3.2.1+dfsg.1.orig/ktorrent/core.cpp 2009-04-17 09:01:48.000000000 -0400 ++++ ktorrent-3.2.1+dfsg.1/ktorrent/core.cpp 2009-04-17 09:03:05.000000000 -0400 +@@ -578,7 +578,10 @@ + + void Core::start(QList & todo) + { +- if (todo.count() == 0) ++ if (todo.isEmpty()) ++ return; ++ ++ if (todo.count() == 1) + { + start(todo.front()); + } --- ktorrent-3.2.1+dfsg.1.orig/debian/patches/01_libbtcore_scramble_soname.diff +++ ktorrent-3.2.1+dfsg.1/debian/patches/01_libbtcore_scramble_soname.diff @@ -0,0 +1,13 @@ +Scramble libbtcore soname to the private one + +--- a/libbtcore/CMakeLists.txt ++++ b/libbtcore/CMakeLists.txt +@@ -189,7 +189,7 @@ + if(WIN32) + target_link_libraries(btcore ws2_32) + endif(WIN32) +-set_target_properties(btcore PROPERTIES VERSION 8.0.0 SOVERSION 8 ) ++set_target_properties(btcore PROPERTIES VERSION 8p.0.0 SOVERSION 8p ) + install(TARGETS btcore ${INSTALL_TARGETS_DEFAULT_ARGS} ) + + set(net_HDR --- ktorrent-3.2.1+dfsg.1.orig/debian/patches/series +++ ktorrent-3.2.1+dfsg.1/debian/patches/series @@ -0,0 +1,2 @@ +#01_libbtcore_scramble_soname.diff +kubuntu_01_call_front_on_empty_qlist.diff