r9453 - in packages/trunk: . primrose primrose/debian

Paul Wise pabs at alioth.debian.org
Tue Apr 7 06:34:41 UTC 2009


Author: pabs
Date: 2009-04-07 06:34:41 +0000 (Tue, 07 Apr 2009)
New Revision: 9453

Added:
   packages/trunk/primrose/
   packages/trunk/primrose/debian/
   packages/trunk/primrose/debian/README.Debian
   packages/trunk/primrose/debian/README.source
   packages/trunk/primrose/debian/TODO
   packages/trunk/primrose/debian/changelog
   packages/trunk/primrose/debian/compat
   packages/trunk/primrose/debian/control
   packages/trunk/primrose/debian/copyright
   packages/trunk/primrose/debian/docs
   packages/trunk/primrose/debian/install
   packages/trunk/primrose/debian/menu
   packages/trunk/primrose/debian/primrose.6
   packages/trunk/primrose/debian/primrose.desktop
   packages/trunk/primrose/debian/primrose.xpm
   packages/trunk/primrose/debian/rules
   packages/trunk/primrose/debian/watch
Log:
add skeleton packaging for primrose

Added: packages/trunk/primrose/debian/README.Debian
===================================================================
--- packages/trunk/primrose/debian/README.Debian	                        (rev 0)
+++ packages/trunk/primrose/debian/README.Debian	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,7 @@
+primrose 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/primrose/debian/README.source
===================================================================
--- packages/trunk/primrose/debian/README.source	                        (rev 0)
+++ packages/trunk/primrose/debian/README.source	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,2 @@
+This package uses quilt for patch management, for more information see
+the file /usr/share/doc/quilt/README.source in the quilt package.

Added: packages/trunk/primrose/debian/TODO
===================================================================
--- packages/trunk/primrose/debian/TODO	                        (rev 0)
+++ packages/trunk/primrose/debian/TODO	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1 @@
+Patch it to use ~/.primrose

Added: packages/trunk/primrose/debian/changelog
===================================================================
--- packages/trunk/primrose/debian/changelog	                        (rev 0)
+++ packages/trunk/primrose/debian/changelog	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,5 @@
+primrose (5+dfsg1-1) unstable; urgency=low
+
+  * Initial release (Closes: #522753)
+
+ -- Paul Wise <pabs at debian.org>  Mon, 06 Apr 2009 19:26:56 +0800

Added: packages/trunk/primrose/debian/compat
===================================================================
--- packages/trunk/primrose/debian/compat	                        (rev 0)
+++ packages/trunk/primrose/debian/compat	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1 @@
+7

Added: packages/trunk/primrose/debian/control
===================================================================
--- packages/trunk/primrose/debian/control	                        (rev 0)
+++ packages/trunk/primrose/debian/control	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,16 @@
+Source: primrose
+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 (>= 7), quilt, libsdl1.2-dev
+Standards-Version: 3.8.1
+Homepage: http://primrose.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/primrose/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/primrose/?op=log
+
+Package: primrose
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: compelling tile-placement puzzle game
+ Primrose is a puzzle game by Jason Rohrer.

Added: packages/trunk/primrose/debian/copyright
===================================================================
--- packages/trunk/primrose/debian/copyright	                        (rev 0)
+++ packages/trunk/primrose/debian/copyright	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,85 @@
+This package was debianized by Paul Wise <pabs at debian.org> on 2008-03-19
+
+It was downloaded from http://primrose.sourceforge.net/download.php
+
+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/primrose/debian/install
===================================================================
--- packages/trunk/primrose/debian/install	                        (rev 0)
+++ packages/trunk/primrose/debian/install	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,4 @@
+tilePlacementGames/game1/gameSource/primrose usr/games
+tilePlacementGames/game1/gameSource/graphics usr/share/games/primrose
+debian/*.xpm usr/share/pixmaps
+debian/*.desktop usr/share/applications

Added: packages/trunk/primrose/debian/menu
===================================================================
--- packages/trunk/primrose/debian/menu	                        (rev 0)
+++ packages/trunk/primrose/debian/menu	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,6 @@
+?package(primrose):needs="X11" \
+  section="Games/Puzzles"\
+  title="Primrose" \
+  description="Compelling tile-placement puzzle game" \
+  command="/usr/games/primrose" \
+  icon="/usr/share/pixmaps/primrose.xpm"

Added: packages/trunk/primrose/debian/primrose.6
===================================================================
--- packages/trunk/primrose/debian/primrose.6	                        (rev 0)
+++ packages/trunk/primrose/debian/primrose.6	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,21 @@
+.\" Placed in the public domain by Paul Wise <pabs at debian.org>
+.\" Forwarded to 
+.TH "primrose" "6" "March 2008" "" "Games"
+.SH "NAME"
+primrose \- a 
+.SH "SYNOPSIS"
+.B primrose
+.SH "DESCRIPTION"
+Primrose is a video game written by Jason Rohrer 
+.PP
+Unlike his previous work, primrose is an not art game.
+.PP
+.PP
+.PP
+.SH "USAGE"
+Primrose has no command-line options.
+.PP
+.SH "SEE ALSO"
+The website and description: http://primrose.sourceforge.net/
+.PP
+An interview with the creator: http://pc.ign.com/articles/955/955949p1.html

Added: packages/trunk/primrose/debian/primrose.desktop
===================================================================
--- packages/trunk/primrose/debian/primrose.desktop	                        (rev 0)
+++ packages/trunk/primrose/debian/primrose.desktop	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,9 @@
+# From http://aur.archlinux.org/packages/primrose/primrose/primrose.desktop
+# Forwarded to http://sf.net/support/tracker.php?aid=2672210
+[Desktop Entry]
+Name=Primrose
+Exec=primrose
+Icon=primrose
+Type=Application
+Comment=Captivating tile-clearing puzzle game
+Categories=Game;LogicGame;

Added: packages/trunk/primrose/debian/rules
===================================================================
--- packages/trunk/primrose/debian/rules	                        (rev 0)
+++ packages/trunk/primrose/debian/rules	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+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: $(QUILT_STAMPFN)
+	dh_testdir
+	chmod u+x tilePlacementGames/game1/configure
+	cd tilePlacementGames/game1 && platformSelection=1 ./configure
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(MAKE) -C tilePlacementGames/game1/gameSource PLATFORM_COMPILE_FLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/primrose\\\" -DDATADIR=\\\"/usr/share/games/primrose/\\\""
+	mv tilePlacementGames/game1/gameSource/primrose tilePlacementGames/game1/gameSource/primrose
+	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 tilePlacementGames/game1/gameSource/primrose
+	rm -f tilePlacementGames/game1/gameSource/primrose
+	rm -f tilePlacementGames/game1/gameSource/Makefile.minorGems_dependencies
+	rm -f tilePlacementGames/game1/gameSource/Makefile.dependencies.temp
+	rm -f tilePlacementGames/game1/gameSource/Makefile.dependencies
+	rm -f tilePlacementGames/game1/gameSource/Makefile
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs tilePlacementGames/game1/documentation/changeLog.txt
+	dh_installdocs
+	dh_install
+	dh_installmenu
+	dh_installman debian/primrose.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/primrose/Primrose_v5_UnixSource.tar.gz
+	tar xvfz Primrose_v5_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 Primrose_v5_UnixSource && rm -rf \
+		tilePlacementGames/game1/build/win32/SDL.dll \
+                minorGems/util/development/fortify
+	mv Primrose_v5_UnixSource primrose-5+dfsg1.orig
+	tar cvfz ../primrose_5+dfsg1.orig.tar.gz primrose-5+dfsg1.orig
+	rm -rf Primrose_v5_UnixSource.tar.gz primrose-5+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/primrose/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/trunk/primrose/debian/watch
===================================================================
--- packages/trunk/primrose/debian/watch	                        (rev 0)
+++ packages/trunk/primrose/debian/watch	2009-04-07 06:34:41 UTC (rev 9453)
@@ -0,0 +1,2 @@
+version=3
+opts=dversionmangle=s/\+dfsg[0-9]*// http://sf.net/primrose/Primrose_v(.*)_UnixSource\.tar\.gz




More information about the Pkg-games-commits mailing list