r6213 - in packages/trunk/gravitation: . debian

Paul Wise pabs at alioth.debian.org
Wed Mar 19 11:05:01 UTC 2008


Author: pabs
Date: 2008-03-19 11:05:01 +0000 (Wed, 19 Mar 2008)
New Revision: 6213

Added:
   packages/trunk/gravitation/debian/
   packages/trunk/gravitation/debian/README.Debian
   packages/trunk/gravitation/debian/TODO
   packages/trunk/gravitation/debian/changelog
   packages/trunk/gravitation/debian/compat
   packages/trunk/gravitation/debian/control
   packages/trunk/gravitation/debian/copyright
   packages/trunk/gravitation/debian/docs
   packages/trunk/gravitation/debian/gravitation.6
   packages/trunk/gravitation/debian/gravitation.desktop
   packages/trunk/gravitation/debian/gravitation.xpm
   packages/trunk/gravitation/debian/install
   packages/trunk/gravitation/debian/menu
   packages/trunk/gravitation/debian/rules
   packages/trunk/gravitation/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


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

Added: packages/trunk/gravitation/debian/README.Debian
===================================================================
--- packages/trunk/gravitation/debian/README.Debian	                        (rev 0)
+++ packages/trunk/gravitation/debian/README.Debian	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,7 @@
+gravitation for Debian
+----------------------
+
+Some unused non-free code has been removed from the original tarball, without
+affecting the functionality of the game in any way.
+
+ -- Paul Wise <pabs at debian.org>  Wed, 19 Mar 2008 15:20:53 +0900

Added: packages/trunk/gravitation/debian/TODO
===================================================================
--- packages/trunk/gravitation/debian/TODO	                        (rev 0)
+++ packages/trunk/gravitation/debian/TODO	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,4 @@
+Write package description
+Write manual page
+Patch it to use absolute paths to the configs and images 
+Patch it to use ~/.gravitation

Added: packages/trunk/gravitation/debian/changelog
===================================================================
--- packages/trunk/gravitation/debian/changelog	                        (rev 0)
+++ packages/trunk/gravitation/debian/changelog	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,5 @@
+gravitation (3+dfsg1-1) unstable; urgency=low
+
+  * Initial release (Closes: #471584)
+
+ -- Paul Wise <pabs at debian.org>  Wed, 19 Mar 2008 14:38:20 +0900

Added: packages/trunk/gravitation/debian/compat
===================================================================
--- packages/trunk/gravitation/debian/compat	                        (rev 0)
+++ packages/trunk/gravitation/debian/compat	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1 @@
+5

Added: packages/trunk/gravitation/debian/control
===================================================================
--- packages/trunk/gravitation/debian/control	                        (rev 0)
+++ packages/trunk/gravitation/debian/control	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,22 @@
+Source: gravitation
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
+Uploaders: Paul Wise <pabs at debian.org>
+Build-Depends: debhelper (>= 5.0.51~), quilt, libsdl1.2-dev
+Standards-Version: 3.7.3
+Homepage: http://hcsoftware.sourceforge.net/gravitation/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gravitation/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/gravitation/?op=log
+
+Package: gravitation
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: game about mania, melancholia, and the creative process
+ FIXME: distill down the game creators statement:
+ http://hcsoftware.sourceforge.net/gravitation/statement.html
+ Need to say that it is a short game
+ Need to say if in doubt, keep playing
+ Need to mention the pixelation
+ Need to say that you should read the game creators statement and some of the forum threads about the game 
+ Should mention that it is a followup to passage

Added: packages/trunk/gravitation/debian/copyright
===================================================================
--- packages/trunk/gravitation/debian/copyright	                        (rev 0)
+++ packages/trunk/gravitation/debian/copyright	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,85 @@
+This package was debianized by Paul Wise <pabs at debian.org> on 2008-03-19
+
+It was downloaded from http://hcsoftware.sourceforge.net/gravitation/
+
+Upstream Author:
+
+    Jason Rohrer <jcr13 at users.sf.net>
+
+Copyright:
+
+    None, placed in the public domain
+
+    Some files have different authors/copyright/licences:
+
+    minorGems/crypto/hashes/sha*.h: No copyright (public domain)
+    minorGems/io/file/win32/dirent.*: Copyright 1997 Kevlin Henney
+    minorGems/io/serialPort/win32/COMPort.*: Copyright 2000 UAB BBDSoft
+    minorGems/util/development/leakTracer/: No copyright (public domain)
+
+License:
+
+    None, placed in the public domain
+
+sha1:
+
+    Originally witten by Steve Reid <steve at edmweb.com>
+
+    Modified by Aaron D. Gifford <agifford at infowest.com>
+
+    NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN
+
+    The original unmodified version is available at:
+    ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c
+
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+dirent:
+
+    POSIX directory browsing functions and types for Win32.
+
+    Kevlin Henney (mailto:kevlin at acm.org), March 1997.
+
+    Copyright Kevlin Henney, 1997. All rights reserved.
+
+    Permission to use, copy, modify, and distribute this software and its
+    documentation for any purpose is hereby granted without fee, provided
+    that this copyright and permissions notice appear in all copies and
+    derivatives, and that no charge may be made for the software and its
+    documentation except to cover cost of distribution.
+
+    This software is supplied "as is" without express or implied warranty.
+
+COMPort:
+
+    General component library for WIN32
+    Copyright (C) 2000, UAB BBDSoft ( http://www.bbdsoft.com/ )
+
+    This material is provided "as is", with absolutely no warranty expressed
+    or implied. Any use is at your own risk.
+
+    Permission to use or copy this software for any purpose is hereby granted 
+    without fee, provided the above notices are retained on all copies.
+    Permission to modify the code and to distribute modified code is granted,
+    provided the above notices are retained, and a notice that the code was
+    modified is included with the above copyright notice.
+
+    The author of this program may be contacted at developers at bbdsoft.com
+
+leakTracer:
+
+    Authors:
+       Erwin S. Andreasen <erwin at andreasen.org>
+       Henner Zeller <foobar at to.com>
+
+    This program is Public Domain

Added: packages/trunk/gravitation/debian/docs
===================================================================
--- packages/trunk/gravitation/debian/docs	                        (rev 0)
+++ packages/trunk/gravitation/debian/docs	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1 @@
+game5/documentation/toDo.txt

Added: packages/trunk/gravitation/debian/gravitation.6
===================================================================
--- packages/trunk/gravitation/debian/gravitation.6	                        (rev 0)
+++ packages/trunk/gravitation/debian/gravitation.6	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,13 @@
+.\" Placed in the public domain by Paul Wise <pabs at debian.org>
+.TH "gravitation" "6" "March 2008" "" "Games"
+.SH "NAME"
+gravitation \- 
+.SH "SYNOPSIS"
+.B gravitation
+.SH "DESCRIPTION"
+gravitation is a video game written by Jason Rohrer about 
+.PP 
+.SH "USAGE"
+.PP 
+.SH "SEE ALSO"
+FIXME: write this manual page

Added: packages/trunk/gravitation/debian/gravitation.desktop
===================================================================
--- packages/trunk/gravitation/debian/gravitation.desktop	                        (rev 0)
+++ packages/trunk/gravitation/debian/gravitation.desktop	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=gravitation
+GenericName=
+Comment=
+Icon=gravitation
+Exec=gravitation
+Terminal=false
+Categories=Game;AdventureGame;

Added: packages/trunk/gravitation/debian/gravitation.xpm
===================================================================
--- packages/trunk/gravitation/debian/gravitation.xpm	                        (rev 0)
+++ packages/trunk/gravitation/debian/gravitation.xpm	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,44 @@
+/* XPM */
+/* Converted from game5/build/win32/iconSource.png */
+static char *xpm__[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 5 1",
+"  c #6D6D6D6D6D6D",
+". c #B6B600000000",
+"X c red",
+"o c #FFFF6D6D6D6D",
+"O c gray100",
+/* pixels */
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"        oooooooooooooooo        ",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXOOOOOOOOoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"........XXXXXXXXXXXXXXXXoooooooo",
+"        ................        ",
+"        ................        ",
+"        ................        ",
+"        ................        ",
+"        ................        ",
+"        ................        ",
+"        ................        ",
+"        ................        "
+};

Added: packages/trunk/gravitation/debian/install
===================================================================
--- packages/trunk/gravitation/debian/install	                        (rev 0)
+++ packages/trunk/gravitation/debian/install	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,6 @@
+game5/gameSource/gravitation usr/games
+game5/gameSource/graphics usr/share/games/gravitation
+game5/gameSource/music usr/share/games/gravitation
+game5/gameSource/settings/* etc/gravitation
+debian/*.xpm usr/share/pixmaps
+debian/*.desktop usr/share/applications

Added: packages/trunk/gravitation/debian/menu
===================================================================
--- packages/trunk/gravitation/debian/menu	                        (rev 0)
+++ packages/trunk/gravitation/debian/menu	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,3 @@
+?package(gravitation):needs="X11" section="Games/Adventure"\
+  title="Gravitation" command="/usr/games/gravitation" \
+  icon="/usr/share/pixmaps/gravitation.xpm"

Added: packages/trunk/gravitation/debian/rules
===================================================================
--- packages/trunk/gravitation/debian/rules	                        (rev 0)
+++ packages/trunk/gravitation/debian/rules	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,88 @@
+#!/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
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
+	chmod u+x game5/gameSource/configure
+	cd game5/gameSource && platformSelection=1 ./configure
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(MAKE) -C game5/gameSource CFLAGS="$(CFLAGS) -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"`
+	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
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs game5/documentation/changeLog.txt
+	dh_installdocs
+	dh_install
+	dh_installmenu
+	dh_installman debian/gravitation.6
+	dh_desktop
+	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
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source


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

Added: packages/trunk/gravitation/debian/watch
===================================================================
--- packages/trunk/gravitation/debian/watch	                        (rev 0)
+++ packages/trunk/gravitation/debian/watch	2008-03-19 11:05:01 UTC (rev 6213)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/hcsoftware/Gravitation_v(.*)_UnixSource\.tar\.gz




More information about the Pkg-games-commits mailing list