debian/0000755000000000000000000000000012047436732007176 5ustar debian/source/0000755000000000000000000000000012047253526010474 5ustar debian/source/format0000644000000000000000000000001412047406057011701 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000155112047253526010256 0ustar #!/usr/bin/make -f LANGUAGES=$(shell find locale/ -maxdepth 1 -mindepth 1 -type d -not -name \.svn -printf "%f ") build: dh build clean: make -C gui/ clean dh clean install: build make -C gui/ all dh --with python_support install # Make subdownloader symlink executable chmod +x debian/subdownloader/usr/bin/subdownloader binary-indep: build generate-mo-files install dh --with python_support binary-indep binary-arch: build install binary: binary-indep binary-arch generate-mo-files: for lang in $(LANGUAGES); do \ localedir=debian/subdownloader/usr/share/locale/$$lang/LC_MESSAGES; \ dh_installdirs -psubdownloader usr/share/locale/$$lang/LC_MESSAGES; \ msgfmt --directory=locale $$lang/LC_MESSAGES/subdownloader.po --output-file=$$localedir/subdownloader.mo; \ done .PHONY: build clean binary-indep binary-arch binary generate-mo-files install debian/control0000644000000000000000000000243112047253526010577 0ustar Source: subdownloader Section: utils Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Marco Rodrigues Build-Depends: debhelper (>= 7), python (>= 2.5.2-3) Build-Depends-Indep: python-support (>= 0.5.6), pyqt4-dev-tools Standards-Version: 3.9.1 Vcs-Svn: svn://svn.debian.org/python-apps/packages/subdownloader/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/subdownloader/trunk/ XS-Python-Version: >= 2.5 Homepage: http://www.subdownloader.net/ Package: subdownloader Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5.2-3), python-crypto, python-kaa-metadata Recommends: python-qt4 Conflicts: subdownloader-cli Replaces: subdownloader-cli XB-Python-Version: ${python:Versions} Description: subtitle download/upload manager for video files SubDownloader is a tool to automatically download/upload subtitles for video files (DIVX, MPEG, AVI, etc.) and DVDs using fast hashing. . Features: * Fast hashing algorithm (27 GB movies/7 seconds) * Recursively folders search * Autodetect language of the subtitles * Upload entire series seasons subtitles in less than 1 minute . This package contains the GUI front-end, common files and a cli interface. debian/subdownloader.install0000644000000000000000000000061412047253526013435 0ustar gui /usr/share/subdownloader languages /usr/share/subdownloader cli /usr/share/subdownloader FileManagement /usr/share/subdownloader modules /usr/share/subdownloader run.py /usr/share/subdownloader subdownloader.desktop /usr/share/applications gui/images/subdownloader.xpm /usr/share/pixmaps/ debian/subdownloader.manpages0000644000000000000000000000002012047253526013551 0ustar subdownloader.1 debian/watch0000644000000000000000000000022212047253526010221 0ustar version=3 https://launchpad.net/subdownloader/+download \ http://launchpad.net/subdownloader/(?:.*)/(?:.*)/\+download/subdownloader-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012047254720010620 5ustar debian/patches/fix-non-ascii-download-path.patch0000644000000000000000000000173312047264061017047 0ustar From: Emilien Klein Subject: Fix downloading subtitles in folders containing non-ASCII characters * gui/main.py: Remove call to .decode() Origin: upstream, http://bazaar.launchpad.net/~subdownloader-developers/subdownloader/trunk/revision/552 Bug: https://bugs.launchpad.net/subdownloader/+bug/913453 Bug-Debian: http://bugs.debian.org/606993 --- a/gui/main.py +++ b/gui/main.py @@ -1009,7 +1009,7 @@ folderPath = video.getFolderPath() dir = QDir(QString(folderPath)) #downloadFullPath = dir.filePath(QString(subFileName)).__str__() - downloadFullPath = os.path.join(folderPath, subFileName).decode('utf8') + downloadFullPath = os.path.join(folderPath, subFileName) log.debug("Downloading to: %r"% downloadFullPath) elif optionWhereToDownload == QVariant("PREDEFINED_FOLDER"): folderPath = settings.value("options/whereToDownloadFolder", QVariant("")).toString() debian/patches/series0000644000000000000000000000004212047254055012032 0ustar fix-non-ascii-download-path.patch debian/docs0000644000000000000000000000000712047253526010044 0ustar README debian/copyright0000644000000000000000000000673012047253526011135 0ustar This package was debianized by Marco Rodrigues on Fri, 11 Jul 2008 20:13:05 +0000. It was downloaded from http://www.subdownloader.net/ Upstream Author: Ivan Garcia Marco Ferreira Marco Rodrigues Copyright: Copyright (C) 2007-2010 by SubDownloader Developers License: 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 3 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. * languages/autodetect_lang.py: Copyright (c) 2006 Thomas Mangin This program is distributed under Gnu General Public License (cf. the file COPYING in distribution). Alternatively, you can use the program under the conditions of the Artistic License (as Perl). * modules/base32.py: Copyright (c) 2002 Bryce "Zooko" Wilcox-O'Hearn Permission is hereby granted, free of charge, to any person obtaining a copy of this software to deal in this software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this software, and to permit persons to whom this 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 this software. THIS 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 THIS SOFTWARE OR THE USE OR OTHER DEALINGS IN THIS SOFTWARE. * modules/progressbar.py: Copyright (C) 2005 Nilton Volpato This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. * modules/mmpython: Copyright (C) 2003 Thomas Schueppel, Dirk Meyer 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. * locale/*: Copyright (c) 2008-2009 Rosetta Contributors and Canonical Ltd 2008 The Debian packaging is © 2008, Marco Rodrigues and is licensed under the GPL, see above. debian/subdownloader.menu0000644000000000000000000000026412047253526012734 0ustar ?package(subdownloader):needs="X11" \ section="Applications/Video" \ title="SubDownloader" \ command="/usr/bin/subdownloader" \ icon="/usr/share/pixmaps/subdownloader.xpm" debian/subdownloader.links0000644000000000000000000000006612047253526013110 0ustar usr/share/subdownloader/run.py /usr/bin/subdownloader debian/changelog0000644000000000000000000000622012047436724011051 0ustar subdownloader (2.0.14-1.1) unstable; urgency=low * Non-maintainer upload. * debian/patches/fix-non-ascii-download-path.patch: + Fix downloading subtitles in folders containing non-ASCII characters (Closes: #606993), (LP: #913453, #306589) * debian/source/format: Update to "3.0 (quilt)" to apply the previous patch in a proper way -- Emilien Klein Sat, 10 Nov 2012 12:43:07 +0100 subdownloader (2.0.14-1) unstable; urgency=low * New upstream version. -- Marco Rodrigues Sun, 10 Oct 2010 23:24:46 +0100 subdownloader (2.0.13-1) unstable; urgency=low * New upstream version (Closes: #595333). * debian/control: + Move python-qt4 to Recommends. Thanks Jakub Wilk for the tip. + Change my e-mail address. * debian/copyright: + Change my e-mail address. * debian/control: - Bump Standards-Version to 3.9.1, no changes required. -- Marco Rodrigues Fri, 03 Sep 2010 23:40:19 +0100 subdownloader (2.0.10-1) unstable; urgency=low * New upstream version (Closes: #515664, #515665), (LP: #452036, #359294). * debian/subdownloader.install: + Use upstream xpm icon. * debian/control: + Bump Standards-Version to 3.8.4 (no changes). + Add pyqt4-dev-tools to rebuild qt ui files. + Change XS-Python-Version to >= 2.5 and bump python dependency to 2.5.2 as upstream needs python 2.5 to work correctly. + Replace python-central by python-support. * debian/rules: + Replace python-central by python-support. + Rebuild QT ui files. + Don't remove mmpython. Not at tarball anymore. * debian/copyright: + Add myself as upstream developer. + Bump copyright year to 2010. + Change from GPL-2 to GPL-3 as upstream. -- Marco Rodrigues Wed, 24 Feb 2010 23:04:12 +0000 subdownloader (2.0.9.3-2) unstable; urgency=low * debian/rules: + Move generate-mo-files to build and add to PHONY. + Force use of dh_pycentral instead of dh_pysupport. * debian/copyright: + Update to current year in translations and authors. -- Marco Rodrigues Mon, 09 Feb 2009 21:46:09 +0000 subdownloader (2.0.9.3-1) unstable; urgency=low * New upstream version. * debian/control: + Short and long description improved (Closes: #512186). * debian/watch: + Fix name of tarball to lowercase (changed upstream). -- Marco Rodrigues Thu, 29 Jan 2009 09:40:21 +0000 subdownloader (2.0.9.2-1) unstable; urgency=low * New upstream version. -- Marco Rodrigues Wed, 14 Jan 2009 20:16:17 +0000 subdownloader (2.0.9.1-1) unstable; urgency=low * New upstream version. * debian/rules: + Generate mo files from po files on build. * debian/control: + Add Conflicts/Replaces to avoid problems with the non-official -cli package (Closes: #510049). * debian/copyright: + Add copyright notice for locale (po files). -- Marco Rodrigues Mon, 29 Dec 2008 12:22:05 +0000 subdownloader (2.0.8.1-1) unstable; urgency=low * Initial Release (Closes: #490364). -- Marco Rodrigues Sun, 07 Dec 2008 19:26:05 +0000 debian/compat0000644000000000000000000000000212047253526010372 0ustar 7