diff options
-rw-r--r-- | debian/changelog | 37 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 33 | ||||
-rw-r--r-- | debian/copyright | 235 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rw-r--r-- | debian/patches/avoidRssGlib.diff | 43 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/patches/validateAppdata.diff | 24 | ||||
-rwxr-xr-x | debian/rules | 17 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
12 files changed, 400 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7719d30 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,37 @@ +transmission-remote-gtk (1.3.1-2) unstable; urgency=medium + + * Correct Vcs-* URLs. + + -- Benjamin Barenblat <bbaren@mit.edu> Sat, 29 Oct 2016 16:35:46 -0400 + +transmission-remote-gtk (1.3.1-1) unstable; urgency=medium + + * New upstream release (closes: #827154, #839181). + + -- Benjamin Barenblat <bbaren@mit.edu> Sun, 23 Oct 2016 13:15:58 -0400 + +transmission-remote-gtk (1.1.1-3) unstable; urgency=high + + * Fix possible GPL violation by removing libappindicator support + (closes: #825859, #810103). + + -- Benjamin Barenblat <bbaren@mit.edu> Mon, 30 May 2016 17:03:25 -0400 + +transmission-remote-gtk (1.1.1-2) unstable; urgency=low + + * Update Standards-Version. + * Update Vcs-* URLs. + * Enable verbose builds so the build log checker can check it. + * Import upstream patch to have 'make test' work again. + * Import upstream patch to add keywords to .desktop file (fixes a + Lintian warning). + * Use base-files’ copy of the GPL in the about box (closes: #791553). + + -- Benjamin Barenblat <bbaren@mit.edu> Mon, 23 Nov 2015 09:14:07 -0500 + +transmission-remote-gtk (1.1.1-1) unstable; urgency=low + + * Initial release (Closes: #630789). Upstream ships a debian + directory; I’ve replaced it with my own. + + -- Benjamin Barenblat <bbaren@mit.edu> Sun, 14 Jul 2013 17:18:53 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f6cee1c --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: transmission-remote-gtk +Section: net +Priority: optional +Maintainer: Benjamin Barenblat <bbaren@mit.edu> +Build-Depends: + appstream-util, + autoconf-archive, + debhelper (>= 9.0.0), + dh-autoreconf, + intltool (>= 0.50.1), + libcurl4-openssl-dev | libcurl-ssl-dev, + libgeoip-dev, + libglib2.0-dev (>= 2.44), + libgtk-3-dev (>= 3.16), + libjson-glib-dev (>= 0.8), + libnotify-dev, + libproxy-dev, + libunique-dev, + perl, +Standards-Version: 3.9.8 +Homepage: https://github.com/transmission-remote-gtk/transmission-remote-gtk +Vcs-Git: https://git.benjamin.barenblat.name/debian-transmission-remote-gtk.git +Vcs-Browser: https://git.benjamin.barenblat.name/debian-transmission-remote-gtk/ + +Package: transmission-remote-gtk +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GTK+ interface for the Transmission BitTorrent daemon + transmission-remote-gtk is a GTK+ interface for controlling the + Transmission BitTorrent daemon. It is a full featured client, + providing the ability to upload, queue, and delete torrent files, + monitor downloads, and adjust speed limits. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c9ae36a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,235 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: transmission-remote-gtk +Upstream-Contact: Alan Fitton <alan@eth0.org.uk> +Source: https://github.com/transmission-remote-gtk/transmission-remote-gtk +License: GPL-2 + +Files: * +Copyright: 2011-2013 Alan Fitton <alan@eth0.org.uk> +License: GPL-2+ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +Files: COPYING +Copyright: 1989, 1991 Free Software Foundation, Inc. +License: FSF-GPL2 + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +Files: data/transmission-remote-gtk.appdata.xml.in +Copyright: 2014 Alan F +License: CC0-1.0 + +Files: debian/* +Copyright: 2013-2016 Benjamin Barenblat <bbaren@mit.edu> +License: Apache-2.0 + +Files: extern/rss-glib/*.c extern/rss-glib/*.h +Copyright: 2008 Christian Hergert <chris@dronelabs.com> +License: LGPL-3+ + +Files: po/bg.po po/ca.po po/cs.po po/el.po po/fr.po po/it.po po/lt.po po/lv.po po/pt_BR.po po/si.po po/tr.po po/zh_CN.po po/zh_TW.po +Copyright: 2012-2014, 2016 Rosetta Contributors and Canonical Ltd +License: GPL-2+ + +Files: src/bencode.c src/bencode.h +Copyright: Mike Frysinger <vapier@gmail.com> + Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> +License: public-domain + This is released into the public domain: + http://en.wikipedia.org/wiki/Public_Domain + +Files: src/hig.c src/hig.h src/torrent-cell-renderer.c src/torrent-cell-renderer.h +Copyright: 2007-2010 Mnemosyne LLC +License: GPL-2 + +Files: src/icons.c src/icons.h +Copyright: Paolo Bacchilega +License: public-domain + There is no problem for me, you can license my code under whatever + licence you wish :) + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + On Debian systems, the complete text of the License can be found in + "/usr/share/common-licenses/Apache-2.0". + . + Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for the + specific language governing permissions and limitations under the License. + +License: CC0-1.0 + Creative Commons Legal Code + . + CC0 1.0 Universal + . + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + . + Statement of Purpose + . + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work of + authorship and/or a database (each, a "Work"). + . + Certain owners wish to permanently relinquish those rights to a Work for + the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without fear + of later claims of infringement build upon, modify, incorporate in other + works, reuse and redistribute as freely as possible in any form whatsoever + and for any purposes, including without limitation commercial purposes. + These owners may contribute to the Commons to promote the ideal of a free + culture and the further production of creative, cultural and scientific + works, or to gain reputation or greater distribution for their Work in + part through the use and efforts of others. + . + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that he or she + is an owner of Copyright and Related Rights in the Work, voluntarily + elects to apply CC0 to the Work and publicly distribute the Work under its + terms, with knowledge of his or her Copyright and Related Rights in the + Work and the meaning and intended legal effect of CC0 on those rights. + . + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright and + Related Rights"). Copyright and Related Rights include, but are not + limited to, the following: + . + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); + iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and + vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + . + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all of + Affirmer's Copyright and Related Rights and associated claims and causes + of action, whether now known or unknown (including existing as well as + future claims and causes of action), in the Work (i) in all territories + worldwide, (ii) for the maximum duration provided by applicable law or + treaty (including future time extensions), (iii) in any current or future + medium and for any number of copies, and (iv) for any purpose whatsoever, + including without limitation commercial, advertising or promotional + purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each + member of the public at large and to the detriment of Affirmer's heirs and + successors, fully intending that such Waiver shall not be subject to + revocation, rescission, cancellation, termination, or any other legal or + equitable action to disrupt the quiet enjoyment of the Work by the public + as contemplated by Affirmer's express Statement of Purpose. + . + 3. Public License Fallback. Should any part of the Waiver for any reason + be judged legally invalid or ineffective under applicable law, then the + Waiver shall be preserved to the maximum extent permitted taking into + account Affirmer's express Statement of Purpose. In addition, to the + extent the Waiver is so judged Affirmer hereby grants to each affected + person a royalty-free, non transferable, non sublicensable, non exclusive, + irrevocable and unconditional license to exercise Affirmer's Copyright and + Related Rights in the Work (i) in all territories worldwide, (ii) for the + maximum duration provided by applicable law or treaty (including future + time extensions), (iii) in any current or future medium and for any number + of copies, and (iv) for any purpose whatsoever, including without + limitation commercial, advertising or promotional purposes (the + "License"). The License shall be deemed effective as of the date CC0 was + applied by Affirmer to the Work. Should any part of the License for any + reason be judged legally invalid or ineffective under applicable law, such + partial invalidity or ineffectiveness shall not invalidate the remainder + of the License, and in such case Affirmer hereby affirms that he or she + will not (i) exercise any of his or her remaining Copyright and Related + Rights in the Work or (ii) assert any associated claims and causes of + action with respect to the Work, in either case contrary to Affirmer's + express Statement of Purpose. + . + 4. Limitations and Disclaimers. + . + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. + +License: GPL-2 + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License, version 2, as published by the + Free Software Foundation. + . + This program is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General Public License version + 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: LGPL-3+ + This library is free software: you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) any + later version. + . + This library is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + . + You should have received a copy of the GNU Lesser General Public License along + with this library. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6f12db5 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..86cbc1f --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +upstream-tag = %(version)s diff --git a/debian/patches/avoidRssGlib.diff b/debian/patches/avoidRssGlib.diff new file mode 100644 index 0000000..fbc156e --- /dev/null +++ b/debian/patches/avoidRssGlib.diff @@ -0,0 +1,43 @@ +Subject: Don't touch rss-glib if RSS is disabled + +rss-glib is licensed under the LGPLv3 or later. src/hig.c, src/hig.h, +src/torrent-cell-renderer.c, and src/torrent-cell-renderer.h are licensed under +the GPLv2 only. Therefore, transmission-remote-gtk must be built without RSS to +avoid a GPL violation. + +Disabling RSS with --without-libmrss should be enough to ensure this happens. +In the interest of defence in depth, however, conditionalize references to +rss-glib from within the build system. As an added bonus, this speeds up build +time by not building code which will never get linked. + +Author: Benjamin Barenblat <bbaren@mit.edu> +Bug: https://github.com/transmission-remote-gtk/transmission-remote-gtk/issues/21 +--- a/Makefile.am ++++ b/Makefile.am +@@ -20,7 +20,10 @@ + ACLOCAL_AMFLAGS = -I m4 + AUTOMAKE_OPTIONS = foreign + DISTCHECK_CONFIGURE_FLAGS = --disable-desktop-database-update +-SUBDIRS = extern src po data ++SUBDIRS = src po data ++if HAVE_RSS ++SUBDIRS += extern ++endif + + DISTCLEANFILES = \ + intltool-extract \ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -143,8 +143,10 @@ + icon-turtle.h + + transmission_remote_gtk_CPPFLAGS = \ +- -DLOCALEDIR=\""$(localedir)"\" \ +- -I$(top_srcdir)/extern ++ -DLOCALEDIR=\""$(localedir)"\" ++if HAVE_RSS ++transmission_remote_gtk_CPPFLAGS += -I$(top_srcdir)/extern ++endif + + transmission_remote_gtk_CFLAGS = \ + $(TRG_CFLAGS) \ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8afeb66 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +avoidRssGlib.diff +validateAppdata.diff diff --git a/debian/patches/validateAppdata.diff b/debian/patches/validateAppdata.diff new file mode 100644 index 0000000..ea6dd07 --- /dev/null +++ b/debian/patches/validateAppdata.diff @@ -0,0 +1,24 @@ +Description: Correct style errors in transmission-remote-gtk.appdata.xml +Author: Benjamin Barenblat <bbaren@mit.edu> +Bug: https://github.com/transmission-remote-gtk/transmission-remote-gtk/issues/37 +Forwarded: no +--- a/data/transmission-remote-gtk.appdata.xml.in ++++ b/data/transmission-remote-gtk.appdata.xml.in +@@ -14,14 +14,10 @@ + <description> + <_p> + Transmission Remote Gtk allows you to remotely manage the Transmission BitTorrent client using its RPC interface. ++ It is a full featured client, allowing adding, starting, stopping, removing, verifying, and reannouncing torrents. ++ It also exposes settings for both individual torrents (peer limits, file priorities, tracker settings, etc.) and Transmission as a whole (global limits, download directory, connectivity preferences, etc.) ++ It can also act as a .torrent handler, opening when torrents are downloaded through a web browser. + </_p> +- <_p>Features:</_p> +- <ul> +- <_li>Remotely add (file/url), start, stop, remove, remove and delete, verify, reannounce torrents</_li> +- <_li>Works as a .torrent handler (eg. from a web browser)</_li> +- <_li>Set torrent properties such as speed, seed, peer limits, file priorities, add/edit/remove trackers</_li> +- <_li>Change remote settings like global limits, download directory, and connectivity preferences</_li> +- </ul> + </description> + <screenshots> + <screenshot height="576" width="1024" type="default"> diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..128cace --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Avoid overlinking and reduce library dependencies. +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ --with autoreconf + +.PHONY: override_dh_autoreconf +override_dh_autoreconf: + dh_autoreconf /usr/bin/env -- NOCONFIGURE=1 ./autogen.sh + +.PHONY: override_dh_auto_configure +override_dh_auto_configure: + dh_auto_configure -- --without-libappindicator --without-libmrss \ + --disable-debug --disable-silent-rules diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..80043dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/transmission-remote-gtk-$1\.tar\.gz/ \ + https://github.com/transmission-remote-gtk/transmission-remote-gtk/tags .*/v?(\d\S+)\.tar\.gz |