--- xjump-2.7.5.orig/debian/control +++ xjump-2.7.5/debian/control @@ -1,14 +1,15 @@ Source: xjump Section: games Priority: optional -Maintainer: Masato Taruishi -Build-Depends: debmake, xlibs-dev, libxaw7-dev -Standards-Version: 3.1.1 +Maintainer: Samuel Mimram +Build-Depends: debhelper, dpatch, libx11-dev, libxpm-dev, libxt-dev, x-dev, libxaw7-dev +Standards-Version: 3.7.2 Package: xjump Architecture: any Depends: ${shlibs:Depends} -Description: A jumping game for X. - A jumping game for X. The way to play this game is very simple, - but nice game. What you do in this game is only to jump, jump and - jump up above. +Description: A jumping game for X + The epitome of addictive and pointless games, xjump is simply a game + where one jumps from one platform to a higher platform, over and over. If + you can't keep up with the pace of jumping, the floor swallows you up and + your game is over. --- xjump-2.7.5.orig/debian/rules +++ xjump-2.7.5/debian/rules @@ -1,52 +1,56 @@ #!/usr/bin/make -f -# Made with the aid of debmake, by Christoph Lameter, -# based on the sample debian/rules file for GNU hello by Ian Jackson. +# Rewritten debian/rules for xjump by Joshua Kwan -package=xjump +include /usr/share/dpatch/dpatch.make -build: - $(checkdir) - +build: patch + dh_testdir make CFLAGS="-O2 -g -Wall" touch build -clean: - $(checkdir) - -rm -f build +clean: unpatch + dh_testroot + dh_testdir -make clean - -rm -f `find . -name "*~"` - -rm -rf debian/tmp debian/files* core debian/substvars + dh_clean -binary-indep: checkroot build - $(checkdir) -# There are no architecture-independent files to be uploaded -# generated by this package. If there were any they would be -# made here. - -binary-arch: checkroot build - $(checkdir) - -rm -rf debian/tmp - install -d debian/tmp - cd debian/tmp && install -d `cat ../dirs` - make install DESTDIR=`pwd`/debian/tmp - install -m 644 -o root -g root xjump-icon.xpm debian/tmp/usr/share/pixmaps/ - ln -s ../man7/undocumented.7.gz debian/tmp/usr/man/man6/xjump.6.gz -# Must have debmake installed for this to work. Otherwise please copy -# /usr/bin/debstd into the debian directory and change debstd to debian/debstd - debstd README.euc - dpkg-gencontrol -isp - chown -R root.root debian/tmp - chmod -R go=rX debian/tmp - dpkg --build debian/tmp .. - -define checkdir - test -f debian/rules -endef +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + make install DESTDIR=$(CURDIR)/debian/xjump + install -m 644 -o root -g root xjump-icon.xpm debian/xjump/usr/share/pixmaps/ + cp debian/themes/* debian/xjump/usr/share/games/xjump/ + for i in debian/xjump/usr/share/games/xjump/*; do gzip -9 $$i; done + cp debian/xjump.desktop debian/xjump/usr/share/applications/ + +binary-indep: + dh_testdir + +binary-arch: install + dh_testdir + dh_testroot + dh_installdocs README.euc + dh_installman debian/xjump.6 + dh_installchangelogs + dh_installmenu + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + + chgrp games debian/xjump/var/games/xjump debian/xjump/usr/games/xjump + chmod g+s debian/xjump/usr/games/xjump + + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb binary: binary-indep binary-arch -checkroot: - $(checkdir) - test root = "`whoami`" - -.PHONY: binary binary-arch binary-indep clean checkroot +.PHONY: binary binary-arch binary-indep clean install --- xjump-2.7.5.orig/debian/dirs +++ xjump-2.7.5/debian/dirs @@ -1,5 +1,5 @@ var/games/xjump usr/games -usr/share/pixmaps/ -usr/man -usr/man/man6 +usr/share/applications +usr/share/games/xjump +usr/share/pixmaps --- xjump-2.7.5.orig/debian/postinst +++ xjump-2.7.5/debian/postinst @@ -13,3 +13,4 @@ chgrp games /var/games/xjump/record fi +#DEBHELPER# --- xjump-2.7.5.orig/debian/copyright +++ xjump-2.7.5/debian/copyright @@ -1,4 +1,5 @@ This package was debianized by Masato Taruishi +Later packaging updated by Joshua Kwan Copyright (C) 1997-1999 Tatsuya Kudoh(CDR/TK) Masato Taruishi @@ -7,3 +8,6 @@ the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version without ANY WARRANTIES. + +For the full terms of the GPL on a Debian/GNU system, please refer to +/usr/share/common-licenses/GPL. --- xjump-2.7.5.orig/debian/changelog +++ xjump-2.7.5/debian/changelog @@ -1,3 +1,57 @@ +xjump (2.7.5-4) unstable; urgency=low + + * Added ion theme to the package (thanks Johan Kiviniemi). See README.Debian + for information about how to use it. Closes: #383567. + + -- Samuel Mimram Sun, 17 Dec 2006 14:29:12 +0000 + +xjump (2.7.5-3) unstable; urgency=low + + * Added 05_unneded_deps.dpatch to remove extra dependencies on Xmu and Xext + (thanks checklib). + + -- Samuel Mimram Sat, 17 Jun 2006 22:14:55 +0000 + +xjump (2.7.5-2) unstable; urgency=low + + * New maintainer, closes: #374114. + * Acknowledging NMUs, + closes: #192979, #173216, #88315, #86737, #64498, #346771. + * Corrected a typo in the manpage, closes: #195844. + * Added a .desktop file. + * Updated standards version to 3.7.2. + + -- Samuel Mimram Sat, 17 Jun 2006 15:30:36 +0000 + +xjump (2.7.5-1.3) unstable; urgency=low + + * Non-maintainer upload to help xlibs-dev transition. + * debian/control: Replace xlibs-dev build-dep. (Closes: #346771) + + -- Marc 'HE' Brockschmidt Fri, 20 Jan 2006 16:52:27 +0100 + +xjump (2.7.5-1.2) unstable; urgency=low + + * NMU, maintainer blessed - thanks Masato + * Kill all of the debmake crap and replace with debhelper. + + Repair description. + + Update to Standards-Version 3.5.10. + * Make the highscore file gid games, g+w, and the xjump binary setgid games + to comply with policy. (Closes: #173216, #192979) + * Change the Makefile to respect CFLAGS. + * Finally fix the autorepeat issue. (Closes: #64498, #86737) + * Change prerm to a postrm and make it only do rm the highscore file on + `purge'. + + -- Joshua Kwan Mon, 26 May 2003 21:24:50 -0700 + +xjump (2.7.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add manpage for xjump. (Closes: #88315) + + -- Hwei Sheng Teoh Sat, 23 Nov 2002 23:36:28 -0500 + xjump (2.7.5-1) unstable; urgency=high * Oops. Fixed the missing argument bug in postinst. @@ -93,6 +147,3 @@ -- Masato Taruishi Wed, 25 Feb 1998 16:47:20 +0900 -Local variables: -mode: debian-changelog -End: --- xjump-2.7.5.orig/debian/menu +++ xjump-2.7.5/debian/menu @@ -1,2 +1 @@ -?package(xjump):needs="x11" section="Games/Arcade" icon="/usr/share/pixmaps/xjump-icon.xpm" title="Xjump" command="/usr/games/xjump" - +?package(xjump):needs="x11" section="Games/Arcade" icon="/usr/share/pixmaps/xjump-icon.xpm" title="XJump" command="/usr/games/xjump" --- xjump-2.7.5.orig/debian/prerm +++ xjump-2.7.5/debian/prerm @@ -1,9 +1,6 @@ #!/bin/sh -e +# Work around having to repackage the source by using a blank prerm -rm -f /var/lib/games/xjump/record +exit 0 -case "$1" in - remove) - rm -f /var/games/xjump/record - ;; -esac +#DEBHELPER# --- xjump-2.7.5.orig/debian/themes/ion.xpm +++ xjump-2.7.5/debian/themes/ion.xpm @@ -0,0 +1,238 @@ +/* XPM */ +/* xjump theme */ +/* Copyright (C) 2002 Johan Kiviniemi */ +/* This 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, or (at your option) any later + version without ANY WARRANTIES. */ +static char * gimp_temp_89948_xpm[] = { +"144 64 165 2", +" c None", +". c #333333", +"+ c #A9A9A9", +"@ c #B8B8B8", +"# c #C1C1C1", +"$ c #C5C5C5", +"% c #BFBFBF", +"& c #B6B6B6", +"* c #A1A1A1", +"= c #878787", +"- c #CFCFCF", +"; c #D2D2D2", +"> c #D0D0D0", +", c #CACACA", +"' c #C6C6C6", +") c #C0C0C0", +"! c #BABABA", +"~ c #B3B3B3", +"{ c #A8A8A8", +"] c #8C8C8C", +"^ c #AFAFAF", +"/ c #CDCDCD", +"( c #D5D5D5", +"_ c #D8D8D8", +": c #DADADA", +"< c #D9D9D9", +"[ c #D6D6D6", +"} c #CCCCCC", +"| c #B0B0B0", +"1 c #A7A7A7", +"2 c #959595", +"3 c #6D6D6D", +"4 c #CECECE", +"5 c #D7D7D7", +"6 c #DCDCDC", +"7 c #E0E0E0", +"8 c #E3E3E3", +"9 c #E2E2E2", +"0 c #DEDEDE", +"a c #CBCBCB", +"b c #C3C3C3", +"c c #BBBBBB", +"d c #B4B4B4", +"e c #AAAAAA", +"f c #949494", +"g c #6B6B6B", +"h c #C9C9C9", +"i c #D4D4D4", +"j c #E8E8E8", +"k c #EBEBEB", +"l c #EAEAEA", +"m c #E4E4E4", +"n c #BEBEBE", +"o c #ACACAC", +"p c #A3A3A3", +"q c #9B9B9B", +"r c #626262", +"s c #9A9A9A", +"t c #DFDFDF", +"u c #E7E7E7", +"v c #EEEEEE", +"w c #F3F3F3", +"x c #F1F1F1", +"y c #C8C8C8", +"z c #B7B7B7", +"A c #AEAEAE", +"B c #A4A4A4", +"C c #9C9C9C", +"D c #939393", +"E c #7F7F7F", +"F c #525252", +"G c #ADADAD", +"H c #F0F0F0", +"I c #F5F5F5", +"J c #A5A5A5", +"K c #9D9D9D", +"L c #8B8B8B", +"M c #6A6A6A", +"N c #C4C4C4", +"O c #E5E5E5", +"P c #ECECEC", +"Q c #C7C7C7", +"R c #7C7C7C", +"S c #545454", +"T c #C2C2C2", +"U c #BDBDBD", +"V c #B5B5B5", +"W c #919191", +"X c #898989", +"Y c #818181", +"Z c #5D5D5D", +"` c #A0A0A0", +" . c #B2B2B2", +".. c #989898", +"+. c #8F8F8F", +"@. c #000000", +"#. c #0C0C0C", +"$. c #191919", +"%. c #262626", +"&. c #3F3F3F", +"*. c #4C4C4C", +"=. c #595959", +"-. c #666666", +";. c #727272", +">. c #7E7E7E", +",. c #858585", +"'. c #7D7D7D", +"). c #676767", +"!. c #888888", +"~. c #999999", +"{. c #7A7A7A", +"]. c #848484", +"^. c #9F9F9F", +"/. c #B1B1B1", +"(. c #ABABAB", +"_. c #8D8D8D", +":. c #787878", +"<. c #979797", +"[. c #A2A2A2", +"}. c #BCBCBC", +"|. c #9E9E9E", +"1. c #636363", +"2. c #656565", +"3. c #A6A6A6", +"4. c #767676", +"5. c #6E6E6E", +"6. c #575757", +"7. c #969696", +"8. c #797979", +"9. c #4D4D4D", +"0. c #737373", +"a. c #8E8E8E", +"b. c #929292", +"c. c #6C6C6C", +"d. c #444444", +"e. c #838383", +"f. c #555555", +"g. c #686868", +"h. c #8A8A8A", +"i. c #909090", +"j. c #5E5E5E", +"k. c #404040", +"l. c #505050", +"m. c #6F6F6F", +"n. c #868686", +"o. c #757575", +"p. c #707070", +"q. c #7B7B7B", +"r. c #717171", +"s. c #696969", +"t. c #515151", +"u. c #777777", +"v. c #747474", +"w. c #616161", +"x. c #5A5A5A", +"y. c #4B4B4B", +"z. c #646464", +"A. c #585858", +"B. c #5C5C5C", +"C. c #565656", +"D. c #535353", +"E. c #474747", +"F. c #383838", +"G. c #5B5B5B", +"H. c #3D3D3D", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" . . . . . . . . . . . . . . . . ", +" + @ # $ % & * = + @ # $ % & * = + @ # $ % & * = + @ # $ % & * = . . . . . . . . . . . . . . . . ", +" % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] . . . . . . . . . . . . . . . . ", +" ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 . . . . . . . . . . . . . . . . ", +" ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g . . . . . . . . . . . . . . . . ", +" { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r . . . . . . . . . . . . . . . . ", +" s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F . . . . . . . . . . . . . . . . ", +" G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M . . . . . . . . . . . . . . . . ", +" q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S . . . . . . . . . . . . . . . . ", +" K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z . . . . . . . . . . . . . . . . ", +" ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r @.#.$.%.. &.*.=.-.;.E ] ........", +" >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). @.#.$.%.. &.*.=.-.;.E ] ........", +" !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g @.#.$.%.. &.*.=.-.;.E ] ........", +" ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). @.#.$.%.. &.*.=.-.;.E ] ........", +" R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. @.#.$.%.. &.*.=.-.;.E ] ........", +" 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. @.#.$.%.. &.*.=.-.;.E ] ........", +" '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. @.#.$.%.. &.*.=.-.;.E ] ........", +" 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. @.#.$.%.. &.*.=.-.;.E ] ........", +" 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. @.#.$.%.. &.*.=.-.;.E ] ........", +" g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. @.#.$.%.. &.*.=.-.;.E ] ........", +" l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. @.#.$.%.. &.*.=.-.;.E ] ........", +" 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. @.#.$.%.. &.*.=.-.;.E ] ........", +" 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F @.#.$.%.. &.*.=.-.;.E ] ........", +" y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. @.#.$.%.. &.*.=.-.;.E ] ........", +" A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. @.#.$.%.. &.*.=.-.;.E ] ........", +" k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. @.#.$.%.. &.*.=.-.;.E ] ........", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" ........] E ;.-.=.*.&.. %.$.#.@.", +" + @ # $ % & * = + @ # $ % & * = + @ # $ % & * = + @ # $ % & * = ........] E ;.-.=.*.&.. %.$.#.@.", +" % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] % - ; > - , ' ) ! ~ { ] ........] E ;.-.=.*.&.. %.$.#.@.", +" ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 ^ / ( _ : < [ ; } ' % @ | 1 2 3 ........] E ;.-.=.*.&.. %.$.#.@.", +" ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ^ 4 5 6 7 8 9 0 _ ; a b c d e * f g ........] E ;.-.=.*.&.. %.$.#.@.", +" { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r { h i 6 9 j k l m 0 [ - ' n & o p q ] r ........] E ;.-.=.*.&.. %.$.#.@.", +" s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F s ) 4 [ t u v w x l 9 < > y ) z A B C D E F ........] E ;.-.=.*.&.. %.$.#.@.", +" G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M G ' 4 [ 7 j H I w k 8 : ; y ) @ A J K D L M ........] E ;.-.=.*.&.. %.$.#.@.", +" q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S q ! N / ( 0 O P H v j 7 _ > Q % & A B q D L R S ........] E ;.-.=.*.&.. %.$.#.@.", +" K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z K ! T , ; : 7 O j u 9 6 ( 4 ' U V o p q W X Y Z ........] E ;.-.=.*.&.. %.$.#.@.", +" ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ` z % ' 4 i : 0 7 t 6 [ > y T ! .+ ` ..+.= E r ................................", +" >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). >.p ~ ! T y 4 ; ( [ [ i > , N U & A J K f ] ,.'.). ................................", +" !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g !.B A V c T ' , 4 4 4 a y N n @ | + * ~.W X Y {.g ................................", +" ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ].^.{ ^ V ! % T N $ $ b ) U z /.(.B K f _.,.E :.). ................................", +" R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. R <.[.{ A ~ z ! }.}.}.! @ V | e J |.<.W X Y {.;.1. a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.", +" 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. 2.L q * 3.e ^ . .d ~ .| o { p |...W L ,.>.4.5.6. ].].].].].].].].].].].].].].].].", +" '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. '.2 ~.K * J + e (.(.e 1 p ^.q 7.W L ,.E 8.;.M 9. {.{.{.{.{.{.{.{.{.{.{.{.{.{.{.{.", +" 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. 0.a.b.7.s K ^.* * * ^.|.q <.D +.L ,.E {.;.c.1.d. p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.", +" 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. 1.Y L a.W 2 <...~.~.<.2 D +.L !.e.>.{.0.3 -.f. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.", +" g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. g.e.= h._.+.+.i.i.+._.L !.].E R :.;.3 ).j.k. G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.", +" l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. l.m.E Y ].,.= = = n.,.e.E R 8.o.p.g -.j.*. t.t.t.t.t.t.t.t.t.t.t.t.t.t.t.t.", +" 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. 9.m.8.R >.E E E >.'.q.:.o.r.3 s.1.Z t. E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.", +" 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F 9.g 0.4.u.u.u.4.v.;.p.3 s.2.w.x.F H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.", +" y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. y.1.c.3 5.5.3 g M ).z.w.Z A.9.. . . . . . . . . . . . . . . . . ", +" A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. A.z.1.z.z.2.z.w.B.C.D.E. . . . . . . . . . . . . . . . . ", +" k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. k.C.g.p.m.2.t.F. . . . . . . . . . . . . . . . . "}; --- xjump-2.7.5.orig/debian/compat +++ xjump-2.7.5/debian/compat @@ -0,0 +1 @@ +4 --- xjump-2.7.5.orig/debian/postrm +++ xjump-2.7.5/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +case "$1" in + purge) + rm -f /var/games/xjump/record + ;; +esac + +#DEBHELPER# --- xjump-2.7.5.orig/debian/patches/00list +++ xjump-2.7.5/debian/patches/00list @@ -0,0 +1,5 @@ +01_overflow +02_fix_repeat +03_source_warnings +04_makefile_respect_cflags +05_unneded_deps --- xjump-2.7.5.orig/debian/patches/05_unneded_deps.dpatch +++ xjump-2.7.5/debian/patches/05_unneded_deps.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_unneded_deps.dpatch by Samuel Mimram +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove unneeded dependencies on Xmu and Xext. + +@DPATCH@ +diff -urNad xjump-2.7.5~/Makefile xjump-2.7.5/Makefile +--- xjump-2.7.5~/Makefile 2006-09-28 20:10:56.000000000 +0000 ++++ xjump-2.7.5/Makefile 2006-09-28 20:11:08.000000000 +0000 +@@ -32,7 +32,7 @@ + xjump : main.o game.o key.o misc.o record.o resource.o + $(CC) $(CFLAGS) -o xjump \ + main.o game.o key.o misc.o record.o resource.o\ +- -lXaw -lXmu -lXt -lXpm -lXext -lX11 $(LDIR) ++ -lXaw -lXt -lXpm -lX11 $(LDIR) + + main.o : main.c xjump.h record.h \ + picture.xpm icon.xbm icon_msk.xbm Makefile --- xjump-2.7.5.orig/debian/patches/01_overflow.dpatch +++ xjump-2.7.5/debian/patches/01_overflow.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh -e +## 01_overflow.dpatch by Joshua Kwan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix possible buffer overflow in highscore recording + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- record.c 1997-11-07 23:41:40.000000000 -0800 ++++ ../../xjump-2.7.5/record.c 2003-05-26 16:18:23.000000000 -0700 +@@ -122,8 +122,8 @@ + if( i > 0 ) + name[i] = '\0'; + else +- strcpy( name,pw->pw_name ); +- ++ /* Prevent any sort of overflow */ ++ sprintf (name, "%.31s", pw->pw_name); + } + + return name; --- xjump-2.7.5.orig/debian/patches/02_fix_repeat.dpatch +++ xjump-2.7.5/debian/patches/02_fix_repeat.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh -e +## 02_fix_repeat.dpatch by Joshua Kwan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix autorepeat. repeat_off overall doesn't really make a +## difference at all. kept simplified due to possible further fixing by +## upstream. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- a/main.c 1999-08-19 20:47:44.000000000 -0700 ++++ b/main.c 2003-05-26 17:17:39.000000000 -0700 +@@ -102,11 +103,13 @@ + + static void repeat_off( void ) + { ++#if 0 + if( Repeat_mode ){ + XGetKeyboardControl( Disp,&Keyboard ); + XAutoRepeatOff( Disp ); + Repeat_mode = 0; + } ++#endif + } + + --- xjump-2.7.5.orig/debian/patches/04_makefile_respect_cflags.dpatch +++ xjump-2.7.5/debian/patches/04_makefile_respect_cflags.dpatch @@ -0,0 +1,69 @@ +#! /bin/sh -e +## 04_makefile_respect_cflags.dpatch by Joshua Kwan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: make Makefile respect $(CFLAGS) + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- a/Makefile 2003-05-26 16:23:29.000000000 -0700 ++++ b/Makefile 2003-05-26 16:58:24.000000000 -0700 +@@ -1,7 +1,9 @@ + ######################################################## + + # 使用するコンパイラとオプションを指定 +-CC = gcc -O2 ++CC = gcc ++ ++CFLAGS = -O2 + + # 標準以外のインクルードファイルのディレクトリを指定 + IDIR = -I/usr/X11R6/include +@@ -28,28 +30,28 @@ + ########################################################## + + xjump : main.o game.o key.o misc.o record.o resource.o +- $(CC) -o xjump \ ++ $(CC) $(CFLAGS) -o xjump \ + main.o game.o key.o misc.o record.o resource.o\ + -lXaw -lXmu -lXt -lXpm -lXext -lX11 $(LDIR) + + main.o : main.c xjump.h record.h \ + picture.xpm icon.xbm icon_msk.xbm Makefile +- $(CC) -c -DRECORD_ENTRY=$(RECORD_ENTRY) main.c $(IDIR) ++ $(CC) $(CFLAGS) -c -DRECORD_ENTRY=$(RECORD_ENTRY) main.c $(IDIR) + + resource.o : resource.c +- $(CC) -c resource.c ++ $(CC) $(CFLAGS) -c resource.c + + game.o : game.c xjump.h +- $(CC) -c game.c $(IDIR) ++ $(CC) $(CFLAGS) -c game.c $(IDIR) + + key.o : key.c xjump.h +- $(CC) -c key.c $(IDIR) ++ $(CC) $(CFLAGS) -c key.c $(IDIR) + + misc.o : misc.c +- $(CC) -c misc.c ++ $(CC) $(CFLAGS) -c misc.c + + record.o : record.c record.h Makefile +- $(CC) -c \ ++ $(CC) $(CFLAGS) -c \ + -DRECORD_ENTRY=$(RECORD_ENTRY) \ + -DRECORD_FILE=\"$(RECORD_FILE)\" \ + record.c --- xjump-2.7.5.orig/debian/patches/03_source_warnings.dpatch +++ xjump-2.7.5/debian/patches/03_source_warnings.dpatch @@ -0,0 +1,99 @@ +#! /bin/sh -e +## 03_source_warnings.dpatch by Joshua Kwan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: make it work with ircd-hybrid package out of the box, other settings + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- a/main.c 1999-08-19 20:47:44.000000000 -0700 ++++ b/main.c 2003-05-26 17:03:55.000000000 -0700 +@@ -7,6 +7,7 @@ + *****************************************/ + + #include ++#include + #include + #include + #include +@@ -479,7 +480,7 @@ + + /* Xlib関係の前処理 */ + +-static int init_graph( void ) ++static void init_graph( void ) + { + int x; + +--- ../xjump-2.7.5.orig/misc.c 1997-07-21 23:35:31.000000000 -0700 ++++ ./misc.c 2003-05-26 17:01:31.000000000 -0700 +@@ -6,7 +6,9 @@ + (C) July 16, 1997 ROYALPANDA + *****************************************/ + ++#include + #include ++#include + + + /* 乱数 */ +--- ../xjump-2.7.5.orig/record.c 2003-05-26 16:38:03.000000000 -0700 ++++ ./record.c 2003-05-26 17:01:56.000000000 -0700 +@@ -7,6 +7,7 @@ + *****************************************/ + + #include ++#include + #include + #include + #include +--- ../xjump-2.7.5.orig/game.c 1997-10-28 02:22:50.000000000 -0800 ++++ ./game.c 2003-05-26 17:00:09.000000000 -0700 +@@ -8,6 +8,8 @@ + + #include + #include ++#include ++#include + + #include"xjump.h" + +@@ -26,7 +28,7 @@ + + static void make_floor( int y ) + { +- int f,x1,x2,l,fvec; ++ int f,x1,x2,fvec; + static int fpos = WIDTH/2; + + f = Floor_top - y; +@@ -92,7 +94,7 @@ + + static void scroll_up( void ) + { +- int i,x,width,y; ++ int x,width,y; + + for( y = Floor_top % 5 ; y < HEIGHT ; y += 5 ){ + x = floor_l(y); +@@ -243,7 +245,7 @@ + + void init_game( void ) + { +- int x,y; ++ int y; + + Floor_top = HEIGHT - 4; + --- xjump-2.7.5.orig/debian/svn-deblayout +++ xjump-2.7.5/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../upstream +origUrl=svn+ssh://smimram@cerium.pps.jussieu.fr/data/svn/debian/xjump/trunk +tagsUrl=svn+ssh://smimram@cerium.pps.jussieu.fr/data/svn/debian/xjump/tags --- xjump-2.7.5.orig/debian/xjump.6 +++ xjump-2.7.5/debian/xjump.6 @@ -0,0 +1,72 @@ +.TH XJUMP 6 +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +xjump \- a jumping game for X +.SH SYNOPSIS +.B xjump +[ -toolkitoption ] ... [ -private ] [ -graphic \fIfile\fR ] [ -keymap ] +.br +.B xjump +[ -help ] +.SH "DESCRIPTION" +.B Xjump +is a jumping game where you are in a Falling Tower. The floor you are +standing on is sinking with the rest of the building; you will die once the +floor gives way (disappears under the bottom of the display). To survive, +you have to jump onto the upper floors of the tower. Because the entire tower +is sinking, the upper floors will soon collapse, too, so you have to keep on +jumping to higher floors. + +Your score is counted by how many floors you jump before you either fall off +while trying to reach the next floor, or the floor you are standing on +collapses. +.SH OPTIONS +.TP +.BI \-toolkitoption " ..." +Specify X toolkit options (such as \fI-geometry\fR, \fI-display\fR, etc.). +.TP +.BR \-private +Use private colormap. +.TP +.BI \-graphic " FILE" +Use the XPM graphic file +.I FILE +for graphics. +.TP +.BR \-keymap +Read keymap directly. +.TP +.BR \-help +Display a summary of command-line syntax. + +.SH "GAME CONTROLS" +To begin the game, press the \fISpace-bar\fR from the highscore screen. +.PP +Once the game begins, movement is controlled by the \fILeft\fR and \fIRight\fR +arrow keys. To jump, use the \fIUp\fR arrow key. +.PP +Note that hitting the Left or Right arrow keys many times will cause the +player to go faster. You can use this to reach floors that are far away. +But be careful not to jump too far and miss! You can also change your speed +while jumping through midair. If your reflexes are fast enough, you can +salvage a bad jump this way. Good luck! +.PP +To quit the game, press \fIshift-Q\fR. +.SH "COPYRIGHT" + Copyright (C) 1997-1999 + Tatsuya Kudoh(CDR/TK) + Masato Taruishi +.PP +This 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, or (at your option) any later +version without ANY WARRANTIES. +.SH "AUTHOR" +.B xjump +was written by Tatsuya Kudoh(CDR/TK) and +Masato Taruishi . +.PP +This manual page was written by H. S. Teoh , +for the Debian GNU/Linux system. The original game does not come with +a manual page. --- xjump-2.7.5.orig/debian/xjump.desktop +++ xjump-2.7.5/debian/xjump.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Type=Application +Name=XJump +Comment=A jumping game +Comment[fr]=Un jeu de saut +TryExec=xjump +Exec=xjump +Icon=xjump-icon.xpm +Categories=Application;Game; --- xjump-2.7.5.orig/debian/README.Debian +++ xjump-2.7.5/debian/README.Debian @@ -0,0 +1,9 @@ +New xjump themes +---------------- + +Some themes for xjump are installed in the /usr/share/games/xjump directory. For +example, to use the ion.xpm.gz theme, launch xjump by typing + + xjump -graphic /usr/share/games/xjump/ion.xpm.gz + +-- Samuel Mimram Sun, 17 Dec 2006 15:37:39 +0100