--- nikwi-0.0.20060823.orig/debian/compat +++ nikwi-0.0.20060823/debian/compat @@ -0,0 +1 @@ +5 --- nikwi-0.0.20060823.orig/debian/watch +++ nikwi-0.0.20060823/debian/watch @@ -0,0 +1,8 @@ +# Watch control file for uscan +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Website moved, download link is now unversioned +#http://www.badsectoracula.com/games/nikwi/ nikwideluxe-src.tar.bz2 --- nikwi-0.0.20060823.orig/debian/changelog +++ nikwi-0.0.20060823/debian/changelog @@ -0,0 +1,54 @@ +nikwi (0.0.20060823-2ubuntu1) precise; urgency=low + + * Added armhf as supported architecture - LP: #935006 + + -- Marcin Juszkiewicz Fri, 09 Mar 2012 14:46:35 +0100 + +nikwi (0.0.20060823-2) unstable; urgency=low + + [ Miriam Ruiz ] + * Added Recommends: nikwi to nikwi-data in debian/control + * Added kfreebsd-i386 and hurd-i386 as supported architectures. + Closes: #482901 + + [ Jon Dowland ] + * add Homepage: control field to source stanza + + [ Ansgar Burchardt ] + * Remove deprecated Encoding key from .desktop file + * debian/control: Change XS-Vcs-* to Vcs-* + * Remove Homepage semi-field from description + * Added ia64 as a supported architecture (Closes: #483275) + + [ Sam Hocevar ] + * Add amd64 to the list of architectures. Works like a charm. + + [ Barry deFreese ] + * Add myself to uploaders. + * Add all little endian archs. (Closes: #515561). + * Fix some hyphens used as minus in manpage. + * Remove dh_make cruft from debian/copyright. + * Bump Standards Version to 3.8.1. (No changes needed). + + -- Barry deFreese Tue, 14 Apr 2009 22:24:11 -0400 + +nikwi (0.0.20060823-1) unstable; urgency=low + + [ Miriam Ruiz ] + * Initial release (Closes: #390073) + * Created build system based in standard make utility. + * Patched code so that data files can be stored in an absolute path. + * Removed rdtsc stuff for compatibility with other architectures. + * Restricted architecture to i386 for the moment, until I find a way to + solve the endianess problems. + + [ Gonéri Le Bouder ] + * remove Applications from Categorie in the desktop file since it's not + an official categorie + * call dh_desktop to run update-desktop-database + + [ Jon Dowland ] + * update menu section to "Games/Action" for menu policy transition. + Thanks Linas Žvirblis. + + -- Miriam Ruiz Wed, 22 Aug 2007 15:09:51 +0000 --- nikwi-0.0.20060823.orig/debian/rules +++ nikwi-0.0.20060823/debian/rules @@ -0,0 +1,125 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp + +configure-stamp: + dh_testdir + tar xvfj nikwideluxe-src.tar.bz2 + tar xvfj libbadcfg-0.1.tar.bz2 + tar xvf slashfx.tar + mv slashfx srcdist/slashfx + mv libbadcfg-0.1 srcdist/badcfg + + $(MAKE) -f /usr/share/quilt/quilt.make patch + + cd srcdist; $(MAKE) clean -f Makefile.debian + touch $@ + +build-arch: build-arch-stamp + +build-arch-stamp: configure-stamp + dh_testdir + cd srcdist; $(MAKE) -f Makefile.debian CFLAGS="$(CFLAGS) \ + -DDATADIR=\\\\\\\"/usr/share/games/nikwi\\\\\\\"" + touch $@ + +build-indep: build-indep-stamp + +build-indep-stamp: configure-stamp + dh_testdir + cd srcdist; $(MAKE) data -f Makefile.debian + touch $@ + +build: configure-stamp build-arch-stamp build-indep-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-indep-stamp build-arch-stamp configure-stamp + + $(MAKE) -f /usr/share/quilt/quilt.make unpatch + + rm -rf srcdist + dh_clean + +install-arch: build-arch-stamp + dh_testdir + dh_testroot + dh_clean -a -k + dh_installdirs -a + dh_install -a srcdist/nikwideluxe/nikwi usr/games + dh_install -a debian/nikwi.xpm usr/share/pixmaps + dh_install -a debian/nikwi.desktop usr/share/applications + +install-indep: build-indep-stamp + dh_testdir + dh_testroot + dh_clean -i -k + dh_installdirs -i + dh_install -i srcdist/nikwideluxe/justdata.up usr/share/games/nikwi + +install: build install-arch install-indep + + +# Build architecture-dependent files here. +binary-arch: install-arch + dh_testdir + dh_testroot + dh_installchangelogs -a + dh_installdocs -a +# dh_install -a + dh_installmenu -a + dh_installman -a debian/nikwi.6 + dh_desktop -pnikwi + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +# Build architecture-independent files here. +binary-indep: install-indep + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i +# dh_install -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +get-orig-source: + wget http://www.slashstone.com/more/nikwi/nikwideluxe-src.tar.bz2 + wget http://www.slashstone.com/more/libbadcfg/libbadcfg-0.1.tar.bz2 + wget http://www.slashstone.com/more/slashfx/slashfx.tar + mkdir nikwi-0.0.20060823 + mv nikwideluxe-src.tar.bz2 libbadcfg-0.1.tar.bz2 slashfx.tar nikwi-0.0.20060823 + tar cvfz nikwi_0.0.20060823.orig.tar.gz nikwi-0.0.20060823 + rm -rf nikwi-0.0.20060823 + mv nikwi_0.0.20060823.orig.tar.gz .. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-indep \ + install-arch configure get-orig-source --- nikwi-0.0.20060823.orig/debian/nikwi.menu +++ nikwi-0.0.20060823/debian/nikwi.menu @@ -0,0 +1,3 @@ +?package(nikwi):needs="x11" section="Games/Action" \ + title="Nikwi Deluxe" command="/usr/games/nikwi" \ + icon="/usr/share/pixmaps/nikwi.xpm" --- nikwi-0.0.20060823.orig/debian/nikwi.desktop +++ nikwi-0.0.20060823/debian/nikwi.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Nikwi Deluxe +GenericName=nikwi +Comment=Platform game where your goal is to collect candies +Icon=nikwi +Exec=nikwi +Terminal=false +Categories=Game;ArcadeGame; --- nikwi-0.0.20060823.orig/debian/control +++ nikwi-0.0.20060823/debian/control @@ -0,0 +1,36 @@ +Source: nikwi +Section: games +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Games Team +Uploaders: Miriam Ruiz , Sam Hocevar (Debian packages) , Barry deFreese +Build-Depends: debhelper (>= 5), quilt, libsdl1.2-dev +Standards-Version: 3.8.1 +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/nikwi/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/nikwi/?op=log +Homepage: http://www.badsectoracula.com/games/nikwi/ + +Package: nikwi +Architecture: i386 alpha amd64 arm armel armhf kfreebsd-i386 kfreebsd-amd64 hurd-i386 ia64 mipsel +Depends: nikwi-data (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: platform game where your goal is to collect candies + You play the role of a 9 year old boy in his absolute dream: a world made + of sweets! Guide Nikwi through his dream to eat everything in each of the 30 + levels, while you avoid the monsters who try to turn Nikwi's dream into a + nightmare. + . + Nikwi features hours of gameplay in 30 sweet-themed levels made of five + candy themes, more than 10 different monsters and obstacles -each one with + it's own unique behaviour- and new gameplay elements in every theme. + +Package: nikwi-data +Architecture: all +Depends: ${misc:Depends} +Recommends: nikwi +Description: platform game where your goal is to collect candies - game data + You play the role of a 9 year old boy in his absolute dream: a world made + of sweets! Guide Nikwi through his dream to eat everything in each of the 30 + levels, while you avoid the monsters who try to turn Nikwi's dream into a + nightmare. + . + This package includes the data needed to play the game. --- nikwi-0.0.20060823.orig/debian/copyright +++ nikwi-0.0.20060823/debian/copyright @@ -0,0 +1,54 @@ +This package was debianized by Miriam Ruiz on +Thu, 28 Sep 2006 01:03:05 +0200. + +It was downloaded from http://www.slashstone.com/more/nikwi + +Upstream Author: Kostas "Bad Sector" Michalopoulos + +Copyright (C) 2006 Kostas Michalopoulos + +License: + + This package 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 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright (C) 2006, Miriam Ruiz and +is licensed under the GPL, see above. + +libSlashFX: + + A small library to load and decode Slashstone SoundFX Builder files. + + Copyright (C) 2005 Kostas Michalopoulos. + Licensed under the terms of the MIT License. + + This is unsupported code. Use at your own risk. + + Homepage: http://www.slashstone.com/more/slashfx + +libbadcfg: + + libbadcfg is a small library that allows you to parse configuration files + in a tree-form structure. + + The library is released in Public Domain. You can do whatever you want with + it, but keep in mind that there is no warranty that it actually works or if + it does, it does it right. + + Kostas Michalopoulos + + Homepage: http://www.slashstone.com/more/libbadcfg --- nikwi-0.0.20060823.orig/debian/nikwi.6 +++ nikwi-0.0.20060823/debian/nikwi.6 @@ -0,0 +1,119 @@ +.ig +Nikwi Deluxe manual page. + +Miriam Ruiz , 2006. + +This next line loads the www macro package so that the .URL macro can be used. +.. +.mso www.tmac +.TH Nikwi 6 "28 September 2006" Nikwi Deluxe Games +.SH NAME +. +Nikwi Deluxe \- platform game where the goal is to collect candies +. +.SH SYNOPSIS +. +.B nikwi +[\--fullscreen] +. +.SH DESCRIPTION +. +You play as a 9 year old boy in a game about his absolute dream: a world made +of candies! Your role is to guide Nikwi through all the 30 levels, eat all the +candies in each level and avoid the monsters and the hazards that each level +has. Nikwi has a talent on jumping high - although his falls are not as good +as he would like - and this is his only armor against the monsters which try +to turn his dream into a nightmare. +.P +Every six levels, the theme changes and the gameplay is altered a bit. Every +two levels or so, new monsters appear - monsters which require different +approaches to be taken in order to avoid them. +. +.SH USAGE +. +The game contains two main screens, the menu and the game: +. +.SS The menu +. +The menu is the screen in which you enter when the game starts. It contains +three options: New Game, Credits and Quit. You can use the arrows keys up and +down to select a menu option (two bobbing candies appear at the left and at +the right of the selected option) and the Enter key to activate the selected +option. The options act as follows: + + New game - This option begins a new game. If you already have a game in the process and you went to the menu by pressing ESC (see the Controls part of this manual below), the current game is ended and a new game begins from the first level. + Credits - It shows a screen with information about the game's developers. + Quit - It immediatelly quits the game. The shareware version will show some teaser screenshots of the full version before quitting. +. +.SS The game +. +This is where all the fun takes place. In the game screen you see your +character, Nikwi, the monsters, the hazards, the candies and the setting +itself. For information about controlling Nikwi, see below. +.P +Some screens \-like the Credits screen\- wait from the user to press a key in +order to dissappear and others \-like the logo screen at the beginning on the +game\- to wait for a few seconds. +. +.SS Controls +. +You control Nikwi using the keyboard. The keys are presented in the table below: + + Arrow left/right - Make Nikwi walk to the left or the right direction. If Nikwi is in the air, he turn to that direction. + + Arrow up - Make Nikwi jump. Nikwi needs to be on ground in order to jump, but he can also air-jump: if he leaves the ground without jumping (by falling), he can jump in the middle air. Mastering air jumping will help the player to complete the game faster. + + F6 - Restart level. If you get stuck in a level or you think you can't go back, use F6 to restart the level. There are unlimited times you can play a level, so don't feel bad if you restart a level. + + F10 - Quick quit. If, for any reason, you want to exit the game as quickly as possible, press F10 and your wish will become true: the game will exit instantly, like if nothing has happened. Note that the shareware version will pop a message reminding you to obtain the full version. + + ESC - Pauses the game and goes back to the menu. +. +.SH OPTIONS +. +These command line options are available: +.TP +.B \ \ \-\-fullscreen +You can use fullscreen mode by running the game as "nikwi \-\-fullscreen" +. +.SH REQUIREMENTS +. +Nikwi requires at least a Pentium 3 or later CPU to work (it may work with +older CPUs, but the use of older CPUs than Pentium 3 is not recommended and +definitelly not supported) running at least at 600MHz. It also requires a +graphics card that can support 640x480 with 16bits of color (most cards that +are available for Pentium 3 support this mode). Lastly, it requires at least +32MB of system RAM memory. +.P +For smooth gameplay, a CPU running at 2GHz and a video card with 2D +acceleration and 16MB of video ram is recommended. In order to take advantage +of the 2D acceleration, Nikwi must be run in fullscreen mode. +.P +Nikwi requires Windows 2000, Windows XP or newer or Linux with kernel 2.6 or +newer. It may work on other operating systems, but we cannot provide support +for them. +.P +For Linux users: Nikwi requires the latest version of SDL (has been tested +and compiled with SDL 1.2.9). Most Linux distributions include SDL, but if +yours doesn't \-or if the version included is very old\- visit +http://www.libsdl.org/ to obtain it. +.P +Note: the game may or may not run in order and weaker systems than those +mentioned above. In any case, the use in such systems is discouraged and not +supported. +. +.SH AUTHOR +. +Nikwi was written by Kostas "Bad Sector" Michalopoulos . +.P +This manual page was written for Debian by Miriam Ruiz . +. +.SH SEE ALSO +. +.ig +This is rather hacky -- the turn off line adjustment temporarily using .na/.ad +since lines with very long words (like URLs) look ugly. +.. +.na +.URL "http://www.slashstone.com/more/nikwi" "Nikwi Deluxe Homepage" "" +.ad --- nikwi-0.0.20060823.orig/debian/dirs +++ nikwi-0.0.20060823/debian/dirs @@ -0,0 +1,2 @@ +usr/games +usr/share/games --- nikwi-0.0.20060823.orig/debian/nikwi.xpm +++ nikwi-0.0.20060823/debian/nikwi.xpm @@ -0,0 +1,373 @@ +/* XPM */ +static char *nikwi[]={ +"32 32 338 2", +"Qt c None", +".K c #000000", +".f c #000000", +".x c #000000", +".k c #000000", +"dp c #000000", +"aI c #000000", +".w c #000000", +".e c #000000", +"do c #000000", +"dm c #000000", +".p c #000000", +"bo c #000000", +"dn c #000000", +"aH c #000000", +"bA c #000000", +"b# c #000000", +"bI c #281204", +"bY c #291204", +"bE c #2a1305", +"c. c #2b1304", +"bJ c #2b1405", +".8 c #2c591e", +"cu c #2d1606", +".9 c #2d5a1f", +"bZ c #2e1706", +"cD c #2e1806", +"#h c #2e5b21", +"bz c #2f1907", +"bN c #301a07", +"dk c #311b07", +".X c #315e23", +"cj c #321a07", +"#e c #325f24", +"bH c #332011", +"cT c #341d08", +"bx c #342011", +"bG c #342111", +"bF c #342112", +".3 c #356227", +"b9 c #361d09", +"d. c #361f09", +"bw c #362213", +".S c #366328", +"dl c #371f09", +"#r c #372312", +"bu c #382414", +"bt c #382415", +"bh c #392515", +"#g c #39672c", +"bK c #3a1c07", +"b0 c #3a200a", +"bv c #3b2515", +"#s c #3b2614", +"bW c #3c200a", +"bp c #3c220b", +"cL c #3c230c", +"#I c #3c2715", +"#t c #3d2715", +".J c #3d6a2f", +"a4 c #3e2817", +".W c #3e6b30", +".g c #3e6c31", +"bU c #3f200a", +"dj c #3f240b", +"cM c #3f240c", +"bO c #40240c", +"ck c #40250c", +"ch c #40250e", +"aZ c #402917", +"#u c #402a17", +".7 c #406e32", +"bT c #41220c", +".j c #416f33", +"#f c #426f34", +".v c #427034", +"bB c #43270d", +"c5 c #43270e", +"at c #432b18", +"#F c #442b18", +"ab c #442c19", +"br c #45240c", +"cE c #45280e", +".h c #457236", +"ba c #46280e", +"c# c #462a0e", +"bd c #462d1b", +"bg c #462e1b", +".4 c #467338", +"be c #482f1b", +"cR c #492b0e", +"dg c #492b10", +"cK c #492c11", +"aP c #492f1b", +".u c #49773b", +"ci c #4a2409", +"cv c #4a2b0f", +"de c #4a2d11", +"c9 c #4a2e12", +"bL c #4b250a", +"bq c #4b2d11", +".G c #4b793d", +"bf c #4c311d", +"bM c #4d260a", +"af c #4d331d", +".I c #4d7b3f", +"bs c #4e270b", +"di c #4e2e11", +".F c #4e7b40", +"bX c #50270b", +"dc c #503012", +"#H c #50341e", +".i c #507e42", +"b1 c #513214", +"bS c #513319", +"cY c #523213", +"ct c #532c0d", +"cq c #533415", +".T c #538045", +"#Y c #543721", +"dd c #55310f", +"c3 c #553414", +"d# c #553516", +".6 c #558446", +"b8 c #563515", +".V c #568648", +"cQ c #573515", +"cU c #573615", +"cN c #583817", +"cr c #583818", +"a0 c #583a22", +"dh c #593410", +".t c #59884b", +"cg c #5a3817", +"b7 c #5a3819", +"bR c #5a3a1b", +"bV c #5b3312", +"a3 c #5b3d24", +"ca c #5c3b19", +"#V c #5c3c23", +".H c #5c8b4d", +"db c #5d3c1a", +"bD c #5e3513", +"cF c #5e3b19", +"c0 c #5f3813", +"cZ c #5f3a18", +"bb c #5f7088", +"ac c #603f26", +"bP c #613d1b", +".C c #619053", +".q c #619153", +"aO c #624127", +"cs c #633e1c", +"#q c #63554a", +"c6 c #64411d", +"c8 c #64411e", +"#G c #644228", +"bc c #64748b", +"cB c #65411c", +"a1 c #674529", +".R c #679559", +".5 c #68955a", +"aL c #69788d", +"cA c #6a4621", +"ad c #6a4629", +"aM c #6a472b", +"b3 c #6b4824", +"#d c #6b5d52", +"b2 c #6c4621", +"#p c #6c5e53", +"cS c #6d4218", +"cl c #6d471f", +"ce c #6d4823", +"c1 c #6d4924", +"cH c #6f4e2a", +".U c #6f9f60", +"bn c #723c50", +"a2 c #724d2e", +"aN c #724d2f", +"#E c #726459", +"#8 c #733c50", +"c4 c #73481d", +"cO c #734d25", +"au c #734d2f", +"cf c #734e25", +".Q c #73a265", +".r c #74a366", +"aG c #753d52", +"aY c #758194", +"ao c #763f53", +"as c #768294", +"aX c #773e53", +".2 c #77695e", +"c7 c #78522b", +".s c #78a66a", +"by c #7a4055", +"cV c #7a5328", +"aw c #7c5232", +"bm c #7d4459", +"cP c #7d562e", +"cX c #7d572e", +"cn c #7d582f", +".D c #7dac6e", +"df c #7e4f21", +"#U c #7e8999", +"bi c #81455b", +"cJ c #815122", +"cC c #815526", +"#P c #82455c", +"aW c #82485d", +"b4 c #825b32", +"c2 c #84592a", +"cx c #846138", +"b. c #85495f", +"bl c #854a60", +"da c #866035", +".d c #876864", +"cd c #886337", +".B c #887a6f", +"aJ c #88919f", +"a5 c #894f64", +"#a c #896463", +"aK c #89929f", +"bj c #8a4f64", +"#k c #8a4f65", +"bC c #8a5a2c", +".L c #8a736c", +"aa c #8a92a0", +"bk c #8b5268", +"b6 c #8b5e30", +"cW c #8b6235", +"#z c #8c4f66", +"aQ c #8c5066", +"#7 c #8c5167", +"#W c #8c5d38", +"#c c #8c776f", +"ax c #8e5269", +"#Z c #8e5469", +".# c #8e8177", +"aF c #8f556a", +".P c #8f6766", +"cc c #8f683d", +".o c #8f6f6b", +"## c #8f97a3", +"#O c #90536a", +"#X c #90613a", +".y c #906766", +"ap c #9098a3", +"ag c #91556c", +".a c #91776f", +"av c #92623b", +"an c #93586e", +"ae c #94633b", +".l c #947e75", +"#j c #965870", +".Y c #96877c", +"cw c #976833", +".M c #978a80", +"#9 c #979ea7", +"ar c #979fa8", +".1 c #996f6e", +".E c #99c78a", +"#J c #9b5c73", +"bQ c #9b6b38", +"b5 c #9b6e3d", +"#x c #9c5d75", +"aS c #9e6077", +"#5 c #9e6078", +"co c #9e7749", +"#Q c #9ea4ab", +"#D c #9ea4ac", +"#R c #9ea6b0", +"cp c #9f723d", +"aC c #a0627a", +"cb c #a0723e", +"ay c #a16178", +"cz c #a1743f", +"aq c #a1a5ad", +"#6 c #a2627a", +"#y c #a3627a", +"cI c #a3753f", +"#o c #a3a8ae", +"#i c #a4637b", +"ah c #a4647c", +"#N c #a4657d", +"aR c #a7667e", +"#n c #a8aeb5", +"a6 c #a96f85", +"a8 c #ab6982", +"cm c #ab7e48", +"a# c #acaeb4", +"a7 c #ad7088", +"#. c #adb0b4", +"a9 c #ae6c85", +".Z c #ae8a85", +"#A c #aeb2b6", +"#0 c #af6d86", +"aT c #af6e87", +"cy c #af834f", +"am c #b06e87", +"ai c #b0738a", +".m c #b28280", +"cG c #b48b57", +".b c #b4aaa3", +"#T c #b4b6b9", +"aE c #b5758d", +"#w c #b5768d", +".c c #b58d89", +"aV c #b6778f", +"#l c #b9bcbe", +"#K c #bb7993", +"a. c #bbbcbd", +"aU c #bc7a94", +"aB c #be7c95", +"#S c #bec2c6", +"#v c #bf7c96", +"az c #bf7d97", +"#1 c #c1849b", +"aD c #c2819a", +"#b c #c3908c", +"#4 c #c4849c", +".A c #c5beb9", +"#M c #c689a0", +"al c #c7859f", +".O c #cabeb9", +".N c #cbc7c3", +"aA c #cc8ca4", +".n c #cc9594", +".z c #cfaeab", +"#m c #cfcfcf", +"#B c #d0d1d3", +"#L c #d599ae", +".0 c #d69594", +"ak c #d79ab1", +"aj c #db9fb4", +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QtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQt.K.xdpaI.k.fQtQtQtQtQtQtQtQtQtQtQtQt"}; --- nikwi-0.0.20060823.orig/debian/patches/makefiles.patch +++ nikwi-0.0.20060823/debian/patches/makefiles.patch @@ -0,0 +1,299 @@ +diff -ruN srcdist.orig/Makefile.debian srcdist/Makefile.debian +--- srcdist.orig/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,35 @@ ++SLASHFX = slashfx/libslashfx.a ++ADDCFG = badcfg/libbadcfg.a ++SLASHTDP = slashtdp/libslashtdp.a ++USCRIPT = us/libuscript.a ++ ++CFLAGS = -Wall -O2 ++ ++all: nikwideluxe/nikwi ++ ++nikwideluxe/nikwi: $(SLASHFX) $(ADDCFG) $(SLASHTDP) $(USCRIPT) ++ cd nikwideluxe; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++$(SLASHFX): ++ cd slashfx; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++$(ADDCFG): ++ cd badcfg; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++$(SLASHTDP): ++ cd slashtdp; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++$(USCRIPT): ++ cd us; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++data: ++ cd nikwideluxe; make justdata.up -f Makefile.debian CFLAGS="$(CFLAGS)" ++ ++clean: ++ cd nikwideluxe; make clean -f Makefile.debian ++ cd slashfx; make clean -f Makefile.debian ++ cd badcfg; make clean -f Makefile.debian ++ cd slashtdp; make clean -f Makefile.debian ++ cd us; make clean -f Makefile.debian ++ -rm -rf `find . -name "*.o"` ++ -rm -rf `find . -name "*.a"` +diff -ruN srcdist.orig/badcfg/Makefile.debian srcdist/badcfg/Makefile.debian +--- srcdist.orig/badcfg/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/badcfg/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,25 @@ ++OUTPUT = libbadcfg.a ++CC = g++ ++AR = ar ++CFLAGS = -g3 -O3 -mfpmath=sse -msse -Wall ++LDFLAGS = ++ ++CALLCC = $(CC) $(CFLAGS) -Iinclude ++ ++CC = gcc ++AR = ar ++ ++$(OUTPUT): src/main.o ++ rm -f $(OUTPUT) ++ $(AR) rcs $(OUTPUT) src/main.o ++ ++src/main.o: src/main.c include/badcfg.h ++ $(CALLCC) -c src/main.c -o src/main.o ++ ++clean: ++ rm -f src/main.o ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean +diff -ruN srcdist.orig/nikwideluxe/Makefile.debian srcdist/nikwideluxe/Makefile.debian +--- srcdist.orig/nikwideluxe/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/nikwideluxe/Makefile.debian 2006-09-28 15:20:59.000000000 +0200 +@@ -0,0 +1,53 @@ ++OUTPUT = nikwi ++CC = g++ ++LD = g++ ++CFLAGS = -Wall -g3 -DDATADIR="\".\"" ++CPPFLAGS = ++INCLUDES = -I../us/include -I../badcfg/include -I../slashtdp/include -I../slashfx/include ++LDFLAGS = -O ++LIBS = -lSDL -L../us -L../badcfg -L../slashtdp -L../slashfx -luscript -lbadcfg -lslashtdp -lslashfx ++ ++CC = g++ ++AR = ar ++ ++OBJECTS = src/main.o src/gfx.o src/sprites.o src/nikio.o src/utils.o src/tiles.o \ ++ src/world.o src/objects.o src/motion.o src/screens.o src/editor.o src/game.o \ ++ src/menu.o src/imageScreen.o src/transitions.o src/ending.o src/sound.o ++HEADERS = src/nikwi.h src/gfx.h src/sprites.h src/nikio.h src/utils.h src/tiles.h \ ++ src/world.h src/objects.h src/motion.h src/screens.h src/editor.h src/game.h \ ++ src/menu.h src/imageScreen.h src/transitions.h src/ending.h src/sound.h ++ ++$(OUTPUT): $(OBJECTS) ++ rm -f $(OUTPUT) ++ $(LD) $(OBJECTS) -o $(OUTPUT) $(LDFLAGS) $(LIBS) ++ ++.SUFFIXES : .c .cc .cpp .C .S .o ++ ++# object from C ++.c.o : $< $(HEADERS) ++ $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@ ++ ++# object from C++ (.cc, .cpp, .C files) ++.cc.o .cpp.o .C.o : $< $(HEADERS) ++ $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ ++# object from asm ++.S.o : ++ $(CC) $(ASMFLAGS) -c $< -o $@ ++ ++justdata.up: ++ cd tools; make -f Makefile.debian CFLAGS="$(CFLAGS)" ++ sh makedata.sh ++ sh makepack.sh ++ ++clean: ++ cd tools; make -f Makefile.debian clean ++ rm -f $(OBJECTS) ++ rm -f justdata.up ++ rm -f images/tiles/*.ut images/objects/*.ut ++ rm -rf data/tiles data/objects ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean +diff -ruN srcdist.orig/nikwideluxe/tools/Makefile.debian srcdist/nikwideluxe/tools/Makefile.debian +--- srcdist.orig/nikwideluxe/tools/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/nikwideluxe/tools/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,13 @@ ++all: upack/upack bmp2ut/bmp2ut ++ ++CC = gcc ++CFLAGS = -Wall -O2 ++ ++upack/upack: upack/upack.c ++ $(CC) $(CFLAGS) -o upack/upack upack/upack.c ++ ++bmp2ut/bmp2ut: bmp2ut/bmp2ut.c ++ $(CC) $(CFLAGS) -o bmp2ut/bmp2ut bmp2ut/bmp2ut.c -lSDL ++ ++clean: ++ rm -f upack/upack bmp2ut/bmp2ut +diff -ruN srcdist.orig/slashfx/Makefile.debian srcdist/slashfx/Makefile.debian +--- srcdist.orig/slashfx/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/slashfx/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,25 @@ ++OUTPUT = libslashfx.a ++CC = g++ ++AR = ar ++CFLAGS = -g3 -O3 -mfpmath=sse -msse -Wall ++LDFLAGS = ++ ++CALLCC = $(CC) $(CFLAGS) -Iinclude ++ ++CC = gcc ++AR = ar ++ ++$(OUTPUT): src/main.o ++ rm -f $(OUTPUT) ++ $(AR) rcs $(OUTPUT) src/main.o ++ ++src/main.o: src/main.c include/slashfx.h ++ $(CALLCC) -c src/main.c -o src/main.o ++ ++clean: ++ rm -f src/main.o ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean +diff -ruN srcdist.orig/slashtdp/Makefile.debian srcdist/slashtdp/Makefile.debian +--- srcdist.orig/slashtdp/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/slashtdp/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,38 @@ ++OUTPUT = libslashtdp.a ++CC = g++ ++AR = ar ++CFLAGS = -g3 -mfpmath=sse -msse -Wall ++CPPFLAGS = ++LDFLAGS = ++ ++CC = g++ ++AR = ar ++ ++OBJECTS = src/body.o src/world.o ++HEADERS = include/slashtdp/slashtdp.h ++ ++$(OUTPUT): $(OBJECTS) ++ rm -f $(OUTPUT) ++ $(AR) rcs $(OUTPUT) $(OBJECTS) ++ ++.SUFFIXES : .c .cc .cpp .C .S .o ++ ++# object from C ++.c.o : $< $(HEADERS) ++ $(CC) -Iinclude $(CFLAGS) -c $< -o $@ ++ ++# object from C++ (.cc, .cpp, .C files) ++.cc.o .cpp.o .C.o : $< $(HEADERS) ++ $(CC) -Iinclude $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ ++# object from asm ++.S.o : ++ $(CC) $(ASMFLAGS) -c $< -o $@ ++ ++clean: ++ rm -f $(OBJECTS) ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean +diff -ruN srcdist.orig/us/Makefile.debian srcdist/us/Makefile.debian +--- srcdist.orig/us/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/us/Makefile.debian 2006-09-28 05:43:33.000000000 +0200 +@@ -0,0 +1,38 @@ ++OUTPUT = libuscript.a ++CC = g++ ++AR = ar ++CFLAGS = -g3 -mfpmath=sse -msse -Wall ++CPPFLAGS = ++LDFLAGS = ++ ++CC = g++ ++AR = ar ++ ++OBJECTS = src/uscript.o src/bytecode.o src/script.o src/compiler.o src/vm.o src/type.o src/funcs.o src/consts.o ++HEADERS = include/uscript/uscript.h include/uscript/bytecode.h include/uscript/script.h include/uscript/compiler.h include/uscript/vm.h include/uscript/type.h include/uscript/funcs.h include/uscript/consts.h ++ ++$(OUTPUT): $(OBJECTS) ++ rm -f $(OUTPUT) ++ $(AR) rcs $(OUTPUT) $(OBJECTS) ++ ++.SUFFIXES : .c .cc .cpp .C .S .o ++ ++# object from C ++.c.o : $< $(HEADERS) ++ $(CC) -Iinclude $(CFLAGS) -c $< -o $@ ++ ++# object from C++ (.cc, .cpp, .C files) ++.cc.o .cpp.o .C.o : $< $(HEADERS) ++ $(CC) -Iinclude $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ ++# object from asm ++.S.o : ++ $(CC) $(ASMFLAGS) -c $< -o $@ ++ ++clean: ++ rm -f $(OBJECTS) ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean +diff -ruN srcdist.orig/slashtdp/demo/Makefile.debian srcdist/slashtdp/demo/Makefile.debian +--- srcdist.orig/slashtdp/demo/Makefile.debian 1970-01-01 01:00:00.000000000 +0100 ++++ srcdist/slashtdp/demo/Makefile.debian 2006-10-07 18:37:16.000000000 +0200 +@@ -0,0 +1,40 @@ ++OUTPUT = demo ++CC = g++ ++LD = g++ ++CFLAGS = -Wall -g3 ++CPPFLAGS = ++INCLUDES = -I../include ++LDFLAGS = -O ++LIBS = -lSDL -L.. -lslashtdp ++ ++CC = g++ ++AR = ar ++ ++OBJECTS = main.o ++HEADERS = ++ ++$(OUTPUT): $(OBJECTS) ++ rm -f $(OUTPUT) ++ $(LD) $(OBJECTS) -o $(OUTPUT) $(LDFLAGS) $(LIBS) ++ ++.SUFFIXES : .c .cc .cpp .C .S .o ++ ++# object from C ++.c.o : $< $(HEADERS) ++ $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@ ++ ++# object from C++ (.cc, .cpp, .C files) ++.cc.o .cpp.o .C.o : $< $(HEADERS) ++ $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ ++# object from asm ++.S.o : ++ $(CC) $(ASMFLAGS) -c $< -o $@ ++ ++clean: ++ rm -f $(OBJECTS) ++ ++distclean: clean ++ rm -f $(OUTPUT) ++ ++.PHONY: clean distclean --- nikwi-0.0.20060823.orig/debian/patches/nikwideluxe_nikio.patch +++ nikwi-0.0.20060823/debian/patches/nikwideluxe_nikio.patch @@ -0,0 +1,31 @@ +diff -ruN srcdist.orig/nikwideluxe/src/nikio.cpp srcdist/nikwideluxe/src/nikio.cpp +--- srcdist.orig/nikwideluxe/src/nikio.cpp 2006-08-23 19:17:53.000000000 +0200 ++++ srcdist/nikwideluxe/src/nikio.cpp 2006-09-28 15:20:10.000000000 +0200 +@@ -26,6 +26,10 @@ + + #include "nikwi.h" + ++#ifndef DATADIR ++#define DATADIR "." ++#endif ++ + struct PackEntry + { + String name; +@@ -41,12 +45,12 @@ + void initNikIO() + { + FILE *f; +- packFileName = "justdata.up"; +- f = fopen("justdata.up", "rb"); ++ packFileName = DATADIR "/justdata.up"; ++ f = fopen(DATADIR "/justdata.up", "rb"); + if (!f) + { +- packFileName = "justdata.sw"; +- f = fopen("justdata.sw", "rb"); ++ packFileName = DATADIR "/justdata.sw"; ++ f = fopen(DATADIR "/justdata.sw", "rb"); + } + if (f) + { --- nikwi-0.0.20060823.orig/debian/patches/nikwideluxe_rdtsc.patch +++ nikwi-0.0.20060823/debian/patches/nikwideluxe_rdtsc.patch @@ -0,0 +1,44 @@ +diff -ruN srcdist.orig/nikwideluxe/src/main.cpp srcdist/nikwideluxe/src/main.cpp +--- srcdist.orig/nikwideluxe/src/main.cpp 2006-08-23 19:33:17.000000000 +0200 ++++ srcdist/nikwideluxe/src/main.cpp 2006-10-08 20:01:44.000000000 +0200 +@@ -25,36 +25,21 @@ + */ + + #include "nikwi.h" ++#include + + bool running = true; + bool debugMode = false; + int debugCounter = 0; + +-extern "C" { +-unsigned long rdtsc_h; +-unsigned long rdtsc_l; +-}; +-unsigned long long rdtsc() +-{ +- asm("rdtsc"); +- #ifdef WIN32 +- asm("movl %edx, _rdtsc_h"); +- asm("movl %eax, _rdtsc_l"); +- #else +- asm("movl %edx, rdtsc_h"); +- asm("movl %eax, rdtsc_l"); +- #endif +- return (((unsigned long long)rdtsc_h << 32)|rdtsc_l); +-} +- + static void timedTasks() + { + if (debugMode) + { +- unsigned long long counter = rdtsc(); ++ clock_t time_ini = times(NULL); + activeScreen->timer(); + char buff[32]; +- sprintf(buff, "Debug mode - %llu cycles", rdtsc()-counter); ++ clock_t time_inc = times(NULL) - time_ini; ++ sprintf(buff, "Debug mode - %llu.%02llu seconds", time_ini/100, time_ini%100); + SDL_WM_SetCaption(buff, buff); + } + else --- nikwi-0.0.20060823.orig/debian/patches/slashfx_main.patch +++ nikwi-0.0.20060823/debian/patches/slashfx_main.patch @@ -0,0 +1,14 @@ +diff -ruN srcdist.orig/slashfx/src/main.c srcdist/slashfx/src/main.c +--- srcdist.orig/slashfx/src/main.c 2006-08-28 12:58:02.000000000 +0200 ++++ srcdist/slashfx/src/main.c 2006-09-28 05:43:33.000000000 +0200 +@@ -101,8 +101,8 @@ + char version; + Effect fx; + int i, Fp, Vp, DP, Fnpp, Vnpp, wlength; +- double T, P, F, V, Fs, Vs, SP, len, sample; +- double (*waveFunc)(double); ++ double T, F, V, Fs, Vs, SP, len, sample; ++ double (*waveFunc)(double) = NULL; + double *fwave; + + readBuffer(fb, id, 4); --- nikwi-0.0.20060823.orig/debian/patches/nikwideluxe_makedata.patch +++ nikwi-0.0.20060823/debian/patches/nikwideluxe_makedata.patch @@ -0,0 +1,15 @@ +diff -ruN srcdist.orig/nikwideluxe/makedata.sh srcdist/nikwideluxe/makedata.sh +--- srcdist.orig/nikwideluxe/makedata.sh 2006-08-23 19:35:35.000000000 +0200 ++++ srcdist/nikwideluxe/makedata.sh 2006-09-28 05:43:33.000000000 +0200 +@@ -17,6 +17,8 @@ + + done; + ++test -d data/tiles || mkdir data/tiles + mv images/tiles/*.ut data/tiles +-mv images/objects/*.ut data/objects + ++test -d data/objects || mkdir data/objects ++mv images/objects/*.ut data/objects +Binary files srcdist.orig/nikwideluxe/nikwi and srcdist/nikwideluxe/nikwi differ +diff -ruN srcdist.orig/nikwideluxe/src/nikio.cpp srcdist/nikwideluxe/src/nikio.cpp --- nikwi-0.0.20060823.orig/debian/patches/uscript_type.patch +++ nikwi-0.0.20060823/debian/patches/uscript_type.patch @@ -0,0 +1,12 @@ +diff -ruN srcdist.orig/us/src/type.cpp srcdist/us/src/type.cpp +--- srcdist.orig/us/src/type.cpp 2005-11-21 12:11:15.000000000 +0100 ++++ srcdist/us/src/type.cpp 2006-09-28 05:43:33.000000000 +0200 +@@ -69,7 +69,7 @@ + //Globals + void usInitTypeSubSystem() + { +- UScriptType *type; ++ //UScriptType *type; + + usInteger = usRegisterType("int", USB_INTEGER); + usFloat = usRegisterType("float", USB_FLOAT); --- nikwi-0.0.20060823.orig/debian/patches/series +++ nikwi-0.0.20060823/debian/patches/series @@ -0,0 +1,6 @@ +makefiles.patch -p0 +nikwideluxe_makedata.patch -p0 +nikwideluxe_nikio.patch -p0 +nikwideluxe_rdtsc.patch -p0 +slashfx_main.patch -p0 +uscript_type.patch -p0