debian/0000755000000000000000000000000012264250643007172 5ustar debian/menu0000644000000000000000000000013711765077023010066 0ustar ?package(ltris):needs="X11" section="Games/Blocks"\ title="LTris" command="/usr/games/ltris" debian/rules0000755000000000000000000000621511765427767010300 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Modify by Pascal Hakim for ltris (with a few changes taken from lbreakout2/debian/rules by Daniel # Burrows) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Files modified by the build process KEEP_FILES = \ Makefile.in \ config.guess \ config.h.in \ config.sub \ configure \ icons/Makefile.in \ m4/Makefile.in \ src/Makefile.in \ src/gfx/Makefile.in \ src/sounds/Makefile.in # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) configure: configure-stamp configure-stamp: dh_testdir for f in $(KEEP_FILES); do [ -f $$f.orig ] || cp -a $$f $$f.orig ; done cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess # Add here commands to configure the package. CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix= --bindir=\$${prefix}/usr/games --mandir=\$${prefix}/usr/share/man \ --infodir=\$${prefix}/usr/share/info --localstatedir=\$${prefix}/var/games --datadir=\$${prefix}/usr/share/games touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean for f in $(KEEP_FILES); do [ ! -f $$f.orig ] || mv $$f.orig $$f; done dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/ltris. $(MAKE) install prefix=$(CURDIR)/debian/ltris cp debian/ltris.xpm $(CURDIR)/debian/ltris/usr/share/pixmaps cp debian/ltris.desktop $(CURDIR)/debian/ltris/usr/share/applications # Remove some files duplicated by the upstream build system rm -rf $(CURDIR)/debian/ltris/usr/share/games/applications rm -rf $(CURDIR)/debian/ltris/usr/share/games/icons # 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_installdebconf dh_installdocs dh_installexamples dh_installmenu # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit dh_installcron dh_installman dh_installinfo # dh_undocumented dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms chown root:games `pwd`/debian/ltris/usr/games/ltris chmod g+s `pwd`/debian/ltris/usr/games/ltris mv `pwd`/debian/ltris/var/games/ltris.hscr `pwd`/debian/ltris/usr/share/games/ltris/ltris.hscr.blank # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/ltris.60000644000000000000000000000134611765077023010426 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH LTRIS 6 "February 7, 2002" .SH NAME ltris \- Tetris Clone .SH SYNOPSIS .B ltris .SH DESCRIPTION This manual page documents briefly the .B ltris command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .SH OPTIONS LTris has no options. Everything is configured through the menu interface. .SH AUTHOR This manual page was written by Pascal Hakim , for the Debian GNU/Linux system (but may be used by others). debian/compat0000644000000000000000000000000211765101037010365 0ustar 9 debian/control0000644000000000000000000000120112264246255010573 0ustar Source: ltris Section: games Priority: optional Maintainer: Colin Tuckley Build-Depends: debhelper (>> 9), libsdl1.2-dev, libsdl-mixer1.2-dev, autotools-dev Homepage: http://lgames.sourceforge.net/index.php?project=LTris Standards-Version: 3.9.5 Package: ltris Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: very polished Tetris clone with CPU opponents LTris is a very polished tetris clone, which offers three types of games. The classic mode, a figures mode, where different figures appear every level, and a multiplayer mode. LTris is highly configurable through its menu system. debian/dirs0000644000000000000000000000005311765077023010060 0ustar /usr/share/pixmaps /usr/share/applications debian/changelog0000644000000000000000000001075212264250636011053 0ustar ltris (1.0.19-1) unstable; urgency=medium * New upstream release. * Bump Standards version to 3.9.5 (No changes required). * Remove automake dependency (Closes: #724416) -- Colin Tuckley Sat, 11 Jan 2014 14:12:25 +0000 ltris (1.0.18-1) unstable; urgency=low * New upstream release (Closes: #653901). * Bump Standards version to 3.9.3 (No changes required). * Update debhelper to 9 * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #670854). * Fix minor Lintian warnings -- Colin Tuckley Mon, 11 Jun 2012 19:05:38 +0100 ltris (1.0.14-1) unstable; urgency=low * New upstream release. * Replace the -Wall CFLAGS option removed by upstream. -- Colin Tuckley Sat, 02 Jan 2010 14:24:07 +0000 ltris (1.0.13-1) unstable; urgency=low * New upstream release. * Fix FTBFS: uses LC_ALL without including patch from Jacob Nevins (Closes: #560248). * Add watch file. * Incl incr_hori_delay patch from Jacob Nevins to make keyboard controls less twitchey. (Closes: #560247). -- Colin Tuckley Sat, 12 Dec 2009 13:01:23 +0000 ltris (1.0.12-1) unstable; urgency=low * New upstream release * Use dpatch for changes to upstream * Fix errors and usage of "sizeof" (Closes: #186780). * Fix English text strings malus => penalty. -- Colin Tuckley Sat, 24 Oct 2009 15:06:39 +0100 ltris (1.0.11-2) unstable; urgency=low * New Maintainer (Closes: #550188). * Add .desktop entry and icon. Patch from Luca Falavigna at Ubuntu (Closes: #486918). * Bump Standards version to 3.8.3 (No changes required). * Add Homepage field to debian/control. * Fix lintian "debian-rules-ignores-make-clean-error" * Add missing separator to depends line in debian/control. * Fix menu section in debian/menu. * Add authors copyright to debian/copyright. * Fix lintian problem with obsolete config.guess/sub this also fixes FTBFS on AVR42 (Closes: #550113). -- Colin Tuckley Tue, 13 Oct 2009 18:50:57 +0100 ltris (1.0.11-1) unstable; urgency=medium * New upstream release * Removed build dependency on xlibs-dev. Closes: #347125 * debian/control: + Updated debhelper build-dependency to (>> 5.0.0) + Use ${misc:Depends} on Depends. * debian/compat: + New debhelper file. + Follow V5 compatibility level of devhelper. * debian/rules: + Don't export DH_COMPAT because we use debian/compat now. -- Joan Queralt Molina Tue, 10 Jan 2006 23:38:39 +0100 ltris (1.0.10-1) unstable; urgency=low * New upstream release. + This includes the patch from the NMU. Closes: #291620 * New maintainer. Closes: #320950 * Updated to follow Standards-Version 3.6.2 -- Joan Queralt Molina Tue, 16 Aug 2005 10:12:26 +0200 ltris (1.0.6-1.1) unstable; urgency=high * NMU * Apply patch from Ulf Harnhammar to avoid exploitable buffer overflow in reading high score file. CLoses: #291620 -- Joey Hess Wed, 23 Mar 2005 10:57:54 -0500 ltris (1.0.6-1) unstable; urgency=low * New upstream release + Should terminate properly now (Closes: #195289) + Blocks aren't added when the game is paused (Closes: #249735) * Restrict starting level to prevent abnormally-high high scores. (Closes: #194833) * Added a newline to the error message that's displayed when the SDL can't load, so the error message can actually be seen. (Closes: #225016) -- Pascal Hakim Tue, 1 Jun 2004 13:35:46 +1000 ltris (1.0.4-1) unstable; urgency=low * New upstream release -- Pascal Hakim Tue, 4 Feb 2003 01:40:23 +1100 ltris (1.0.3-2) unstable; urgency=medium * Fix unsafe HOME environment variable. Thanks to Steve Kemp (closes: #169607) -- Pascal Hakim Mon, 18 Nov 2002 22:16:19 +1100 ltris (1.0.3-1) unstable; urgency=low * New upstream release -- Pascal Hakim Mon, 5 Aug 2002 11:14:08 +1000 ltris (1.0.2-1) unstable; urgency=low * New upstream release -- Pascal Hakim Tue, 4 Jun 2002 00:53:04 +1000 ltris (1.0.1-2) unstable; urgency=low * Fix spelling mistake in doc, code and help messages (closes: #148600) -- Pascal Hakim Sat, 1 Jun 2002 01:39:11 +1000 ltris (1.0.1-1) unstable; urgency=low * Initial Release. (Closes #132403) -- Pascal Hakim Thu, 7 Feb 2002 18:55:14 +0100 debian/ltris.xpm0000644000000000000000000001222711765077023011065 0ustar /* XPM */ static char * ltris32_xpm[] = { "32 32 190 2", " c None", ". c #000000", "+ c #E46464", "@ c #D57878", "# c #E46C6C", "$ c #E35656", "% c #DB7676", "& c #E66767", "* c #F08585", "= c #E76565", "- c #AD0F0F", "; c #AE0303", "> c #B80303", ", c #D21717", "' c #D73232", ") c #DC4E4E", "! c #E86E6E", "~ c #E65757", "{ c #992424", "] c #760000", "^ c #980000", "/ c #B60000", "( c #CC0B0B", "_ c #D93535", ": c #EA7070", "< c #E85A5A", "[ c #A23232", "} c #740000", "| c #9E0000", "1 c #C80707", "2 c #D62C2C", "3 c #F18585", "4 c #E75E5E", "5 c #A23434", "6 c #8A0000", "7 c #C20505", "8 c #D72222", "9 c #DB5252", "0 c #E86C6C", "a c #F48E8E", "b c #E85F5F", "c c #AC2929", "d c #B00909", "e c #D63434", "f c #DE5757", "g c #E46363", "h c #EE7A7A", "i c #F79D9D", "j c #E76C6C", "k c #7A7ADA", "l c #6767DE", "m c #5757E5", "n c #7979E0", "o c #6767E6", "p c #8585F0", "q c #6565E7", "r c #6565E6", "s c #E25454", "t c #D93838", "u c #E26060", "v c #DD5555", "w c #E86B6B", "x c #F28686", "y c #E55C5C", "z c #0303AE", "A c #0303B8", "B c #1717D2", "C c #3232D7", "D c #4E4EDC", "E c #6E6EE8", "F c #5757E6", "G c #0F0FAD", "H c #D53C3C", "I c #BF1313", "J c #C91C1C", "K c #CF1E1E", "L c #BC2C2C", "M c #BB2C2C", "N c #BF3434", "O c #BA1F1F", "P c #000076", "Q c #000098", "R c #0000B6", "S c #0B0BCC", "T c #3535D9", "U c #7070EA", "V c #5A5AE8", "W c #242499", "X c #000074", "Y c #00009E", "Z c #0707C8", "` c #2C2CD6", " . c #6464E4", ".. c #8585F1", "+. c #5E5EE7", "@. c #3232A2", "#. c #00008A", "$. c #0505C2", "%. c #2222D7", "&. c #5252DB", "*. c #6C6CE8", "=. c #8E8EF4", "-. c #5F5FE8", ";. c #3434A2", ">. c #0909B0", ",. c #3434D6", "'. c #5757DE", "). c #6363E4", "!. c #7A7AEE", "~. c #9D9DF7", "{. c #6C6CE7", "]. c #2929AC", "^. c #3838D9", "/. c #6060E2", "(. c #5555DD", "_. c #6B6BE8", ":. c #8686F2", "<. c #5C5CE5", "[. c #5454E2", "}. c #1313BF", "|. c #1C1CC9", "1. c #1E1ECF", "2. c #2C2CBC", "3. c #2C2CBB", "4. c #3434BF", "5. c #1F1FBA", "6. c #3C3CD5", "7. c #DCDB7D", "8. c #DBDA66", "9. c #D7D551", "0. c #D4D274", "a. c #E6E467", "b. c #F0EF85", "c. c #E7E665", "d. c #AEAB03", "e. c #B8B603", "f. c #D2D017", "g. c #D7D632", "h. c #DCDA4E", "i. c #E8E76E", "j. c #E6E457", "k. c #767400", "l. c #989600", "m. c #B6B400", "n. c #CCC90B", "o. c #D9D735", "p. c #EAE870", "q. c #E8E65A", "r. c #747200", "s. c #9E9C00", "t. c #C8C507", "u. c #D6D42C", "v. c #E4E364", "w. c #F1F085", "x. c #E7E65E", "y. c #8A8800", "z. c #C2C005", "A. c #D7D522", "B. c #DBD952", "C. c #E8E76C", "D. c #F4F28E", "E. c #E8E65F", "F. c #B0AE09", "G. c #D6D534", "H. c #DEDD57", "I. c #E4E263", "J. c #EEEC7A", "K. c #F7F69D", "L. c #E7E66C", "M. c #D9D838", "N. c #E2E060", "O. c #DDDB55", "P. c #E8E66C", "Q. c #E8E66B", "R. c #F2F086", "S. c #E5E35C", "T. c #BFBD13", "U. c #C9C71C", "V. c #CFCD1E", "W. c #BCBA2C", "X. c #BBBA2C", "Y. c #BFBD34", "Z. c #BAB81F", "`. c #DDDC60", " + c #ADAB0F", ".+ c #999724", "++ c #A2A032", "@+ c #A2A134", "#+ c #ACAA29", "$+ c #E2E054", " ", " . . . . . . . . . . . . . . . . . ", " . + @ # $ % & * = + @ # $ % & * . ", " . - ; > , ' ) ! ~ - ; > , ' ) ! . ", " . { ] ^ / ( _ : < { ] ^ / ( _ : . ", " . [ } | 1 2 + 3 4 [ } | 1 2 + 3 . ", " . 5 6 7 8 9 0 a b 5 6 7 8 9 0 a . ", ". . . . . . . . . . . . . . . . c d e f g h i j c d e f g h i . ", ". k l m n o p q r k l m n o p q s t u v 0 w x y s t u v 0 w x . ", ". z A B C D E F G z A B C D E F H I J K L M N O H I J K L M N . ", ". P Q R S T U V W P Q R S T U V . . . . . . . . + @ # $ % & * . ", ". X Y Z ` ...+.@.X Y Z ` ...+.. . - ; > , ' ) ! . ", ". #.$.%.&.*.=.-.;.#.$.%.&.*.=.-.. . { ] ^ / ( _ : . ", ". >.,.'.).!.~.{.].>.,.'.).!.~.{.. . [ } | 1 2 + 3 . ", ". ^./.(.*._.:.<.[.^./.(.*._.:.<.. . 5 6 7 8 9 0 a . ", ". }.|.1.2.3.4.5.6.}.|.1.2.3.4.5.. . . . . . . . c d e f g h i . ", ". 7.8.9.0.a.b.c.r k l m n o p q r k l m n o p q s t u v 0 w x . ", ". d.e.f.g.h.i.j.G z A B C D E F G z A B C D E F H I J K L M N . ", ". k.l.m.n.o.p.q.W P Q R S T U V W P Q R S T U V + @ # $ % & * . ", ". r.s.t.u.v.w.x.@.X Y Z ` ...+.@.X Y Z ` ...+.- ; > , ' ) ! . ", ". y.z.A.B.C.D.E.;.#.$.%.&.*.=.-.;.#.$.%.&.*.=.-.{ ] ^ / ( _ : . ", ". F.G.H.I.J.K.L.].>.,.'.).!.~.{.].>.,.'.).!.~.{.[ } | 1 2 + 3 . ", ". M.N.O.P.Q.R.S.[.^./.(.*._.:.<.[.^./.(.*._.:.<.5 6 7 8 9 0 a . ", ". T.U.V.W.X.Y.Z.6.}.|.1.2.3.4.5.6.}.|.1.2.3.4.5.c d e f g h i . ", ". 7.8.9.0.a.b.c.`.7.8.9.0.a.b.c.`.7.8.9.0.a.b.c.s t u v 0 w x . ", ". d.e.f.g.h.i.j. +d.e.f.g.h.i.j. +d.e.f.g.h.i.j.H I J K L M N . ", ". k.l.m.n.o.p.q..+k.l.m.n.o.p.q..+k.l.m.n.o.p.q.. . . . . . . . ", ". r.s.t.u.v.w.x.++r.s.t.u.v.w.x.++r.s.t.u.v.w.x.. ", ". y.z.A.B.C.D.E.@+y.z.A.B.C.D.E.@+y.z.A.B.C.D.E.. ", ". F.G.H.I.J.K.L.#+F.G.H.I.J.K.L.#+F.G.H.I.J.K.L.. ", ". M.N.O.P.Q.R.S.$+M.N.O.P.Q.R.S.$+M.N.O.P.Q.R.S.. ", ". . . . . . . . . . . . . . . . . . . . . . . . . "}; debian/docs0000644000000000000000000000001711765077023010047 0ustar AUTHORS README debian/postinst0000644000000000000000000000267111765077023011012 0ustar #! /bin/sh # postinst script for ltris # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/share/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/ltris.hscr ] then rm -f /var/games/ltris.hscr cp /usr/share/games/ltris/ltris.hscr.blank /var/games/ltris.hscr chown root:games /var/games/ltris.hscr chmod 664 /var/games/ltris.hscr 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 debian/ltris.desktop0000644000000000000000000000026711765432305011731 0ustar [Desktop Entry] Name=LTris GenericName=Puzzle game Comment=A tetris clone with nice graphics Exec=ltris Icon=ltris StartupNotify=true Terminal=false Type=Application Categories=Game; debian/watch0000644000000000000000000000007111765077023010225 0ustar version=3 http://sf.net/lgames/ ltris-([0-9.]*)\.tar\.gz debian/copyright0000644000000000000000000000042411765077023011131 0ustar This package was debianized by Pascal Hakim on Thu, 7 Feb 2002 18:55:14 +0100. It was downloaded from www.lgames.org Upstream Author: Michael Speck copyright (C) 2000 by Michael Speck License: GNU GPL (/usr/share/common-licenses/GPL) debian/patches/0000755000000000000000000000000012264246046010623 5ustar debian/patches/series0000644000000000000000000000002711765432605012042 0ustar 15-ltris.desktop.patch debian/patches/15-ltris.desktop.patch0000644000000000000000000000042511765111245014672 0ustar From: Unknown Subject: Debian local changes (add deskptop file) --- /dev/null +++ b/ltris.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LTris +Comment=A tetris clone with nice graphics. +Exec=ltris +Icon=/usr/share/games/icons/ltris48.gif +Type=Application +Categories=Game; debian/source/0000755000000000000000000000000011765107273010477 5ustar debian/source/format0000644000000000000000000000001411765107273011705 0ustar 3.0 (quilt) debian/ltris.manpages0000644000000000000000000000001711765077023012046 0ustar debian/ltris.6 debian/postrm0000644000000000000000000000161511765077023010450 0ustar #! /bin/sh # postrm script for ltris # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see /usr/share/doc/packaging-manual/ case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; purge) rm -f /var/games/ltris.hscr ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#