r6318 - in packages/trunk/passage: . debian debian/patches
Paul Wise
pabs at alioth.debian.org
Wed Mar 26 08:53:57 UTC 2008
Author: pabs
Date: 2008-03-26 08:53:57 +0000 (Wed, 26 Mar 2008)
New Revision: 6318
Added:
packages/trunk/passage/debian/
packages/trunk/passage/debian/README.Debian
packages/trunk/passage/debian/TODO
packages/trunk/passage/debian/changelog
packages/trunk/passage/debian/compat
packages/trunk/passage/debian/control
packages/trunk/passage/debian/copyright
packages/trunk/passage/debian/install
packages/trunk/passage/debian/menu
packages/trunk/passage/debian/passage.6
packages/trunk/passage/debian/passage.desktop
packages/trunk/passage/debian/passage.xpm
packages/trunk/passage/debian/patches/
packages/trunk/passage/debian/patches/abs_path.patch
packages/trunk/passage/debian/patches/series
packages/trunk/passage/debian/rules
packages/trunk/passage/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: packages/trunk/passage/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/trunk/passage/debian/README.Debian
===================================================================
--- packages/trunk/passage/debian/README.Debian (rev 0)
+++ packages/trunk/passage/debian/README.Debian 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,7 @@
+passage 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/passage/debian/TODO
===================================================================
--- packages/trunk/passage/debian/TODO (rev 0)
+++ packages/trunk/passage/debian/TODO 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1 @@
+Patch it to use ~/.passage
Added: packages/trunk/passage/debian/changelog
===================================================================
--- packages/trunk/passage/debian/changelog (rev 0)
+++ packages/trunk/passage/debian/changelog 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,5 @@
+passage (3+dfsg1-1) unstable; urgency=low
+
+ * Initial release (Closes: #471585)
+
+ -- Paul Wise <pabs at debian.org> Wed, 26 Mar 2008 14:02:42 +0900
Added: packages/trunk/passage/debian/compat
===================================================================
--- packages/trunk/passage/debian/compat (rev 0)
+++ packages/trunk/passage/debian/compat 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1 @@
+5
Added: packages/trunk/passage/debian/control
===================================================================
--- packages/trunk/passage/debian/control (rev 0)
+++ packages/trunk/passage/debian/control 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,16 @@
+Source: passage
+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/passage/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/passage/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/passage/?op=log
+
+Package: passage
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: FIXME
+ FIXME
Added: packages/trunk/passage/debian/copyright
===================================================================
--- packages/trunk/passage/debian/copyright (rev 0)
+++ packages/trunk/passage/debian/copyright 2008-03-26 08:53:57 UTC (rev 6318)
@@ -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/passage/
+
+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/passage/debian/install
===================================================================
--- packages/trunk/passage/debian/install (rev 0)
+++ packages/trunk/passage/debian/install 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,6 @@
+gamma256/gameSource/passage usr/games
+gamma256/gameSource/graphics usr/share/games/passage
+gamma256/gameSource/music usr/share/games/passage
+gamma256/gameSource/settings/* etc/passage
+debian/*.xpm usr/share/pixmaps
+debian/*.desktop usr/share/applications
Added: packages/trunk/passage/debian/menu
===================================================================
--- packages/trunk/passage/debian/menu (rev 0)
+++ packages/trunk/passage/debian/menu 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,3 @@
+?package(passage):needs="X11" section="Games/Adventure"\
+ title="Passage" command="/usr/games/passage" \
+ icon="/usr/share/pixmaps/passage.xpm"
Added: packages/trunk/passage/debian/passage.6
===================================================================
--- packages/trunk/passage/debian/passage.6 (rev 0)
+++ packages/trunk/passage/debian/passage.6 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,20 @@
+.\" Placed in the public domain by Paul Wise <pabs at debian.org>
+.TH "passage" "6" "March 2008" "" "Games"
+.SH "NAME"
+passage \- FIXME
+.SH "SYNOPSIS"
+.B passage
+.SH "DESCRIPTION"
+Passage is a video game written by Jason Rohrer about FIXME
+.PP
+FIXME
+.SH "USAGE"
+Passage has no command-line options.
+.PP
+The left and right arrow keys move left and right.
+.PP
+FIXME
+.SH "SEE ALSO"
+The website and discussion: http://hcsoftware.sourceforge.net/passage/
+.PP
+The game creators statement: http://hcsoftware.sourceforge.net/passage/statement.html
Added: packages/trunk/passage/debian/passage.desktop
===================================================================
--- packages/trunk/passage/debian/passage.desktop (rev 0)
+++ packages/trunk/passage/debian/passage.desktop 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Passage
+Icon=passage
+Exec=passage
+Terminal=false
+Categories=Game;AdventureGame;
Added: packages/trunk/passage/debian/passage.xpm
===================================================================
--- packages/trunk/passage/debian/passage.xpm (rev 0)
+++ packages/trunk/passage/debian/passage.xpm 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,48 @@
+/* XPM */
+/* Converted from gamma256/build/win32/iconSource.png */
+static char *passage[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 9 1",
+" c gray14",
+". c #494949",
+"X c #6D6D6D",
+"o c #008700",
+"O c yellow",
+"+ c #343482",
+"@ c #4949B6",
+"# c blue",
+"$ c #FFB692",
+/* pixels */
+"XXXXXXXXXXXXOOOOOOOOOOOOXXXXXXXX",
+"XXXXXXXXXXXXOOOOOOOOOOOOXXXXXXXX",
+"XXXXXXXXXXXXOOOOOOOOOOOOXXXXXXXX",
+"XXXXXXXXXXXXOOOOOOOOOOOOXXXXXXXX",
+"XXXXXXXXOOOOOOOO####$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO####$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO####$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO####$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO$$$$$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO$$$$$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO$$$$$$$$XXXXXXXX",
+"XXXXXXXXOOOOOOOO$$$$$$$$XXXXXXXX",
+"XXXXXXXXXXXXooooooooXXXXXXXXXXXX",
+"XXXXXXXXXXXXooooooooXXXXXXXXXXXX",
+"XXXXXXXXXXXXooooooooXXXXXXXXXXXX",
+"XXXXXXXXXXXXooooooooXXXXXXXXXXXX",
+"XXXXXXXX$$$$oooooooo$$$$XXXXXXXX",
+"XXXXXXXX$$$$oooooooo$$$$XXXXXXXX",
+"XXXXXXXX$$$$oooooooo$$$$XXXXXXXX",
+"XXXXXXXX$$$$oooooooo$$$$XXXXXXXX",
+"XXXXXXXXXXXX@@@@@@@@XXXXXXXXXXXX",
+"XXXXXXXXXXXX@@@@@@@@XXXXXXXXXXXX",
+"XXXXXXXXXXXX@@@@@@@@XXXXXXXXXXXX",
+"XXXXXXXXXXXX@@@@@@@@XXXXXXXXXXXX",
+"XXXXXXXX@@@@++++++++@@@@XXXXXXXX",
+"XXXXXXXX@@@@++++++++@@@@XXXXXXXX",
+"XXXXXXXX@@@@++++++++@@@@XXXXXXXX",
+"XXXXXXXX@@@@++++++++@@@@XXXXXXXX",
+"XXXXXXXX.... XXXX ....XXXX",
+"XXXXXXXX.... XXXX ....XXXX",
+"XXXXXXXX.... XXXX ....XXXX",
+"XXXXXXXX.... XXXX ....XXXX"
+};
Added: packages/trunk/passage/debian/patches/abs_path.patch
===================================================================
--- packages/trunk/passage/debian/patches/abs_path.patch (rev 0)
+++ packages/trunk/passage/debian/patches/abs_path.patch 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,37 @@
+abs_path.patch
+Paul Wise <pabs at debian.org>
+Placed in the Public Domain
+Use absolute paths to the installed data files.
+--- gamma256/gameSource/common.cpp.orig
++++ gamma256/gameSource/common.cpp
+@@ -10,7 +10,7 @@
+
+
+ Image *readTGA( char *inFileName ) {
+- return readTGA( "graphics", inFileName );
++ return readTGA( DATADIR"graphics", inFileName );
+ }
+
+
+--- gamma256/gameSource/musicPlayer.cpp.orig
++++ gamma256/gameSource/musicPlayer.cpp
+@@ -393,7 +393,7 @@
+
+ void loadMusicImage( char *inTGAFileName ) {
+
+- musicImage = readTGA( "music", inTGAFileName );
++ musicImage = readTGA( DATADIR"music", inTGAFileName );
+
+ w = musicImage->getWidth();
+ h = musicImage->getHeight();
+--- minorGems/util/SettingsManager.cpp.orig
++++ minorGems/util/SettingsManager.cpp
+@@ -260,7 +260,7 @@
+
+
+ SettingsManagerStaticMembers::SettingsManagerStaticMembers()
+- : mDirectoryName( stringDuplicate( "settings" ) ) {
++ : mDirectoryName( stringDuplicate( ETCDIR ) ) {
+
+ }
+
Added: packages/trunk/passage/debian/patches/series
===================================================================
--- packages/trunk/passage/debian/patches/series (rev 0)
+++ packages/trunk/passage/debian/patches/series 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1 @@
+abs_path.patch -p0
Added: packages/trunk/passage/debian/rules
===================================================================
--- packages/trunk/passage/debian/rules (rev 0)
+++ packages/trunk/passage/debian/rules 2008-03-26 08:53:57 UTC (rev 6318)
@@ -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 gamma256/gameSource/configure
+ cd gamma256/gameSource && platformSelection=1 ./configure
+ touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE) -C gamma256/gameSource PLATFORM_COMPILE_FLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/passage\\\" -DDATADIR=\\\"/usr/share/games/passage/\\\""
+ mv gamma256/gameSource/Passage gamma256/gameSource/passage
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ [ ! -f Makefile ] || $(MAKE) clean
+ rm -f `find gamma256 -name "*.o"`
+ rm -f `find minorGems -name "*.o"`
+ rm -f gamma256/gameSource/Passage
+ rm -f gamma256/gameSource/passage
+ rm -f gamma256/gameSource/Makefile.minorGems_dependencies
+ rm -f gamma256/gameSource/Makefile.dependencies.temp
+ rm -f gamma256/gameSource/Makefile.dependencies
+ rm -f gamma256/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 gamma256/documentation/changeLog.txt
+ dh_installdocs
+ dh_install
+ dh_installmenu
+ dh_installman debian/passage.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/Passage_v3_UnixSource.tar.gz
+ tar xvfz Passage_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 Passage_v3_UnixSource && rm -rf \
+ gamma256/build/win32/SDL.dll \
+ minorGems/util/development/fortify
+ mv Passage_v3_UnixSource passage-3+dfsg1.orig
+ tar cvfz ../passage_3+dfsg1.orig.tar.gz passage-3+dfsg1.orig
+ rm -rf Passage_v3_UnixSource.tar.gz passage-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/passage/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/passage/debian/watch
===================================================================
--- packages/trunk/passage/debian/watch (rev 0)
+++ packages/trunk/passage/debian/watch 2008-03-26 08:53:57 UTC (rev 6318)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/hcsoftware/Passage_v(.*)_UnixSource\.tar\.gz
More information about the Pkg-games-commits
mailing list