r13684 - in packages/tags/excellent-bifurcation: ! dirs' list truncated !

Vincent Cheng vincentc-guest at alioth.debian.org
Wed Jun 6 04:38:05 UTC 2012


Author: vincentc-guest
Date: 2012-06-06 04:38:04 +0000 (Wed, 06 Jun 2012)
New Revision: 13684

Added:
   packages/tags/excellent-bifurcation/0.0.20071015-5/
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/changelog
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/compat
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/control
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/copyright
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/docs
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/excellent-bifurcation.6
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/install
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/manpages
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/menu
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/config_file.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/directories.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_allegro_linker_flag.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_hurd_ftbfs.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/link-with-libm.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/series
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/windowed.patch
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/rules
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/source/
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/source/format
   packages/tags/excellent-bifurcation/0.0.20071015-5/debian/watch
Log:
excellent-bifurcation: Tag release 0.0.20071015-5


Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/changelog
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/changelog	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/changelog	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,55 @@
+excellent-bifurcation (0.0.20071015-5) unstable; urgency=low
+
+  * Add debian/patches/fix_allegro_linker_flag.patch to fix FTBFS; thanks to
+    Andreas Rönnquist for the patch. (Closes: #676026)
+  * Add debian/patches/fix_hurd_ftbfs.patch to fix FTBFS on hurd.
+  * Add myself to Uploaders.
+  * Remove build dependency on dh-buildinfo.
+  * Bump Standards-Version to 3.9.3 (no changes required).
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com>  Mon, 04 Jun 2012 16:54:32 -0700
+
+excellent-bifurcation (0.0.20071015-4) unstable; urgency=low
+
+  * Team upload.
+  * Modify debian/patches/link-with-libm.patch to fix FTBFS with ld
+    --as-needed. Thanks to Ilya Barygin for the bug report! (Closes: #631687)
+  * Bump Standards-Version to 3.9.2 (no changes required).
+  * Update debhelper compatiblity level from 5 to 8.
+  * Update debian/rules to dh 7 "rules.tiny" style.
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com>  Mon, 25 Jul 2011 12:43:21 -0700
+
+excellent-bifurcation (0.0.20071015-3) unstable; urgency=low
+
+  * Team upload.
+  * Use source format 3.0 (quilt).
+  * debian/copyright: Refer to /usr/share/common-licenses/GPL-2.
+  * Link with -lm to fix FTBFS with binutils-gold. (Closes: #554275)
+    + new patch: link-with-libm.patch
+  * Bump Standards-Version to 3.9.1.
+
+ -- Ansgar Burchardt <ansgar at debian.org>  Mon, 14 Mar 2011 18:52:30 +0100
+
+excellent-bifurcation (0.0.20071015-2) unstable; urgency=low
+
+  * Save init.d according to XDG base directory specifications and not
+    in the current directory. Closes: #530630
+  * Build-depends on libxdg-basedir-dev and pkg-config
+  * Bumped Standards-Version to 3.8.2
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Mon, 27 Jul 2009 13:24:30 +0200
+
+excellent-bifurcation (0.0.20071015-1) unstable; urgency=low
+
+  [ Miriam Ruiz ]
+  * Initial release (Closes: #523659)
+
+  [ Eddy Petrișor ]
+  * add missing Vcs-Svn headers
+
+  [ Barry deFreese ]
+  * Add myself to uploaders.
+  * Add simple manpage.
+
+ -- Barry deFreese <bdefreese at debian.org>  Sat, 11 Apr 2009 11:40:36 -0400

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/compat
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/compat	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/compat	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1 @@
+8

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/control
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/control	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/control	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,31 @@
+Source: excellent-bifurcation
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders:
+ Miriam Ruiz <little_miry at yahoo.es>,
+ Barry deFreese <bdefreese at debian.org>,
+ Vincent Cheng <Vincentc1208 at gmail.com>
+Build-Depends:
+ debhelper (>= 8),
+ liballegro4.2-dev,
+ libxdg-basedir-dev (>= 1.0.0),
+ pkg-config
+Standards-Version: 3.9.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/excellent-bifurcation/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/excellent-bifurcation/?op=log
+
+Package: excellent-bifurcation
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: abstract vertical shooter with two sides to play on
+ Excellent Bifurcation is a vertical shooter in which you have two sides
+ available to play on. Its graphics try to mimic the colours, sounds and
+ feeling of the 8-bit games.
+ .
+ In the game, you drive two ships at the same time, on two sides of the
+ screen. The game play is very unique and fun. It might be quite a brain
+ bender anyway.
+ .
+ Excellent Bifurcation was Linley Henzel's entry in the AutoFire 2007 Shooter
+ Competition, and finished in 2nd place.

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/copyright
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/copyright	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/copyright	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,179 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
+Tue, 23 Oct 2007 08:52:00 +0000.
+
+Upstream Author:
+
+    Linley Henzell <l_henzell at yahoo.com.au>
+
+Copyright:
+
+    Copyright (C) 2006-2007  Linley Henzell
+
+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 version 2 of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is Copyright (C) 2007, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the GPL, see above.
+
+
+
+Mail exchange with the author of the program regarding the license:
+
+
+from: Miriam Ruiz <little.miry at gmail.com>
+to: l_henzell at yahoo.com.au
+date: 10-oct-2007 16:12
+topic: Question about the license of your games
+
+Hi! :)
+
+I'm interested in packaging your games "Garden of Coloured Lights" and
+"Excellent Bifurcation" for Debian and Ubuntu, two of the major Linux
+distributions. For ""Excellent Bifurcation" I don't have the source
+code, but I've read that you want to release it. For "Garden of
+Coloured Lights", even though I have the source code, the license
+itself is quite fuzzy. Would it be possible that you released a
+version under the GPL or some other free software license?
+
+Thanks in advance,
+Miry
+
+
+from: Linley Henzell <l_henzell at yahoo.com.au>
+to: Miriam Ruiz <little.miry at gmail.com>
+date: 14-oct-2007 8:08
+topic: Re: Question about the license of your games
+
+Hi there!
+
+Thanks for offering to package my games! I appreciate
+it.
+
+I'd be more than happy to release EB under the GPL. I
+don't have a home internet connection at the moment,
+but the next time I'm at the Internet cafe I'll email
+you a copy of the source. The only change I'll need to
+make is removing the sponsors' banners at the start,
+because of course I can't use them in a GPL program.
+
+Since the competition I entered GoCL in is still
+going, I'd prefer to wait a bit before releasing a
+version without the sponsors' banners (doing so isn't
+against the rules but it would be nice not to). I'd be
+happy for the game to be packaged under its current
+fuzzy licence, but if that's not good enough (and I
+know that Linux people are very careful about getting
+licences right, so I imagine it probably isn't) I'll
+email you GPL source when the competition is over if
+that's okay.
+
+Thanks!
+Linley
+
+
+from: Miriam Ruiz <little.miry at gmail.com>
+to: Linley Henzell <l_henzell at yahoo.com.au>
+date: 15-oct-2007 0:48
+topic: Re: Question about the license of your games
+
+Thanks a lot for your answer, of course I can wait until you consider
+it's the best moment to release it. It would certainly be the best to
+have it under the GPL or any other free license, otherwise it'll have
+to go to non-free and, well, in general it would be much worse.
+
+Good luck in the competition, I'm really looking forward to packaging
+it after it's finished. Thanks a lot!!
+
+Greetings,
+Miry
+
+
+from: Linley Henzell <l_henzell at yahoo.com.au>
+to: Miriam Ruiz <little.miry at gmail.com>
+date: 16-oct-2007 9:55
+topic: Re: Question about the license of your games
+
+Cool. I'll send the Garden source through in a few
+weeks.
+
+Here's the source to Excellent Bifurcation. I've
+modified it so it no longer needs the banners (which
+are in splash.bmp in the gfx directory - splash.bmp
+can be deleted). It's just source, so you'll need all
+of the other files from the windows binary zip. I
+haven't put a licence.txt file in there but I'm sure
+you have a copy of the GPL laying around :) GPL
+version 2 with the 'or later version' wording would be
+best, I think.
+
+The source is not exactly a model of elegance, but
+hopefully it won't need any changes to be able to
+compile on Linux.
+
+Let me know if you have any problems. And thanks again
+for doing this - it's good to see my games on as many
+platforms as possible!
+
+Bye,
+Linley
+
+
+from: Miriam Ruiz <little.miry at gmail.com>
+to: Linley Henzell <l_henzell at yahoo.com.au>
+date: 22-oct-2007 19:57
+topic: Re: Question about the license of your games
+
+Hi! :)
+
+I've made a temporary initial release of the tarball I plan to use for
+building the package (
+http://users.alioth.debian.org/~baby-guest/tmp/excellent-bifurcation-0.0.20071015.tgz
+) . Please have a look at it and tell me if it's correct.
+
+I assume from your previous mail that both the source code and the
+game data (graphics and sound) have been made by you and released
+under the GPL 2 or later license. Please correct me if it's not like
+that or if someone else has the copyright over the sounds or graphics.
+
+Greetings and lots of thanks!!
+Miry
+
+
+from: Linley Henzell <l_henzell at yahoo.com.au>
+to: Miriam Ruiz <little.miry at gmail.com>
+date: 23-oct-2007 10:13
+topic: Re: Question about the license of your games
+
+Hi there,
+
+Thanks for the archive. I'm at the library at the
+moment and I probably won't have a chance to look at
+it and get back to you for a few days. You're entirely
+welcome to release it as it is, though :)
+
+Yes, I have the copyright to all of the code, sounds
+and graphics (and everything else relevant) and I'm
+happy for it to be released under the GPL v2 or later.
+
+The competition is supposed to finish judging by the
+end of the week, so I'll have the GPL version of
+Garden of Coloured Lights to you soon.
+
+Bye!
+Linley

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/docs
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/docs	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/docs	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,4 @@
+gpl-2.0.txt
+init.txt
+Readme.txt
+Readme.txt

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/excellent-bifurcation.6
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/excellent-bifurcation.6	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/excellent-bifurcation.6	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,65 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH EXCELLENT-BIFURCATION 6 "11 April 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+excellent-bifurcation \- an abstract two-sided vertical shooter
+.SH SYNOPSIS
+.B excellent-bifurcation
+.SH DESCRIPTION
+The aliens have attacked, and their ability to exist in
+either or both of their world and ours has given them an
+almost unsurpassable advantage.
+
+Take command of a special fighter craft capable of existing
+in both realities at once and drive them back!
+
+The form your fighter takes on the left has double fast-firing
+cannons and can charge to release up to eight seekers. It is ideal
+for destroying small and weak but numerous enemies. The right-hand
+form has a single powerful cannon which fires slowly but does far
+more damage, and is more suited to taking out larger enemies.
+It can charge up to release a wave which passes through things,
+damaging them as it goes (unlike the beam weapons, which only hit
+anything once no matter how thick it is). You can switch them between
+the worlds depending on what kind of firepower you need where.
+.SH KEYS
+.TP
+.B Left, Right, Up, Down
+move the fighter across the screen
+.TP
+.B Z
+fire the main weapon
+.TP
+.B X
+charges your weapons
+.TP
+.B C
+switches between the two worlds (screens)
+.TP
+.B A
+turns on or off the autofire mode
+.TP
+.B Esc
+return to the main menu
+
+Key controls can be modified inside the game options menu.
+.BR
+.SH AUTHOR
+excellent-bifurcation was written by Linley Henzell.
+
+This manual page was written by Barry deFreese <bdefreese at debian.org>
+for the Debian GNU/Linux system (but may be used by others).

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/install
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/install	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/install	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,4 @@
+gfx usr/share/games/excellent-bifurcation
+init.txt usr/share/games/excellent-bifurcation
+src/excellent-bifurcation usr/games
+wavs usr/share/games/excellent-bifurcation

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/manpages
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/manpages	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/manpages	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1 @@
+debian/excellent-bifurcation.6

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/menu
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/menu	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/menu	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,2 @@
+?package(excellent-bifurcation):needs="X11" section="Games/Action" \
+  title="excellent-bifurcation" command="/usr/games/excellent-bifurcation"

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/config_file.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/config_file.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/config_file.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,70 @@
+# Copyright (C) 2009  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+--- excellent-bifurcation-0.0.20071015.orig/src/Makefile
++++ excellent-bifurcation-0.0.20071015/src/Makefile
+@@ -1,5 +1,8 @@
+ CC=gcc
+ CFLAGS=-Wall -O2
++PKGCONFIG_FILES=libxdg-basedir
++PKGCONFIG_CFLAGS= `pkg-config $(PKGCONFIG_FILES) --cflags`
++PKGCONFIG_LDFLAGS= `pkg-config $(PKGCONFIG_FILES) --libs`
+ LDFLAGS=-lalleg-4.2.2
+ SOURCES=$(shell find . -name "*.c")
+ OBJECTS=$(SOURCES:.c=.o)
+@@ -8,10 +11,10 @@
+ all: $(SOURCES) $(EXECUTABLE)
+ 
+ $(EXECUTABLE): $(OBJECTS) 
+-	$(CC) $(LDFLAGS) $(OBJECTS) -o $@
++	$(CC) $(LDFLAGS) $(PKGCONFIG_LDFLAGS) $(OBJECTS) -o $@
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) -c $< -o $@
++	$(CC) $(CFLAGS) $(PKGCONFIG_CFLAGS) `pkg-config libxdg-basedir --libs` -c $< -o $@
+ 
+ clean:
+ 	rm -f $(EXECUTABLE) $(OBJECTS)
+--- excellent-bifurcation-0.0.20071015.orig/src/main.c
++++ excellent-bifurcation-0.0.20071015/src/main.c
+@@ -49,6 +49,11 @@
+ #include "menu.h"
+ #include "sound.h"
+ 
++#include <basedir.h>
++#include <basedir_fs.h>
++#include <sys/stat.h>
++#include <limits.h>
++
+ // timer interupt functions and variables:
+ void framecount(void);
+ 
+@@ -106,6 +111,8 @@
+ 
+ int main(void)
+ {
++char FileName[PATH_MAX];
++xdgHandle xdg_handle;
+ 
+ int allint =  allegro_init();
+    if (allint == -1)
+@@ -115,7 +122,18 @@
+       exit(1);
+    }
+ 
+-   set_config_file("init.txt");
++   if (xdgInitHandle(&xdg_handle))
++   {
++      snprintf (FileName,sizeof(FileName),"%s/excellent-bifurcation",xdgConfigHome(&xdg_handle));
++      xdgMakePath(FileName, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
++      snprintf (FileName,sizeof(FileName),"%s/excellent-bifurcation/init.txt",xdgConfigHome(&xdg_handle));
++         xdgWipeHandle(&xdg_handle);
++      fprintf(stderr, "Config File: \"%s\"\n", FileName);
++      set_config_file(FileName);
++   } else {
++      fprintf(stderr, "Error initializing XDG Handle\n");
++      exit(1);
++   }
+ 
+    install_keyboard();
+    install_timer();

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/directories.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/directories.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/directories.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,174 @@
+# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: excellent-bifurcation-0.0.20071015/src/display_init.c
+===================================================================
+--- excellent-bifurcation-0.0.20071015.orig/src/display_init.c	2007-10-26 23:01:59.000000000 +0200
++++ excellent-bifurcation-0.0.20071015/src/display_init.c	2007-10-26 23:02:09.000000000 +0200
+@@ -169,7 +169,7 @@
+  set_clip_rect(display[1], 0, 0, 320, 480);
+ 
+ 
+- DATAFILE *datf = load_datafile("gfx//ebdata.dat");
++ DATAFILE *datf = load_datafile(DATA_DIR "/gfx/ebdata.dat");
+  if (datf == NULL)
+  {
+   set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
+@@ -1095,7 +1095,7 @@
+  destroy_bitmap(check_pattern);
+  destroy_bitmap(check_pattern2);
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//explodes.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/explodes.bmp");
+ 
+  fix_trans(file_bitmap);
+ 
+@@ -1517,7 +1517,7 @@
+ {
+ 
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//player.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/player.bmp");
+ 
+  BITMAP *temp_bitmap1 = new_bitmap(37, 30, "Prepare player_rles temp_bitmap1");
+ // BITMAP *temp_bitmap2 = new_bitmap(14, 14, "Prepare player_res temp_bitmap2");
+@@ -1757,7 +1757,7 @@
+ {
+ 
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//platform.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/platform.bmp");
+ 
+  fix_outline(file_bitmap);
+ 
+@@ -1810,7 +1810,7 @@
+ {
+ 
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//s_enemy.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/s_enemy.bmp");
+ 
+  fix_outline(file_bitmap);
+ 
+@@ -1884,7 +1884,7 @@
+ {
+ 
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//l_enemy.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/l_enemy.bmp");
+ 
+  fix_outline(file_bitmap);
+ 
+@@ -1998,7 +1998,7 @@
+ void prepare_little_rles(void)
+ {
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//little.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/little.bmp");
+ 
+  fix_trans(file_bitmap);
+ 
+@@ -2233,7 +2233,7 @@
+ {
+ 
+ 
+- BITMAP *file_bitmap = load_up_bitmap("gfx//elarge.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/elarge.bmp");
+ 
+ 
+  BITMAP *temp_bitmap1 = new_bitmap(100, 100, "Prepare enemy_rles temp_bitmap1");
+@@ -2388,7 +2388,7 @@
+ 
+  clear_to_color(underlay, COL_LOWER_BG1);
+ 
+- BITMAP *temp_bitmap = load_up_bitmap("gfx//underlay.bmp");
++ BITMAP *temp_bitmap = load_up_bitmap(DATA_DIR "/gfx/underlay.bmp");
+ 
+  blit(temp_bitmap, underlay, 0, 0, 0, 0, 320, 480);
+  blit(temp_bitmap, underlay, 0, 0, 0, 480, 320, 480);
+@@ -2401,7 +2401,7 @@
+ 
+  clear_to_color(underlay2, COL_LOWER_BG1);
+ 
+- temp_bitmap = load_up_bitmap("gfx//underlay2.bmp");
++ temp_bitmap = load_up_bitmap(DATA_DIR "/gfx/underlay2.bmp");
+ 
+  blit(temp_bitmap, underlay2, 0, 0, 0, 0, 320, 480);
+  blit(temp_bitmap, underlay2, 0, 0, 0, 480, 320, 480);
+@@ -2484,7 +2484,7 @@
+ 
+ /* palet [7].r = 1;
+  set_palette(palet);*/
+- BITMAP *file_bitmap = load_up_bitmap("gfx//small.bmp");
++ BITMAP *file_bitmap = load_up_bitmap(DATA_DIR "/gfx/small.bmp");
+ /* palet [7].r = 0x8d;
+  set_palette(palet);*/
+ 
+Index: excellent-bifurcation-0.0.20071015/src/menu.c
+===================================================================
+--- excellent-bifurcation-0.0.20071015.orig/src/menu.c	2007-10-26 23:01:59.000000000 +0200
++++ excellent-bifurcation-0.0.20071015/src/menu.c	2007-10-26 23:02:09.000000000 +0200
+@@ -371,7 +371,7 @@
+ void loading_screen(void)
+ {
+ 
+-/* splash_bitmap = load_bitmap("gfx//splash.bmp", splash_palette);
++/* splash_bitmap = load_bitmap(DATA_DIR "/gfx/splash.bmp", splash_palette);
+ 
+  if (splash_bitmap == NULL)
+  {
+@@ -384,7 +384,7 @@
+  vsync();
+  clear_bitmap(screen);
+ 
+- BITMAP *wait_bitmap = load_bitmap("gfx//wait.bmp", splash_palette);
++ BITMAP *wait_bitmap = load_bitmap(DATA_DIR "/gfx/wait.bmp", splash_palette);
+ 
+  if (wait_bitmap == NULL)
+  {
+@@ -417,7 +417,7 @@
+ void loading_screen_wait(void)
+ {
+ /*
+- BITMAP *press_bitmap = load_bitmap("gfx//press.bmp", splash_palette);
++ BITMAP *press_bitmap = load_bitmap(DATA_DIR "/gfx/press.bmp", splash_palette);
+ 
+  if (press_bitmap == NULL)
+  {
+Index: excellent-bifurcation-0.0.20071015/src/sound.c
+===================================================================
+--- excellent-bifurcation-0.0.20071015.orig/src/sound.c	2007-10-26 23:01:59.000000000 +0200
++++ excellent-bifurcation-0.0.20071015/src/sound.c	2007-10-26 23:08:36.000000000 +0200
+@@ -45,6 +45,8 @@
+ #include "math.h"
+ #include "stuff.h"
+ 
++#include <limits.h>
++
+ //int debug_sound [5];
+ 
+ 
+@@ -1070,9 +1072,9 @@
+ void load_new_sample_in(int samp, const char *sfile)
+ {
+ 
+- char sfile_name [50];
++ char sfile_name [PATH_MAX];
+ 
+- strcpy(sfile_name, ".//wavs//");
++ strcpy(sfile_name, DATA_DIR "/wavs/");
+  strcat(sfile_name, sfile);
+  strcat(sfile_name, ".wav");
+ 
+@@ -1089,9 +1091,9 @@
+ void load_new_ambi_in(int samp, const char *sfile)
+ {
+ 
+- char sfile_name [50];
++ char sfile_name [PATH_MAX];
+ 
+- strcpy(sfile_name, ".//wavs//ambi//");
++ strcpy(sfile_name, DATA_DIR "/wavs/ambi/");
+  strcat(sfile_name, sfile);
+  strcat(sfile_name, ".wav");
+ 

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_allegro_linker_flag.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_allegro_linker_flag.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_allegro_linker_flag.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,15 @@
+Description: Link against -lalleg instead of -lalleg-4.2.2 to fix FTBFS
+Author: Andreas Rönnquist <gusnan at gusnan.se>
+Last-Update: 2012-06-04
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -3,7 +3,7 @@
+ PKGCONFIG_FILES=libxdg-basedir
+ PKGCONFIG_CFLAGS= `pkg-config $(PKGCONFIG_FILES) --cflags`
+ PKGCONFIG_LDFLAGS= `pkg-config $(PKGCONFIG_FILES) --libs`
+-LDFLAGS=-lalleg-4.2.2
++LDFLAGS=-lalleg
+ SOURCES=$(shell find . -name "*.c")
+ OBJECTS=$(SOURCES:.c=.o)
+ EXECUTABLE=excellent-bifurcation

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_hurd_ftbfs.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_hurd_ftbfs.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/fix_hurd_ftbfs.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,38 @@
+Description: Fix FTBFS on hurd by defining PATH_MAX
+Author: Vincent Cheng <Vincentc1208 at gmail.com>
+Last-Update: 2012-06-04
+
+--- a/src/sound.c
++++ b/src/sound.c
+@@ -47,6 +47,10 @@
+ 
+ #include <limits.h>
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ //int debug_sound [5];
+ 
+ 
+@@ -886,6 +890,7 @@
+   {
+    mtrack_position [i] = 0;
+    mtrack_count [i] = 0;
++
+ //   mtrack_force_beat [i] = -1;
+ //   mtrack_glitchy [i] = 0;
+   }
+--- a/src/main.c
++++ b/src/main.c
+@@ -54,6 +54,10 @@
+ #include <sys/stat.h>
+ #include <limits.h>
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ // timer interupt functions and variables:
+ void framecount(void);
+ 

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/link-with-libm.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/link-with-libm.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/link-with-libm.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,15 @@
+From: Ansgar Burchardt <ansgar at debian.org>
+Date: Mon, 14 Mar 2011 18:50:51 +0100
+Subject: Link with -lm to fix FTBFS with binutils-gold
+Bug-Debian: http://bugs.debian.org/554275
+--- excellent-bifurcation.orig/src/Makefile
++++ excellent-bifurcation/src/Makefile
+@@ -11,7 +11,7 @@
+ all: $(SOURCES) $(EXECUTABLE)
+ 
+ $(EXECUTABLE): $(OBJECTS) 
+-	$(CC) $(LDFLAGS) $(PKGCONFIG_LDFLAGS) $(OBJECTS) -o $@
++	$(CC) $(OBJECTS) -o $@ $(LDFLAGS) $(PKGCONFIG_LDFLAGS) -lm
+ 
+ .c.o:
+ 	$(CC) $(CFLAGS) $(PKGCONFIG_CFLAGS) `pkg-config libxdg-basedir --libs` -c $< -o $@

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/series
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/series	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/series	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,6 @@
+directories.patch
+windowed.patch
+config_file.patch
+link-with-libm.patch
+fix_allegro_linker_flag.patch
+fix_hurd_ftbfs.patch

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/windowed.patch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/windowed.patch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/patches/windowed.patch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,16 @@
+# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: excellent-bifurcation-0.0.20071015/src/main.c
+===================================================================
+--- excellent-bifurcation-0.0.20071015.orig/src/main.c	2007-10-26 23:01:59.000000000 +0200
++++ excellent-bifurcation-0.0.20071015/src/main.c	2007-10-26 23:02:09.000000000 +0200
+@@ -175,7 +175,7 @@
+    srand(randseed);
+ 
+ //   int windowed = GFX_AUTODETECT_FULLSCREEN;
+-int windowed2 = get_config_int("Misc", "Windowed", 0);
++int windowed2 = get_config_int("Misc", "Windowed", 1);
+ //   windowed2 = 0;//GFX_AUTODETECT_FULLSCREEN;
+ 
+ //set_config_int("Misc", "Windowed", 0);

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/rules
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/rules	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/rules	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ 
+
+override_dh_clean:
+	$(MAKE) -C src clean
+	dh_clean
+
+override_dh_auto_build:
+	$(MAKE) -C src CFLAGS="$(CFLAGS) -DDATA_DIR=\\\"/usr/share/games/excellent-bifurcation\\\""


Property changes on: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/source/format
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/source/format	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/source/format	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/tags/excellent-bifurcation/0.0.20071015-5/debian/watch
===================================================================
--- packages/tags/excellent-bifurcation/0.0.20071015-5/debian/watch	                        (rev 0)
+++ packages/tags/excellent-bifurcation/0.0.20071015-5/debian/watch	2012-06-06 04:38:04 UTC (rev 13684)
@@ -0,0 +1,2 @@
+#Upstream has no tarball releases.
+




More information about the Pkg-games-commits mailing list