r11468 - packages/trunk/gravitation/debian

Paul Wise pabs at alioth.debian.org
Thu Nov 18 10:38:04 UTC 2010


Author: pabs
Date: 2010-11-18 10:38:04 +0000 (Thu, 18 Nov 2010)
New Revision: 11468

Added:
   packages/trunk/gravitation/debian/Gravitation.6
   packages/trunk/gravitation/debian/gravitation.6
   packages/trunk/gravitation/debian/links
   packages/trunk/gravitation/debian/manpages
Removed:
   packages/trunk/gravitation/debian/gravitation.6
Modified:
   packages/trunk/gravitation/debian/changelog
   packages/trunk/gravitation/debian/control
   packages/trunk/gravitation/debian/install
   packages/trunk/gravitation/debian/rules
Log:
* Switch to debhelper dh rules.tiny style
* Improve the generation of the orig.tar.gz
* Keep upstream capitalization, add symlinks

Copied: packages/trunk/gravitation/debian/Gravitation.6 (from rev 11464, packages/trunk/gravitation/debian/gravitation.6)
===================================================================
--- packages/trunk/gravitation/debian/Gravitation.6	                        (rev 0)
+++ packages/trunk/gravitation/debian/Gravitation.6	2010-11-18 10:38:04 UTC (rev 11468)
@@ -0,0 +1,47 @@
+.\" Placed in the public domain by Paul Wise <pabs at debian.org>
+.\" Forwarded to http://sf.net/support/tracker.php?aid=2672137
+.TH "gravitation" "6" "March 2008" "" "Games"
+.SH "NAME"
+gravitation \- a game about mania, melancholia, and the creative process.
+.SH "SYNOPSIS"
+.B gravitation
+.SH "DESCRIPTION"
+Gravitation is a video game written by Jason Rohrer about the creative
+process and the interaction between the creative process and life.
+.PP
+Gravitation is an art game. As a result, some people love it and
+some people hate it. Check out the links to places it has been
+discussed on the website for some of the reactions.
+.PP
+The mechanics of the game are fairly simple. Your "score" is related
+to the amount of "projects" you complete. To complete a project,
+first you need to discover and idea. In the game ideas are represented
+by blue stars and located in the maze above your initial position.
+To get to the maze, you can either wait till you feel inspired to
+jump that far, or you can play with your daughter and be inspired
+more quickly. Once you find an idea, it will fall to earth (so to speak),
+and you now need to "complete" the project by pushing the fallen star
+(now a white cube) into the fireplace. The game mechanics allow for
+myriad situations and exploring them can be an interesting experience.
+.PP
+The most interesting part about this game is the emotions it evokes
+within the player of the game. The ultra-low-res pixel art helps
+here, by not being too distracting and by leaving plenty room for
+viewer interpretation.
+.PP
+Gravitation is the follow-up to Passage, another art game by Jason Rohrer.
+.SH "USAGE"
+Gravitation has no command-line options.
+.PP
+The left and right arrow keys move left and right.
+.PP
+The spacebar is used to jump. Hold for higher jumps.
+.PP
+The Esc key is used to quit the game.
+.PP
+The game resolution and use of fullscreen or a window
+can be set by editing the files in /etc/gravitation.
+.SH "SEE ALSO"
+The website and discussion: http://hcsoftware.sourceforge.net/gravitation/
+.PP
+The game creators statement: http://hcsoftware.sourceforge.net/gravitation/statement.html

Modified: packages/trunk/gravitation/debian/changelog
===================================================================
--- packages/trunk/gravitation/debian/changelog	2010-11-18 10:21:32 UTC (rev 11467)
+++ packages/trunk/gravitation/debian/changelog	2010-11-18 10:38:04 UTC (rev 11468)
@@ -2,6 +2,9 @@
 
   * Switch to dpkg-source v3 format
   * Change the patch to use DEP-3 headers
+  * Switch to debhelper dh rules.tiny style
+  * Improve the generation of the orig.tar.gz
+  * Keep upstream capitalization, add symlinks
 
  -- Paul Wise <pabs at debian.org>  Thu, 18 Nov 2010 17:53:10 +0800
 

Modified: packages/trunk/gravitation/debian/control
===================================================================
--- packages/trunk/gravitation/debian/control	2010-11-18 10:21:32 UTC (rev 11467)
+++ packages/trunk/gravitation/debian/control	2010-11-18 10:38:04 UTC (rev 11468)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
 Uploaders: Paul Wise <pabs at debian.org>
-Build-Depends: debhelper (>= 7), libsdl1.2-dev
+Build-Depends: debhelper (>= 7.0.50~), libsdl1.2-dev
 Standards-Version: 3.8.0
 Homepage: http://hcsoftware.sourceforge.net/gravitation/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gravitation/

Deleted: packages/trunk/gravitation/debian/gravitation.6
===================================================================
--- packages/trunk/gravitation/debian/gravitation.6	2010-11-18 10:21:32 UTC (rev 11467)
+++ packages/trunk/gravitation/debian/gravitation.6	2010-11-18 10:38:04 UTC (rev 11468)
@@ -1,47 +0,0 @@
-.\" Placed in the public domain by Paul Wise <pabs at debian.org>
-.\" Forwarded to http://sf.net/support/tracker.php?aid=2672137
-.TH "gravitation" "6" "March 2008" "" "Games"
-.SH "NAME"
-gravitation \- a game about mania, melancholia, and the creative process.
-.SH "SYNOPSIS"
-.B gravitation
-.SH "DESCRIPTION"
-Gravitation is a video game written by Jason Rohrer about the creative
-process and the interaction between the creative process and life.
-.PP
-Gravitation is an art game. As a result, some people love it and
-some people hate it. Check out the links to places it has been
-discussed on the website for some of the reactions.
-.PP
-The mechanics of the game are fairly simple. Your "score" is related
-to the amount of "projects" you complete. To complete a project,
-first you need to discover and idea. In the game ideas are represented
-by blue stars and located in the maze above your initial position.
-To get to the maze, you can either wait till you feel inspired to
-jump that far, or you can play with your daughter and be inspired
-more quickly. Once you find an idea, it will fall to earth (so to speak),
-and you now need to "complete" the project by pushing the fallen star
-(now a white cube) into the fireplace. The game mechanics allow for
-myriad situations and exploring them can be an interesting experience.
-.PP
-The most interesting part about this game is the emotions it evokes
-within the player of the game. The ultra-low-res pixel art helps
-here, by not being too distracting and by leaving plenty room for
-viewer interpretation.
-.PP
-Gravitation is the follow-up to Passage, another art game by Jason Rohrer.
-.SH "USAGE"
-Gravitation has no command-line options.
-.PP
-The left and right arrow keys move left and right.
-.PP
-The spacebar is used to jump. Hold for higher jumps.
-.PP
-The Esc key is used to quit the game.
-.PP
-The game resolution and use of fullscreen or a window
-can be set by editing the files in /etc/gravitation.
-.SH "SEE ALSO"
-The website and discussion: http://hcsoftware.sourceforge.net/gravitation/
-.PP
-The game creators statement: http://hcsoftware.sourceforge.net/gravitation/statement.html

Added: packages/trunk/gravitation/debian/gravitation.6
===================================================================
--- packages/trunk/gravitation/debian/gravitation.6	                        (rev 0)
+++ packages/trunk/gravitation/debian/gravitation.6	2010-11-18 10:38:04 UTC (rev 11468)
@@ -0,0 +1 @@
+.so man6/Gravitation.6

Modified: packages/trunk/gravitation/debian/install
===================================================================
--- packages/trunk/gravitation/debian/install	2010-11-18 10:21:32 UTC (rev 11467)
+++ packages/trunk/gravitation/debian/install	2010-11-18 10:38:04 UTC (rev 11468)
@@ -1,4 +1,4 @@
-game5/gameSource/gravitation usr/games
+game5/gameSource/Gravitation usr/games
 game5/gameSource/graphics usr/share/games/gravitation
 game5/gameSource/music usr/share/games/gravitation
 game5/gameSource/settings/* etc/gravitation

Added: packages/trunk/gravitation/debian/links
===================================================================
--- packages/trunk/gravitation/debian/links	                        (rev 0)
+++ packages/trunk/gravitation/debian/links	2010-11-18 10:38:04 UTC (rev 11468)
@@ -0,0 +1 @@
+usr/games/Gravitation usr/games/gravitation

Added: packages/trunk/gravitation/debian/manpages
===================================================================
--- packages/trunk/gravitation/debian/manpages	                        (rev 0)
+++ packages/trunk/gravitation/debian/manpages	2010-11-18 10:38:04 UTC (rev 11468)
@@ -0,0 +1,2 @@
+debian/gravitation.6
+debian/Gravitation.6

Modified: packages/trunk/gravitation/debian/rules
===================================================================
--- packages/trunk/gravitation/debian/rules	2010-11-18 10:21:32 UTC (rev 11467)
+++ packages/trunk/gravitation/debian/rules	2010-11-18 10:38:04 UTC (rev 11468)
@@ -1,90 +1,37 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh --parallel $@
 
-CFLAGS = -Wall -g
-
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	MAKEFLAGS += -j$(NUMJOBS)
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
+override_dh_auto_configure:
 	chmod u+x game5/gameSource/configure
 	cd game5/gameSource && platformSelection=1 ./configure
-	touch $@
 
-build: build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
+override_dh_auto_build:
 	$(MAKE) -C game5/gameSource PLATFORM_COMPILE_FLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/gravitation\\\" -DDATADIR=\\\"/usr/share/games/gravitation/\\\""
-	mv game5/gameSource/Gravitation game5/gameSource/gravitation
-	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f `find game5 -name "*.o"`
-	rm -f `find minorGems -name "*.o"`
+override_dh_auto_clean:
+	find game5 -name "*.o" -delete
+	find minorGems -name "*.o" -delete
 	rm -f game5/gameSource/Gravitation
-	rm -f game5/gameSource/gravitation
-	rm -f game5/gameSource/Makefile.minorGems_dependencies
-	rm -f game5/gameSource/Makefile.dependencies.temp
-	rm -f game5/gameSource/Makefile.dependencies
 	rm -f game5/gameSource/Makefile
-	dh_clean 
+	rm -f game5/gameSource/Makefile.minorGems_dependencies
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
+override_dh_installchangelogs:
 	dh_installchangelogs game5/documentation/changeLog.txt
-	dh_installdocs
-	dh_install
-	dh_installmenu
-	dh_installman debian/gravitation.6
-	dh_icons
-	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://downloads.sourceforge.net/hcsoftware/Gravitation_v3_UnixSource.tar.gz
-	tar xvfz Gravitation_v3_UnixSource.tar.gz
-	# The first is removed because we are repacking the tarball
-	# The second is removed because it is non-free and not needed
-	cd Gravitation_v3_UnixSource && rm -rf \
-		game5/build/win32/SDL.dll \
-                minorGems/util/development/fortify
-	mv Gravitation_v3_UnixSource gravitation-3+dfsg1.orig
-	tar cvfz ../gravitation_3+dfsg1.orig.tar.gz gravitation-3+dfsg1.orig
-	rm -rf Gravitation_v3_UnixSource.tar.gz gravitation-3+dfsg1.orig
+V=3
+P=Gravitation
+p=gravitation
+sfp=hcsoftware/Gravitation
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source
+get-orig-source:
+	wget -c http://downloads.sourceforge.net/project/$(sfp)/v$(V)/$(P)_$(V)_UnixSource.tar.gz
+	tar zxf $(P)_$(V)_UnixSource.tar.gz
+	# Pre-built Windows libraries, unused
+	rm -r $(P)_$(V)_UnixSource/game2/build/win32/*.dll
+	# non-free, unused
+	rm -r $(P)_$(V)_UnixSource/minorGems/util/development/fortify
+	mv $(P)_$(V)_UnixSource $(p)-$(V)+dfsg1.orig
+	tar zcf ../$(p)_$(V)+dfsg1.orig.tar.gz $(p)-$(V)+dfsg1.orig
+	rm -r $(P)_$(V)_UnixSource.tar.gz $(p)-$(V)+dfsg1.orig




More information about the Pkg-games-commits mailing list