r6579 - in packages/trunk/biniax2/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Wed Apr 16 11:44:59 UTC 2008


Author: baby-guest
Date: 2008-04-16 11:44:59 +0000 (Wed, 16 Apr 2008)
New Revision: 6579

Modified:
   packages/trunk/biniax2/debian/biniax2.6
   packages/trunk/biniax2/debian/biniax2.install
   packages/trunk/biniax2/debian/changelog
   packages/trunk/biniax2/debian/copyright
   packages/trunk/biniax2/debian/patches/datadir.patch
   packages/trunk/biniax2/debian/patches/sound.patch
   packages/trunk/biniax2/debian/rules
Log:
Modified building system to use vanilla tarball from upstream
instead of a repackaged one.



Modified: packages/trunk/biniax2/debian/biniax2.6
===================================================================
--- packages/trunk/biniax2/debian/biniax2.6	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/biniax2.6	2008-04-16 11:44:59 UTC (rev 6579)
@@ -7,19 +7,20 @@
 \fBBiniax 2\fP is an original and entertaining game. It takes a minute to learn and gives you hours and hours of gameplay. There are three game modes (two singleplayer and one multiplayer), hall of fame, dynamic music and a nice cartoon look. 
 
 Playing the game is really simple: you move a single tile around a field of pairs of tiles. You can remove a pair from the game board if one of the tiles is similar to your own. When you do that, your tile changes into the other tile that was part of the pair you just removed. You have to do this quickly, otherwise the pairs will pile on top of you and take you to the Game Over screen.
-.SH "SEE ALSO"
-.TP 
-Homepage of the game:
-http://biniax.com
+.SH "CONFIGURATION"
+User Configuration File: ~/.biniax2
 .br 
 .TP 
-User Configuration File:
-~/.biniax2
+User Configuration Example:
+SOUND=1
 .br 
-.TP 
-User Configuration Example:
-/usr/share/doc/biniax2/config.bnx2
-
+MUSIC=1
+.br 
+FULLSCREEN=0
+.br 
+.SH "SEE ALSO"
+Homepage of the game: http://biniax.com
+.br 
 .SH "AUTHOR"
 Biniax 2 was written by Jordan Tuzsuzov <jordan at biniax.com>.
 .PP 

Modified: packages/trunk/biniax2/debian/biniax2.install
===================================================================
--- packages/trunk/biniax2/debian/biniax2.install	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/biniax2.install	2008-04-16 11:44:59 UTC (rev 6579)
@@ -1,4 +1,3 @@
-src/biniax2 usr/games/
+biniax2 usr/games/
 debian/*.xpm usr/share/pixmaps/
 debian/*.desktop usr/share/applications/
-config.bnx2 usr/share/doc/biniax2/

Modified: packages/trunk/biniax2/debian/changelog
===================================================================
--- packages/trunk/biniax2/debian/changelog	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/changelog	2008-04-16 11:44:59 UTC (rev 6579)
@@ -1,4 +1,4 @@
-biniax2 (0.0.20080410-1) UNRELEASED; urgency=low
+biniax2 (0.0.20080409-1) UNRELEASED; urgency=low
 
   [ Miriam Ruiz ]
   * Initial release (Closes: #476247)

Modified: packages/trunk/biniax2/debian/copyright
===================================================================
--- packages/trunk/biniax2/debian/copyright	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/copyright	2008-04-16 11:44:59 UTC (rev 6579)
@@ -1,7 +1,7 @@
 This package was debianized by Miriam Ruiz <miriam at unknown> on
 Thu, 10 Apr 2008 11:12:15 +0000.
 
-It was downloaded from http://mordred.dir.bg/biniax/download2.html
+It was downloaded from http://mordred.dir.bg/biniax/biniax2-fullsrc.tar.gz
 
 Upstream Author:
 
@@ -11,7 +11,10 @@
 
     Copyright (C) 2005-2008 Jordan Tuzsuzov
 
+SDLinclude header files:
 
+    Copyright (C) 1997-2006 Sam Lantinga
+
 License for the source code:
 
     Biniax is released under ZLIB license
@@ -320,5 +323,24 @@
           rights under applicable law.
 
 
+License for the SDLinclude header files:
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library 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
+    Lesser General Public License for more details.
+
+On Debian systems, the complete text of the last version of the GNU Lesser
+General Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The complete text of the version 2.1 of the GNU Lesser General Public License
+can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+
 The Debian packaging is (C) 2008, Miriam Ruiz <little_miry at yahoo.es> and
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Modified: packages/trunk/biniax2/debian/patches/datadir.patch
===================================================================
--- packages/trunk/biniax2/debian/patches/datadir.patch	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/patches/datadir.patch	2008-04-16 11:44:59 UTC (rev 6579)
@@ -1,10 +1,10 @@
 # Copyright (C) 2008 by Miriam Ruiz <little_miry at yahoo.es>
 # Distributed under the same license as the game. See debian/copyright
 
-Index: biniax2-0.0.20080410/src/desktop/gfx.c
+Index: biniax2-0.0.20080410/desktop/gfx.c
 ===================================================================
---- biniax2-0.0.20080410.orig/src/desktop/gfx.c	2008-04-10 11:43:43.000000000 +0000
-+++ biniax2-0.0.20080410/src/desktop/gfx.c	2008-04-10 11:43:46.000000000 +0000
+--- biniax2-0.0.20080410.orig/desktop/gfx.c	2008-04-10 11:43:43.000000000 +0000
++++ biniax2-0.0.20080410/desktop/gfx.c	2008-04-10 11:43:46.000000000 +0000
 @@ -789,39 +789,39 @@
  	BNX_BOOL bLoad = BNX_TRUE;
  
@@ -71,10 +71,10 @@
  
  	return bLoad;
  }
-Index: biniax2-0.0.20080410/src/desktop/snd.c
+Index: biniax2-0.0.20080410/desktop/snd.c
 ===================================================================
---- biniax2-0.0.20080410.orig/src/desktop/snd.c	2008-04-10 11:43:43.000000000 +0000
-+++ biniax2-0.0.20080410/src/desktop/snd.c	2008-04-10 11:43:46.000000000 +0000
+--- biniax2-0.0.20080410.orig/desktop/snd.c	2008-04-10 11:43:43.000000000 +0000
++++ biniax2-0.0.20080410/desktop/snd.c	2008-04-10 11:43:46.000000000 +0000
 @@ -60,20 +60,20 @@
  
  	Mix_VolumeMusic( MIX_MAX_VOLUME >> 1 );
@@ -110,10 +110,10 @@
  
  	return BNX_TRUE;
  }
-Index: biniax2-0.0.20080410/src/makefile
+Index: biniax2-0.0.20080410/makefile
 ===================================================================
---- biniax2-0.0.20080410.orig/src/makefile	2008-04-10 11:43:43.000000000 +0000
-+++ biniax2-0.0.20080410/src/makefile	2008-04-10 11:44:24.000000000 +0000
+--- biniax2-0.0.20080410.orig/makefile	2008-04-10 11:43:43.000000000 +0000
++++ biniax2-0.0.20080410/makefile	2008-04-10 11:44:24.000000000 +0000
 @@ -8,8 +8,9 @@
  FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c
  INCLUDES=-I . -I desktop

Modified: packages/trunk/biniax2/debian/patches/sound.patch
===================================================================
--- packages/trunk/biniax2/debian/patches/sound.patch	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/patches/sound.patch	2008-04-16 11:44:59 UTC (rev 6579)
@@ -1,10 +1,10 @@
 # Copyright (C) 2008 by Miriam Ruiz <little_miry at yahoo.es>
 # Distributed under the same license as the game. See debian/copyright
 
-Index: biniax2/src/biniax.c
+Index: biniax2/biniax.c
 ===================================================================
---- biniax2.orig/src/biniax.c	2008-04-15 16:20:53.000000000 +0000
-+++ biniax2/src/biniax.c	2008-04-15 16:25:47.000000000 +0000
+--- biniax2.orig/biniax.c	2008-04-15 16:20:53.000000000 +0000
++++ biniax2/biniax.c	2008-04-15 16:25:47.000000000 +0000
 @@ -100,13 +100,27 @@
  	cfgInit();
  	hofInit();
@@ -34,10 +34,10 @@
  	
  	/******************************************************************
  	SHOW INITIAL WELCOME SCREEN                                                
-Index: biniax2/src/desktop/cfg.c
+Index: biniax2/desktop/cfg.c
 ===================================================================
---- biniax2.orig/src/desktop/cfg.c	2008-04-15 16:20:53.000000000 +0000
-+++ biniax2/src/desktop/cfg.c	2008-04-15 16:23:16.000000000 +0000
+--- biniax2.orig/desktop/cfg.c	2008-04-15 16:20:53.000000000 +0000
++++ biniax2/desktop/cfg.c	2008-04-15 16:23:16.000000000 +0000
 @@ -30,6 +30,17 @@
  
  #include "inc.h"
@@ -136,10 +136,10 @@
 +{
 +	_Cfg.fullscreen = b;
 +}
-Index: biniax2/src/desktop/cfg.h
+Index: biniax2/desktop/cfg.h
 ===================================================================
---- biniax2.orig/src/desktop/cfg.h	2008-04-15 16:23:30.000000000 +0000
-+++ biniax2/src/desktop/cfg.h	2008-04-15 16:24:10.000000000 +0000
+--- biniax2.orig/desktop/cfg.h	2008-04-15 16:23:30.000000000 +0000
++++ biniax2/desktop/cfg.h	2008-04-15 16:24:10.000000000 +0000
 @@ -43,4 +43,8 @@
  BNX_BOOL cfgGetMusic();
  BNX_BOOL cfgGetFullscreen();

Modified: packages/trunk/biniax2/debian/rules
===================================================================
--- packages/trunk/biniax2/debian/rules	2008-04-16 11:32:44 UTC (rev 6578)
+++ packages/trunk/biniax2/debian/rules	2008-04-16 11:44:59 UTC (rev 6579)
@@ -16,12 +16,14 @@
 	dh_testdir
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 	for i in `find data`; do if [ -f $$i ]; then chmod -x $$i; fi; done
+	rm -rf `find data -name Thumbs.db`
+	rm -rf SDLinclude
 	touch $@
 
 build: build-stamp
 build-stamp: configure-stamp 
 	dh_testdir
-	$(MAKE) FLAGS="$(CFLAGS)" DATADIR="/usr/share/games/biniax2" -C src
+	$(MAKE) FLAGS="$(CFLAGS)" DATADIR="/usr/share/games/biniax2"
 	#docbook-to-man debian/biniax2.sgml > biniax2.1
 	touch $@
 
@@ -29,8 +31,8 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
-	#$(MAKE) clean -C src
-	rm -f src/biniax2
+	#$(MAKE) clean
+	rm -f biniax2
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 	dh_clean 
 
@@ -65,24 +67,6 @@
 	dh_md5sums
 	dh_builddeb
 
-get-orig-source:
-	dh_testdir   
-	dh_testroot 
-
-	wget http://mordred.dir.bg/biniax/biniax2-src.zip
-	wget http://mordred.dir.bg/biniax/biniax2-linux86.tar.gz
-
-	tar xvfz biniax2-linux86.tar.gz
-	mv biniax2-linux86 biniax2
-	for i in `find biniax2/data`; do if [ -f $$i ]; then chmod -x $$i; fi; done
-	rm biniax2/biniax2
-
-	mkdir biniax2/src && cd biniax2/src && unzip ../../biniax2-src.zip
-	rm -rf biniax2/sdl.txt biniax2/src/SDLinclude
-
-	tar cvfz ../biniax2_0.0.20080410.orig.tar.gz biniax2
-	rm -rf biniax2 biniax2-src.zip biniax2-linux86.tar.gz
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure
 .PHONY: get-orig-source




More information about the Pkg-games-commits mailing list