r4080 - in packages/trunk/es: . debian debian/patches
Miriam Ruiz
baby-guest at alioth.debian.org
Wed Sep 5 14:24:09 UTC 2007
Author: baby-guest
Date: 2007-09-05 14:24:09 +0000 (Wed, 05 Sep 2007)
New Revision: 4080
Added:
packages/trunk/es/debian/
packages/trunk/es/debian/changelog
packages/trunk/es/debian/compat
packages/trunk/es/debian/control
packages/trunk/es/debian/copyright
packages/trunk/es/debian/docs
packages/trunk/es/debian/es-data.install
packages/trunk/es/debian/es.6
packages/trunk/es/debian/es.desktop
packages/trunk/es/debian/es.install
packages/trunk/es/debian/es.xpm
packages/trunk/es/debian/menu
packages/trunk/es/debian/patches/
packages/trunk/es/debian/patches/directories.patch
packages/trunk/es/debian/patches/fixes.patch
packages/trunk/es/debian/patches/import-opengl.patch
packages/trunk/es/debian/patches/makefile.patch
packages/trunk/es/debian/patches/series
packages/trunk/es/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: packages/trunk/es/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/trunk/es/debian/changelog
===================================================================
--- packages/trunk/es/debian/changelog (rev 0)
+++ packages/trunk/es/debian/changelog 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,5 @@
+es (1.0a.dfsg1-1) unstable; urgency=low
+
+ * Initial release (Closes: #440925)
+
+ -- Miriam Ruiz <little_miry at yahoo.es> Sat, 25 Aug 2007 19:58:40 +0000
Added: packages/trunk/es/debian/compat
===================================================================
--- packages/trunk/es/debian/compat (rev 0)
+++ packages/trunk/es/debian/compat 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1 @@
+5
Added: packages/trunk/es/debian/control
===================================================================
--- packages/trunk/es/debian/control (rev 0)
+++ packages/trunk/es/debian/control 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,32 @@
+Source: es
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
+Build-Depends: debhelper (>= 5), quilt, gdc,
+ libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
+ libsdl1.2-dev, libsdl-mixer1.2-dev
+Standards-Version: 3.7.2
+
+Package: es
+Architecture: any
+Depends: es-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: shooter game
+ Your ship is surrounded by two circles. You shoot in the direction of
+ your mouse points, and you move if the mouse pointer is outside the
+ inner circle.
+ .
+ http://hizuoka.web.fc2.com/game/ES/index_en.html
+
+Package: es-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: es
+Description: shooter game - game data
+ Your ship is surrounded by two circles. You shoot in the direction of
+ your mouse points, and you move if the mouse pointer is outside the
+ inner circle.
+ .
+ This package includes the architecture-independent data for the game ES.
+ .
+ http://hizuoka.web.fc2.com/game/ES/index_en.html
Added: packages/trunk/es/debian/copyright
===================================================================
--- packages/trunk/es/debian/copyright (rev 0)
+++ packages/trunk/es/debian/copyright 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,40 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es>.
+
+It was downloaded from http://hizuoka.web.fc2.com/game/ES/index_en.html
+
+Upstream Author:
+
+ HIZ <hiz_oka at yahoo.co.jp>
+
+Copyright:
+
+
+
+ import/SDL* : Copyright (C) 1997, 1998, 1999, 2000, 2001 Sam Lantinga
+
+License:
+
+
+
+import/SDL*:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2007, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: packages/trunk/es/debian/docs
===================================================================
--- packages/trunk/es/debian/docs (rev 0)
+++ packages/trunk/es/debian/docs 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,2 @@
+readme.txt
+readme_e.txt
Added: packages/trunk/es/debian/es-data.install
===================================================================
--- packages/trunk/es/debian/es-data.install (rev 0)
+++ packages/trunk/es/debian/es-data.install 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,3 @@
+music usr/share/games/es/
+#se usr/share/games/es/
+#voice usr/share/games/es/
Added: packages/trunk/es/debian/es.6
===================================================================
--- packages/trunk/es/debian/es.6 (rev 0)
+++ packages/trunk/es/debian/es.6 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,25 @@
+.\" (c) 2007 Miriam Ruiz <little_miry at yahoo.es>
+.\" (c) 2006 HIZ <hiz_oka at yahoo.co.jp>
+.\"
+.\" This document 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
+.TH "ES" "6" "" "" ""
+.SH "NAME"
+es \- abstract shooter
+.SH "DESCRIPTION"
+Your ship is surrounded by two circles. You shoot in the direction of your mouse points, and you move if the mouse pointer is outside the inner circle.
+.SH "SEE ALSO"
+You can find more about the game on its homepage: http://hizuoka.web.fc2.com/game/ES/index_en.html
+.SH "AUTHOR"
+This game has been written by HIZ <hiz_oka at yahoo.co.jp>
Added: packages/trunk/es/debian/es.desktop
===================================================================
--- packages/trunk/es/debian/es.desktop (rev 0)
+++ packages/trunk/es/debian/es.desktop 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=ES
+GenericName=
+Comment=HIZ's ES
+Icon=es.xpm
+Exec=/usr/games/es
+Terminal=false
+Categories=Game;ArcadeGame;
Added: packages/trunk/es/debian/es.install
===================================================================
--- packages/trunk/es/debian/es.install (rev 0)
+++ packages/trunk/es/debian/es.install 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,3 @@
+es usr/games/
+debian/*.xpm usr/share/pixmaps/
+debian/*.desktop usr/share/applications/
Added: packages/trunk/es/debian/es.xpm
===================================================================
--- packages/trunk/es/debian/es.xpm (rev 0)
+++ packages/trunk/es/debian/es.xpm 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,241 @@
+/* XPM */
+static char * es_shooter_xpm[] = {
+"32 32 206 2",
+" c None",
+". c #00323C",
+"+ c #063741",
+"@ c #19464F",
+"# c #4C6F76",
+"$ c #9FB2B6",
+"% c #0B3B44",
+"& c #315962",
+"* c #69868C",
+"= c #9FB1B5",
+"- c #B2C1C5",
+"; c #C2CED1",
+"> c #0A3A44",
+", c #476C74",
+"' c #8BA2A6",
+") c #B2C1C3",
+"! c #91A6AA",
+"~ c #648288",
+"{ c #2C5660",
+"] c #789399",
+"^ c #103E47",
+"/ c #4C6F75",
+"( c #B2C0C3",
+"_ c #C9D4D6",
+": c #89A1A8",
+"< c #42676F",
+"[ c #13424B",
+"} c #063640",
+"| c #728D93",
+"1 c #224D57",
+"2 c #859DA2",
+"3 c #D9E0E1",
+"4 c #E7EBED",
+"5 c #95AAAE",
+"6 c #496D74",
+"7 c #335B63",
+"8 c #98ACB0",
+"9 c #1F4B54",
+"0 c #8FA6AC",
+"a c #F8F9F9",
+"b c #DBE2E4",
+"c c #A1B4B7",
+"d c #9BAEB2",
+"e c #B7C4C7",
+"f c #ECF0F0",
+"g c #F4F6F6",
+"h c #F2F4F5",
+"i c #A4B6B9",
+"j c #E3E8EA",
+"k c #839BA0",
+"l c #17444D",
+"m c #C7D2D4",
+"n c #9EB2B7",
+"o c #C1CDCF",
+"p c #5C7C82",
+"q c #3A6068",
+"r c #9AADB1",
+"s c #B1C0C3",
+"t c #ADBDC0",
+"u c #ABBBBF",
+"v c #6E8A90",
+"w c #C8D3D5",
+"x c #A3B5B9",
+"y c #C3CFD1",
+"z c #628187",
+"A c #1D4953",
+"B c #D5DDDF",
+"C c #466B72",
+"D c #083842",
+"E c #CBD5D7",
+"F c #9BAFB2",
+"G c #345C64",
+"H c #769197",
+"I c #5B7B82",
+"J c #DAE1E3",
+"K c #1E4A53",
+"L c #BBC8CB",
+"M c #13414B",
+"N c #B3C1C3",
+"O c #4E7177",
+"P c #769095",
+"Q c #8FA4A9",
+"R c #CBD5D8",
+"S c #5D7D84",
+"T c #D4DCDF",
+"U c #859CA1",
+"V c #BFCBCE",
+"W c #0B3A43",
+"X c #AABABE",
+"Y c #FBFBFB",
+"Z c #496E77",
+"` c #4C7079",
+" . c #D3DBDD",
+".. c #103F48",
+"+. c #859EA5",
+"@. c #1D4A54",
+"#. c #789297",
+"$. c #BDCACD",
+"%. c #C4CFD2",
+"&. c #5D7D83",
+"*. c #6F8B91",
+"=. c #CCD6D8",
+"-. c #718D92",
+";. c #AEBEC1",
+">. c #365E66",
+",. c #03343E",
+"'. c #355D65",
+"). c #AABBBF",
+"!. c #BAC8CA",
+"~. c #456971",
+"{. c #52737A",
+"]. c #B8C6C9",
+"^. c #093942",
+"/. c #748E93",
+"(. c #92A7AB",
+"_. c #254F58",
+":. c #759095",
+"<. c #C6D1D3",
+"[. c #879EA3",
+"}. c #1C4951",
+"|. c #093943",
+"1. c #0B3B45",
+"2. c #88A0A4",
+"3. c #BECBCE",
+"4. c #234E57",
+"5. c #1B4851",
+"6. c #A2B4B8",
+"7. c #839A9F",
+"8. c #97ABAF",
+"9. c #B2C1C4",
+"0. c #5E7D83",
+"a. c #7A949A",
+"b. c #7D969C",
+"c. c #6D898F",
+"d. c #13424C",
+"e. c #618087",
+"f. c #B7C5C8",
+"g. c #91A6AB",
+"h. c #8CA2A7",
+"i. c #A1B3B7",
+"j. c #4E7077",
+"k. c #A5B6BA",
+"l. c #305861",
+"m. c #083841",
+"n. c #BCC8CB",
+"o. c #355D64",
+"p. c #A6B7BB",
+"q. c #D6DEE0",
+"r. c #EDF0F0",
+"s. c #B9C6C9",
+"t. c #EDF0F1",
+"u. c #F0F2F2",
+"v. c #8CA3A8",
+"w. c #BDCACE",
+"x. c #EFF2F3",
+"y. c #BAC7CA",
+"z. c #89A1A6",
+"A. c #BCC9CC",
+"B. c #C5D0D2",
+"C. c #9FB3B8",
+"D. c #C2CED0",
+"E. c #879DA2",
+"F. c #124049",
+"G. c #B1C0C4",
+"H. c #BDCACC",
+"I. c #43676F",
+"J. c #14424B",
+"K. c #7D969B",
+"L. c #C4D0D2",
+"M. c #0F3E47",
+"N. c #CED7D9",
+"O. c #4A6F78",
+"P. c #9AAEB2",
+"Q. c #93A8AC",
+"R. c #CAD4D7",
+"S. c #8DA3A8",
+"T. c #2C555E",
+"U. c #759096",
+"V. c #1C4851",
+"W. c #C6D1D4",
+"X. c #9DB1B6",
+"Y. c #426871",
+"Z. c #A2B3B6",
+"`. c #AEBDC1",
+" + c #A9BABE",
+".+ c #C3CED1",
+"++ c #96AAAE",
+"@+ c #F6F8F8",
+"#+ c #BAC6C9",
+"$+ c #EFF2F2",
+"%+ c #829BA0",
+"&+ c #2B555D",
+"*+ c #DEE4E5",
+"=+ c #DFE4E5",
+"-+ c #8AA0A5",
+";+ c #54767C",
+">+ c #40656C",
+",+ c #244F57",
+"'+ c #13414A",
+")+ c #04353F",
+"!+ c #5A7A80",
+"~+ c #29535B",
+"{+ c #779197",
+"]+ c #B3C2C5",
+"^+ c #C1CDD0",
+"/+ c #A9BABD",
+". . . . . . . . . . . . + @ # $ $ # @ + . . . . . . . . . . . . ",
+". . . . . . . . . . % & * = - ; ; - = * & % . . . . . . . . . . ",
+". . . . . . . . > , ' ) ! ~ { ] ] { ~ ! ) ' , > . . . . . . . . ",
+". . . . . . ^ / ( _ : < [ } . | | . } [ < : _ ( / ^ . . . . . . ",
+". . . . 1 2 3 4 5 6 7 7 7 7 7 8 8 7 7 7 7 7 6 5 4 3 2 9 . . . . ",
+". . . . 0 a b c 8 8 8 8 d e f g h f e d 8 8 8 8 i j a k . . . . ",
+". . . l m n o p . . . . q r s t u s r q . . . . v w x y ^ . . . ",
+". . . z ( A v B C . D 6 E F G H H G F E C . . I J v K L / . . . ",
+". . M N O . . I B P Q R S D . | | . D S T Q U J I . . z ( > . . ",
+". . # V l . . W X Y E Z . . . | | . . . ` .Y X W . . l _ , . . ",
+". ..5 +.. . @.#.$.X %.&.. . . | | . . . *.=.X $.-. at .. . : ' % . ",
+". 7 ;.>.,.'.).!.~.l v B C . . | | . . I J v l {.].).'.,.< ) & . ",
+"^./.(._.:.<.[.}.. . . I B p |.| | 1.v J I . . . }.2.3.-.4.! * + ",
+"5.6.7.8.9.0.... . . . . v o &.a.b.c.w v . . . . . d.e.f.g.h.i.@ ",
+"j.J o k.l.m.. . . . . . 1.c.o 9.n.w c.1.. . . . . . m.o.p.m q.# ",
+"R r.s.h.| | | | | | | | | b.n.t.u.n.b.| | | | | | | | | v.w.x.y.",
+"R r.s.z.| | | | | | | | | b.n.u.t.9.a.| | | | | | | | | h.A.x.y.",
+"j.J B.C.l.m.. . . . . . 1.c.w n.n.o &.|.. . . . . . m.o.k.D.q.# ",
+"5.6.E.8 9.0.... . . . . v w c.b.b.c.o p . . . . . d.e.f.g.h.i.@ ",
+"^./.(._.:.<.[.F.. . . I J v 1.| | 1.v B C . . . }.2.3.-.4.! * + ",
+". 7 ;.>.,.'.G.H.I.l v J I . . | | . . I B p J.~.!.).'.,.< ) & . ",
+". ..5 +.. . @.K.e X =.*.. . . | | . . . *.L.6.$.#. at .. . : ' % . ",
+". . # V l . . M.X Y N.O.. . . | | . . . O.N.Y P.W . . l _ , . . ",
+". . M N O . . I J ' Q.R.6 D . | | . D 6 R.Q.' B C . . z ( > . . ",
+". . . z ( A v J I . D S R S.T.U.U.T.S.R S D . I B p V.L / . . . ",
+". . . l W.X.w v . . . . Y.Z.`. + +`.Z.Y.. . . . v o d .+^ . . . ",
+". . . . ++ at +j i 8 8 8 8 d #+$+h h $+#+d 8 8 8 8 i j @+%+. . . . ",
+". . . . &+$ *+=+-+;+>+>+>+>+>+P.P.>+>+>+>+>+;+-+=+*+8 ,+. . . . ",
+". . . . . . l z N V +.>.'+)+. | | . )+'+>.+.V N z l . . . . . . ",
+". . . . . . . . M # 5 ;.(.!+~+{+{+~+!+(.;.5 # M . . . . . . . . ",
+". . . . . . . . . . ..7 /.$ ]+^+^+]+$ /.7 ... . . . . . . . . . ",
+". . . . . . . . . . . . ^.5.j./+/+j.5.^.. . . . . . . . . . . . "};
Added: packages/trunk/es/debian/menu
===================================================================
--- packages/trunk/es/debian/menu (rev 0)
+++ packages/trunk/es/debian/menu 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,3 @@
+?package(es):needs="X11" section="Games/Action"\
+ title="ES" command="/usr/games/es" \
+ icon="/usr/share/pixmaps/es.xpm"
Added: packages/trunk/es/debian/patches/directories.patch
===================================================================
--- packages/trunk/es/debian/patches/directories.patch (rev 0)
+++ packages/trunk/es/debian/patches/directories.patch 2007-09-05 14:24:09 UTC (rev 4080)
@@ -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: es-1.0a.dfsg1/src/es/sound.d
+===================================================================
+--- es-1.0a.dfsg1.orig/src/es/sound.d 2007-09-05 14:08:47.000000000 +0000
++++ es-1.0a.dfsg1/src/es/sound.d 2007-09-05 14:09:09.000000000 +0000
+@@ -29,7 +29,7 @@
+ }
+ Mix_QuerySpec(&audio_rate, &audio_format, &audio_channels);
+
+- music1 = Mix_LoadMUS("music/loop1.ogg");
++ music1 = Mix_LoadMUS("/usr/share/games/es/music/loop1.ogg");
+
+ _Sound_PlayingMusic = -1;
+ }
Added: packages/trunk/es/debian/patches/fixes.patch
===================================================================
--- packages/trunk/es/debian/patches/fixes.patch (rev 0)
+++ packages/trunk/es/debian/patches/fixes.patch 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,49 @@
+Index: es-shooter-1.0a.dfsg1/src/es/boot.d
+===================================================================
+--- es-shooter-1.0a.dfsg1.orig/src/es/boot.d 2007-07-01 10:21:20.000000000 +0000
++++ es-shooter-1.0a.dfsg1/src/es/boot.d 2007-09-05 13:44:20.000000000 +0000
+@@ -4,7 +4,11 @@
+
+ private import es.mouse;
+
+-private Mainloop mainloop;
++private Mainloop mainloop;
++private Mouse mouse;
++
++version (Win32_release) {
++
+
+ private:
+ import std.c.windows.windows;
+@@ -39,6 +43,20 @@
+ gc_term();
+ return result;
+ }
++} else {
++ // Boot as the general executable.
++ public int main(char[][] args) {
++ return boot(args);
++ }
++}
++
++public int boot(char[][] args) {
++ double d;
++ mouse = new Mouse();
++ mainloop = new Mainloop(mouse);
++ mainloop.loop();
++ return 0;
++}
+
+ int user_start(){
+ double d;
+Index: es-shooter-1.0a.dfsg1/src/es/sound.d
+===================================================================
+--- es-shooter-1.0a.dfsg1.orig/src/es/sound.d 2007-07-14 23:56:04.000000000 +0000
++++ es-shooter-1.0a.dfsg1/src/es/sound.d 2007-09-05 13:44:20.000000000 +0000
+@@ -73,4 +73,4 @@
+ public int Sound_PlayingMusic(){
+ if(Mix_PlayingMusic() == 0)_Sound_PlayingMusic = -1;
+ return _Sound_PlayingMusic;
+-}
+\ No newline at end of file
++}
Added: packages/trunk/es/debian/patches/import-opengl.patch
===================================================================
--- packages/trunk/es/debian/patches/import-opengl.patch (rev 0)
+++ packages/trunk/es/debian/patches/import-opengl.patch 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,51 @@
+Index: es-shooter-1.0a.dfsg1/import/opengl.d
+===================================================================
+--- es-shooter-1.0a.dfsg1.orig/import/opengl.d 2007-09-05 13:43:50.000000000 +0000
++++ es-shooter-1.0a.dfsg1/import/opengl.d 2007-09-04 08:08:33.000000000 +0000
+@@ -1,10 +1,4 @@
+-version (Win32) {
+- private import std.c.windows.windows;
+- extern(Windows):
+-}
+-else {
+- extern(C):
+-}
++extern(C):
+
+ alias uint GLenum;
+ alias ubyte GLboolean;
+@@ -1116,7 +1110,7 @@
+ /*************************************************************/
+
+ void /*APIENTRY*/glAccum (GLenum op, GLfloat value);
+-void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref);
++void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref_);
+ GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, GLboolean *residences);
+ void /*APIENTRY*/glArrayElement (GLint i);
+ void /*APIENTRY*/glBegin (GLenum mode);
+@@ -1369,7 +1363,7 @@
+ void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
+ void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer);
+ void /*APIENTRY*/glShadeModel (GLenum mode);
+-void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask);
++void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref_, GLuint mask);
+ void /*APIENTRY*/glStencilMask (GLuint mask);
+ void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
+ void /*APIENTRY*/glTexCoord1d (GLdouble s);
+Index: es-shooter-1.0a.dfsg1/import/openglu.d
+===================================================================
+--- es-shooter-1.0a.dfsg1.orig/import/openglu.d 2007-09-05 13:43:52.000000000 +0000
++++ es-shooter-1.0a.dfsg1/import/openglu.d 2007-09-04 08:08:33.000000000 +0000
+@@ -1,11 +1,6 @@
+ import opengl;
+
+-version (Win32) {
+- extern(Windows):
+-}
+-else {
+- extern(C):
+-}
++extern(C):
+
+ GLubyte* gluErrorString (
+ GLenum errCode);
Added: packages/trunk/es/debian/patches/makefile.patch
===================================================================
--- packages/trunk/es/debian/patches/makefile.patch (rev 0)
+++ packages/trunk/es/debian/patches/makefile.patch 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,29 @@
+Index: es-shooter-1.0a.dfsg1/Makefile
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ es-shooter-1.0a.dfsg1/Makefile 2007-09-05 13:45:50.000000000 +0000
+@@ -0,0 +1,24 @@
++DC=gdmd
++DFLAGS=-g -O -d -release
++DOUT=-of
++
++DSRC=$(shell find src/ -name "*.d")
++SOURCES=$(DSRC) import/SDL_video.d import/SDL_mouse.d import/SDL_mixer.d
++OBJS=$(SOURCES:.d=.o)
++EXE=es
++
++all: $(EXE)
++
++$(EXE): $(OBJS)
++ gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer
++
++$(OBJS): %.o: %.d
++ $(DC) -c $(DOUT)$@ $(DFLAGS) -Iimport -Isrc $<
++
++
++clean:
++ $(RM) -f src/*.o
++ $(RM) -f src/br/*.o
++ $(RM) -f src/util/*.o
++ $(RM) -f src/util/sdl/*.o
++ $(RM) -f import/*.o
Added: packages/trunk/es/debian/patches/series
===================================================================
--- packages/trunk/es/debian/patches/series (rev 0)
+++ packages/trunk/es/debian/patches/series 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,4 @@
+import-opengl.patch
+fixes.patch
+makefile.patch
+directories.patch
Added: packages/trunk/es/debian/rules
===================================================================
--- packages/trunk/es/debian/rules (rev 0)
+++ packages/trunk/es/debian/rules 2007-09-05 14:24:09 UTC (rev 4080)
@@ -0,0 +1,83 @@
+#!/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
+ DFLAGS = -g -debug -d
+else
+ CFLAGS += -O2
+ DFLAGS = -O -g -release -d
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ $(MAKE) -f /usr/share/quilt/quilt.make patch
+ touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ #ant -v
+ $(MAKE) CFLAGS="$(CFLAGS)" DFLAGS="$(DFLAGS)"
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ #ant -v clean
+ #[ ! -f Makefile ] || $(MAKE) clean
+ rm -f es
+ rm -f `find . -name "*.o"`
+ $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_installmenu
+ dh_installman debian/*.6
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+get-orig-source:
+ dh_testdir
+ dh_testroot
+ wget http://hizuoka.web.fc2.com/game/ES/ES_d.zip
+ unzip ES_d.zip
+ rm ES_d/*.dll
+ rm ES_d/*.exe
+ rm ES_d/lib/*.lib
+ rm ES_d/resource/*.RES
+ rm `find ES_d -name "*.obj"`
+ tar cvfz ../es_1.0a.dfsg1.orig.tar.gz ES_d
+ rm -rf ES_d.zip ES_d
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source
Property changes on: packages/trunk/es/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list