--- ktorrent-2.0.3.orig/debian/rules +++ ktorrent-2.0.3/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +config.status: configure + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man --disable-rpath --enable-final + +patch: patch-stamp +patch-stamp: + dh_testdir + +# patch -p1 < debian/patches/kubuntu_01_kdepot.patch + patch -p0 < debian/patches/kubuntu_04_ktshell_bash.patch + touch patch-stamp + +build: patch build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + + +unpatch: unpatch-stamp +unpatch-stamp: + dh_testdir + + if [ -e patch-stamp ]; then \ +# patch -p1 -R < debian/patches/kubuntu_01_kdepot.patch ; \ + patch -p0 -R < debian/patches/kubuntu_04_ktshell_bash.patch; \ + rm -f patch-stamp ; \ + fi + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || make distclean + [ ! -f config.sub ] || rm -f config.sub + [ ! -f config.guess ] || rm -f config.guess + dh_clean + rm -f po/*.pot translations/*.pot + find translations -name *gmo | xargs rm -f + + +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(CURDIR)/debian/ktorrent + + # Install linda/lintian overrides + install -D -o root -g root -m 0644 debian/overrides.lintian \ + $(CURDIR)/debian/ktorrent/usr/share/lintian/overrides/ktorrent + install -D -o root -g root -m 0644 debian/overrides.linda \ + $(CURDIR)/debian/ktorrent/usr/share/linda/overrides/ktorrent + + # Clean up after the upstream installer a bit + rm -f debian/ktorrent/usr/share/applnk/Internet/ktorrent.desktop + rmdir debian/ktorrent/usr/share/applnk/Internet/ + rmdir debian/ktorrent/usr/share/applnk/ + rm -f debian/ktorrent/usr/bin/ktcachecheck + rm -f debian/ktorrent/usr/bin/kttorinfo + + rm -rf debian/ktorrent/usr/share/applnk + rm -rf debian/ktorrent/usr/share/mimelnk + + # Remove libs to link against when building (no -dev package) + rm -f debian/ktorrent/usr/lib/libktorrent.so + #rm -f debian/ktorrent/usr/lib/libktorrent.la + #rm -f debian/ktorrent/usr/lib/kde3/ktinfowidgetplugin.la + #rm -f debian/ktorrent/usr/lib/kde3/ktipfilterplugin.la + #rm -f debian/ktorrent/usr/lib/kde3/ktlogviewerplugin.la + #rm -f debian/ktorrent/usr/lib/kde3/ktpartfileimportplugin.la + #rm -f debian/ktorrent/usr/lib/kde3/ktsearchplugin.la + #rm -f debian/ktorrent/usr/lib/kde3/ktupnpplugin.la + mkdir -p po + XGETTEXT=/usr/bin/kde-xgettext sh admin/cvs.sh package-messages + cp po/ktorrent.pot translations/ + rm -f translations/nb/messages/*.po + + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_iconcache + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + # nop - no common archives + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ktorrent-2.0.3.orig/debian/control +++ ktorrent-2.0.3/debian/control @@ -0,0 +1,17 @@ +Source: ktorrent +Section: kde +Priority: optional +Maintainer: Joel Johnson +Build-Depends: debhelper (>= 4.0.0), autotools-dev, kdelibs4-dev, libpcre3-dev, libx11-dev, libgmp3-dev +Standards-Version: 3.6.2 + +Package: ktorrent +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: BitTorrent client for KDE + KTorrent is a BitTorrent program for KDE. Its features include speed capping + (both down and up), integrated searching, UDP tracker support, preview of + certain file types (video and audio) and integration into the KDE Panel + enabling background downloading. + . + Homepage: http://ktorrent.org --- ktorrent-2.0.3.orig/debian/changelog +++ ktorrent-2.0.3/debian/changelog @@ -0,0 +1,163 @@ +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-2.0.3.orig/debian/ktorrent.docs +++ ktorrent-2.0.3/debian/ktorrent.docs @@ -0,0 +1 @@ +AUTHORS --- ktorrent-2.0.3.orig/debian/overrides.lintian +++ ktorrent-2.0.3/debian/overrides.lintian @@ -0,0 +1,2 @@ +ktorrent: binary-without-manpage ktorrent +ktorrent: package-name-doesnt-match-sonames libktorrent0 --- ktorrent-2.0.3.orig/debian/compat +++ ktorrent-2.0.3/debian/compat @@ -0,0 +1 @@ +4 --- ktorrent-2.0.3.orig/debian/overrides.linda +++ ktorrent-2.0.3/debian/overrides.linda @@ -0,0 +1 @@ +Tag: no-manual-for-binary --- ktorrent-2.0.3.orig/debian/patches/kubuntu_04_ktshell_bash.patch +++ ktorrent-2.0.3/debian/patches/kubuntu_04_ktshell_bash.patch @@ -0,0 +1,8 @@ +--- scripts/ktshell 2006-08-29 18:06:06.000000000 +0200 ++++ scripts/ktshell 2006-10-02 20:57:50.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + + declare -a filenames priorities torinfo filecounts ints info tors usernms ktorrents dcops + --- ktorrent-2.0.3.orig/debian/patches/kubuntu_01_kdepot.patch +++ ktorrent-2.0.3/debian/patches/kubuntu_01_kdepot.patch @@ -0,0 +1,20 @@ +--- ktorrent-1.2/admin/cvs.sh 2006-05-23 16:54:17.000000000 +0200 ++++ ktorrent-1.2/admin/cvs.sh 2006-05-23 16:55:10.000000000 +0200 +@@ -564,6 +564,8 @@ + if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi + export EXTRACTRC PREPARETIPS + ++kdepotpath=/usr/include/kde/kde.pot ++ + for subdir in $dirs; do + test -z "$VERBOSE" || echo "Making messages in $subdir" + (cd $subdir +@@ -581,7 +583,7 @@ + fi + perl -e '$mes=0; while () { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile + +- kdepotpath=${includedir:-${KDEDIR:-`kde-config --prefix`}/include}/kde.pot ++# kdepotpath=${includedir:-${KDEDIR:-`kde-config --prefix`}/include}/kde.pot + + $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \ + XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -kaliasLocale -x $kdepotpath" messages --- ktorrent-2.0.3.orig/debian/copyright +++ ktorrent-2.0.3/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Joel Johnson on +Tue, 21 Jun 2005 11:19:46 -0700. + +The original source was downloaded from +http://ktorrent.org/downloads/1.2/ktorrent-1.2.tar.gz + +Copyright 2005 Joris Guisson unless otherwise indicated below + +Copyright (C) 2005 by +Joris Guisson +Ivan Vasic + + apps/ktorrent/ktorrent.cpp + apps/ktorrent/ktorrentcore.cpp + apps/ktorrent/pastedialog.h + apps/ktorrent/pastedialog.cpp + apps/ktorrent/ktorrentview.h + apps/ktorrent/ktorrentview.cpp + apps/ktorrent/trayicon.h + apps/ktorrent/trayicon.cpp + libktorrent/interfaces/ipblockinginterface.h + libktorrent/interfaces/ipblockinginterface.cpp + libktorrent/torrent/ipblocklist.h + libktorrent/torrent/ipblocklist.cpp + libktorrent/torrent/torrentfile.h + libktorrent/torrent/torrentfile.cpp + libktorrent/torrent/torrent.h + libktorrent/torrent/torrent.cpp + libktorrent/torrent/chunkmanager.cpp + libktorrent/torrent/torrentcontrol.h + libktorrent/torrent/torrentcontrol.cpp + libktorrent/torrent/queuemanager.h + libktorrent/torrent/queuemanager.cpp + plugins/infowidget/infowidget.h + plugins/infowidget/infowidget.cpp + plugins/ipfilter/ipblockingprefpage.h + plugins/ipfilter/ipblockingprefpage.cpp + plugins/ipfilter/ipfilterplugin.h + plugins/ipfilter/ipfilterplugin.cpp + plugins/ipfilter/antip2p.h + plugins/ipfilter/antip2p.cpp + +Copyright (C) 2005 by Ivan Vasic + apps/ktorrent/queuedialog.h + apps/ktorrent/queuedialog.cpp + +Copyright (C) 2005 by +Joris Guisson +Vincent Wagelaar + plugins/infowidget/chunkbar.h + plugins/infowidget/chunkbar.cpp + +Copyright (C) 2005 by Adam Treat + apps/ktorrent/ktorrentapp.h + apps/ktorrent/ktorrentapp.cpp + +License (for all components): + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'.