--- filler-1.02.orig/Makefile +++ filler-1.02/Makefile @@ -8,10 +8,10 @@ $(JAR): mkdir classes || $(RM) -rf classes/* - javac -d classes src/friendless/awt/*.java - javac -classpath classes -d classes $(DIR)/*.java $(DIR)/player/*.java $(DIR)/remote/*.java $(DIR)/remote/messages/*.java + $(JAVA_HOME)/bin/javac -d classes src/friendless/awt/*.java + $(JAVA_HOME)/bin/javac -classpath classes:src -d classes $(DIR)/*.java $(DIR)/player/*.java $(DIR)/remote/*.java $(DIR)/remote/messages/*.java cp -R res/* classes - cd classes && jar cmf ../other/metainfo.txt $(JAR) friendless + cd classes && $(JAVA_HOME)/bin/jar cmf ../other/metainfo.txt $(JAR) friendless mv classes/$(JAR) . clean: --- filler-1.02.orig/debian/README.debian +++ filler-1.02/debian/README.debian @@ -0,0 +1,6 @@ +filler for Debian +---------------------- + +This program requires Java 1.2. I use blackdown version, because they supply debian package, but original SUN version should work. + +Wojciech Jeczmien , Wed, 13 Dec 2000 21:41:10 +0100 --- filler-1.02.orig/debian/changelog +++ filler-1.02/debian/changelog @@ -0,0 +1,122 @@ +filler (1.02-6.2) unstable; urgency=medium + + * Non-maintainer upload. + * Do not delete the shipped /var/games/filler.ratings.gz while initializing + /var/games/filler.ratings. (Closes: #689127) + + -- Andreas Beckmann Mon, 01 Dec 2014 21:57:47 +0100 + +filler (1.02-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Update build-depends-indep to use default-jdk. + * Update depends to use default-jre | java*-runtime. + * Patch Makefile to look for $(JAVA_HOME)/bin/javac. + * Make clean not ignore errors. (Static makefile). + * Add binary-arch target to rules as per policy. (Closes: #395595). + * Install desktop file in correct place, /usr/share/applications. + * Clean up debian/copyright. + + Still needs work as no files mention the actual copyright holder. + * Replace deprecated dh_installmanpages with dh_installman. + * Add watch file. + * Version debhelper build-dep and set to 5. + * Move DH_COMPAT from rules to compat and set to 5. + * Move debhelper to build-depends to satisfy clean. + * Bump Standards Version to 3.8.3. + + -- Barry deFreese Mon, 28 Sep 2009 12:32:41 -0400 + +filler (1.02-6) unstable; urgency=low + + * The "main/" in the Section line of debian/control should be assumed. + + -- James Damour (Suvarov454) Sat, 29 Apr 2006 14:07:00 -0400 + +filler (1.02-5) unstable; urgency=low + + * Change project to use Free VM dependencies. Moved from contrib to main. + * Clarified URL of package's source. + * Specify src tree in --classpath option of javac statement. + * Use correct temp directory in rules (debian/filler, not debian/tmp). + * Updated DH_COMPAT of rules to 4 (from 1). + * Eliminated unused dh_* lines from rules. + + -- James Damour (Suvarov454) Wed, 11 Jan 2006 08:18:00 -0400 + +filler (1.02-4) unstable; urgency=low + + * Changed build-depends to specify sharutils (for uuencode). Closes #306791. + * Eliminated extra colon in TournamentPointsTableRow.java. + * Renamed /var/games/ratings.ser to /var/games/filler.ratings. + * Changed permissions on /var/games/ratings.ser to 664. + * If the user can't write to the ratings file, display a dialog explaining + they need to add themselves to "games" group. Closes #309799. + + -- James Damour (Suvarov454) Mon, 16 Aug 2004 08:23:00 -0400 + +filler (1.02-3) unstable; urgency=low + + * Changed build-depends to specify java2-compiler instead of java-compiler. + + -- James Damour (Suvarov454) Mon, 16 Aug 2004 08:23:00 -0400 + +filler (1.02-2) unstable; urgency=low + + * New maintainer. Adopting orphaned package. Closes: #232868 + * Updated description. Closes: #93926 + * Updated package to v3.6.1 of Debian Policy + + -- James Damour (Suvarov454) Thu, 3 Jun 2004 22:48:50 -0400 + +filler (1.02-1) unstable; urgency=low + + * rating.ser moved from /var/lib/games to /var/games - FSH compliance. + (Closes: #115850) + + -- Wojciech Jeczmien Wed, 17 Oct 2001 12:53:29 +0200 + +filler (1.01-5) unstable; urgency=low + + * Cleaned mistake in preinst script. + * Updated control file. + + -- Wojciech Jeczmien Wed, 17 Oct 2001 12:51:13 +0200 + +filler (1.01-4) unstable; urgency=low + + * Removed bug in installation scripts (new versions of filler will not + overwrite a ratings. + + -- Wojciech Jeczmien Sun, 08 Apr 2001 19:52:42 +0100 + +filler (1.01-3) unstable; urgency=low + + * Cleanups for lintian + + -- Wojciech Jeczmien Sun, 01 Apr 2001 18:52:42 +0100 + +filler (1.01-2) unstable; urgency=low + + * Added SGID to /usr/games/filler + * filler jar archive moved to /usr/share/java + * Added real manpage + + -- Wojciech Jeczmien Mon, 12 Feb 2001 18:52:42 +0100 + +filler (1.01) unstable; urgency=low + + * Polish locale added by Wojciech Jeczmien + * Changed way of testing java during debian package installation. + Now you can use any distribution of java 1.2 (SUN or blackdown) + + -- Wojciech Jeczmien Sun, 17 Dec 2000 12:01:16 +0100 + +filler (1.0-1) unstable; urgency=low + + * Initial release. + + -- Wojciech Jeczmien Wed, 13 Dec 2000 21:41:10 +0100 + +Local variables: +mode: debian-changelog +End: --- filler-1.02.orig/debian/compat +++ filler-1.02/debian/compat @@ -0,0 +1 @@ +5 --- filler-1.02.orig/debian/control +++ filler-1.02/debian/control @@ -0,0 +1,15 @@ +Source: filler +Section: games +Priority: optional +Maintainer: James Damour (Suvarov454) +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: sharutils, default-jdk +Standards-Version: 3.8.3 + +Package: filler +Architecture: all +Depends: default-jre | java1-runtime | java2-runtime +Description: simple game where two players try to capture half the board + Filler is a simple game where two players try to capture half of the board. + Players take turns selecting colours to capture all adjacent hexes of the + same colour. --- filler-1.02.orig/debian/copyright +++ filler-1.02/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Wojciech Jeczmien +on Wed, 13 Dec 2000 21:41:10 +0100. + +This package was adopted by James Damour +on Thu, 6 May 2004 21:58:00 -0500 + +It was downloaded from http://sourceforge.org/projects/filler + +Upstream Authors: + John Farrell friendless@sourceforge.net + Lang Sharpe lang@myself.com + Kris Verbeeck kris.verbeeck@chello.be + +Copyright: + + +License: + GNU LGPL 2 (please see /usr/share/common-licenses/LGPL-2) + +The program is distributed 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 (please see /usr/share/common-licenses/GPL). --- filler-1.02.orig/debian/dirs +++ filler-1.02/debian/dirs @@ -0,0 +1,5 @@ +/usr/games +/usr/share/java +/usr/share/pixmaps +/usr/share/applications +/var/games --- filler-1.02.orig/debian/docs +++ filler-1.02/debian/docs @@ -0,0 +1,6 @@ +AUTHORS +HACKER +INTERNATIONALISATION +NEWS +README +TODO --- filler-1.02.orig/debian/filler.6 +++ filler-1.02/debian/filler.6 @@ -0,0 +1,36 @@ +.TH FILLER 6 "Thu, May 6 2004 10:08:27 -0400" GNU +.SH NAME +filler \- simple game where two players try to capture half the board +.SH SYNOPSIS +.B filler +.SH "DESCRIPTION" +This manual page documents briefly the +.BR filler +game by John Farrell. +.br +.BR Filler +is a simple game where two players try to capture half of the board. One +player starts at the hex marked +.B L +and the other starts at the hex marked +.B R. +Each player takes turns choosing a colour. When a player chooses a +colour, all board hexes owned by that player change to that colour. +The colour change captures all adjacent hexes which match the player's new +colour. The game keeps score of how many hexes each player has captured. +.br +The winner is the first player to control more than half the hexes. As +there are 1377 hexes, you need a score of 689 to win. +.SH "SEE ALSO" +http://filler.sourceforge.net +.SH AUTHOR +This manual page was written by +.br +Wojciech Jeczmien , +.br +for the Debian GNU/Linux system +(but may be used by others according to the terms in the GNU Lesser +General Public License). It has been updated by +.BR +James Damour . +.br --- filler-1.02.orig/debian/filler.u +++ filler-1.02/debian/filler.u @@ -0,0 +1,36 @@ +begin 644 filler.xpm +M+RH@6%!-("HO"G-T871I8R!C:&%R("H@9FEL;&5R7WAP;5M=(#T@>PHB,S(@ +M,S(@,3<@,2(L"B(@"6,@3F]N92(L"B(N"6,@(S`P,#`P,"(L"B(K"6,@(S@P +M,#`P,"(L"B)`"6,@(S`P.#`P,"(L"B(C"6,@(S@P.#`P,"(L"B(D"6,@(S`P +M,#`X,"(L"B(E"6,@(S@P,#`X,"(L"B(F"6,@(S`P.#`X,"(L"B(J"6,@(T,P +M0S!#,"(L"B(]"6,@(S@P.#`X,"(L"B(M"6,@(T9&,#`P,"(L"B(["6,@(S`P +M1D8P,"(L"B(^"6,@(T9&1D8P,"(L"B(L"6,@(S`P,#!&1B(L"B(G"6,@(T9& +M,#!&1B(L"B(I"6,@(S`P1D9&1B(L"B(A"6,@(T9&1D9&1B(L"B(A(2$A(2$A +M(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2(L"B(A(2$N+B$A(2$N+B$A(2$N +M+B$A(2$N+B$A(2$N+B$A(2(L"B(A(2XA/2XA(2XA/2XA(2XA/2XA(2XA/2XA +M(2XA/2XA(2(L"B(A+B$M+3TN+B$[.STN+B$^/CTN+B$L+#TN+B$G)STN(2(L +M"B(N(2TM+2T](3L[.SL](3X^/CX](2PL+"P](2 `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if [ ! -f /var/games/filler.ratings ]; then + gzip -dc /var/games/filler.ratings.gz > /var/games/filler.ratings + chmod 0664 /var/games/filler.ratings + chgrp games /var/games/filler.ratings + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- filler-1.02.orig/debian/preinst +++ filler-1.02/debian/preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for filler +# +# see: dh_installdeb(1) + +set -e +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ -f /var/games/ratings.ser ]; then + rm /var/games/ratings.ser + fi + if [ -f /var/games/ratings.ser.gz ]; then + rm /var/games/ratings.ser.gz + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- filler-1.02.orig/debian/prerm +++ filler-1.02/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for filler +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ + +case "$1" in + remove|deconfigure) + if [ -f /var/games/filler.ratings ]; then + rm /var/games/filler.ratings + fi + ;; + + upgrade|failed-upgrade) + if [ -f /var/games/ratings.ser ]; then + rm /var/games/ratings.ser + fi + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- filler-1.02.orig/debian/rules +++ filler-1.02/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +export JAVA_HOME=/usr/lib/jvm/default-java + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + -rm -f other/filler.png + -rm -f debian/filler.xpm + -rm -f filler.jar + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + uudecode -o other/filler.png other/filler.u + uudecode -o debian/filler.xpm debian/filler.u + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + install -m 664 -o root -g games other/ratings.ser debian/filler/var/games/filler.ratings + gzip -f debian/filler/var/games/filler.ratings + install -m 755 -o root -g games other/filler debian/filler/usr/games + install -m 644 -o root -g root debian/filler.xpm debian/filler/usr/share/pixmaps + install -m 644 -o root -g root other/filler.png debian/filler/usr/share/pixmaps + install -m 644 -o root -g root other/filler.desktop debian/filler/usr/share/applications + install -m 644 -o root -g games filler.jar debian/filler/usr/share/java + dh_installdocs + dh_installmenu + dh_installman + dh_installchangelogs CHANGES + dh_compress + dh_fixperms + # You may want to make some executables suid here. + chown root debian/filler/usr/games/filler + chgrp games debian/filler/usr/games/filler + chmod 755 debian/filler/usr/games/filler + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary install --- filler-1.02.orig/debian/watch +++ filler-1.02/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/filler/filler-([\d.]+)\.tgz --- filler-1.02.orig/other/filler +++ filler-1.02/other/filler @@ -1,3 +1,3 @@ #!/bin/sh -cd /usr/local/filler -java -Duser.language=$LANG -jar /usr/local/filler/filler.jar $* +cd /var/games +java -Duser.language=$LANG -jar /usr/share/java/filler.jar $* --- filler-1.02.orig/other/filler.desktop +++ filler-1.02/other/filler.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Filler +Comment=Filler in Java Game +Comment[pl]=Filler w Javie +Icon=filler.png +Exec=filler +Terminal=0 +Type=Application --- filler-1.02.orig/other/filler.u +++ filler-1.02/other/filler.u @@ -0,0 +1,15 @@ +begin 644 filler.png +MB5!.1PT*&@H````-24A$4@```"`````@!`,```"!5&?'````,%!,5$4```"` +M````@`"`@````("``(``@(#`P,"`@(#_````_P#__P```/__`/\`______]/ +M$R9)`````6)+1T0`B`4=2`````EP2%ES```.Q```#L0!E2L.&P````=T24U% +M!]`,#103*=$"40$````7=$58=$%U=&AO<@!5;&5A54QE860@4WES=&5M[^%C +MO````!5T15AT4V]F='=AD'P3HR,7F?<['DFL<,(5' +M9L=LF#UKAL=G?!5G-S/M?A[D2=!WP!3E`+,D`YAB/("-"-`/@EO':9J8`[=9 +MX\^TIGB$!3;@%/L;]!TPQ29J;&`KQ<(4NTJI@;TYIQ\$Z,!S-/`ZY335[PO- +M=!!]@=H=\P6Z_0;Y`NW?9+E#;O9*````%W1%6'1!=71H;W(`56QE855,96%D +M(%-Y_A8[P````5=$58=%-O9G1W87)E`%5,96%D(%-Y