r5857 - in packages/trunk/beatharvester/debian: . patches

Richard Hartmann richih-guest at alioth.debian.org
Tue Feb 19 15:52:52 UTC 2008


Author: richih-guest
Date: 2008-02-19 15:52:52 +0000 (Tue, 19 Feb 2008)
New Revision: 5857

Added:
   packages/trunk/beatharvester/debian/beatharvester.6
   packages/trunk/beatharvester/debian/beatharvester.desktop
   packages/trunk/beatharvester/debian/beatharvester.install
   packages/trunk/beatharvester/debian/beatharvester.links
   packages/trunk/beatharvester/debian/beatharvester.manpages
   packages/trunk/beatharvester/debian/beatharvester.menu
   packages/trunk/beatharvester/debian/beatharvester.xpm
   packages/trunk/beatharvester/debian/patches/
   packages/trunk/beatharvester/debian/patches/font_path.patch
   packages/trunk/beatharvester/debian/rules
   packages/trunk/beatharvester/debian/watch
Log:
Should be done, now?

* debian/patches:
* debian/patches/font_path.patch:
* debian/beatharvester.manpages:
* debian/rules:
* debian/beatharvester.xpm:
* debian/beatharvester.menu:
* debian/beatharvester.6:
* debian/beatharvester.install:
* debian/watch:
* debian/beatharvester.desktop:
* debian/beatharvester.links:



Added: packages/trunk/beatharvester/debian/beatharvester.6
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.6	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.6	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,23 @@
+.TH "Beat Harvester" "6" "February 2008" "" "Games"
+.SH "NAME"
+beatharvester \- Asteroids clone with a musical theme
+.SH "SYNOPSIS"
+.B beatharvester
+.SH "DESCRIPTION"
+An Asteroids clone with focus on timing, sound and smooth 2D visuals.
+.SH "USAGE"
+Controls reference:
+
+KEYBOARD:
+
+  Left/Right/Up/Down  Move
+  Z                   Shoot
+
+
+MENUS:
+
+  ESC                 Main menu / Quit
+
+Collect seeds and shoot enemies to gain points. Make sure your health bar does not become empty.
+.SH "SEE ALSO"
+You can find more information at http://hectigo.net/puskutraktori/beatharvester/

Added: packages/trunk/beatharvester/debian/beatharvester.desktop
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.desktop	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.desktop	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Beat Harvester
+GenericName=beatharvester
+Comment=Asteroids clone with a musical theme
+Icon=beatharvester
+Exec=beatharvester
+Terminal=false
+Categories=Game;ArcadeGame;

Added: packages/trunk/beatharvester/debian/beatharvester.install
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.install	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.install	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,7 @@
+debian/game.sh usr/share/games/beatharvester
+lib/*.py usr/share/games/beatharvester/lib
+data/pictures/*.png usr/share/games/beatharvester/bin/pictures/
+data/sounds/* usr/share/games/beatharvester/bin/sounds/
+debian/*.xpm usr/share/pixmaps/
+debian/*.desktop usr/share/applications/
+

Added: packages/trunk/beatharvester/debian/beatharvester.links
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.links	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.links	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1 @@
+usr/share/games/beatharverster/run_game.py usr/games/oneisenough

Added: packages/trunk/beatharvester/debian/beatharvester.manpages
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.manpages	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.manpages	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1 @@
+debian/beatharvester.6

Added: packages/trunk/beatharvester/debian/beatharvester.menu
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.menu	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.menu	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,3 @@
+?package(beatharvester):needs="x11" section="Games/Action" \
+	title="Beat Harvester" command="/usr/games/beatharvester" \
+	icon="/usr/share/pixmaps/beatharvester.xpm"

Added: packages/trunk/beatharvester/debian/beatharvester.xpm
===================================================================
--- packages/trunk/beatharvester/debian/beatharvester.xpm	                        (rev 0)
+++ packages/trunk/beatharvester/debian/beatharvester.xpm	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,183 @@
+/* XPM */
+static char * beatharvester_xpm[] = {
+"32 32 148 2",
+"  	c None",
+". 	c #000000",
+"+ 	c #010101",
+"@ 	c #040404",
+"# 	c #070707",
+"$ 	c #020202",
+"% 	c #060606",
+"& 	c #121212",
+"* 	c #0B0B0B",
+"= 	c #0E0E0E",
+"- 	c #222222",
+"; 	c #323232",
+"> 	c #111111",
+", 	c #050505",
+"' 	c #1F1F1F",
+") 	c #3C3C3C",
+"! 	c #5D5D5D",
+"~ 	c #101010",
+"{ 	c #030303",
+"] 	c #575757",
+"^ 	c #C6C6C6",
+"/ 	c #E6E6E6",
+"( 	c #999999",
+"_ 	c #080808",
+": 	c #0D0D0D",
+"< 	c #848484",
+"[ 	c #BDBDBD",
+"} 	c #D3D3D3",
+"| 	c #7C7C7C",
+"1 	c #F2F2F2",
+"2 	c #FFFFFF",
+"3 	c #161616",
+"4 	c #595959",
+"5 	c #585858",
+"6 	c #2F2F2F",
+"7 	c #4A4A4A",
+"8 	c #393939",
+"9 	c #CFCFCF",
+"0 	c #F8F8F8",
+"a 	c #C8C8C8",
+"b 	c #1E1E1E",
+"c 	c #656565",
+"d 	c #E8E8E8",
+"e 	c #888888",
+"f 	c #0F0F0F",
+"g 	c #ADADAD",
+"h 	c #FEFEFE",
+"i 	c #C3C3C3",
+"j 	c #313131",
+"k 	c #3A3A3A",
+"l 	c #E2E2E2",
+"m 	c #F9F9F9",
+"n 	c #9F9F9F",
+"o 	c #838383",
+"p 	c #6B6B6B",
+"q 	c #282828",
+"r 	c #7B7B7B",
+"s 	c #606060",
+"t 	c #0C0C0C",
+"u 	c #6D6D6D",
+"v 	c #EDEDED",
+"w 	c #E0E0E0",
+"x 	c #303030",
+"y 	c #9A9A9A",
+"z 	c #EEEEEE",
+"A 	c #4C4C4C",
+"B 	c #2A2A2A",
+"C 	c #777777",
+"D 	c #535353",
+"E 	c #F6F6F6",
+"F 	c #F4F4F4",
+"G 	c #444444",
+"H 	c #ABABAB",
+"I 	c #FCFCFC",
+"J 	c #949494",
+"K 	c #1B1B1B",
+"L 	c #0A0A0A",
+"M 	c #2C2C2C",
+"N 	c #141414",
+"O 	c #333333",
+"P 	c #696969",
+"Q 	c #BFBFBF",
+"R 	c #F3F3F3",
+"S 	c #B5B5B5",
+"T 	c #424242",
+"U 	c #E9E9E9",
+"V 	c #404040",
+"W 	c #090909",
+"X 	c #CDCDCD",
+"Y 	c #919191",
+"Z 	c #181818",
+"` 	c #1D1D1D",
+" .	c #A9A9A9",
+"..	c #E7E7E7",
+"+.	c #C1C1C1",
+"@.	c #1A1A1A",
+"#.	c #555555",
+"$.	c #A5A5A5",
+"%.	c #383838",
+"&.	c #505050",
+"*.	c #353535",
+"=.	c #D1D1D1",
+"-.	c #DBDBDB",
+";.	c #262626",
+">.	c #DFDFDF",
+",.	c #B6B6B6",
+"'.	c #525252",
+").	c #FAFAFA",
+"!.	c #797979",
+"~.	c #E3E3E3",
+"{.	c #B7B7B7",
+"].	c #3D3D3D",
+"^.	c #B8B8B8",
+"/.	c #F7F7F7",
+"(.	c #808080",
+"_.	c #969696",
+":.	c #CCCCCC",
+"<.	c #1C1C1C",
+"[.	c #939393",
+"}.	c #FDFDFD",
+"|.	c #5E5E5E",
+"1.	c #6C6C6C",
+"2.	c #C5C5C5",
+"3.	c #818181",
+"4.	c #232323",
+"5.	c #CBCBCB",
+"6.	c #D2D2D2",
+"7.	c #3B3B3B",
+"8.	c #626262",
+"9.	c #7D7D7D",
+"0.	c #4D4D4D",
+"a.	c #363636",
+"b.	c #C9C9C9",
+"c.	c #373737",
+"d.	c #8D8D8D",
+"e.	c #464646",
+"f.	c #3F3F3F",
+"g.	c #A0A0A0",
+"h.	c #CECECE",
+"i.	c #DADADA",
+"j.	c #B0B0B0",
+"k.	c #141314",
+"l.	c #A4A4A4",
+"m.	c #959595",
+"n.	c #8B8B8B",
+"o.	c #707070",
+"p.	c #A6A6A6",
+"q.	c #292929",
+"                    . . . . . . . . . . . .                     ",
+"                . . . . . . . . . . . . . . . .                 ",
+"              . . . . . . . . . . . . . . . . . .               ",
+"          . . . . . . . . + . . . @ # $ . . + % & * $           ",
+"        . . = - ; > + . + . . . . @ , + . . @ ' ) ! ~ .         ",
+"        . { ] ^ / ( = . _ . . . . . . . . . : < [ } ; .         ",
+"      . . # | 1 2 [ 3 $ 4 5 , . . @ 6 7 ; _ 8 9 0 a - . .       ",
+"    . . . $ b c d e { f g h i j % k l m n @ $ o 1 p , . . .     ",
+"    . . . . , q r s t u v 2 2 w x y 2 2 z A $ B C 3 . . . .     ",
+"  . . . . . . > D 7 7 [ E 2 2 F G H 2 2 I J K @ L % K 3 @ . .   ",
+"  . . . @ b M : # N O P Q R I S K T U m i V % . W r X Y Z . .   ",
+"  . . . `  ...+.D W $ % @.#.$.%.> % &.*.* + { k =.h 2 -.;.. .   ",
+". . . . ;.>.2 2 E ,.'.* . @ @.O > @ + . + @.y ).2 2 I !.W . . . ",
+". . . . # ] ~.2 2 2 m {.].% . . . . . . - ^.2 2 2 /.(.~ . . . . ",
+". . . . . % x _.d h 2 h :.<.+ . . . . t [.}.2 ).} |.<., + . . . ",
+". . . . . > 1.,.{.2.R h 3.+ . . . . . 4.5.R 6.o H :.7.. $ . . . ",
+". . . . . 8.m 2 2 0 < 9.N . . . . . . _ j 0.a.b.2 R c.. + . . . ",
+". . . . . d.2 2 2 -.%.+ . . . . . . . . . . 7 }.2 }.c + . . . . ",
+". . . . . e.1 2 }.o $ . . . . . . . . . . . f.z h 2 g.@ . . . . ",
+". . . . . L ! 9 h. at .. . . . . . . . . . . . _ |.i.j.T @ . . . . ",
+"  . . . . . { k.> . . . { * f W { . . . . . . @ ` = { . . . .   ",
+"  . . . . . . . . . . : 5 l.g m.y n.o.T Z { . . . . . . . . .   ",
+"  . . . . . . . . . @ e.v h 2 h   h }.F p. at .. . . . . . . . .   ",
+"    . . . . . . . @ q.  /.}.2 2   2 2 2     . . . . . . . .     ",
+"      . . . . . .       m h 2     2 2 I       . . . . . .       ",
+"          . . . .         I m                 . . . . . .       ",
+"          . . . .                             . . . .           ",
+"          . . . . .                       . . . . . .           ",
+"            . . . . . . . . . . . . . . . . . . . .             ",
+"            . . . . . . . . . . . . . . . . . . . .             ",
+"                .   . . . . . . . . . . . . . .                 ",
+"                        . . . . . . .                           "};

Added: packages/trunk/beatharvester/debian/patches/font_path.patch
===================================================================
--- packages/trunk/beatharvester/debian/patches/font_path.patch	                        (rev 0)
+++ packages/trunk/beatharvester/debian/patches/font_path.patch	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,37 @@
+--- old/gl_render_util.py       2008-02-19 16:49:36.943593775 +0100
++++ new/gl_render_util.py       2008-02-19 16:39:10.151593480 +0100
+@@ -226,7 +226,7 @@
+             font = GL_render_util.cached_fonts[size]
+         else:
+             font = GL_render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
+-            os.path.join("misc", "Vera.ttf")), size)
++            os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSansMono.ttf")), size)
+
+         color = (color[0], color[1], color[2], 255);
+         bgcolor = (bgcolor[0], bgcolor[1], bgcolor[2], 255);
+@@ -373,4 +373,4 @@
+         glVertex3f(-1.0, 1.0, 0.0)
+         glEnd()
+
+-    return (GL_render_util.fade_state == fade_target)
+\ No newline at end of file
++    return (GL_render_util.fade_state == fade_target)
+diff -ru old/render_util.py new/render_util.py
+--- old/render_util.py  2008-02-19 16:49:41.016371053 +0100
++++ new/render_util.py  2008-02-19 16:39:43.452594225 +0100
+@@ -79,7 +79,7 @@
+             font = Render_util.cached_fonts[size]
+         else:
+             font = Render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
+-            os.path.join("misc", "Vera.ttf")), size)
++            os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSansMono.ttf")), size)
+
+         text_image_bg = font.render(string, True, bgcolor)
+         text_image_fg = font.render(string, True, color)
+@@ -193,4 +193,4 @@
+     if Render_util.fade_state > FADE_STATE_NONE:
+         Render_util.blackscreen.set_alpha(Render_util.fade_state)
+         screen.blit(Render_util.blackscreen, screen.get_rect())
+-    return (Render_util.fade_state == fade_target)
+\ No newline at end of file
++    return (Render_util.fade_state == fade_target)

Added: packages/trunk/beatharvester/debian/rules
===================================================================
--- packages/trunk/beatharvester/debian/rules	                        (rev 0)
+++ packages/trunk/beatharvester/debian/rules	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: patch build-stamp
+build-stamp:
+	dh_testdir
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	chmod +x run_game.py
+	chmod +x bin/mainmenu.py
+	chmod +x debian/game.sh
+	dh_installdirs
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_install
+	dh_installmenu
+	dh_installman
+	dh_desktop
+	dh_icons
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/trunk/beatharvester/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/beatharvester/debian/watch
===================================================================
--- packages/trunk/beatharvester/debian/watch	                        (rev 0)
+++ packages/trunk/beatharvester/debian/watch	2008-02-19 15:52:52 UTC (rev 5857)
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/^b//;s/(\d)(\d\d)/$1.$2/g" \
+http://hectigo.net/puskutraktori/beatharvester/beatharvester_([^_]+)\.zip




More information about the Pkg-games-commits mailing list