--- vdr-plugin-games-0.6.1.orig/debian/install +++ vdr-plugin-games-0.6.1/debian/install @@ -0,0 +1 @@ +libvdr-games.so.* usr/lib/vdr/plugins --- vdr-plugin-games-0.6.1.orig/debian/changelog +++ vdr-plugin-games-0.6.1/debian/changelog @@ -0,0 +1,170 @@ +vdr-plugin-games (0.6.1-3) unstable; urgency=low + + * Thomas Schmidt + - Use dpatch, so build-dep on dpatch + - Add 01_Makefile-fPIC-fix.dpatch, to fix FTBFS (closes: #266793) + - Add 02_Makefile-nosilent.dpatch, to not suppress the output of + the make and g++-calls + + -- Debian VDR Team Thu, 19 Aug 2004 16:52:32 +0200 + +vdr-plugin-games (0.6.1-2) unstable; urgency=low + + * Thomas Schmidt + - Now really changed architecture to any + - Changed debian/watch and debian/copyright to the new upstream url + + -- Debian VDR Team Mon, 16 Aug 2004 21:36:50 +0200 + +vdr-plugin-games (0.6.1-1) unstable; urgency=low + + * Thomas Schmidt + - New upstream release + - Changed architecture to any + - Use dh_install + - Changed maintainer to Debian VDR Team + + - First upload to official Debian-archive (closes: Bug#229223) + - Added patchlevel-mechanism, to be compatible with c't-vdr + - Added watch-file + + -- Debian VDR Team Fri, 30 Jul 2004 14:39:34 +0200 + +vdr-plugin-games (0.6.0-4) unstable; urgency=low + + * Rebuild for vdr 1.2.6 + + -- Thomas Schmidt Sun, 16 Nov 2003 15:00:13 +0100 + +vdr-plugin-games (0.6.0-3) unstable; urgency=low + + * Rebuild for vdr 1.2.5 + + -- Thomas Schmidt Wed, 17 Sep 2003 20:15:37 +0200 + +vdr-plugin-games (0.6.0-2) unstable; urgency=low + + * changed the plugin-dir to /usr/lib/vdr/plugins, to be FHS compliant + Thanks to Henning Glawe for pointing me + to this one + + -- Thomas Schmidt Sun, 14 Sep 2003 16:25:39 +0200 + +vdr-plugin-games (0.6.0-1) unstable; urgency=low + + * New upstream release + + -- Thomas Schmidt Sat, 13 Sep 2003 10:18:10 +0200 + +vdr-plugin-games (0.4.2-3) unstable; urgency=low + + * Changed debian/rules and debian/control (added debian/control.template), + so that the correct dependancy to vdr is filled out automatically on the + version of vdr-dev, you have installed + * Bump Standards-Version to 3.6.1 + + -- Thomas Schmidt Wed, 10 Sep 2003 10:22:32 +0200 + +vdr-plugin-games (0.4.2-2) unstable; urgency=low + + * Rebuild for vdr 1.2.2 + * Bump Standards-Version to 3.6.0 + + -- Thomas Schmidt Wed, 13 Aug 2003 10:48:33 +0200 + +vdr-plugin-games (0.4.2-1) unstable; urgency=low + + * New upstream release + * Bump Standard-Version to 3.5.10 + + -- Thomas Schmidt Sun, 13 Jul 2003 15:55:12 +0200 + +vdr-plugin-games (0.4.1-4) unstable; urgency=low + + * Rebuild for vdr 1.2.1 + + -- Thomas Schmidt Mon, 9 Jun 2003 19:03:16 +0200 + +vdr-plugin-games (0.4.1-3) unstable; urgency=low + + * Rebuild for vdr 1.2.0 + + -- Thomas Schmidt Sun, 1 Jun 2003 21:57:29 +0200 + +vdr-plugin-games (0.4.1-2) unstable; urgency=low + + * Rebuild for vdr 1.1.29 + + -- Thomas Schmidt Wed, 30 Apr 2003 17:56:16 +0200 + +vdr-plugin-games (0.4.1-1) unstable; urgency=low + + * New upstream release + * Rebuild for vdr 1.1.28 + * New game: tictactoe - replaces separate tictactoe-plugin + * Bump Standards-Version to 3.5.9 + + -- Thomas Schmidt Tue, 22 Apr 2003 12:45:28 +0200 + +vdr-plugin-games (0.4.0-1) unstable; urgency=low + + * New upstream release + * Upstream namechange to vdr-games - please edit your vdr-startscript to + reflect the change (change -Ptetris to -Pgames) + + -- Thomas Schmidt Sun, 13 Apr 2003 15:51:51 +0200 + +vdr-plugin-tetris (0.2.2-3) unstable; urgency=low + + * rebuild for vdr 1.1.25 + + -- Thomas Schmidt Wed, 5 Mar 2003 19:55:46 +0100 + +vdr-plugin-tetris (0.2.2-2) unstable; urgency=low + + * changed wrong package description + + -- Thomas Schmidt Sun, 2 Feb 2003 15:35:19 +0100 + +vdr-plugin-tetris (0.2.2-1) unstable; urgency=low + + * New upstream release + + -- Thomas Schmidt Sun, 12 Jan 2003 22:43:18 +0100 + +vdr-plugin-tetris (0.2.0-4) unstable; urgency=low + + * compiled for vdr 1.1.20 + + -- Thomas Schmidt Sun, 15 Dec 2002 19:00:07 +0100 + +vdr-plugin-tetris (0.2.0-3) unstable; urgency=low + + * compiled for vdr 1.1.19 + + -- Thomas Schmidt Mon, 9 Dec 2002 23:46:56 +0100 + +vdr-plugin-tetris (0.2.0-2) unstable; urgency=low + + * compiled for vdr 1.1.18 + + -- Thomas Schmidt Mon, 2 Dec 2002 12:48:35 +0100 + +vdr-plugin-tetris (0.2.0-1) unstable; urgency=low + + * New upstream release + + -- Thomas Schmidt Tue, 19 Nov 2002 14:15:26 +0100 + +vdr-plugin-tetris (0.1.3-1) unstable; urgency=low + + * New upstream release + * compiled for vdr 1.1.16 + + -- Thomas Schmidt Mon, 11 Nov 2002 11:51:31 +0100 + +vdr-plugin-tetris (0.1.2-1) unstable; urgency=low + + * Initial Release. + + -- Thomas Schmidt Mon, 4 Nov 2002 00:55:58 +0100 --- vdr-plugin-games-0.6.1.orig/debian/control +++ vdr-plugin-games-0.6.1/debian/control @@ -0,0 +1,18 @@ +Source: vdr-plugin-games +Section: misc +Priority: extra +Maintainer: Debian VDR Team +Uploaders: Thomas Schmidt +Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.1.17), dpatch +Standards-Version: 3.6.1 + +Package: vdr-plugin-games +Architecture: any +Replaces: vdr-plugin-tetris, vdr-plugin-tictactoe +Conflicts: vdr-plugin-tetris, vdr-plugin-tictactoe +Depends: ${shlibs:Depends}, vdr (>=1.2.6) +Conflicts: vdr (>=1.2.7) +Description: Plugin to vdr for playing tetris, snake and others + This plugin(s) for vdr allows you to play Tetris, TicTacToe, Tron + and Snake via vdr's OSD. +XB-VDR-Patchlevel: ${patchlevel} --- vdr-plugin-games-0.6.1.orig/debian/copyright +++ vdr-plugin-games-0.6.1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Thomas Schmidt on +Fri, 18 Oct 2002 13:45:37 +0200. + +It was downloaded from http://1541.org/vdr-games/ + +Upstream Author: Clemens Kirchgatterer + +Copyright: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + see /usr/share/common-licenses/GPL + --- vdr-plugin-games-0.6.1.orig/debian/docs +++ vdr-plugin-games-0.6.1/debian/docs @@ -0,0 +1,2 @@ +README +HISTORY --- vdr-plugin-games-0.6.1.orig/debian/patches/00list +++ vdr-plugin-games-0.6.1/debian/patches/00list @@ -0,0 +1,2 @@ +01_Makefile-fPIC-fix +02_Makefile-nosilent --- vdr-plugin-games-0.6.1.orig/debian/patches/01_Makefile-fPIC-fix.dpatch +++ vdr-plugin-games-0.6.1/debian/patches/01_Makefile-fPIC-fix.dpatch @@ -0,0 +1,80 @@ +#! /bin/sh -e +## 01_Makefile-fPIC-fix.dpatch by Thomas Schmidt +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adds -fPIC to Makefiles, to fix FTBFS (#266793) + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper/Makefile vdr-plugin-games-0.6.1/minesweeper/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper/Makefile 2004-07-03 16:44:40.000000000 +0200 ++++ vdr-plugin-games-0.6.1/minesweeper/Makefile 2004-08-19 16:55:14.000000000 +0200 +@@ -1,6 +1,6 @@ + GAME = minesweeper + OBJS = minesweeper.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++CFLAGS = -fPIC -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/snake/Makefile vdr-plugin-games-0.6.1/snake/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/snake/Makefile 2004-07-03 16:44:40.000000000 +0200 ++++ vdr-plugin-games-0.6.1/snake/Makefile 2004-08-19 16:55:29.000000000 +0200 +@@ -1,6 +1,6 @@ + GAME = snake + OBJS = snake.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++CFLAGS = -fPIC -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris/Makefile vdr-plugin-games-0.6.1/tetris/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris/Makefile 2004-07-03 16:44:40.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tetris/Makefile 2004-08-19 16:55:49.000000000 +0200 +@@ -1,6 +1,6 @@ + GAME = tetris + OBJS = tetris.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++CFLAGS = -fPIC -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe/Makefile vdr-plugin-games-0.6.1/tictactoe/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe/Makefile 2004-07-03 16:44:40.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tictactoe/Makefile 2004-08-19 16:56:02.000000000 +0200 +@@ -1,6 +1,6 @@ + GAME = tictactoe + OBJS = tictactoe.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++CFLAGS = -fPIC -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tron/Makefile vdr-plugin-games-0.6.1/tron/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tron/Makefile 2004-07-03 16:44:40.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tron/Makefile 2004-08-19 16:56:13.000000000 +0200 +@@ -1,6 +1,6 @@ + GAME = tron + OBJS = tron.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++CFLAGS = -fPIC -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) --- vdr-plugin-games-0.6.1.orig/debian/patches/02_Makefile-nosilent.dpatch +++ vdr-plugin-games-0.6.1/debian/patches/02_Makefile-nosilent.dpatch @@ -0,0 +1,110 @@ +#! /bin/sh -e +## 02_Makefile-nosilent.dpatch by Thomas Schmidt +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Removes output-suppresions from the Makefiles + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/Makefile vdr-plugin-games-0.6.1/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/Makefile 2004-08-19 17:19:17.000000000 +0200 ++++ vdr-plugin-games-0.6.1/Makefile 2004-08-19 17:19:18.000000000 +0200 +@@ -49,18 +49,18 @@ + all: + @echo + @echo -n "Building $(TARGET) " +- @for GAME in $(GAMES); do cd $$GAME; make -s all; cd -; done ++ for GAME in $(GAMES); do cd $$GAME; make all; cd -; done + @rm -f $(TARGET) +- @make -s $(TARGET) ++ @make $(TARGET) + @echo " done" + @echo + + libvdr-games.so: $(OBJS) +- @g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@ ++ g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@ + @cp $@ $(LIBDIR)/$@.$(VDRVER) + + sdl-games: $(OBJS) +- @g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@ ++ g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@ + + install: all + @cp $(LIBDIR)/libvdr-games.so.$(VDRVER) /mnt/vdr/lib/plugins/ +@@ -78,11 +78,11 @@ + clean: + @echo + @echo -n "Cleaning source tree " +- @for GAME in $(GAMES); do cd $$GAME; make -s clean; cd -; done ++ @for GAME in $(GAMES); do cd $$GAME; make clean; cd -; done + @rm -f *.o *.a $(TARGET) + @echo " done" + @echo + + .cpp.o: + @echo -n "." +- @$(COMPILE.cpp) $(DEFINES) $(CFLAGS) -c $< $(OUTPUT_OPTION) ++ $(COMPILE.cpp) $(DEFINES) $(CFLAGS) -c $< $(OUTPUT_OPTION) +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper/Makefile vdr-plugin-games-0.6.1/minesweeper/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper/Makefile 2004-08-19 17:19:18.000000000 +0200 ++++ vdr-plugin-games-0.6.1/minesweeper/Makefile 2004-08-19 17:19:42.000000000 +0200 +@@ -11,4 +11,4 @@ + + .cpp.o: + @echo -n "." +- @g++ $(CFLAGS) -c $< ++ g++ $(CFLAGS) -c $< +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/snake/Makefile vdr-plugin-games-0.6.1/snake/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/snake/Makefile 2004-08-19 17:19:18.000000000 +0200 ++++ vdr-plugin-games-0.6.1/snake/Makefile 2004-08-19 17:19:53.000000000 +0200 +@@ -11,4 +11,4 @@ + + .cpp.o: + @echo -n "." +- @g++ $(CFLAGS) -c $< ++ g++ $(CFLAGS) -c $< +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris/Makefile vdr-plugin-games-0.6.1/tetris/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris/Makefile 2004-08-19 17:19:18.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tetris/Makefile 2004-08-19 17:20:05.000000000 +0200 +@@ -11,4 +11,4 @@ + + .cpp.o: + @echo -n "." +- @g++ $(CFLAGS) -c $< ++ g++ $(CFLAGS) -c $< +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe/Makefile vdr-plugin-games-0.6.1/tictactoe/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe/Makefile 2004-08-19 17:19:18.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tictactoe/Makefile 2004-08-19 17:20:15.000000000 +0200 +@@ -11,4 +11,4 @@ + + .cpp.o: + @echo -n "." +- @g++ $(CFLAGS) -c $< ++ g++ $(CFLAGS) -c $< +diff -urNad /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tron/Makefile vdr-plugin-games-0.6.1/tron/Makefile +--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-games/vdr-plugin-games-0.6.1/tron/Makefile 2004-08-19 17:19:18.000000000 +0200 ++++ vdr-plugin-games-0.6.1/tron/Makefile 2004-08-19 17:20:22.000000000 +0200 +@@ -11,4 +11,4 @@ + + .cpp.o: + @echo -n "." +- @g++ $(CFLAGS) -c $< ++ g++ $(CFLAGS) -c $< --- vdr-plugin-games-0.6.1.orig/debian/rules +++ vdr-plugin-games-0.6.1/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +# include dpatch stuff +include /usr/share/dpatch/dpatch.make + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +VDR=vdr +PACKAGE=$(VDR)-plugin-games +VDRDIR=/usr/include/$(VDR) +DVBDIR=/usr/include + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + + +build: patch-stamp build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) all DVBDIR=$(DVBDIR) VDRDIR=$(VDRDIR) LIBDIR=. + + touch build-stamp + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf build-tree + rm -f libvdr-*.so* + make clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + + # VDR can be customized with quite a lot of different patches, which can make + # the plugins binary incompatible. + # Although Debian will not provide different binary packages for VDR, we + # will include a patchlevel info, which is created at compile time and can + # be checked before a plugin is loaded. + + [ -r $(VDRDIR)/patchlevel ] || echo 'patchlevel=' >> debian/$(PACKAGE).substvars + [ ! -r $(VDRDIR)/patchlevel ] || cat $(VDRDIR)/patchlevel >> debian/$(PACKAGE).substvars + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch configure --- vdr-plugin-games-0.6.1.orig/debian/watch +++ vdr-plugin-games-0.6.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://1541.org/public/vdr-games-(.*)\.tar\.gz