Author: miriam
Date: 2008-05-13 08:23:36 +0000 (Tue, 13 May 2008)
New Revision: 7000

Added:
   packages/trunk/chapping/debian/
   packages/trunk/chapping/debian/README.Debian
   packages/trunk/chapping/debian/changelog
   packages/trunk/chapping/debian/chapping-data.install
   packages/trunk/chapping/debian/chapping.install
   packages/trunk/chapping/debian/compat
   packages/trunk/chapping/debian/control
   packages/trunk/chapping/debian/copyright
   packages/trunk/chapping/debian/menu.ex
   packages/trunk/chapping/debian/patches/
   packages/trunk/chapping/debian/patches/directories.patch
   packages/trunk/chapping/debian/patches/makefiles.patch
   packages/trunk/chapping/debian/patches/series
   packages/trunk/chapping/debian/rules
   packages/trunk/chapping/debian/watch.ex
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/trunk/chapping/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/trunk/chapping/debian/README.Debian
===================================================================
--- packages/trunk/chapping/debian/README.Debian                                
(rev 0)
+++ packages/trunk/chapping/debian/README.Debian        2008-05-13 08:23:36 UTC 
(rev 7000)
@@ -0,0 +1,6 @@
+chapping for Debian
+-------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Miriam Ruiz <[EMAIL PROTECTED]>  Mon, 12 May 2008 12:01:27 +0000

Added: packages/trunk/chapping/debian/changelog
===================================================================
--- packages/trunk/chapping/debian/changelog                            (rev 0)
+++ packages/trunk/chapping/debian/changelog    2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,6 @@
+chapping (0.43.dfsg1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Miriam Ruiz <[EMAIL PROTECTED]>  Mon, 12 May 2008 12:01:27 +0000
+

Added: packages/trunk/chapping/debian/chapping-data.install
===================================================================
--- packages/trunk/chapping/debian/chapping-data.install                        
        (rev 0)
+++ packages/trunk/chapping/debian/chapping-data.install        2008-05-13 
08:23:36 UTC (rev 7000)
@@ -0,0 +1,2 @@
+menuimg usr/share/games/chapping/
+themes usr/share/games/chapping/

Added: packages/trunk/chapping/debian/chapping.install
===================================================================
--- packages/trunk/chapping/debian/chapping.install                             
(rev 0)
+++ packages/trunk/chapping/debian/chapping.install     2008-05-13 08:23:36 UTC 
(rev 7000)
@@ -0,0 +1 @@
+chapping usr/games/

Added: packages/trunk/chapping/debian/compat
===================================================================
--- packages/trunk/chapping/debian/compat                               (rev 0)
+++ packages/trunk/chapping/debian/compat       2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1 @@
+6

Added: packages/trunk/chapping/debian/control
===================================================================
--- packages/trunk/chapping/debian/control                              (rev 0)
+++ packages/trunk/chapping/debian/control      2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,30 @@
+Source: chapping
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <[EMAIL PROTECTED]>
+Uploaders: Miriam Ruiz <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>= 6), quilt, optipng,
+ libsdl1.2-dev, libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev
+Standards-Version: 3.7.3
+Homepage: http://chapping.wordpress.com/
+
+Package: chapping
+Architecture: any
+Depends: chapping-data (= ${source:Version}), ${shlibs:Depends}, 
${misc:Depends}
+Description: competition game inspired on soccer with bottle caps
+ Pro Evolution Chapping is a simple but addictive game in which you have to
+ score in your opposite's goal by moving bottle caps around a playing
+ field. You have to push a ball with them and try to get it into your
+ opponent's goal.
+
+Package: chapping-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: chapping (>= ${source:Version})
+Description: competition game with bottle caps - data files
+ Pro Evolution Chapping is a simple but addictive game in which you have to
+ score in your opposite's goal by moving bottle caps around a playing
+ field. You have to push a ball with them and try to get it into your
+ opponent's goal.
+ .
+ This package includes the game data.

Added: packages/trunk/chapping/debian/copyright
===================================================================
--- packages/trunk/chapping/debian/copyright                            (rev 0)
+++ packages/trunk/chapping/debian/copyright    2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,40 @@
+This package was debianized by Miriam Ruiz <[EMAIL PROTECTED]> on
+Mon, 12 May 2008 12:01:27 +0000.
+
+It was downloaded from https://forja.rediris.es/projects/csl2-chapping/
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+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'.
+
+The Debian packaging is (C) 2008, Miriam Ruiz <[EMAIL PROTECTED]> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: packages/trunk/chapping/debian/menu.ex
===================================================================
--- packages/trunk/chapping/debian/menu.ex                              (rev 0)
+++ packages/trunk/chapping/debian/menu.ex      2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,2 @@
+?package(chapping):needs="X11|text|vc|wm" 
section="Applications/see-menu-manual"\
+  title="chapping" command="/usr/bin/chapping"

Added: packages/trunk/chapping/debian/patches/directories.patch
===================================================================
--- packages/trunk/chapping/debian/patches/directories.patch                    
        (rev 0)
+++ packages/trunk/chapping/debian/patches/directories.patch    2008-05-13 
08:23:36 UTC (rev 7000)
@@ -0,0 +1,121 @@
+# Copyright (C) 2008  Miriam Ruiz <[EMAIL PROTECTED]>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: chapping-0.43/game/arrowmenu.cpp
+===================================================================
+--- chapping-0.43.orig/game/arrowmenu.cpp      2008-05-12 14:42:01.000000000 
+0000
++++ chapping-0.43/game/arrowmenu.cpp   2008-05-12 14:45:06.000000000 +0000
+@@ -3,9 +3,9 @@
+ 
+ void ArrowMenu::init()
+ {
+-      noactive=new SpecialImage(this,"menuimg/noactive.png");
+-      active=new SpecialImage(this,"menuimg/active.png");
+-      click=new SpecialImage(this,"menuimg/click.png");
++      noactive=new 
SpecialImage(this,"/usr/share/games/chapping/menuimg/noactive.png");
++      active=new 
SpecialImage(this,"/usr/share/games/chapping/menuimg/active.png");
++      click=new 
SpecialImage(this,"/usr/share/games/chapping/menuimg/click.png");
+       noactive->init();
+       active->init();
+       click->init();
+Index: chapping-0.43/game/choosestadium.cpp
+===================================================================
+--- chapping-0.43.orig/game/choosestadium.cpp  2008-05-12 14:38:27.000000000 
+0000
++++ chapping-0.43/game/choosestadium.cpp       2008-05-12 14:39:07.000000000 
+0000
+@@ -6,7 +6,7 @@
+ #include <sys/stat.h>
+ #include <dirent.h>
+ 
+-#define THEMES_DIR "themes/"
++#define THEMES_DIR "/usr/share/games/chapping/themes/"
+ 
+ void ChooseStadium::init()
+ {
+Index: chapping-0.43/game/logo.cpp
+===================================================================
+--- chapping-0.43.orig/game/logo.cpp   2008-05-12 14:42:01.000000000 +0000
++++ chapping-0.43/game/logo.cpp        2008-05-12 14:43:25.000000000 +0000
+@@ -18,7 +18,7 @@
+ //Iniciamos las porterias
+ void Logo::init()
+ {
+-      ag=new Image(this,"menuimg/logo.png");
++      ag=new Image(this,"/usr/share/games/chapping/menuimg/logo.png");
+       BoxActor::init();
+ 
+       setPos((SDL_GetVideoSurface()->w-ag->get_w())/2,100);
+Index: chapping-0.43/game/menuchapping.cpp
+===================================================================
+--- chapping-0.43.orig/game/menuchapping.cpp   2008-05-12 14:42:01.000000000 
+0000
++++ chapping-0.43/game/menuchapping.cpp        2008-05-12 14:44:54.000000000 
+0000
+@@ -75,28 +75,28 @@
+       ret->init();
+       ret->setLayer(2);
+ 
+-      line1=new TextActor("menuimg/joinpd.ttf",30);
++      line1=new 
TextActor("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30);
+       line1->setText("Under GPL License");
+       line1->setPos(362,400);
+       line1->setSize(300,32);
+       line1->init();
+       line1->setLayer(2);
+ 
+-      line2=new TextActor("menuimg/joinpd.ttf",30);
++      line2=new 
TextActor("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30);
+       line2->setText("Programming: Alejandro Castano");
+       line2->setPos(362,442);
+       line2->setSize(300,32);
+       line2->init();
+       line2->setLayer(2);
+ 
+-      line3=new TextActor("menuimg/joinpd.ttf",30);
++      line3=new 
TextActor("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30);
+       line3->setText("Graphic: Manuel Albarran");
+       line3->setPos(362,484);
+       line3->setSize(300,32);
+       line3->init();
+       line3->setLayer(2);
+ 
+-      line4=new TextActor("menuimg/joinpd.ttf",30);
++      line4=new 
TextActor("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30);
+       line4->setText("Version: 0.43");
+       line4->setPos(362,526);
+       line4->setSize(300,32);
+Index: chapping-0.43/game/menutext.cpp
+===================================================================
+--- chapping-0.43.orig/game/menutext.cpp       2008-05-12 14:42:01.000000000 
+0000
++++ chapping-0.43/game/menutext.cpp    2008-05-12 14:45:00.000000000 +0000
+@@ -1,6 +1,6 @@
+ #include "menutext.h"
+ 
+-MenuText::MenuText(zero_t):TextActor("menuimg/joinpd.ttf",30), MenuElement()
++MenuText::MenuText(zero_t):TextActor("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30),
 MenuElement()
+ {
+       white.r=255;
+       white.b=255;
+Index: chapping-0.43/game/rect.cpp
+===================================================================
+--- chapping-0.43.orig/game/rect.cpp   2008-05-12 14:42:01.000000000 +0000
++++ chapping-0.43/game/rect.cpp        2008-05-12 14:43:35.000000000 +0000
+@@ -18,7 +18,7 @@
+ //Iniciamos las porterias
+ void Rect::init()
+ {
+-      ag=new Image(this,"menuimg/rect.png");
++      ag=new Image(this,"/usr/share/games/chapping/menuimg/rect.png");
+       BoxActor::init();
+ 
+       setPos(275,370);
+Index: chapping-0.43/game/selection.cpp
+===================================================================
+--- chapping-0.43.orig/game/selection.cpp      2008-05-12 14:42:01.000000000 
+0000
++++ chapping-0.43/game/selection.cpp   2008-05-12 14:43:40.000000000 +0000
+@@ -6,7 +6,7 @@
+ 
+ void Selection::init()
+ {
+-      ag=new Image(this,"menuimg/selection.png");
++      ag=new Image(this,"/usr/share/games/chapping/menuimg/selection.png");
+       BoxActor::init();
+       layer=1;
+ }

Added: packages/trunk/chapping/debian/patches/makefiles.patch
===================================================================
--- packages/trunk/chapping/debian/patches/makefiles.patch                      
        (rev 0)
+++ packages/trunk/chapping/debian/patches/makefiles.patch      2008-05-13 
08:23:36 UTC (rev 7000)
@@ -0,0 +1,49 @@
+# Copyright (C) 2008  Miriam Ruiz <[EMAIL PROTECTED]>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: chapping-0.43/game/Makefile
+===================================================================
+--- chapping-0.43.orig/game/Makefile   2008-05-12 14:29:44.000000000 +0000
++++ chapping-0.43/game/Makefile        2008-05-12 14:30:53.000000000 +0000
+@@ -11,7 +11,8 @@
+ #LDFLAGS=-L../library/ -static -lgame -lSDL_ttf -lSDL_gfx -lSDL_image 
-L/usr/lib -lSDL -lpthread -lgame
+ #LDFLAGS=-L../library/ -static -lgame -lSDL_mixer -lSDL_ttf -lSDL_image 
-lSDL_gfx -lSDL -lpng -ljpeg -lz -lpthread -lfreetype -lm -ldl -lgame
+ 
+-CXXFLAGS=-g -Wall -O2 `$(SDL) --cflags` -I../library/
++CFLAGS=-g -Wall -O2
++CXXFLAGS=$(CFLAGS) `$(SDL) --cflags` -I../library/
+ LDFLAGS=-L../library/ -lgame `$(SDL) --libs` -lSDL_image -lSDL_gfx -lSDL_ttf
+ SRC=main.cpp soccergame.cpp cap.cpp stadium.cpp imagearrow.cpp line.cpp \
+        humanmanager.cpp team.cpp teammanager.cpp arrow.cpp score.cpp\
+@@ -31,7 +32,7 @@
+       mv $(OUT) ..
+ 
+ clean:
+-      $(RM) $(OBJ)
++      $(RM) -f $(OBJ)
+ 
+ depend:
+       makedepend $(SRC) 2> /dev/null
+Index: chapping-0.43/library/Makefile
+===================================================================
+--- chapping-0.43.orig/library/Makefile        2008-05-12 14:29:44.000000000 
+0000
++++ chapping-0.43/library/Makefile     2008-05-12 14:30:58.000000000 +0000
+@@ -10,7 +10,8 @@
+ SDL=sdl-config
+ endif
+ 
+-CXXFLAGS=-g -Wall -O2 `$(SDL) --cflags`
++CFLAGS=-g -Wall -O2
++CXXFLAGS=$(CFLAGS) `$(SDL) --cflags`
+ SRC=rendermanager.cpp actormanager.cpp game.cpp actor.cpp fontmanager.cpp 
text.cpp\
+        timemanager.cpp control.cpp controlmanager.cpp keyboard.cpp 
actorgraphic.cpp \
+        image.cpp mouse.cpp utils.cpp timer.cpp collision.cpp popup.cpp 
menulist.cpp\
+@@ -25,7 +26,7 @@
+       $(ARC) rcs $(OUT) $(OBJ);$(RANLIB) $(OUT)
+ 
+ clean:
+-      $(RM) $(OBJ) $(OUT)
++      $(RM) -f $(OBJ) $(OUT)
+ 
+ depend:
+       makedepend $(SRC) 2> /dev/null

Added: packages/trunk/chapping/debian/patches/series
===================================================================
--- packages/trunk/chapping/debian/patches/series                               
(rev 0)
+++ packages/trunk/chapping/debian/patches/series       2008-05-13 08:23:36 UTC 
(rev 7000)
@@ -0,0 +1,2 @@
+makefiles.patch
+directories.patch

Added: packages/trunk/chapping/debian/rules
===================================================================
--- packages/trunk/chapping/debian/rules                                (rev 0)
+++ packages/trunk/chapping/debian/rules        2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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
+       $(MAKE) -C library depend
+       $(MAKE) -C game depend
+       $(MAKE) -C library
+       $(MAKE) -C game
+       #docbook-to-man debian/chapping.sgml > chapping.1
+       touch $@
+
+clean: 
+       dh_testdir
+       dh_testroot
+       $(MAKE) -f /usr/share/quilt/quilt.make patch
+       rm -f build-stamp configure-stamp
+       rm -rf dlls
+       rm -f chapping
+       $(MAKE) -C library clean
+       $(MAKE) -C game clean
+       $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+       #$(MAKE) DESTDIR=$(CURDIR)/debian/chapping install
+
+# Build architecture-independent files here.
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs -i
+       dh_installdocs -i
+       dh_installexamples -i
+       dh_install -i
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       for i in `find $(CURDIR)/debian/chapping-data -name "*.png"`; do echo 
"Optimizing image $$i"; optipng -o 7 -q "$$i"; done
+endif
+       dh_link -i
+       dh_compress -i
+       dh_fixperms -i
+       dh_installdeb -i
+       dh_gencontrol -i
+       dh_md5sums -i
+       dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs -a
+       dh_installdocs -a
+       dh_installexamples -a
+       dh_install -a
+#      dh_installmenu -a
+       dh_installman -a
+       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
+
+SOURCE_VERSION=0.43
+DEBIAN_VERSION=$(SOURCE_VERSION).dfsg1
+
+get-orig-source:
+       wget 
http://forja.rediris.es/frs/download.php/760/chapping-0.43-src.tar.bz2
+       tar xvfj chapping-$(SOURCE_VERSION)-src.tar.bz2
+       rm chapping-$(SOURCE_VERSION)-src.tar.bz2
+       mv chapping-$(SOURCE_VERSION)-source chapping-$(DEBIAN_VERSION)
+       rm -r chapping-$(DEBIAN_VERSION)/dlls
+       rm chapping-$(DEBIAN_VERSION)/menuimg/joinpd.ttf
+       for i in `find chapping-$(DEBIAN_VERSION)/menuimg` `find 
chapping-$(DEBIAN_VERSION)/themes`; do test -f "$$i" && chmod 644 "$$i"; done
+       tar cvfz ../chapping_$(DEBIAN_VERSION).orig.tar.gz 
chapping-$(DEBIAN_VERSION)
+       rm -r chapping-$(DEBIAN_VERSION)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure 
get-orig-source


Property changes on: packages/trunk/chapping/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/chapping/debian/watch.ex
===================================================================
--- packages/trunk/chapping/debian/watch.ex                             (rev 0)
+++ packages/trunk/chapping/debian/watch.ex     2008-05-13 08:23:36 UTC (rev 
7000)
@@ -0,0 +1,22 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage 
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php chapping-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/chapping-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/chapping-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+# http://sf.net/chapping/chapping-(.*)\.tar\.gz
+
+


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to