--- mythnettv-7+dfsg.orig/debian/changelog +++ mythnettv-7+dfsg/debian/changelog @@ -0,0 +1,28 @@ +mythnettv (7+dfsg-0ubuntu3) trusty; urgency=medium + + * Port to dh_python2. + + -- Dimitri John Ledkov Mon, 27 Jan 2014 13:09:11 +0000 + +mythnettv (7+dfsg-0ubuntu2) karmic; urgency=low + + * Fixes FTBFS (LP: #434130) + * debian/control: + - Add XB-Python-Version field. + - Bump Standards-Version to 3.8.3 + + -- Andrew Starr-Bochicchio Mon, 21 Sep 2009 12:50:12 -0400 + +mythnettv (7+dfsg-0ubuntu1) jaunty; urgency=low + + * Initial release (LP: #328150) + * patch 01_setup.py_fixes adds maintainer to setup.py, fixes location + - of readme, removes installation of the COPYING file + * patch 02_add_launcher adds a file to be installed to /usr/bin + * patch 03_remove_copying removes the copying file + * Added COPYING.GPL to source tarball since it was missing it. + - Sourcecode says to use GPL as license, but doesn't actually + - contain a copy of the license. + + -- Thomas Mashos Wed, 11 Feb 2009 09:08:15 -0800 + --- mythnettv-7+dfsg.orig/debian/compat +++ mythnettv-7+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- mythnettv-7+dfsg.orig/debian/control +++ mythnettv-7+dfsg/debian/control @@ -0,0 +1,26 @@ +Source: mythnettv +Section: graphics +Priority: optional +Maintainer: MythTV Ubuntu Maintainers +XSBC-Original-Maintainer: Thomas Mashos +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), dh-python, python (>= 2.5) +Standards-Version: 3.8.3 +Homepage: http://www.stillhq.com/mythtv/mythnettv/ + +Package: mythnettv +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-feedparser, python-mysqldb, mplayer, mencoder +Recommends: bittornado +Description: Plugin to download video from RSS feeds + MythNetTv is a RSS and Atom aggregator for video + downloads. Use this program to subscribe to video + RSS feeds, and it will download these videos for + you. + . + MythNetTV is meant to be used in conjunction with + MythTV and will place videos that it downloads into + your storage directories and make them selectable + with the rest of your recordings in the MythTV + frontend. Although it is meant to be used with + Mythtv, it can also be used as a standalone + application. --- mythnettv-7+dfsg.orig/debian/copyright +++ mythnettv-7+dfsg/debian/copyright @@ -0,0 +1,102 @@ +This package was debianized by Thomas Mashos on +Wed, 20 Aug 2008 19:58:19 -0700. + +Source located at http://www.stillhq.com/mythtv/mythnettv/ + +Files: gflags.py + +Author(s) & Copyright: + + © 2007, Google Inc. + +License: BSD-C3 + + Copyright (c) 2007, Google Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + --- + Author: Chad Lester + Design and style contributions by: + Amit Patel, Bogdan Cocosel, Daniel Dulitz, Eric Tiedemann, + Eric Veach, Laurence Gonsalves, Matthew Springer + Code reorganized a bit by Craig Silverstein + + +Files: setup.py + +Author(s) & Copyright: + + © 2008 Thomas Mashos + + +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 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + +Files: * (except gflags.py and setup.py) + +Author(s) & Copyright: + + © 2006, 2007, 2008 Michael Still + + +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 as published by + the Free Software Foundation; version 2 of the License. + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2’. + +The Debian packaging is © 2008, Thomas Mashos and +is licensed under the GPL, see above. --- mythnettv-7+dfsg.orig/debian/dirs +++ mythnettv-7+dfsg/debian/dirs @@ -0,0 +1 @@ +/var/lib/mythtv/mythnettv --- mythnettv-7+dfsg.orig/debian/manpages +++ mythnettv-7+dfsg/debian/manpages @@ -0,0 +1 @@ +mythnettv.1 --- mythnettv-7+dfsg.orig/debian/patches/01_setup.py_fixes.patch +++ mythnettv-7+dfsg/debian/patches/01_setup.py_fixes.patch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_setup.py_maintainer.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adds maintainer field and removes installation of copyright +## file. Also installs readme in right location + +@DPATCH@ +diff -urNad mythnettv~/setup.py mythnettv/setup.py +--- mythnettv~/setup.py 2009-02-14 19:44:21.000000000 -0800 ++++ mythnettv/setup.py 2009-02-14 19:45:54.000000000 -0800 +@@ -25,11 +25,13 @@ + name="mythnettv", + author="Michael Still", + author_email="mikal@stillhq.com", ++ maintainer="Ubuntu MythTV Team", ++ maintainer_email="ubuntu-mythtv@lists.ubuntu.com", + url="http://www.stillhq.com/mythtv/mythnettv/", + license="gpl", + description="Plugin to download RSS video feeds for MythTV", + data_files=[("share/mythnettv", glob.glob("*.py")), +- ("share/mythnettv", glob.glob("README*")), +- ("share/mythnettv", glob.glob("mythnettv*")), +- ("share/mythnettv", glob.glob("COPYING"))], ++ ("share/doc/mythnettv", glob.glob("README*")), ++ ("share/mythnettv", glob.glob("mythnettv*"))], ++ scripts=['bin/', 'bin/mythnettv'], + ) --- mythnettv-7+dfsg.orig/debian/patches/02_add_launcher.patch +++ mythnettv-7+dfsg/debian/patches/02_add_launcher.patch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_add_launcher.dpatch by Thomas Mashos +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This adds the launcher that is to be installed in /usr/bin + +@DPATCH@ +diff -urNad mythnettv~/bin/mythnettv mythnettv/bin/mythnettv +--- mythnettv~/bin/mythnettv 1969-12-31 16:00:00.000000000 -0800 ++++ mythnettv/bin/mythnettv 2009-02-14 19:44:44.000000000 -0800 +@@ -0,0 +1,3 @@ ++#!/bin/bash ++ ++/usr/share/mythnettv/mythnettv $@ +diff -urNad mythnettv~/setup.py.rej mythnettv/setup.py.rej +--- mythnettv~/setup.py.rej 1969-12-31 16:00:00.000000000 -0800 ++++ mythnettv/setup.py.rej 2009-02-14 19:44:44.000000000 -0800 +@@ -0,0 +1,12 @@ ++*************** ++*** 34,37 **** ++ ("share/mythnettv", glob.glob("README*")), ++ ("share/mythnettv", glob.glob("mythnettv*")), ++ ("share/mythnettv", glob.glob("COPYING"))], ++ ) ++--- 34,38 ---- ++ ("share/mythnettv", glob.glob("README*")), ++ ("share/mythnettv", glob.glob("mythnettv*")), ++ ("share/mythnettv", glob.glob("COPYING"))], +++ scripts=['bin/', 'bin/mythnettv'], ++ ) --- mythnettv-7+dfsg.orig/debian/pycompat +++ mythnettv-7+dfsg/debian/pycompat @@ -0,0 +1 @@ +2 --- mythnettv-7+dfsg.orig/debian/rules +++ mythnettv-7+dfsg/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +DEB_PYTHON2_MODULE_PACKAGES := mythnettv +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + + +get-orig-source:: + uscan --rename --force-download + mv ../mythnettv_7.orig.tar.gz ./ + mkdir mythnettv-release-7 + cp /usr/share/common-licenses/BSD mythnettv-release-7/COPYING.BSD + wget http://www.gnu.org/licenses/gpl-2.0.txt -O mythnettv-release-7/COPYING.GPL + gunzip mythnettv_7.orig.tar.gz + tar -r --file=mythnettv_7.orig.tar mythnettv-release-7 + gzip mythnettv_7.orig.tar + mv mythnettv_7.orig.tar.gz ../mythnettv_7+dfsg.orig.tar.gz + rm -R mythnettv-release-7 +../$(TARFILE):: get-orig-source --- mythnettv-7+dfsg.orig/debian/watch +++ mythnettv-7+dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=versionmangle=s/\+dfsg// \ +http://www.stillhq.com/mythtv/mythnettv/ .*/mythnettv-release-([\d]+)\.tgz