Author: pdewacht-guest
Date: 2009-08-26 23:43:51 +0000 (Wed, 26 Aug 2009)
New Revision: 10222

Added:
   packages/trunk/tile-tetri/debian/README.source
   packages/trunk/tile-tetri/debian/patches/wrong-version-number.patch
   packages/trunk/tile-tetri/debian/tile-tetri.6
   packages/trunk/tile-tetri/debian/tile-tetri.desktop
   packages/trunk/tile-tetri/debian/tile-tetri.docs
   packages/trunk/tile-tetri/debian/tile-tetri.menu
Removed:
   packages/trunk/tile-tetri/debian/docs
   packages/trunk/tile-tetri/debian/menu
Modified:
   packages/trunk/tile-tetri/debian/changelog
   packages/trunk/tile-tetri/debian/control
   packages/trunk/tile-tetri/debian/copyright
   packages/trunk/tile-tetri/debian/patches/Makefile.patch
   packages/trunk/tile-tetri/debian/patches/compile.patch
   packages/trunk/tile-tetri/debian/patches/directories.patch
   packages/trunk/tile-tetri/debian/patches/series
   packages/trunk/tile-tetri/debian/rules
   packages/trunk/tile-tetri/debian/tile-tetri.install
   packages/trunk/tile-tetri/debian/watch
Log:
tile-tetri: more or less finished package.


Added: packages/trunk/tile-tetri/debian/README.source
===================================================================
--- packages/trunk/tile-tetri/debian/README.source                              
(rev 0)
+++ packages/trunk/tile-tetri/debian/README.source      2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -0,0 +1,2 @@
+This package uses the quilt patch system, see
+/usr/share/doc/quilt/README.source .

Modified: packages/trunk/tile-tetri/debian/changelog
===================================================================
--- packages/trunk/tile-tetri/debian/changelog  2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/changelog  2009-08-26 23:43:51 UTC (rev 
10222)
@@ -1,6 +1,5 @@
 tile-tetri (1.22+dfsg1-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release.
 
- -- Peter De Wachter <[email protected]>  Sat, 13 Sep 2008 21:00:43 +0200
-
+ -- Peter De Wachter <[email protected]>  Thu, 27 Aug 2009 01:36:30 +0200

Modified: packages/trunk/tile-tetri/debian/control
===================================================================
--- packages/trunk/tile-tetri/debian/control    2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/control    2009-08-26 23:43:51 UTC (rev 
10222)
@@ -3,9 +3,10 @@
 Priority: optional
 Maintainer: Debian Games Team <[email protected]>
 Uploaders: Peter De Wachter <[email protected]>
-Build-Depends: debhelper (>= 7), quilt, gdc, libgl1-mesa-dev | libgl-dev,
-  libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 7), quilt, gdc,
+  libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev,
+  libgl1-mesa-dev | libgl-dev
+Standards-Version: 3.8.3
 Homepage: http://hizuoka.web.fc2.com/game/tile/index_en.html
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/tile-tetri
 Vcs-Browser: 
http://svn.debian.org/wsvn/pkg-games/packages/trunk/tile-tetri/?op=log
@@ -13,5 +14,9 @@
 Package: tile-tetri
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: abstract shoot 'em up game with falling blocks
+ Tile Tetri is a small, unusual shoot 'em up game. Your craft moves at
+ ground level and enemies come down from the sky. Each enemy you destroy
+ drops a Tetris-like block. Depending on how you stack these blocks, they
+ can become platforms to reach closer to the enemies, protective bunkers
+ or just plain annoying obstacles.

Modified: packages/trunk/tile-tetri/debian/copyright
===================================================================
--- packages/trunk/tile-tetri/debian/copyright  2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/copyright  2009-08-26 23:43:51 UTC (rev 
10222)
@@ -36,7 +36,7 @@
  in the `/usr/share/common-licenses/GPL-2' file.
 
 Files: debian/*
-Copyright: Copyright 2008 Peter De Wachter
+Copyright: Copyright 2008, 2009 Peter De Wachter
 License: GAP
  Copying and distribution of this package, with or without modification, are
  permitted in any medium without royalty provided the copyright notice and this

Deleted: packages/trunk/tile-tetri/debian/docs
===================================================================
--- packages/trunk/tile-tetri/debian/docs       2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/docs       2009-08-26 23:43:51 UTC (rev 
10222)
@@ -1,4 +0,0 @@
-license_en.txt
-license_ja.txt
-readme_en.txt
-readme_ja.txt

Deleted: packages/trunk/tile-tetri/debian/menu
===================================================================
--- packages/trunk/tile-tetri/debian/menu       2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/menu       2009-08-26 23:43:51 UTC (rev 
10222)
@@ -1,2 +0,0 @@
-?package(tile-tetri):needs="X11" section="Games/Action"\
-  title="Tile Tetri" command="/usr/games/tile-tetri"

Modified: packages/trunk/tile-tetri/debian/patches/Makefile.patch
===================================================================
--- packages/trunk/tile-tetri/debian/patches/Makefile.patch     2009-08-26 
22:59:46 UTC (rev 10221)
+++ packages/trunk/tile-tetri/debian/patches/Makefile.patch     2009-08-26 
23:43:51 UTC (rev 10222)
@@ -1,11 +1,33 @@
+A simple Makefile. Upstream uses DOS batch files :(
+
 --- /dev/null
 +++ b/Makefile
-@@ -0,0 +1,8 @@
-+D_SOURCES := $(shell find source -name '*.d')
+@@ -0,0 +1,28 @@
++SRCS = info.d runnerblock.d runnerblue.d runnerbulletenemy.d          \
++ runnerbulletfriend.d runnerbulletrocket.d runner.d runnereffect.d    \
++ runnergreen.d runnerplayer.d runnerred.d runnerrocket.d tile.d               
\
++ token.d tokenmanager.d niboshi/data/chain.d niboshi/data/color.d     \
++ niboshi/data/loader.d niboshi/data/point.d niboshi/data/size.d               
\
++ niboshi/data/vector.d niboshi/framework/eventhandler.d                       
\
++ niboshi/framework/image.d niboshi/framework/imageloader.d            \
++ niboshi/framework/input.d niboshi/framework/inputmanager.d           \
++ niboshi/framework/joystick.d niboshi/framework/keyboard.d            \
++ niboshi/framework/letter.d niboshi/framework/letterloader.d          \
++ niboshi/framework/screen.d niboshi/framework/sdlmanager.d            \
++ niboshi/framework/sound.d niboshi/framework/soundloader.d            \
++ niboshi/framework/texture.d niboshi/framework/timer.d                        
\
++ SDL/SDL_active.d SDL/SDL_audio.d SDL/SDL_byteorder.d SDL/SDL_cdrom.d \
++ SDL/SDL_copying.d SDL/SDL.d SDL/SDL_endian.d SDL/SDL_error.d         \
++ SDL/SDL_events.d SDL/SDL_getenv.d SDL/SDL_image.d SDL/SDL_joystick.d \
++ SDL/SDL_keyboard.d SDL/SDL_keysym_.d SDL/SDL_mixer.d SDL/SDL_mouse.d \
++ SDL/SDL_mutex.d SDL/SDL_quit.d SDL/SDL_rwops.d SDL/SDL_syswm.d               
\
++ SDL/SDL_thread.d SDL/SDL_timer.d SDL/SDL_ttf.d SDL/SDL_types.d               
\
++ SDL/SDL_version_.d SDL/SDL_video.d opengl/opengl.d opengl/openglu.d
++
 +LIBS      := -lSDL_ttf -lSDL_mixer -lSDL_image -lSDL -lGL
 +
-+tile-tetri: $(D_SOURCES)
-+      cd source && gdc $(CFLAGS) -ISDL -Iopengl -o $@ $(^:source/%=%) $(LIBS)
++source/tile-tetri: $(addprefix source/, $(SRCS))
++      cd source && gdc $(DFLAGS) -ISDL -Iopengl -o tile-tetri $(SRCS) $(LIBS)
 +
 +clean:
 +      rm -f source/tile-tetri

Modified: packages/trunk/tile-tetri/debian/patches/compile.patch
===================================================================
--- packages/trunk/tile-tetri/debian/patches/compile.patch      2009-08-26 
22:59:46 UTC (rev 10221)
+++ packages/trunk/tile-tetri/debian/patches/compile.patch      2009-08-26 
23:43:51 UTC (rev 10222)
@@ -1,5 +1,6 @@
-token imports tokenmanager, tokenmanager imports token, gdc dies
---- a/source/tokenmanager.d
+Compiler bug: token imports tokenmanager, tokenmanager imports token, gdc dies
+-
+-- a/source/tokenmanager.d
 +++ b/source/tokenmanager.d
 @@ -32,8 +32,9 @@
        

Modified: packages/trunk/tile-tetri/debian/patches/directories.patch
===================================================================
--- packages/trunk/tile-tetri/debian/patches/directories.patch  2009-08-26 
22:59:46 UTC (rev 10221)
+++ packages/trunk/tile-tetri/debian/patches/directories.patch  2009-08-26 
23:43:51 UTC (rev 10222)
@@ -1,3 +1,5 @@
+Set the installation directory.
+
 --- a/source/info.d
 +++ b/source/info.d
 @@ -34,7 +34,7 @@

Modified: packages/trunk/tile-tetri/debian/patches/series
===================================================================
--- packages/trunk/tile-tetri/debian/patches/series     2009-08-26 22:59:46 UTC 
(rev 10221)
+++ packages/trunk/tile-tetri/debian/patches/series     2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -1,3 +1,4 @@
+Makefile.patch
 compile.patch
 directories.patch
-Makefile.patch
+wrong-version-number.patch
\ No newline at end of file

Added: packages/trunk/tile-tetri/debian/patches/wrong-version-number.patch
===================================================================
--- packages/trunk/tile-tetri/debian/patches/wrong-version-number.patch         
                (rev 0)
+++ packages/trunk/tile-tetri/debian/patches/wrong-version-number.patch 
2009-08-26 23:43:51 UTC (rev 10222)
@@ -0,0 +1,13 @@
+The game displays a wrong version number in the title bar. Just remove it.
+
+--- a/source/info.d
++++ b/source/info.d
+@@ -18,7 +18,7 @@
+ // 各種情報構造体
+ 
+ public struct Info{
+-      const TITLE         = "Tile tetri ver1.20";
++      const TITLE         = "Tile tetri";
+       const WIDTH         = 640;
+       const HEIGHT        = 480;
+       const FULLSCREEN    = false;

Modified: packages/trunk/tile-tetri/debian/rules
===================================================================
--- packages/trunk/tile-tetri/debian/rules      2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/rules      2009-08-26 23:43:51 UTC (rev 
10222)
@@ -1,22 +1,62 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
+DFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       DFLAGS += -O0 -fdebug
+else
+       DFLAGS += -O2 -frelease
+endif
 
-build: patch build-stamp
-build-stamp:
-       dh build
-       touch build-stamp
+patch: patch-stamp
+patch-stamp:
+       dh_testdir
+       $(MAKE) -f /usr/share/quilt/quilt.make patch
+       touch $@
 
-clean: unpatch
-       dh clean
-       dh_clean source/tile-tetri
+build: build-arch build-indep
 
-install: build install-stamp
-install-stamp:
-       dh install
-       touch install-stamp
+build-arch: build-arch-stamp
+build-arch-stamp: patch-stamp
+       dh_testdir
+       $(MAKE) DFLAGS="$(DFLAGS)"
+       touch $@
 
-binary: install
-       dh binary
+build-indep:
+# Nothing to do here.
 
-.PHONY: build clean install binary
+clean:
+       dh_testdir
+       dh_testroot
+       [ ! -f Makefile ] || $(MAKE) clean
+       $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_prep
+       dh_install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_install
+       dh_installman debian/tile-tetri.6
+       dh_installmenu
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-indep:
+# Nothing to do here.
+
+binary: binary-arch binary-indep
+
+.PHONY: patch build build-arch build-indep clean install binary-arch 
binary-indep binary

Added: packages/trunk/tile-tetri/debian/tile-tetri.6
===================================================================
--- packages/trunk/tile-tetri/debian/tile-tetri.6                               
(rev 0)
+++ packages/trunk/tile-tetri/debian/tile-tetri.6       2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -0,0 +1,47 @@
+.\" URL macro recipe from Branden Robinson's presentation
+.de URL
+\\$2 \(laURL: \\$1 \(ra\\$3
+..
+.if \n[.g] .mso www.tmac
+.\" End of recipe.
+.
+.TH tile-tetri 6 "2009-08-27"
+.\" Please adjust this date whenever revising the manpage.
+.
+.SH "NAME"
+.
+tile-tetri \- shoot down enemies while avoiding falling blocks
+.
+.SH "SYNOPSIS"
+.
+.B tile-tetri
+.
+.SH "DESCRIPTION"
+.
+Destroy the enemies and avoid their bullets.
+For every enemy you destroy a Tetris-like block will drop,
+which will kill you if it falls on you.
+You earn double points if a falling block hits an enemy
+and you get a bonus for stacking the blocks tall and wide.
+.
+.SH "CONTROLS"
+.
+.IP "Move"
+The arrow keys
+.IP "Shoot"
+Push the Z key.
+.IP "Bomb"
+Hold the Z key, and release it.
+.IP "Jump"
+Push the X key.
+.PP
+The game also supports joystick control.
+.
+.SH "SEE ALSO"
+.
+.URL "http://hizuoka.web.fc2.com/game/tile/index_en.html"; "The game's web 
site" ""
+.
+.SH "AUTHOR"
+.
+Tile Tetri was written by "HIZ" ([email protected]),
+based on Tile Capture by Kou Mikage.

Added: packages/trunk/tile-tetri/debian/tile-tetri.desktop
===================================================================
--- packages/trunk/tile-tetri/debian/tile-tetri.desktop                         
(rev 0)
+++ packages/trunk/tile-tetri/debian/tile-tetri.desktop 2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Tile Tetri
+GenericName=
+Exec=tile-tetri
+Terminal=false
+Categories=Game;ArcadeGame;

Copied: packages/trunk/tile-tetri/debian/tile-tetri.docs (from rev 9534, 
packages/trunk/tile-tetri/debian/docs)
===================================================================
--- packages/trunk/tile-tetri/debian/tile-tetri.docs                            
(rev 0)
+++ packages/trunk/tile-tetri/debian/tile-tetri.docs    2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -0,0 +1,2 @@
+readme_en.txt
+readme_ja.txt

Modified: packages/trunk/tile-tetri/debian/tile-tetri.install
===================================================================
--- packages/trunk/tile-tetri/debian/tile-tetri.install 2009-08-26 22:59:46 UTC 
(rev 10221)
+++ packages/trunk/tile-tetri/debian/tile-tetri.install 2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -1,2 +1,3 @@
-source/tile-tetri       usr/games/
-resource/*              usr/share/games/tile-tetri/
+source/tile-tetri              usr/games/
+resource/*                     usr/share/games/tile-tetri/
+debian/tile-tetri.desktop      usr/share/applications/
\ No newline at end of file

Copied: packages/trunk/tile-tetri/debian/tile-tetri.menu (from rev 9534, 
packages/trunk/tile-tetri/debian/menu)
===================================================================
--- packages/trunk/tile-tetri/debian/tile-tetri.menu                            
(rev 0)
+++ packages/trunk/tile-tetri/debian/tile-tetri.menu    2009-08-26 23:43:51 UTC 
(rev 10222)
@@ -0,0 +1,2 @@
+?package(tile-tetri):needs="X11" section="Games/Action"\
+  title="Tile Tetri" command="/usr/games/tile-tetri"

Modified: packages/trunk/tile-tetri/debian/watch
===================================================================
--- packages/trunk/tile-tetri/debian/watch      2009-08-26 22:59:46 UTC (rev 
10221)
+++ packages/trunk/tile-tetri/debian/watch      2009-08-26 23:43:51 UTC (rev 
10222)
@@ -1,4 +1,4 @@
 version=3
 
-opts=dversionmangle=s/\.dfsg\d+$//,uversionmangle=s/^./$&./ \
+opts=dversionmangle=s/\+dfsg\d+$//,uversionmangle=s/^./$&./ \
 http://hizuoka.web.fc2.com/game/tile/index_en.html ./tile_t([0-9]*).zip


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to