--- mythplugins-0.21.0~fixes15967.orig/debian/TODO.Debian +++ mythplugins-0.21.0~fixes15967/debian/TODO.Debian @@ -0,0 +1,11 @@ +Festival Support for Mythphone: + +Festival support is currently broken, from what appears to be a bug in festival itself +http://mythtv.org/pipermail/mythtv-dev/2005-February/032326.html + +This is not the same problem as the .18.1 package, as myth and speech-tools are both now built with g++-4. + +To re-enable festival: + *Remove the --disable-festival from configure + *Add libesd0-dev, festival-dev back into build depends + *Add festvox-don | festival-voice back into the depends for mythphone --- mythplugins-0.21.0~fixes15967.orig/debian/changelog +++ mythplugins-0.21.0~fixes15967/debian/changelog @@ -0,0 +1,402 @@ +mythplugins (0.21.0~fixes15967-0ubuntu1) hardy; urgency=low + + * New upstream checkout. + - Upstream has entered a feature freeze and the final will + be coming in the next few weeks. + * Drop TODO file that is installed with mythweb. + * Drop mythdvd from mythplugins depends. + * debian/control: + - Adjust to build against newer mythtv. + - Add recommends for project-x in mytharchive. + - Add libmyth-python to mythvideo depends. + * debian/rules: + - Adjust to build against 0.21-fixes tree. + + -- Mario Limonciello Wed, 13 Feb 2008 22:16:43 -0600 + +mythplugins (0.20.99+trunk15849-0ubuntu1) hardy; urgency=low + + * New upstream checkout. + - Fixes issues with mythweb using too much CPU. + * Drop 11_force_0.21. No longer necessary. + * debian/control: + - Depend on 0.20.99+trunk15849 of libmyth-dev to build. + + -- Mario Limonciello Fri, 08 Feb 2008 12:18:35 -0600 + +mythplugins (0.20.99+trunk15685-0ubuntu1) hardy; urgency=low + + " here to accompany the big change " + + [ Mario Limonciello ] + * Switch to trunk in preparation of upcoming 0.21 release. + - Feature freeze is Feb 14, all changes between this and the 0.21 + release will be bug fixes, but not necessarily tracked on LP. + * Merge with ubuntu-mythtv's trunk bzr branch. + - Drop old mythweather patch. + * Update standards version to 3.7.3, no source changes. + * debian/rules: + - Don't install README for mythgame + - Add mythappearance and mythmovies + - Update get-orig-source target + * debian/control: + - Build depend on at least libmyth-dev 0.20.99 + - Add mythappearance and mythmovies + * Add 11_force_0.21 to force library soname to 0.21 until upstream changes. + + [ Michael Haas ] + * Drop 03_mythmusic, 06_ubuntu_directories, 07_mythweather_weather_com, + 08_mythvideo_gallery. + * Add 07_mythgallery 08_mythmusic 09_mythvideo, 10_mythweb to set Ubuntu + default directories. + * Update german translations + * debian/control: + - Drop mythdvd + - Absorb mythdvd dependencies into mythvideo + * Adjust mythweb postinst/postrm/prerm + + + -- Mario Limonciello Wed, 30 Jan 2008 12:44:09 -0600 + +mythplugins (0.20.2+fixes15513-0ubuntu2) hardy; urgency=low + + * debian/control: + - sed s'/genisoiamge/genisoimage/' + + -- Mario Limonciello Thu, 24 Jan 2008 11:55:00 -0600 + +mythplugins (0.20.2+fixes15513-0ubuntu1) hardy; urgency=low + + * New upstream checkout. + * Update 07_weather_com dpatch. + * Drop unnecessary 09_mythflix_html patch as its now integrated. + * Depend on libmyth-dev 0.20.2+fixes15513-0ubuntu4 to prevent FTBFS. + + -- Mario Limonciello Mon, 21 Jan 2008 20:05:27 -0600 + +mythplugins (0.20.2+fixes15096-0ubuntu3) hardy; urgency=low + + * debian/control: + - Depend on genisoimage (which replaces mkisofs) + + -- Mario Limonciello Sat, 12 Jan 2008 12:55:37 -0600 + +mythplugins (0.20.2+fixes15096-0ubuntu2) hardy; urgency=low + + * Build depend on libfaad-dev | libfaad2-dev to allow proper + dependency order resolution since libfaad2-dev is still present + in Hardy. + + -- Mario Limonciello Thu, 20 Dec 2007 03:38:53 -0600 + +mythplugins (0.20.2+fixes15096-0ubuntu1) hardy; urgency=low + + * New upstream version. + * debian/control: + - Add cdrecord to mythmusic recommends (LP: #151225) + - Build depend on libfaad2-dev or libfaad-dev. + * Update 07_mythweather_weather_com.dpatch for mythweb + and mythweather support. + * Add 09_mythflix_html.dpatch for mythflix errors causing + html rather than netflix info. (LP: #174187) + * Add 10_mythmusic_faad.dpatch for mythmusic related + FTBFS on the new faad. + + -- Mario Limonciello Mon, 17 Dec 2007 16:55:44 -0600 + +mythplugins (0.20.2+fixes14789-0ubuntu1) hardy; urgency=low + + * New upstream version. + + -- Mario Limonciello Mon, 05 Nov 2007 22:15:39 -0600 + +mythplugins (0.20.2-0ubuntu2) gutsy; urgency=low + + * Add fix for mythvideo's gallery view from svn + changeset 12855 (LP: #135872) + + -- Mario Limonciello Sun, 16 Sep 2007 12:37:19 -0500 + +mythplugins (0.20.2-0ubuntu1) gutsy; urgency=low + + * New upstream version: + - Tagged Release: 0.20.2 + - Replaces Datadirect support with Schedules Direct for North + American users. + - Fixes mythweb sessions support (LP: #97599) + * debian/control: + - Require a newer myth version because of plugin ABI changing. + - Update section(s) to multiverse/ so this can build on PPAs. + * debian/rules: + - Add support for tagged releases that don't need +fixes appended. + + -- Mario Limonciello Mon, 20 Aug 2007 19:03:23 -0500 + +mythplugins (0.20.1+fixes14194-0.0ubuntu1) gutsy; urgency=low + + [ Mario Limonciello ] + * Update to new SVN fixes co, 14194. + - Includes support for unofficial mythstream plugin. + + [ Michael Haas] + * Add db_stop to mythweb postinst. + + -- Mario Limonciello Tue, 14 Aug 2007 19:06:45 -0500 + +mythplugins (0.20.1+fixes13837-0.0ubuntu2) gutsy; urgency=low + + * Clean up debhelper tags in postrm / prerm. + * Fix minor typo in mythweb.templates. (LP: #125082) + + -- Mario Limonciello Tue, 10 Jul 2007 03:06:00 -0500 + +mythplugins (0.20.1+fixes13837-0.0ubuntu1) gutsy; urgency=low + + * Update to new SVN fixes co, 13837. + - Solves some issues with mythvideo and imdb. + * Merge in Michael Haas's changes from trunk + packaging for a mythweb password. + * Add template functionality to mythweb + packaging. + + -- Mario Limonciello Fri, 6 Jul 2007 22:23:56 -0500 + +mythplugins (0.20.1+fixes13737-0.0ubuntu1) gutsy; urgency=low + + * Update to new SVN Fixes co, 13737. + * Adapt new package naming structure. + * debian/rules: + - Add support to grab the latest .orig.tar.gz. + + -- Mario Limonciello Sun, 17 Jun 2007 13:14:42 -0500 + +mythplugins (0.20-svn20070523-0.0ubuntu1) gutsy; urgency=low + + * Merge w/ debian multimedia: + o New svn release. Last change is 13496. + o Build with --disable-aac (doesn't compile for now). + * Remaining Changes: + o Allow build with aac. No problems in Ubuntu. + o Update libmyth-0.20-dev to be libmyth-dev + o Remove 07_new_imdb_format, it's now in 0.20-fixes + o Add 07_mythweather_weather_com.dpatch to fix mythweather + o Add sharutils to builddeps so we can decode uuencoded files + used in the mythweather patch. + o Add XSBC-Original-Maintainer to debian/control. + + -- Mario Limonciello Wed, 23 May 2007 20:51:53 -0500 + +mythplugins (0.20-svn20070122-0.0ubuntu3) feisty; urgency=low + + * Add 07_new_imdb_format.dpatch from svn trunk to reflect IMDB's new + format. (Closes #93435) + + -- Mario Limonciello Sun, 18 Mar 2007 11:27:10 -0500 + +mythplugins (0.20-svn20070122-0.0ubuntu2) feisty; urgency=low + + * debian/rules, debian/patches/06_ubuntu_paths, + debian/myth{video,music,gallery}.postinst: adjusting paths for /var/lib. + + -- Kees Cook Mon, 19 Feb 2007 14:11:21 -0800 + +mythplugins (0.20-svn20070122-0.0ubuntu1) feisty; urgency=low + + * Merge from debian multimedia: + o New upstream version. + + -- Mario Limonciello Mon, 22 Jan 2007 15:24:45 -0600 + +mythplugins (0.20-svn20061209-0.1ubuntu1) feisty; urgency=low + + * Merge from debian multimedia: + o Fix typo in postrm for mythweb s/postinst/postrm/ and add upgrade in + fallback list. + o Depends instead of recommends in metapackage mythplugins. + * Remaining changes: + o Update debian/control to match debian multimedia in most areas. + + -- Mario Limonciello Thu, 28 Dec 2006 15:47:51 -0600 + +mythplugins (0.20-svn20061209-0.0ubuntu1) feisty; urgency=low + + * Merge from debian multimedia: + o New 0.20 fixes update, but this time with a new tarball, so all files + should be included in the mytharchive-data package. + * Remaining Changes: + o Removed redundant mytharchive-data from mytharchive data. + o debian/rules: + - Set mythvideo directory to /media/mythtv/videos + - Set mythmusic directory to /media/mythtv/music + - Set mythgallery directory to /media/mythtv/pictures + o Create mythgallery.postinst for setting perms + o Change directories in mythmusic.postinst, mythvideo.postinst + + -- Mario Limonciello Mon, 11 Dec 2006 16:02:32 -0600 + +mythplugins (0.20-0.9ubuntu1) edgy; urgency=low + + * Merge from debian multimedia. + o Remove mythwebdir apache site on remove/purge. + o Updated 0.20 fixes patch (latest is 11627). + o Added support for make -j + o Rewrote mytharchive and mytharchive-data depends field. + o Fix typo in directories creation (/var/cache/mythweb/image_cache vs + var/cache/mythweb/image_cach) for the mythweb package. (Closes: #63490) + o Put config.php and canned_searches.conf.php in /etc/mythtv/ + o Added patch to disable is_writable for 'data' and 'data/tv_icons' (Closes: #63490) + o redid mythweb.postinst without awk and using confmodule for .htaccess. + o Data links are now added only if they don't exist. + o Add ccache to build depends + o Remove patch 10868-11564 against mytharchive. + o Move the python script from mytharchive-data to mytharchive and add + dependencies on python-imaging, python-mysqldb and mytharchive-data. + * Remaining changes: + o Update maintainer, "MythTV Ubuntu Maintainers " + o Move 04_festival_paths.dpatch to 05_festival_paths.dpatch to make room for + debian multimedia patch, 04_mythweb_complaints.dpatch + o Set mythweb.postinst to use sh again since its now dash compliant. + o Remove unnecessary $(CCVARS) from debian/rules. + + -- Mario Limonciello Wed, 06 Dec 2006 16:30:59 -0600 + +mythplugins (0.20-0.6ubuntu4) edgy; urgency=low + + * Make mythweb.postinst use bash instead of sh (Closes Ubuntu: #63493) + + -- Reinhard Tartler Sun, 15 Oct 2006 09:25:24 +0200 + +mythplugins (0.20-0.6ubuntu3) edgy; urgency=low + + * (Reupload due to original being eaten by a grue) debian/control: + Add mytharchive-data, python-imaging, and python-mysqldb to + mytharchive's dependencies (Closes Ubuntu: #65592, #65595). + + -- Daniel T Chen Wed, 11 Oct 2006 22:44:02 -0400 + +mythplugins (0.20-0.6ubuntu2) edgy; urgency=low + + * Rebuild only against new Mythtv ( no changes ) + + -- Brandon Holtsclaw Mon, 9 Oct 2006 16:10:11 -0500 + +mythplugins (0.20-0.6ubuntu1) edgy; urgency=low + + * Merge from debian-multimedia, remaining changes: + * Disable festival support for now. [Closes Ubuntu #63486] + * Remove libfestival-dev, libesd0-dev from build-depends. + * Remove festvox-don | festival-voice from mythphone depends. + * Add 04_festival_paths.dpatch for fixed paths when festival is fixed + * Recreate debian/TODO.Debian explaining current state of Festival problem. + + -- Mario Limonciello Thu, 5 Oct 2006 18:39:42 -0500 + +mythplugins (0.20-0.4ubuntu1) edgy; urgency=low + + [ Brandon Holtsclaw ] + * Universe Freeze Exception approved by dholbach and siretart + * Closes Malone: #62901 and #61332 + + [ Mario Limonciello ] + * Merge from debian-multimedia, remaining changes: + * Make mythweb depending on metapackages php4 | php5 from old package. + * Set debhelper compat to 5. + * Make mythplugins a metapackage again, depending on other plugins. + * Update all depends for mythtv-common and mythtv-frontend in edgy. + * Re-add build-depends for libgl1-mesa-dev. + * Update maintainer to be MOTU-Media again. + * Add build-depends for libfestival-dev, libesd0-dev + * Add depends for festvox-don | festival-voice on mythphone. + festival-voice is a virtual package provided by lots of voice sets. + Depending on festvox-don will guarantee at least one is installed. + * Make mythgame architecture any not just i386. + + -- Mario Limonciello Fri, 28 Sep 2006 19:35:33 -0500 + +mythplugins (0.18.1-3ubuntu3) dapper; urgency=low + + * make mythweb depending on the metapackages php4 | php5 (Closes: M#5153) + * add --enable-exif to ./configure run (Closes: M#28738) + * mythplugins is now a 'real' meta package, and depends rather than + recommends the rest (Closes: M#5579) + + -- Reinhard Tartler Wed, 19 Apr 2006 10:01:59 +0200 + +mythplugins (0.18.1-3ubuntu2) dapper; urgency=low + + * Remove parts of settings.pro and generate them in debian/rules, + depending on what arch mythplugins should be built on. + Thus i386 only flags (mmx, march=pentiumpro) won't be set on + non-i386. + * Set debhelper compatibility to 5. + + -- Stefan Potyra Sat, 21 Jan 2006 03:35:28 +0100 + +mythplugins (0.18.1-3ubuntu1) dapper; urgency=low + + * Enable building of mythgame and mythphone. + * Adopt maintainership to motu-media. + * Remove commented out debhelper lines in debian/rules. + * Update build-depends of libcdaudio1-dev to libcdaudio-dev. + * Patch configure to support festival directories and libraries. + (not needed right now). + * Change mythgallery to be built on any arch instead of all. + * Patch mythphone/mythphone/PhoneSettings.cpp to match festival-voice + directory (not needed right now). + * Disable festival support for mythphone. Speech-tools just made the + switch to g++-4, so we can't link against these any longer. + * Add some notes in debian/TODO.Debian and install these into + documentation of mythplugins. + + -- Stefan Potyra Fri, 13 Jan 2006 15:06:30 +0100 + +mythplugins (0.18.1-3) breezy; urgency=low + + * Mythmusic patch to fix FTBFS. + * Add build-dependency on libgl1-mesa-dev | + + -- Fabio M. Di Nitto Sat, 24 Sep 2005 05:27:56 +0200 + +mythplugins (0.18.1-2) unstable; urgency=low + + * Mythgallery patch from Brad Fritz + - Tighten build-dependency on libexif-dev + - Install README, AUTHORS, UPGRADING + * Tighten plugin dependencies on mythfrontend to 0.18.1 + * Add build-dependency on libtiff4-dev | libtiff-dev + + -- Matt Zimmerman Sat, 11 Jun 2005 18:34:20 -0700 + +mythplugins (0.18.1-1) unstable; urgency=low + + * New upstream release + - Enables mythbrowser + - Update build-depends for libmyth-0.18.1 + * mythvideo Depends: libwww-perl + * Re-enable mythgallery + * Force g++-3.4 + + -- Matt Zimmerman Fri, 10 Jun 2005 12:54:04 -0700 + +mythplugins (0.18-3) unstable; urgency=low + + * Simplify mythweb installation, now that it's in a subdirectory + (restores missing subdirectories) + * Iterate over plugins rather than duplicating the install rules + + -- Matt Zimmerman Thu, 12 May 2005 11:47:18 -0700 + +mythplugins (0.18-2) unstable; urgency=low + + * Correct syntax errors in debian/rules, which resulted (among other + things) in /var/lib/mythvideo going missing + * Enable mythmusic plugin, seems to build with the latest marillat + packages + + -- Matt Zimmerman Tue, 10 May 2005 18:52:57 -0700 + +mythplugins (0.18-1) unstable; urgency=low + + * New upstream release, thanks to William Uther for a head start + + -- Matt Zimmerman Tue, 10 May 2005 10:52:32 -0700 --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.postrm +++ mythplugins-0.21.0~fixes15967/debian/mythweb.postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +case "$1" in + purge) + #These files may have been created during installation + rm -f /etc/mythtv/mythweb-htaccess + rm -f /etc/mythtv/mythweb-htaccess.dpkg-old + rm -f /etc/mythtv/mythweb-digest +;; + + remove|upgrade|abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- mythplugins-0.21.0~fixes15967.orig/debian/rules +++ mythplugins-0.21.0~fixes15967/debian/rules @@ -0,0 +1,196 @@ +#!/usr/bin/make -f +include /usr/share/dpatch/dpatch.make + +# Uncomment this to turn on verbose mode. +# Watch out for superfluous whitespaces here! +SVN_PACKAGE+=mythplugins +SVN_TYPE+=fixes +SVN_MAJOR_RELEASE+=21 +SVN_MINOR_RELEASE+=0 +SVN_REVISION+=15967 +SVN_BRANCH+= http://svn.mythtv.org/svn/branches/release-0-$(SVN_MAJOR_RELEASE)-$(SVN_TYPE)/$(SVN_PACKAGE) +#SVN_BRANCH+= http://svn.mythtv.org/svn/$(SVN_TYPE)/$(SVN_PACKAGE) +#GREATER+=true +#TAGGED_RELEASE+=true + +ifneq "$(SVN_MINOR_RELEASE)" "" + SVN_RELEASE+=0.$(SVN_MAJOR_RELEASE).$(SVN_MINOR_RELEASE) +else + SVN_RELEASE+=0.$(SVN_MAJOR_RELEASE) +endif +ifeq "$(TAGGED_RELEASE)" "" + ifeq "$(GREATER)" "true" + SUFFIX+="+$(SVN_TYPE)$(SVN_REVISION)" + else + SUFFIX+="~$(SVN_TYPE)$(SVN_REVISION)" + endif +endif +TARFILE+=$(SVN_PACKAGE)_$(SVN_RELEASE)$(SUFFIX).orig.tar.gz + +get-orig-source: + svn export -r $(SVN_REVISION) $(SVN_BRANCH) $(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX) + tar czf $(CURDIR)/../$(TARFILE) $(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX) + rm -rf $(CURDIR)/$(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX) + +NCPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1) + +ifeq ($(NCPUS),-1) + NCPUS:=1 +endif + +ifeq ($(NCPUS),0) + NCPUS:=1 +endif + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +export QTDIR=$(shell for qtdir in /usr/share/qt3 /usr/share/qt; do if test -d $$qtdir; then echo $$qtdir; break; fi; done) + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + + ./configure --prefix=/usr --enable-all --disable-festival --zm-version=1.22.3 + + qmake -o Makefile PREFIX=/usr mythplugins.pro + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + $(MAKE) -j $(NCPUS) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + find . -name '.qmake*' | xargs --no-run-if-empty rm -f + rm -f config.mak config.h + rm -f debian/shlibs.local + + debian/rules unpatch + + dh_clean Makefile config.pro mythgallery/mythgallery/config.h \ + mythmusic/mythmusic/config.h mythgallery/mythgallery/config.pro \ + mythmusic/mythmusic/config.pro \ + mythdvd/mtd/config.pro \ + mythphone/mythphone/config.h mythphone/mythphone/config.pro \ + config.log mythconfig.mak mytharchive/mytharchive/config.h \ + mytharchive/mytharchive/config.pro + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -pmythdvd var/lib/mythdvd/temp + dh_installdirs -pmythmusic var/lib/mythtv/music + dh_installdirs -pmythgallery var/lib/mythtv/pictures + dh_installdirs -pmythmusic etc/mythtv usr/share/mythtv/sql + dh_installdirs -pmythnews + dh_installdirs -pmythvideo var/lib/mythtv/videos + dh_installdirs -pmythweather etc/mythtv + dh_installdirs -pmythweb var/cache/mythweb/image_cache \ + var/www etc/mythtv usr/share/mythtv etc/apache2/sites-available + + for plugin in mythappearance mytharchive mythbrowser mythcontrols mythflix \ + mythgallery mythgame mythmusic mythmovies mythnews mythphone mythvideo \ + mythweather mythzoneminder; do \ + $(MAKE) -C $$plugin install INSTALL_ROOT=$(CURDIR)/debian/$$plugin; \ + done + + find debian/mytharchive/usr/share/mythtv -type f -exec chmod 0644 {} \; + + mv debian/mythflix/usr/share/mythtv/themes/default/news-info-bg.png \ + debian/mythflix/usr/share/mythtv/themes/default/flix-info-bg.png + +# Handle the mythweb install + cp -R mythweb $(CURDIR)/debian/mythweb/usr/share/mythtv + +# this can be replaced by mythweb.conf.apache +# cp debian/mythwebdir debian/mythweb/etc/apache2/sites-available/ + + +# FIXME: can i just overwrite sites-available/mythwebdir? +# won't I need some preinst/postinst magic? +# am i allowed to overwrite config files in /etc/? +# this is actually handled in mythweb.postinst +# cp mythweb/mythweb.conf.apache debian/mythweb/etc/apache2/sites-available/mythweb.conf + +# .htaccess is no more since changeset 12155 +# mv debian/mythweb/usr/share/mythtv/mythweb/.htaccess \ +# debian/mythweb/usr/share/mythtv/mythweb/.htaccess.dist + + mv debian/mythweb/usr/share/mythtv/mythweb/includes/config.php \ + debian/mythweb/etc/mythtv/mythweb-config.php + mv debian/mythweb/usr/share/mythtv/mythweb/modules/tv/canned_searches.conf.php \ + debian/mythweb/etc/mythtv/mythweb-canned_searches.conf.php + + rm debian/mythweb/usr/share/mythtv/mythweb/LICENSE + rm debian/mythweb/usr/share/mythtv/mythweb/README + find debian/mythweb/ -type d -name ".svn" -print0 | xargs -0 rm -rf + + dh_movefiles --sourcedir=debian/mytharchive + + mv debian/mytharchive-data/usr/share/mythtv/mytharchive/scripts/mythburn.py \ + debian/mytharchive/usr/share/mythtv/mytharchive/scripts/mythburn.py + + -find debian/mytharchive -type d -exec rmdir -p --ignore-fail-on-non-empty {} \; + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -pmythweb mythweb/README + dh_installdocs -pmytharchive-data mytharchive/TODO mytharchive/README mytharchive/AUTHORS + dh_installdocs -i + dh_installmenu -i + dh_installdebconf -i + dh_installchangelogs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir -s + dh_testroot -s + dh_installdebconf -i + dh_installdocs -pmytharchive mytharchive/TODO mytharchive/README mytharchive/AUTHORS + dh_installdocs -pmythbrowser mythbrowser/README mythbrowser/AUTHORS + dh_installdocs -pmythcontrols mythcontrols/README mythcontrols/AUTHORS + dh_installdocs -pmythflix mythflix/README mythflix/AUTHORS + dh_installdocs -pmythgallery mythgallery/README mythgallery/AUTHORS + #Where'd I go? + #dh_installdocs -pmythgame mythgame/README + dh_installdocs -pmythmusic mythmusic/README mythmusic/AUTHORS + dh_installdocs -pmythnews mythnews/README mythnews/AUTHORS + dh_installdocs -pmythphone mythphone/README mythphone/AUTHORS + dh_installdocs -pmythvideo mythvideo/README mythvideo/README.dvd \ + mythvideo/README-database.dvd + dh_installdocs -pmythweather mythweather/README mythweather/AUTHORS + dh_installdocs -pmythzoneminder mythzoneminder/README mythzoneminder/AUTHORS + dh_installdocs -s + dh_installchangelogs -s + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mythplugins-0.21.0~fixes15967.orig/debian/mythvideo.postinst +++ mythplugins-0.21.0~fixes15967/debian/mythvideo.postinst @@ -0,0 +1,40 @@ +#!/bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +case "$1" in + configure) + if ! dpkg-statoverride --list /var/lib/mythtv/videos; then + chown mythtv:mythtv /var/lib/mythtv/videos + chmod 775 /var/lib/mythtv/videos + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythplugins-0.21.0~fixes15967.orig/debian/mythmusic.postinst +++ mythplugins-0.21.0~fixes15967/debian/mythmusic.postinst @@ -0,0 +1,58 @@ +#! /bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +MYTHSQL=/usr/share/mythtv/mythsql + +case "$1" in + configure) + if test -n "$2" && dpkg --compare-versions "$2" lt 0.8-1; then + $MYTHSQL < /usr/share/mythtv/sql/mythmusic-0-7-to-0-8.sql + fi + + if test -n "$2" && dpkg --compare-versions "$2" lt 0.9-1; then + $MYTHSQL /usr/share/mythtv/sql/mythmusic-0-8-to-0-9.sql + fi + + if [ -f /etc/mythtv/mythmusic-settings.txt ]; then + mv /etc/mythtv/mythmusic-settings.txt \ + /etc/mythtv/mythmusic-settings.dpkg-old + fi + + for dir in /var/lib/mythtv/music; do + if ! dpkg-statoverride --list $dir >/dev/null; then + chown mythtv:mythtv $dir + chmod 2775 $dir + fi + done + + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythplugins-0.21.0~fixes15967.orig/debian/mythgallery.postinst +++ mythplugins-0.21.0~fixes15967/debian/mythgallery.postinst @@ -0,0 +1,40 @@ +#!/bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +case "$1" in + configure) + if ! dpkg-statoverride --list /var/lib/mythtv/pictures; then + chown mythtv:mythtv /var/lib/mythtv/pictures + chmod 775 /var/lib/mythtv/pictures + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythplugins-0.21.0~fixes15967.orig/debian/po/templates.pot +++ mythplugins-0.21.0~fixes15967/debian/po/templates.pot @@ -0,0 +1,56 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: ubuntu-mythtv@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-09-13 21:13+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mythweb.templates:1001 +msgid "Would you like to password-protect your MythWeb?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mythweb.templates:1001 +msgid "" +"MythWeb is the web interface of MythTV. It is possible to restrict access by " +"enabling password protection. It is STRONGLY recommended that you set a " +"password if your MythWeb will be exposed to the World Wide Web." +msgstr "" + +#. Type: string +#. Description +#: ../mythweb.templates:2001 +msgid "Please enter a user name:" +msgstr "" + +#. Type: string +#. Description +#: ../mythweb.templates:2001 +msgid "You will use this user name to access your MythWeb." +msgstr "" + +#. Type: password +#. Description +#: ../mythweb.templates:3001 +msgid "Please enter a password:" +msgstr "" + +#. Type: password +#. Description +#: ../mythweb.templates:3001 +msgid "You will use this password to access your MythWeb." +msgstr "" --- mythplugins-0.21.0~fixes15967.orig/debian/po/de.po +++ mythplugins-0.21.0~fixes15967/debian/po/de.po @@ -0,0 +1,57 @@ +# translation of de.po to Deutsch +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: de\n" +"Report-Msgid-Bugs-To: ubuntu-mythtv@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-09-13 21:13+0200\n" +"PO-Revision-Date: 2007-09-13 21:35+0200\n" +"Last-Translator: laga\n" +"Language-Team: Deutsch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../mythweb.templates:1001 +msgid "Would you like to password-protect your MythWeb?" +msgstr "Möchten Sie MythWeb mit einem Passwort schützen?" + +#. Type: boolean +#. Description +#: ../mythweb.templates:1001 +msgid "" +"MythWeb is the web interface of MythTV. It is possible to restrict access by " +"enabling password protection. It is STRONGLY recommended that you set a " +"password if your MythWeb will be exposed to the World Wide Web." +msgstr "MythWeb ist die Web-Schnittstelle von MythTV. Sie können den Zugriff einschränken. indem Sie ein Passwort setzen. Es wird dringend empfohlen, ein Passwort zu setzen, falls MythWeb vom Internet aus erreichbar ist." + +#. Type: string +#. Description +#: ../mythweb.templates:2001 +msgid "Please enter a user name:" +msgstr "Bitte geben Sie einen Benutzernamen ein:" + +#. Type: string +#. Description +#: ../mythweb.templates:2001 +msgid "You will use this user name to access your MythWeb." +msgstr "Benutzen Sie diesen Benutzernamen, um sich in MythWeb anzumelden" + +#. Type: password +#. Description +#: ../mythweb.templates:3001 +msgid "Please enter a password:" +msgstr "Bitte geben Sie ein Passwort ein:" + +#. Type: password +#. Description +#: ../mythweb.templates:3001 +msgid "You will use this password to access your MythWeb." +msgstr "Benutzen Sie dieses Passwort, um sich in MythWeb anzumelden" + --- mythplugins-0.21.0~fixes15967.orig/debian/po/POTFILES.in +++ mythplugins-0.21.0~fixes15967/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] mythweb.templates --- mythplugins-0.21.0~fixes15967.orig/debian/patches/00list +++ mythplugins-0.21.0~fixes15967/debian/patches/00list @@ -0,0 +1,8 @@ +01_flix-png-fix +04_mythweb_complaints +#05_festival_paths +10_mythweb_directory.dpatch +07_mythgallery_ubuntu_directories.dpatch +08_mythmusic_ubuntu_directories.dpatch +09_mythvideo_ubuntu_directories.dpatch +10_mythmusic_faad --- mythplugins-0.21.0~fixes15967.orig/debian/patches/09_mythvideo_ubuntu_directories.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/09_mythvideo_ubuntu_directories.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_mythvideo_ubuntu_directories.dpatch by laga <> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change some paths to match Debian/Ubuntu better + +@DPATCH@ + +Index: mythvideo/globals.cpp +=================================================================== +--- a/mythvideo/mythvideo/globals.cpp (revision 13505) ++++ b/mythvideo/mythvideo/globals.cpp (working copy) +@@ -28,5 +28,5 @@ + #ifdef Q_WS_MACX + const QString DEFAULT_VIDEOSTARTUP_DIR = QDir::homeDirPath() + "/Movies"; + #else +-const QString DEFAULT_VIDEOSTARTUP_DIR = "/share/Movies/dvd"; ++const QString DEFAULT_VIDEOSTARTUP_DIR = "/var/lib/mythtv/videos"; + #endif --- mythplugins-0.21.0~fixes15967.orig/debian/patches/04_mythweb_complaints.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/04_mythweb_complaints.dpatch @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_mythweb_complaints.dpatch by Paul Andreassen +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: Fix mythweb directory complaints. + +@DPATCH@ + +Index: mythweb/includes/data_dir.php +=================================================================== +--- a/mythweb/includes/data_dir.php (revision 14883) ++++ b/mythweb/includes/data_dir.php (working copy) +@@ -17,10 +17,13 @@ + if (!is_dir('data') && !mkdir('data', 0755)) { + custom_error('Error creating the data directory. Please check permissions.'); + } ++ ++ /* + if (!is_writable('data')) { + $process_user = posix_getpwuid(posix_geteuid()); + custom_error('data directory is not writable by '.$process_user['name'].'. Please check permissions.'); + } ++*/ + + // New hard-coded cache directory + define('cache_dir', 'data/cache'); + +diff -Nurp mythplugins/mythweb/modules/tv/handler.php mythplugins-t/mythweb/modules/tv/handler.php +--- mythplugins/mythweb/modules/tv/handler.php 2006-09-15 17:25:03.409605288 +1000 ++++ mythplugins-t/mythweb/modules/tv/handler.php 2006-10-08 19:28:10.791587968 +1000 +@@ -18,11 +18,13 @@ + custom_error('Error creating data/tv_icons: Please check permissions on the data directory.'); + exit; + } ++/* + if (!is_writable('data/tv_icons')) { + $process_user = posix_getpwuid(posix_geteuid()); + custom_error('data/tv_icons directory is not writable by '.$process_user['name'].'. Please check permissions.'); + exit; + } ++*/ + + /** + * @global array $GLOBALS['Categories'] --- mythplugins-0.21.0~fixes15967.orig/debian/patches/08_mythmusic_ubuntu_directories.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/08_mythmusic_ubuntu_directories.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_mythmusic_ubuntu_directories.dpatch by laga <> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change some paths to match Debian/Ubuntu better + +@DPATCH@ + +Index: mythmusic/globalsettings.cpp +=================================================================== +--- a/mythmusic/mythmusic/globalsettings.cpp (revision 13505) ++++ b/mythmusic/mythmusic/globalsettings.cpp (working copy) +@@ -30,7 +30,7 @@ + #ifdef Q_WS_MACX + gc->setValue(QDir::homeDirPath() + "/Music"); + #else +- gc->setValue("/mnt/store/music/"); ++ gc->setValue("/var/lib/mythtv/music/"); + #endif + gc->setHelpText(QObject::tr("This directory must exist, and the user " + "running MythMusic needs to have write permission " --- mythplugins-0.21.0~fixes15967.orig/debian/patches/07_mythgallery_ubuntu_directories.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/07_mythgallery_ubuntu_directories.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 07_mythgallery_ubuntu_directories.dpatch by laga <> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change some paths to match Debian/Ubuntu better + +@DPATCH@ + +Index: mythgallery/gallerysettings.cpp +=================================================================== +--- a/mythgallery/mythgallery/gallerysettings.cpp (revision 13505) ++++ b/mythgallery/mythgallery/gallerysettings.cpp (working copy) +@@ -18,7 +18,7 @@ + #ifdef Q_WS_MACX + gc->setValue(QDir::homeDirPath() + "/Pictures"); + #else +- gc->setValue("/var/lib/pictures"); ++ gc->setValue("/var/lib/mythtv/pictures"); + #endif + gc->setHelpText(QObject::tr("This directory must exist and " + "MythGallery needs to have read permission.")); +@@ -71,7 +71,7 @@ + { + HostLineEdit *gc = new HostLineEdit("GalleryImportDirs"); + gc->setLabel(QObject::tr("Paths to import images from")); +- gc->setValue("/mnt/cdrom:/mnt/camera"); ++ gc->setValue("/media/cdrom:/media/usbdisk"); + gc->setHelpText(QObject::tr("This is a colon separated list of paths. " + "If the path in the list is a directory, its contents will " + "be copied. If it is an executable, it will be run.")); --- mythplugins-0.21.0~fixes15967.orig/debian/patches/05_festival_paths.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/05_festival_paths.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## festival_paths.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ + +--- mythplugins-0.20~/configure 2006-08-03 15:39:47.000000000 -0500 ++++ mythplugins-0.20/configure 2006-10-05 17:33:28.000000000 -0500 +@@ -806,10 +806,11 @@ + if test "$festival" = "yes" ; then + echo " FESTIVAL support will be included in MythPhone" + echo "#define FESTIVAL_SUPPORT 1" >> ./mythphone/mythphone/config.h +- echo "FESTIVALDIR = /home/paul/Build/festival/festival/" >> ./mythphone/mythphone/config.pro +- echo "DEFINES += FESTIVAL_HOME=\\\"\$\${FESTIVALDIR}\\\"" >> ./mythphone/mythphone/config.pro +- echo "INCLUDEPATH += /usr/include/festival /usr/include/speech_tools" >> ./mythphone/mythphone/config.pro +- echo "INCLUDEPATH += /usr/local/include/festival /usr/local/include/speech_tools" >> ./mythphone/mythphone/config.pro ++ echo "FESTIVALDIR = /usr/include/festival/" >> ./mythphone/mythphone/config.pro ++ echo "SPEECHTOOLSDIR = /usr/include/speech_tools/" >> ./mythphone/mythphone/config.pro ++ echo "DEFINES += FESTIVAL_HOME=\\\"/usr/share/festival/\\\"" >> ./mythphone/mythphone/config.pro ++ echo "INCLUDEPATH += \$\${FESTIVALDIR}" >> ./mythphone/mythphone/config.pro ++ echo "INCLUDEPATH += \$\${SPEECHTOOLSDIR}" >> ./mythphone/mythphone/config.pro + echo "LIBS += -lFestival -lestools -lestbase -leststring -ltermcap" >> ./mythphone/mythphone/config.pro + fi + +--- mythplugins-0.20~/mythphone/mythphone/PhoneSettings.cpp 2005-06-29 19:05:38.000000000 -0500 ++++ mythplugins-0.20/mythphone/mythphone/PhoneSettings.cpp 2006-10-05 17:33:28.000000000 -0500 +@@ -132,7 +132,7 @@ + HostComboBox *gc = new HostComboBox("TTSVoice", true); + gc->setLabel(QObject::tr("Text to Speech Voice")); + #ifdef FESTIVAL_SUPPORT +- QDir festDir(FESTIVAL_HOME "lib/voices/english/", ++ QDir festDir(FESTIVAL_HOME "voices/english/", + "[a-z]*;[A-Z]*", QDir::Name, QDir::Dirs); + // The name filter is to remove "." and ".." directories + gc->fillSelectionsFromDir(festDir, false); --- mythplugins-0.21.0~fixes15967.orig/debian/patches/10_mythmusic_faad.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/10_mythmusic_faad.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_mythmusic_faad.dpatch by Mario Limonciello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Switches behavior of faad due to newer version + +@DPATCH@ +diff -urNad mythplugins-0.20.2+fixes15096~/mythmusic/mythmusic/aacdecoder.cpp mythplugins-0.20.2+fixes15096/mythmusic/mythmusic/aacdecoder.cpp +--- mythplugins-0.20.2+fixes15096~/mythmusic/mythmusic/aacdecoder.cpp 2006-02-13 10:58:55.000000000 -0600 ++++ mythplugins-0.20.2+fixes15096/mythmusic/mythmusic/aacdecoder.cpp 2007-12-17 22:36:13.000000000 -0600 +@@ -10,7 +10,7 @@ + + #include + +-#ifdef __STDC_LIMIT_MACROS ++#ifndef __STDC_LIMIT_MACROS + #define FAAD_MODIFIED + #endif + --- mythplugins-0.21.0~fixes15967.orig/debian/patches/01_flix-png-fix.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/01_flix-png-fix.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_mythmusic_endian.ppc.dpatch by Magnus Ihse Bursie +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: Fix endianness problem on PPC in MythMusic. + +@DPATCH@ +diff -urNad mythplugins~/mythflix/mythflix/netflix-ui.xml mythplugins/mythflix/mythflix/netflix-ui.xml +--- mythplugins~/mythflix/mythflix/netflix-ui.xml 2007-12-09 21:07:23.000000000 -0600 ++++ mythplugins/mythflix/mythflix/netflix-ui.xml 2007-12-09 21:07:47.000000000 -0600 +@@ -91,7 +91,7 @@ + + + +- news-info-bg.png ++ flix-info-bg.png + 0,0 + + +@@ -172,7 +172,7 @@ + + + +- news-info-bg.png ++ flix-info-bg.png + 0,0 + + --- mythplugins-0.21.0~fixes15967.orig/debian/patches/10_mythweb_directory.dpatch +++ mythplugins-0.21.0~fixes15967/debian/patches/10_mythweb_directory.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10-mythweb_directory.dpatch by laga <> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch sets the mythweb directory in mythweb.conf.apache to +## DP: "/var/www/mythweb" + +@DPATCH@ + +--- a/mythweb/mythweb.conf.apache 2007-05-12 12:43:55.727415750 +0200 ++++ b/mythweb/mythweb.conf.apache.ubuntu 2007-05-13 16:17:03.121961250 +0200 +@@ -11,7 +11,7 @@ + # /var/www/html/mythweb + # /srv/www/htdocs/mythweb + # +- ++ + + ############################################################################ + # I *strongly* urge you to turn on authentication for MythWeb. It is disabled --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.templates +++ mythplugins-0.21.0~fixes15967/debian/mythweb.templates @@ -0,0 +1,18 @@ +Template: mythweb/enable +Type: boolean +Default: false +_Description: Would you like to password-protect your MythWeb? + MythWeb is the web interface of MythTV. It is possible to restrict + access by enabling password protection. It is STRONGLY recommended + that you set a password if your MythWeb will be exposed to the + World Wide Web. + +Template: mythweb/username +Type: string +_Description: Please enter a user name: + You will use this user name to access your MythWeb. + +Template: mythweb/password +Type: password +_Description: Please enter a password: + You will use this password to access your MythWeb. --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.links +++ mythplugins-0.21.0~fixes15967/debian/mythweb.links @@ -0,0 +1,4 @@ +etc/mythtv/mythweb-canned_searches.conf.php usr/share/mythtv/mythweb/modules/tv/canned_searches.conf.php +etc/mythtv/mythweb-config.php usr/share/mythtv/mythweb/includes/config.php +etc/mythtv/mythweb-htaccess usr/share/mythtv/mythweb/.htaccess +usr/share/mythtv/mythweb var/www/mythweb --- mythplugins-0.21.0~fixes15967.orig/debian/compat +++ mythplugins-0.21.0~fixes15967/debian/compat @@ -0,0 +1 @@ +5 --- mythplugins-0.21.0~fixes15967.orig/debian/mytharchive-data.files +++ mythplugins-0.21.0~fixes15967/debian/mytharchive-data.files @@ -0,0 +1 @@ +usr/share/mythtv --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.config +++ mythplugins-0.21.0~fixes15967/debian/mythweb.config @@ -0,0 +1,15 @@ +#!/bin/sh +. /usr/share/debconf/confmodule + +db_input high mythweb/enable || true +db_go + +db_get mythweb/enable +if [ "$RET" = true ]; then + db_input high mythweb/username || true + db_input high mythweb/password || true + db_go +fi + + + --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.postinst +++ mythplugins-0.21.0~fixes15967/debian/mythweb.postinst @@ -0,0 +1,174 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule +#DEBHELPER# + +# this small function prepares mythweb.conf for authentication setup +# the first argument to this function is the apache configuration file +# (mythweb.conf usually), the second one is the htdigest passwordfile +# (only enableauth uses the second argument) + +enableauth() +{ + cat $1 | sed -e \ + "s/\# AuthType/AuthType/" \ + -e "s/^\# AuthName/AuthName/" \ + -e "s/^\# AuthUserFile/AuthUserFile/" \ + -e "s/^\# Require/Require/" \ + -e "s/^\# BrowserMatch/BrowserMatch/" \ + -e "s/^\# Order/Order/" \ + -e "s/^\# Satisfy/Satisfy/" \ + -e "s,/var/www/htdigest,${2}," > ${1}.new + mv ${1}.new $1 +} + +disableauth() +{ + cat $1 | sed -e \ + "s/^AuthType/\# AuthType/" \ + -e "s/^AuthName/\# AuthName/" \ + -e "s/^AuthUserFile/\# AuthUserFile/" \ + -e "s/^Require/\# Require/" \ + -e "s/^BrowserMatch/\# BrowserMatch/" \ + -e "s/^Order/\# Order/" \ + -e "s/^Satisfy/\# Satisfy/" > ${1}.new + mv ${1}.new $1 +} + +reload_apache() +{ + if apache2ctl configtest 2>/dev/null; then + invoke-rc.d apache2 force-reload || true + else + echo "Your apache2 configuration is broken, so we're not restarting it for you." + fi +} + +case "$1" in + configure) + + db_get mythtv/mysql_host + hostname="$RET" + db_get mythtv/mysql_mythtv_dbname + database="$RET" + db_get mythtv/mysql_mythtv_user + mythtv_username="$RET" + db_get mythtv/mysql_mythtv_password + mythtv_password="$RET" + + + MYTHWEBCONF=/etc/apache2/sites-available/mythweb.conf + NEW=${MYTHWEBCONF}.new + touch $NEW + + if [ -s $MYTHWEBCONF ]; then + INPUT=$MYTHWEBCONF + chown --reference=$INPUT $NEW || true + chmod --reference=$INPUT $NEW || true + else + INPUT=/usr/share/mythtv/mythweb/mythweb.conf.apache + # aren't we running this twice? + # chown mythtv:www-data $NEW || true + # chmod 640 $NEW || true + fi + + if [ -s $MYTHWEBCONF ]; then + cp --remove-destination $MYTHWEBCONF ${MYTHWEBCONF}.dpkg-old || true + # FIXME: do I need "cp --remove-destination"? + fi + + cat $INPUT | sed -e " +s/\(^[ \t]*setenv[ \t]\+db_server[ \t]\+\"\)[^\"]*\"/\1$hostname\"/g; +s/\(^[ \t]*setenv[ \t]\+db_name[ \t]\+\"\)[^\"]*\"/\1$database\"/g; +s/\(^[ \t]*setenv[ \t]\+db_login[ \t]\+\"\)[^\"]*\"/\1$mythtv_username\"/g; +s/\(^[ \t]*setenv[ \t]\+db_password[ \t]\+\"\)[^\"]*\"/\1$mythtv_password\"/g; + " > $NEW + mv -f $NEW $MYTHWEBCONF + + MYTHWEBDIR=/etc/apache2/sites-available/mythwebdir + if test -f $MYTHWEBDIR; then + a2dissite mythwebdir >/dev/null || true + mv $MYTHWEBDIR ${MYTHWEBDIR}.dpkg-old + fi + + ACCESS=/etc/mythtv/mythweb-htaccess.conf + if test -f $ACCESS; then + mv $ACCESS ${ACCESS}.dpkg-old + fi + + CONFIG=/etc/mythtv/mythweb-settings.php + if test -f $CONFIG; then + mv $CONFIG ${CONFIG}.dpkg-old + fi + + cachedir=/var/cache/mythweb/image_cache + if ! dpkg-statoverride --list $cachedir; then + chgrp www-data $cachedir + chmod 1775 $cachedir + fi + + LINKS=' +/var/lib/mythtv/music^/usr/share/mythtv/mythweb/data/music +/var/lib/mythtv/recordings^/usr/share/mythtv/mythweb/data/recordings +/var/lib/mythtv/video^/usr/share/mythtv/mythweb/data/video +/var/lib/mythtv/video^/usr/share/mythtv/mythweb/data/video_covers +/var/cache/mythweb/image_cache^/usr/share/mythtv/mythweb/data/tv_icons +/var/cache/mythweb/image_cache^/usr/share/mythtv/mythweb/data/cache' + for LINK in $LINKS; do + TARGET=${LINK%^*} + NAME=${LINK#*^} + if ! [ -L $NAME ]; then + if ! [ -e $NAME ]; then + ln -s $TARGET $NAME + fi + fi + done + + if [ -e /etc/apache2/apache2.conf ]; then + # Enable rewrite_module and reload apache. + a2enmod rewrite >/dev/null || true + a2ensite mythweb.conf >/dev/null || true + reload_apache + fi + + # handle password protection/ authentication setup + # get our values from the DB + DIGESTFILE=/etc/mythtv/mythweb-digest + db_get mythweb/enable || true + AUTH_ENABLE="$RET" + if [ "$AUTH_ENABLE" = true ]; then + db_get mythweb/username || true + USERNAME="$RET"; + db_get mythweb/password || true + PASSWORD="$RET"; + a2enmod auth_digest > /dev/null || true + + # create htdigest file + # create password hash + # thanks to http://trac.lighttpd.net/trac/wiki/Docs:ModAuth :) + HASH=`echo -n ${USERNAME}:MythTV:${PASSWORD} | md5sum | cut -b -32` || true + echo ${USERNAME}:MythTV:${HASH} > $DIGESTFILE + enableauth "${MYTHWEBCONF}" "${DIGESTFILE}" || true + chown mythtv:www-data ${DIGESTFILE} + chmod 640 ${DIGESTFILE} + else + disableauth "${MYTHWEBCONF}" || true + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +db_stop + +exit 0 --- mythplugins-0.21.0~fixes15967.orig/debian/mythdvd.postinst +++ mythplugins-0.21.0~fixes15967/debian/mythdvd.postinst @@ -0,0 +1,45 @@ +#! /bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +MYTHSQL=/usr/share/mythtv/mythsql + +case "$1" in + configure) + + for dir in /var/lib/mythdvd /var/lib/mythdvd/temp; do + if ! dpkg-statoverride --list $dir >/dev/null; then + chown mythtv:mythtv $dir + chmod 2775 $dir + fi + done + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythplugins-0.21.0~fixes15967.orig/debian/mythweb.prerm +++ mythplugins-0.21.0~fixes15967/debian/mythweb.prerm @@ -0,0 +1,43 @@ +#!/bin/sh + +set -e + +reload_apache() +{ + if apache2ctl configtest 2>/dev/null; then + invoke-rc.d apache2 force-reload || true + else + echo "Your apache2 configuration is broken, so we're not restarting it for you." + fi +} + +case "$1" in + remove|purge) + + #Disable site + if [ -e /etc/apache2/apache2.conf ]; then + a2dissite mythweb.conf >/dev/null || true + reload_apache + fi + + #Remove links created during postinst + CLEANUP="/usr/share/mythtv/mythweb/data" + for item in `ls ${CLEANUP}` + do + rm -rf ${CLEANUP}/${item} + done + ;; + + upgrade|abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- mythplugins-0.21.0~fixes15967.orig/debian/copyright +++ mythplugins-0.21.0~fixes15967/debian/copyright @@ -0,0 +1,124 @@ +This package was debianized by Matt Zimmerman on +Sun May 1 21:23:58 PDT 2005. + +It was downloaded from http://www.mythtv.org/ + +Upstream Authors: + +mythbrowser (AUTHORS): + Authors: + - Philippe C. Cattin + + Bufixes: + - + + Translations: + - Anthony Fok (i18n code) + +mythdvd (AUTHORS): + The usual bunch of people, probably including: + + Isaac Richards + Thor Sigvaldason + + VCD playing support added by: + + Mark Edwards + + Some inspiration from original attempts by: + + Torquil Gault + + MythDVD relies heavily on the transcode project: + + http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/ + Main Author: Thomas \uffffstreich + Current Maintainer: Tilmann Bitterberg + + Translations: + PT: Bruno Rodrigues + +mythgallery (AUTHORS): + Isaac Richards + Renchi Raju + +mythgame: +Main Author: + Isaac Richards + + The decoding engine (mp3 + vorbis) is taken from MQ3 version 14, from + http://www.mq3.org/ + MQ3 is released under a 'do as you want' license, but borrows heavily from + GPL'd code (zinf.sourceforge.net), so I'm re-GPL-ing it here. + + Synaesthesia: + Paul Harrison -- http://yoyo.cc.monash.edu.au/~pfh/synaesthesia.html + BumpScope: + Zinx Verituse -- http://staff.xmms.org/zinx/xmms/ + Goom: + Jean-Christophe Hoelt -- http://ios.free.fr/?page=projet&quoi=1 + Misc changes: + Stefan Frank + German Translation: + Stefan Frank + MP3 Encoding: + Stefan Frank + +mythnews (AUTHORS): + Renchi Raju + +mythphone (AUTHORS): + Authors: + - Paul Volkaerts (paul.volkaerts@lineone.net) + + Translations: + - German : + Adam Egger + Stefan Frank + +mythvideo (README): + John Danner + +mythweather (AUTHORS): + Main Author: + John Danner + + Contributing: + Weather Graphics + - Nathan Ziarek + (www.ziarek.com) + + MythMusic Authors + - Base Application + + Special Thanks: + Dustin Doris & Randy Schad + - Weather Source + + Tarek Lubani + - Some conversions to SI units + + Portuguese localization and i18n patches: + Bruno Rodrigues + + German localization: + Stefan Frank + +mythweb (README): + (c) 2002-2005 Thor Sigvaldason + Isaac Richards + Chris Petersen + + with contributions from many people including: + + Michael Kedl + Jonathan Kolb + Kenneth Aafloy + +Copyright: + + You should have received a copy of the GNU General Public License with the + Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if + not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth + Floor, Boston, MA 02110-1301, USA. --- mythplugins-0.21.0~fixes15967.orig/debian/control +++ mythplugins-0.21.0~fixes15967/debian/control @@ -0,0 +1,162 @@ +Source: mythplugins +Section: multiverse/graphics +Priority: optional +Maintainer: MythTV Ubuntu Maintainers +Bugs: mailto:ubuntu-mythtv@lists.ubuntu.com +XSBC-Original-Maintainer: Christian Marillat +Standards-Version: 3.7.3 +Build-Depends: debhelper (>> 5), libmyth-dev (>= 0.21.0~fixes15967), kdelibs4-dev, + dpatch, libgl1-mesa-dev | xlibmesa-gl-dev | xlibmesa-dev | libgl-dev, libdvdread3-dev, fftw-dev, + libvorbis-dev (>= 1.0.0-1), libflac-dev (>= 1.0.4-4), libmad0-dev, ccache, + libcdaudio-dev, libcdparanoia0-dev, libsdl1.2-dev, liblame-dev, + libfaad-dev | libfaad2-dev, libexif-dev (>= 0.6.9-6), libjack-dev, libfaac-dev, + libxvmc-dev | xlibs-static-dev (<< 6.8.1-1), libtiff4-dev | libtiff-dev, + libiec61883-dev, libxv-dev, libavc1394-dev, libxxf86vm-dev | xlibs-static-dev (<< 6.8.1-1), libtag1-dev, libvisual-0.4-dev, libmysqlclient15-dev + +Package: mythplugins +Architecture: all +Depends: mythbrowser, mythcontrols, mythflix, mythgallery, mythgame, mythmusic, mythnews, mythphone, mythvideo, mythweather, mythweb, mytharchive, mythappearance, mythmovies +Description: Wrapper package for MythTV plugins + This package install all the MythTV plugins. + +Package: mythappearance +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: Plugin for adjusting GUI size of mythfrontend + This is a temporary plugin that will eventually be absorbed into mythfrontend. + It is useful in properly setting the size of mythfrontend. + +Package: mythbrowser +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: A small web browser module for MythTV + Mythbrowser is an integrated web browser plugin for your MythTV system. + +Package: mythcontrols +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: External controls for MythTV + External controls for MythTV. + +Package: mythflix +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: netflix module for MythTV + Allows you to monitor your Netflix dvd rental queue. + . + http://www.netflix.com/ + +Package: mythgallery +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: Image gallery/slideshow add-on module for MythTV + MythGallery allows you to visually browse a directory tree containing image + files. It can display any image file format supported by Qt, and supports + image rotation and simple slideshows. + +Package: mythgame +Architecture: any +Section: multiverse/games +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: Emulator & PC Game frontend module for MythTV + MythGame can be used as a frontend to start any emulator that your host OS + runs. + +Package: mythmovies +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: Find nearby movies and cinema listings + MythMovies will query the local area within a given radius and provide + showtimes for local cinemas. + +Package: mythmusic +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: Music add-on module for MythTV + MythMusic provides a digital audio jukebox integrated with MythTV. It + supports Ogg Vorbis, FLAC and MP3 streams, displays visualizations, and can + also encode new Ogg Vorbis or FLAC streams from audio CDs using a CD-ROM + drive. + +Package: mythnews +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: An RSS feed news reader module for MythTV + An RSS feed news reader module for MythTV + +Package: mythphone +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends} +Description: a phone and videophone module for MythTV + Mythphone is a phone and videophone capability on MYTH using the standard + SIP protocol. It is compatible with Microsoft XP Messenger (see caveat + below) and with SIP Service Providers such as Free World Dialup + (fwd.pulver.com). + +Package: mythvideo +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), libxml-simple-perl, libwww-perl, libmyth-python, transcode, ${shlibs:Depends}, ${misc:Depends} +Replaces: mythdvd, mythtv-common (<< 0.20.99+trunk15258-0ubuntu0~mythbuntu1 ) +Conflicts: mythdvd, mythtv-common (<< 0.20.99+trunk15258-0ubuntu0~mythbuntu1 ) +Provides: mythdvd +Recommends: xine | ogle | mplayer +Description: A generic video player frontend module for MythTV + MythVideo allows you to browse and play video streams, using an external + player, from within the MythTV interface. It also acts as a DVD player + and DVD backup software, superseding mythdvd. + +Package: mythweather +Architecture: any +Depends: mythtv-common (>= 0.20-0.0), mythtv-frontend (>= 0.20-0.0), ${shlibs:Depends}, ${misc:Depends}, perl, libimage-size-perl, perlmagick, libxml-parser-perl, libxml-sax-perl, libcarp-clan-perl, libsoap-lite-perl, libdate-manip-perl, libwww-perl +Description: Weather add-on module for MythTV + MythWeather displays current and forecast weather information within + MythTV. + +Package: mythweb +Architecture: all +Depends: mythtv-common (>= 0.20-0.0), apache2 | httpd, libapache2-mod-php4 | php4 | php5 | libapache2-mod-php5, php4-mysql | php5-mysql, ${misc:Depends} +Description: Web interface add-on module for MythTV + MythWeb provides a web interface which can be used to view listings, + schedule recordings, delete recordings, and search for programs. It can + also browse mythmusic's music database, and may eventually support playing + music streams as well. + +Package: mytharchive +Architecture: any +Depends: mytharchive-data, mythtv-transcode-utils, mythtv-common (>= 0.20-0.0), mjpegtools, ffmpeg, dvdauthor, genisoimage, dvd+rw-tools, python-imaging, python-mysqldb, ${misc:Depends} +Recommends: project-x +Suggests: transcode +Description: create and burn DVD's from MythTV - binary file + MythArchive is a plugin for MythTV that lets you create DVDs from your + recorded shows, MythVideo files and any video files available on your + system. It can also archive recordings in a proprietary format that + archives not only the file but also all the associated metadata like title, + description and cut list information which will mean you can create backups + of myth recordings which can later be restored or it will also allow you to + move recordings between myth systems without losing any of the metadata. It + is a complete rewrite of the old MythBurn bash scripts, now using python, + and the mythfrontend UI plugin. + +Package: mytharchive-data +Architecture: all +Replaces: mytharchive (<= 0.20-0.0) +Description: create and burn DVD's from MythTV - data files + MythArchive is a plugin for MythTV that lets you create DVDs from your + recorded shows, MythVideo files and any video files available on your + system. It can also archive recordings in a proprietary format that + archives not only the file but also all the associated metadata like title, + description and cut list information which will mean you can create backups + of myth recordings which can later be restored or it will also allow you to + move recordings between myth systems without losing any of the metadata. It + is a complete rewrite of the old MythBurn bash scripts, now using python, + and the mythfrontend UI plugin. + +Package: mythzoneminder +Architecture: any +Suggests: zoneminder +Description: view status and display footage recorded with zoneminder + MythZoneMinder interfaces with Zoneminder, a CCTV solution. + You can view the status of ZoneMinder and watch live camera shots and + recorded surveillance footage. + This plugins is compiled to work with version 1.22.3 of ZoneMinder, which is + also the version found in Debian Sid/Ubuntu Gutsy at the time of writing.