r11651 - in packages/trunk: ! dirs' list truncated !

Lubos Novak lubos-guest at alioth.debian.org
Tue Jan 11 13:40:25 UTC 2011


Author: lubos-guest
Date: 2011-01-11 13:40:24 +0000 (Tue, 11 Jan 2011)
New Revision: 11651

Added:
   packages/trunk/freegish/
   packages/trunk/freegish/debian/
   packages/trunk/freegish/debian/changelog
   packages/trunk/freegish/debian/compat
   packages/trunk/freegish/debian/control
   packages/trunk/freegish/debian/copyright
   packages/trunk/freegish/debian/freegish-data.install
   packages/trunk/freegish/debian/freegish.6
   packages/trunk/freegish/debian/freegish.desktop
   packages/trunk/freegish/debian/freegish.install
   packages/trunk/freegish/debian/freegish.manpages
   packages/trunk/freegish/debian/freegish.menu
   packages/trunk/freegish/debian/freegish.png
   packages/trunk/freegish/debian/freegish.xpm
   packages/trunk/freegish/debian/patches/
   packages/trunk/freegish/debian/patches/cmake_installation.patch
   packages/trunk/freegish/debian/patches/custom_level_loading.patch
   packages/trunk/freegish/debian/patches/fix_title_and_icon_text.patch
   packages/trunk/freegish/debian/patches/rename_config_dir.patch
   packages/trunk/freegish/debian/patches/series
   packages/trunk/freegish/debian/rules
   packages/trunk/freegish/debian/source/
   packages/trunk/freegish/debian/source/format
   packages/trunk/freegish/debian/source/include-binaries
Log:
Adding FreeGish

Added: packages/trunk/freegish/debian/changelog
===================================================================
--- packages/trunk/freegish/debian/changelog	                        (rev 0)
+++ packages/trunk/freegish/debian/changelog	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,5 @@
+freegish (1.53-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #xxxxxx)
+
+ -- Luboš Novák <alvinx12 at centrum.cz>  Fri, 24 Dec 2010 21:38:50 +0100

Added: packages/trunk/freegish/debian/compat
===================================================================
--- packages/trunk/freegish/debian/compat	                        (rev 0)
+++ packages/trunk/freegish/debian/compat	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1 @@
+7

Added: packages/trunk/freegish/debian/control
===================================================================
--- packages/trunk/freegish/debian/control	                        (rev 0)
+++ packages/trunk/freegish/debian/control	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,35 @@
+Source: freegish
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Luboš Novák <alvinx12 at centrum.cz>
+Build-Depends: debhelper (>= 7.3.0), cmake (>= 2.4.4), quilt (>= 0.46-7~),
+ libsdl1.2-dev, libopenal-dev, libvorbis-dev, libogg-dev, libpng12-dev
+Standards-Version: 3.9.1
+Homepage: https://www.github.com/blinry/gish
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/freegish/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/freegish/?op=log
+
+Package: freegish
+Architecture: any
+Depends: xdg-utils, freegish-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: a physics based arcade game
+ FreeGish is arcade game.
+
+Package: freegish-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: freegish (= ${binary:Version}), ${misc:Depends}
+Description: arcade game (debbugging symbols)
+ FreeGish is arcade game.
+ .
+ This package contains the debugging symbols.
+
+Package: freegish-data
+Architecture: all
+Depends: ${misc:Depends}
+Description: data for the FreeGish arcade game
+ FreeGish is arcade game.
+ .
+ This package holds data files needed for FreeGish.

Added: packages/trunk/freegish/debian/copyright
===================================================================
--- packages/trunk/freegish/debian/copyright	                        (rev 0)
+++ packages/trunk/freegish/debian/copyright	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,39 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: FreeGish
+Packaged-By: Luboš Novák <alvinx12 at centrum.cz>
+Source: https://www.github.com/blinry/gish
+
+Files: *
+Copyright: 2005, 2010 - Cryptic Sea
+           2010, FreeGish project
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2010, Luboš Novák <alvinx12 at centrum.cz>
+License: GPL-3
+
+Files: texturesets/trak3/*
+Copyright: ??? and Megagun
+License: GPL/CC-BY-SA
+
+Files: texturesets/trak5/*
+Copyright: ??? and Megagun
+License: MIT
+
+Files: music/*
+Copyright: 2009, Diablo Swing Orchestra
+License: BY-NC-ND 3.0
+
+Files: music/hell.ogg
+Copyright: 2010, Gladius Noctis
+License: BY-NC-SA 3.0
+
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+

Added: packages/trunk/freegish/debian/freegish-data.install
===================================================================
--- packages/trunk/freegish/debian/freegish-data.install	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish-data.install	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1 @@
+usr/share/games/freegish/

Added: packages/trunk/freegish/debian/freegish.6
===================================================================
--- packages/trunk/freegish/debian/freegish.6	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.6	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,23 @@
+.TH FREEGISH 1 "Dec  25, 2010"
+.SH NAME
+freegish \- A physics based arcade game
+.SH SYNOPSIS
+.B freegish
+.RI [ options ]
+.SH DESCRIPTION
+\fBfreegish\fP is a physics based arcade game
+.SH OPTIONS
+.TP
+.B \-nosound
+Disable sound and music
+.TP
+.B \-sound
+Enable sound
+.TP
+.B \-nomusic
+Disable  music
+.SH AUTHOR
+Gish was written by Cryptic Sea and FreeGish is maintained by FreeGish team.
+.PP
+This manual page was written by Lubos Novak <alvinx12 at centrum.cz>,
+for the Debian project (and may be used by others).

Added: packages/trunk/freegish/debian/freegish.desktop
===================================================================
--- packages/trunk/freegish/debian/freegish.desktop	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.desktop	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=FreeGish
+Comment=A physics based arcade game
+Type=Application
+Icon=freegish
+Terminal=false
+Exec=freegish
+Categories=Game;ArcadeGame;

Added: packages/trunk/freegish/debian/freegish.install
===================================================================
--- packages/trunk/freegish/debian/freegish.install	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.install	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,4 @@
+usr/games/freegish
+debian/freegish.xpm usr/share/pixmaps
+debian/freegish.png usr/share/icons/hicolor/32x32/apps
+debian/freegish.desktop usr/share/applications
\ No newline at end of file

Added: packages/trunk/freegish/debian/freegish.manpages
===================================================================
--- packages/trunk/freegish/debian/freegish.manpages	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.manpages	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1 @@
+debian/freegish.6

Added: packages/trunk/freegish/debian/freegish.menu
===================================================================
--- packages/trunk/freegish/debian/freegish.menu	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.menu	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,6 @@
+?package(freegish):command="/usr/games/freegish" \
+		title="FreeGish" \
+		longtitle="A physics based arcade game" \
+		needs="X11" \
+		icon="freegish.xpm" \
+		section="Games/Action"

Added: packages/trunk/freegish/debian/freegish.png
===================================================================
(Binary files differ)


Property changes on: packages/trunk/freegish/debian/freegish.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: packages/trunk/freegish/debian/freegish.xpm
===================================================================
--- packages/trunk/freegish/debian/freegish.xpm	                        (rev 0)
+++ packages/trunk/freegish/debian/freegish.xpm	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,38 @@
+/* XPM */
+static char * freegish_xpm[] = {
+"32 32 3 1",
+" 	c None",
+".	c #000000",
+"+	c #FF0000",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                .......         ",
+"          ...............       ",
+"         ..................     ",
+"        ....................    ",
+"      .......................   ",
+"     .........................  ",
+"    ........................... ",
+"   .............................",
+"  ..............................",
+" ...............................",
+" ...............................",
+" ......+++++......+++++.........",
+"......+++++++....+++++++........",
+"......+++++++....+++++++........",
+"......+++++++....+++++++........",
+"......+++++++....+++++++........",
+"......+++++++....+++++++........",
+".......+++++......+++++.........",
+"................................",
+" ...............................",
+" ...............................",
+"  ..............................",
+"   ............................ ",
+"    .........................   "};

Added: packages/trunk/freegish/debian/patches/cmake_installation.patch
===================================================================
--- packages/trunk/freegish/debian/patches/cmake_installation.patch	                        (rev 0)
+++ packages/trunk/freegish/debian/patches/cmake_installation.patch	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,70 @@
+Add installation
+Index: freegish-1.53/CMakeLists.txt
+===================================================================
+--- freegish-1.53.orig/CMakeLists.txt	2010-12-30 14:14:43.000000000 +0100
++++ freegish-1.53/CMakeLists.txt	2010-12-30 14:18:04.000000000 +0100
+@@ -1,9 +1,15 @@
+ cmake_minimum_required(VERSION 2.6)
+ 
+-project(Gish C)
++project(FreeGish C)
+ 
+ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-extras/;${CMAKE_MODULE_PATH}")
+-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_SOURCE_DIR}")
++
++OPTION(INSTALL_HFS "Install into Linux HFS" OFF)
++
++#don't pollute source dir
++if(NOT ${INSTALL_HFS})
++    set(EXECUTABLE_OUTPUT_PATH "${PROJECT_SOURCE_DIR}")
++endif(NOT ${INSTALL_HFS})
+ 
+ # Uncomment this to hardcode the data path. On the command line, you
+ # would actually give -DDATAPATH='"/usr/share/games/gish"' or similar
+@@ -149,12 +155,44 @@
+     config.h
+ )
+ 
+-add_executable(gish ${GISH_SRCS} ${GISH_H})
++add_executable(freegish ${GISH_SRCS} ${GISH_H})
+ 
+-target_link_libraries(gish
++target_link_libraries(freegish
+     ${SDL_LIBRARY}
+     ${OPENAL_LIBRARY}
+     ${OPENGL_LIBRARIES}
+     ${Vorbis_LIBRARIES}
+     ${PNG_LIBRARIES}
+ )
++
++if(NOT BIN_DIR)
++    if(UNIX)
++	SET(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin")
++    endif(UNIX)
++endif(NOT BIN_DIR)
++
++if(NOT DATA_DIR)
++    if(UNIX)
++	SET(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/freegish")
++    endif(UNIX)
++endif(NOT DATA_DIR)
++
++if(${INSTALL_HFS})
++    ADD_DEFINITIONS(-DDATAPATH="${DATA_DIR}")
++endif(${INSTALL_HFS})
++
++install(TARGETS freegish DESTINATION ${BIN_DIR})
++
++install(FILES gish.bmp DESTINATION ${DATA_DIR})
++
++SET(DDIRS animation level music sound texture)
++
++FOREACH(DIR_NAME ${DDIRS})
++    install(DIRECTORY ${DIR_NAME}
++	DESTINATION ${DATA_DIR}
++	PATTERN .gitignore EXCLUDE
++	PATTERN *.txt EXCLUDE
++	PATTERN backup EXCLUDE
++	)
++ENDFOREACH(DIR_NAME ${DDIRS})
++

Added: packages/trunk/freegish/debian/patches/custom_level_loading.patch
===================================================================
--- packages/trunk/freegish/debian/patches/custom_level_loading.patch	                        (rev 0)
+++ packages/trunk/freegish/debian/patches/custom_level_loading.patch	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,293 @@
+Loading custom levels from ~/.freegish/level/
+Index: freegish-1.53/game/custom.c
+===================================================================
+--- freegish-1.53.orig/game/custom.c	2010-09-11 15:14:15.000000000 +0200
++++ freegish-1.53/game/custom.c	2011-01-11 09:52:45.276674344 +0100
+@@ -234,7 +234,7 @@
+       {
+       game.editing=0;
+       game.levelnum=0;
+-      loadlevel(levellist[pagenum+count-1]);
++      loadlevelcustom(levellist[pagenum+count-1]);
+       gameloop();
+ 
+       joymenunum=count;
+Index: freegish-1.53/game/level.c
+===================================================================
+--- freegish-1.53.orig/game/level.c	2010-09-11 15:14:15.000000000 +0200
++++ freegish-1.53/game/level.c	2011-01-11 09:47:13.000000000 +0100
+@@ -286,7 +286,51 @@
+     }
+   }
+ 
++/*
++void printcwd(void)
++{
++    char path [PATH_MAX];
++    getcwd(path,PATH_MAX);
++    printf ("cwd: %s\n", path);
++}
++*/
++
+ void loadlevel(char *filename)
++{
++  int changeddir;
++  int retval;
++
++//  printcwd();
++
++  changeddir=chdir("level");
++  retval = loadlevelprivate(filename, NULL, NULL);
++//  if (changeddir==0)
++//    chdir("..");
++
++//  printf ("loadlevelprivate: %d\n", retval);
++
++  return;
++}
++
++void loadlevelcustom(char *filename)
++{
++  char levelpath [PATH_MAX];
++#ifdef DATAPATH
++  char *datapath=DATAPATH;
++#else
++  char datapath[PATH_MAX];
++
++  getcwd(datapath,PATH_MAX);
++#endif
++
++  chdir(userpath(levelpath,"level",NULL));
++  loadlevelprivate(filename, levelpath, datapath);
++//  chdir(datapath);
++
++  return;
++}
++
++int loadlevelprivate(char *filename, char *levelpath, char *datapath)
+   {
+   int count,count2;
+   int changeddir;
+@@ -296,11 +340,10 @@
+ 
+   x=0x17AF2E03;
+ 
+-  changeddir=chdir("level");
+-
+   if ((fp=fopen(filename,"rb"))!=NULL)
+     {
+     fread2(&version,4,1,fp);
++    printf ( "ver: %i - %s\n", version, filename );
+ 
+     if (version==9)
+       {
+@@ -334,9 +377,7 @@
+       if (level.numofobjects<0 || level.numofobjects>=256)
+         {
+         fclose(fp);
+-        if (changeddir==0)
+-          chdir("..");
+-        return;
++        return 1;
+         }
+       for (count=0;count<level.numofobjects;count++)
+         {
+@@ -357,9 +398,7 @@
+       if (level.numofropes<0 || level.numofropes>=1024)
+         {
+         fclose(fp);
+-        if (changeddir==0)
+-          chdir("..");
+-        return;
++        return 2;
+         }
+       for (count=0;count<level.numofropes;count++)
+         {
+@@ -376,9 +415,7 @@
+         if (texture[count].sizex<0 || texture[count].sizex>=1024)
+           {
+           fclose(fp);
+-          if (changeddir==0)
+-            chdir("..");
+-          return;
++          return 3;
+           }
+         if (texture[count].sizex!=0)
+           {
+@@ -411,9 +448,7 @@
+         if (block[count].numoflines<0 || block[count].numoflines>=64)
+           {
+           fclose(fp);
+-          if (changeddir==0)
+-            chdir("..");
+-          return;
++          return 4;
+           }
+         for (count2=0;count2<block[count].numoflines;count2++)
+           fread2(block[count].line[count2],4,8,fp);
+@@ -450,9 +485,7 @@
+       if (level.numofobjects<0 || level.numofobjects>=256)
+         {
+         fclose(fp);
+-        if (changeddir==0)
+-          chdir("..");
+-        return;
++        return 5;
+         }
+       for (count=0;count<level.numofobjects;count++)
+         {
+@@ -473,9 +506,7 @@
+       if (level.numofropes<0 || level.numofropes>=1024)
+         {
+         fclose(fp);
+-        if (changeddir==0)
+-          chdir("..");
+-        return;
++        return 6;
+         }
+       for (count=0;count<level.numofropes;count++)
+         {
+@@ -492,9 +523,7 @@
+         if (texture[count].sizex<0 || texture[count].sizex>=1024)
+           {
+           fclose(fp);
+-          if (changeddir==0)
+-            chdir("..");
+-          return;
++          return 7;
+           }
+         if (texture[count].sizex!=0)
+           {
+@@ -524,9 +553,7 @@
+         if (block[count].numoflines<0 || block[count].numoflines>=64)
+           {
+           fclose(fp);
+-          if (changeddir==0)
+-            chdir("..");
+-          return;
++          return 8;
+           }
+         for (count2=0;count2<block[count].numoflines;count2++)
+           fread2(block[count].line[count2],4,8,fp);
+@@ -563,9 +590,7 @@
+ 		  if (level.numofobjects<0 || level.numofobjects>=256)
+ 		  {
+ 			  fclose(fp);
+-			  if (changeddir==0)
+-				  chdir("..");
+-			  return;
++			  return 9;
+ 		  }
+ 		  for (count=0;count<level.numofobjects;count++)
+ 		  {
+@@ -586,9 +611,7 @@
+ 		  if (level.numofropes<0 || level.numofropes>=1024)
+ 		  {
+ 			  fclose(fp);
+-			  if (changeddir==0)
+-				  chdir("..");
+-			  return;
++			  return 10;
+ 		  }
+ 		  for (count=0;count<level.numofropes;count++)
+ 		  {
+@@ -611,11 +634,16 @@
+ 				  fread2(filename, 1, filenameLength, fp);
+ 
+ 				  if (debug_level_saveload) printf("\"%s\"...\n", filename);
+-				  if (changeddir==0)
+-					chdir("..");
++//TODO: correct?
++				  if (levelpath == NULL)
++				    chdir("..");
++				  else
++				    chdir (datapath);
+ 				  loadtexture(count, filename,0,GL_CLAMP_TO_EDGE,GL_CLAMP_TO_EDGE,GL_LINEAR,GL_LINEAR);
+-				  if (changeddir==0)
+-					changeddir = chdir("level");
++				  if (levelpath == NULL)
++				    chdir("level");
++				  else
++				    chdir(levelpath);
+ 			  }
+ 			  else
+ 			  {
+@@ -625,9 +653,7 @@
+ 				  {
+ 					  if (debug_level_saveload) printf("Invalid blob!\n");
+ 					  fclose(fp);
+-					  if (changeddir==0)
+-						  chdir("..");
+-					  return;
++					  return 12;
+ 				  }
+ 				  if (texture[count].sizex==0)
+ 				  {
+@@ -664,9 +690,7 @@
+ 			  if (block[count].numoflines<0 || block[count].numoflines>=64)
+ 			  {
+ 				  fclose(fp);
+-				  if (changeddir==0)
+-					  chdir("..");
+-				  return;
++				  return 13;
+ 			  }
+ 			  for (count2=0;count2<block[count].numoflines;count2++)
+ 				  fread2(block[count].line[count2],4,8,fp);
+@@ -681,10 +705,12 @@
+ 		  }
+ 	  }
+ 
+-    fclose(fp);
++	fclose(fp);
+ 
+-	if (changeddir==0)
++	if (levelpath == NULL)
+ 		chdir("..");
++	else
++		chdir(datapath);
+ 
+ 	if (version<7)
+ 		loadleveltextures();
+@@ -700,6 +726,10 @@
+ 	loadtexture(254,"amber2.png",0,GL_CLAMP_TO_EDGE,GL_CLAMP_TO_EDGE,GL_LINEAR,GL_LINEAR);
+ 	loadtexture(255,"amber3.png",0,GL_CLAMP_TO_EDGE,GL_CLAMP_TO_EDGE,GL_LINEAR,GL_LINEAR);
+     }
++    else
++	printf ("can't open %s\n", filename);
++
++    return 0;
+   }
+ 
+ void createlevel(void)
+Index: freegish-1.53/game/level.h
+===================================================================
+--- freegish-1.53.orig/game/level.h	2010-09-11 15:14:15.000000000 +0200
++++ freegish-1.53/game/level.h	2011-01-11 09:47:13.000000000 +0100
+@@ -21,9 +21,13 @@
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+ 
++//void pintcwd (void);
++
+ int lineintersectlevel(float *intersectpoint,float *normal,float *scale,float *startpoint,float *endpoint);
+ void savelevel(char *filename);
+ void loadlevel(char *filename);
++int loadlevelprivate(char *filename, char *levelpath, char *datapath);
++void loadlevelcustom(char *filename);
+ void createlevel(void);
+ void getlevellines(int objectnum);
+ void setuplevellines(int xstart,int ystart,int xend,int yend);
+Index: freegish-1.53/game/mappack.c
+===================================================================
+--- freegish-1.53.orig/game/mappack.c	2010-09-11 15:14:15.000000000 +0200
++++ freegish-1.53/game/mappack.c	2011-01-11 09:47:13.000000000 +0100
+@@ -211,7 +211,7 @@
+ 
+       game.editing=0;
+       game.levelnum=0;
+-      loadlevel(mappack.level[playermappack[playernum].levelnum-1]);
++      loadlevelcustom(mappack.level[playermappack[playernum].levelnum-1]);
+ 
+       mappack.active=1;
+ 

Added: packages/trunk/freegish/debian/patches/fix_title_and_icon_text.patch
===================================================================
--- packages/trunk/freegish/debian/patches/fix_title_and_icon_text.patch	                        (rev 0)
+++ packages/trunk/freegish/debian/patches/fix_title_and_icon_text.patch	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,14 @@
+Rename window title text. Icon text is the same
+Index: freegish-1.53/main.c
+===================================================================
+--- freegish-1.53.orig/main.c	2011-01-01 13:39:44.000000000 +0100
++++ freegish-1.53/main.c	2011-01-01 13:40:09.000000000 +0100
+@@ -127,7 +127,7 @@
+ 
+   listvideomodes();
+ 
+-  SDL_WM_SetCaption("Gish","SDL");
++  SDL_WM_SetCaption("FreeGish", NULL);
+   SDL_WM_SetIcon(SDL_LoadBMP("gish.bmp"),iconmask);
+ 
+   if (windowinfo.bitsperpixel==16)

Added: packages/trunk/freegish/debian/patches/rename_config_dir.patch
===================================================================
--- packages/trunk/freegish/debian/patches/rename_config_dir.patch	                        (rev 0)
+++ packages/trunk/freegish/debian/patches/rename_config_dir.patch	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,14 @@
+Linux config dir is ~/.freegish
+Index: freegish-1.53/game/config.c
+===================================================================
+--- freegish-1.53.orig/game/config.c	2011-01-01 14:03:11.000000000 +0100
++++ freegish-1.53/game/config.c	2011-01-01 14:03:33.000000000 +0100
+@@ -48,7 +48,7 @@
+ #if MAC
+ #define USERPATH(X) "%s/Library/Application Support/Gish" X
+ #else
+-#define USERPATH(X) "%s/.gish" X
++#define USERPATH(X) "%s/.freegish" X
+ #endif
+ #endif
+ #ifdef WINDOWS

Added: packages/trunk/freegish/debian/patches/series
===================================================================
--- packages/trunk/freegish/debian/patches/series	                        (rev 0)
+++ packages/trunk/freegish/debian/patches/series	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,4 @@
+cmake_installation.patch
+fix_title_and_icon_text.patch
+rename_config_dir.patch
+custom_level_loading.patch

Added: packages/trunk/freegish/debian/rules
===================================================================
--- packages/trunk/freegish/debian/rules	                        (rev 0)
+++ packages/trunk/freegish/debian/rules	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+%:
+	dh --buildsystem=cmake --with quilt $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DINSTALL_HFS=1 -DBIN_DIR=/usr/games -DDATA_DIR=/usr/share/games/freegish
+
+override_dh_strip:
+	dh_strip --dbg-package=freegish-dbg
+
+URL="https://github.com/megagun/gish.git"
+DIR="freegish"
+REV="TODO"
+
+get-orig-source:
+	git clone $(URL) $(DIR) && \
+	find $(DIR) -name ".gitignore" -print -delete && \
+	rm -rf $(DIR)/externals/ && \
+	rm -rf $(DIR)/tools/gishleveltool/bin/ && \
+	rm -rf $(DIR)/music/* && \
+	rm -f $(DIR)/SDL.DLL && \
+	tar cjf freegish_1.53+git$(REV).dfsg.orig.tar.bz2 $(DIR) && \
+	rm -rf $(DIR)
\ No newline at end of file


Property changes on: packages/trunk/freegish/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/trunk/freegish/debian/source/format
===================================================================
--- packages/trunk/freegish/debian/source/format	                        (rev 0)
+++ packages/trunk/freegish/debian/source/format	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/trunk/freegish/debian/source/include-binaries
===================================================================
--- packages/trunk/freegish/debian/source/include-binaries	                        (rev 0)
+++ packages/trunk/freegish/debian/source/include-binaries	2011-01-11 13:40:24 UTC (rev 11651)
@@ -0,0 +1 @@
+debian/freegish.png




More information about the Pkg-games-commits mailing list