r4926 - in packages/trunk: . dd2 dd2/debian

Barry deFreese bddebian-guest at alioth.debian.org
Thu Dec 13 20:50:09 UTC 2007


Author: bddebian-guest
Date: 2007-12-13 20:50:09 +0000 (Thu, 13 Dec 2007)
New Revision: 4926

Added:
   packages/trunk/dd2/
   packages/trunk/dd2/debian/
   packages/trunk/dd2/debian/changelog
   packages/trunk/dd2/debian/compat
   packages/trunk/dd2/debian/control
   packages/trunk/dd2/debian/copyright
   packages/trunk/dd2/debian/dirs
   packages/trunk/dd2/debian/docs
   packages/trunk/dd2/debian/dodgindiamond2.6
   packages/trunk/dd2/debian/manpages
   packages/trunk/dd2/debian/menu
   packages/trunk/dd2/debian/postinst
   packages/trunk/dd2/debian/postrm
   packages/trunk/dd2/debian/rules
   packages/trunk/dd2/debian/watch
Log:
Inject new package: dd2


Added: packages/trunk/dd2/debian/changelog
===================================================================
--- packages/trunk/dd2/debian/changelog	                        (rev 0)
+++ packages/trunk/dd2/debian/changelog	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,33 @@
+dd2 (0.2.1-4) UNRELEASED; urgency=low
+
+  [ Barry deFreese ]
+  * New maintainer (Closes: #453751)
+    + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+  * Add myself to uploaders
+  * Make distclean not ignore errors
+  * Add watch file
+  * Bump debhelper build-dep and compat to 5
+  * Bump Standards Version to 3.7.3
+
+ -- Barry deFreese <bddebian at comcast.net>  Thu, 13 Dec 2007 10:34:46 -0500
+
+dd2 (0.2.1-3) unstable; urgency=low
+
+  * Orphaning package, setting maintainer to the Debian QA Group.
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Wed, 05 Dec 2007 16:08:58 +0100
+
+dd2 (0.2.1-2) unstable; urgency=low
+
+  * Fix documentation in README. (Closes: #364205)
+  * Add keyboard controls to manual page. (Closes: #364207)
+  * I ARE USING TEH AM_MAINTAINER_MODE!!1!
+    http://sam.zoy.org/lectures/20050910-debian/img21.html
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu>  Sun, 23 Apr 2006 14:52:00 +0200
+
+dd2 (0.2.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #357415)
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu>  Wed, 15 Mar 2006 07:39:02 +0100

Added: packages/trunk/dd2/debian/compat
===================================================================
--- packages/trunk/dd2/debian/compat	                        (rev 0)
+++ packages/trunk/dd2/debian/compat	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1 @@
+5

Added: packages/trunk/dd2/debian/control
===================================================================
--- packages/trunk/dd2/debian/control	                        (rev 0)
+++ packages/trunk/dd2/debian/control	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,18 @@
+Source: dd2
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bddebian at comcast.net>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, libsdl1.2-dev, libsdl-gfx1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev
+Standards-Version: 3.7.3
+Homepage: http://www.usebox.net/jjm/dd2/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/dd2/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/dd2/?op=log
+
+Package: dodgindiamond2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Little shoot-'em-up arcade game for one or two players
+ This aims to be an old school arcade game with low resolution graphics, 
+ top-down scrolling action, energy based gameplay, and different weapons
+ with several levels of power.

Added: packages/trunk/dd2/debian/copyright
===================================================================
--- packages/trunk/dd2/debian/copyright	                        (rev 0)
+++ packages/trunk/dd2/debian/copyright	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,27 @@
+This package was debianized by Gürkan Sengün <gurkan at linuks.mine.nu> on
+Wed, 15 Mar 2006 07:39:02 +0100.
+
+Package maintenance adopted by Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
+on Thu, 13 Dec 2007
+
+It was downloaded from http://www.usebox.net/jjm/dd2/
+
+Copyright Holder: Juan J. Martínez <jjm at usebox.net>
+
+License:
+Released under the GNU GPL.
+Please see /usr/share/common-licenses/GPL for the full license.
+
+    This program 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 program 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 program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA

Added: packages/trunk/dd2/debian/dirs
===================================================================
--- packages/trunk/dd2/debian/dirs	                        (rev 0)
+++ packages/trunk/dd2/debian/dirs	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,3 @@
+usr/games
+usr/share/games/dodgindiamond2
+var/games/dodgindiamond2

Added: packages/trunk/dd2/debian/docs
===================================================================
--- packages/trunk/dd2/debian/docs	                        (rev 0)
+++ packages/trunk/dd2/debian/docs	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO

Added: packages/trunk/dd2/debian/dodgindiamond2.6
===================================================================
--- packages/trunk/dd2/debian/dodgindiamond2.6	                        (rev 0)
+++ packages/trunk/dd2/debian/dodgindiamond2.6	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,41 @@
+.TH DODGINDIAMOND2 6 "March 15, 2006"
+.SH NAME
+dodgindiamond2 \- little arcade game shooter for one or two players
+.SH SYNOPSIS
+.B dodgindiamond2
+.SH DESCRIPTION
+This manual page documents briefly the
+.B dodgindiamond2
+command.
+.PP
+\fBdodgindiamond2\fP aims to be an old school arcade game with low
+resolution graphics, top-down scrolling action, energy based gameplay,
+and different weapons with several levels of power.
+.SH USAGE
+.IP "Player 1 (Red)"
+Left - Left
+.br
+Right - Right
+.br
+Up - Forward
+.br
+Down - Back
+.br
+m - Fire
+.br
+.IP "Player 2 (Blue)"
+Left - Left
+.br
+Right - Right
+.br
+Up - Forward
+.br
+Down - Back
+.br
+Ctrl - Fire
+.br
+.SH AUTHOR
+dodgindiamond2 was written by Juan J. Mart\['i]nez.
+.PP
+This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan at linuks.mine.nu>,
+for the Debian project (but may be used by others).

Added: packages/trunk/dd2/debian/manpages
===================================================================
--- packages/trunk/dd2/debian/manpages	                        (rev 0)
+++ packages/trunk/dd2/debian/manpages	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1 @@
+debian/dodgindiamond2.6

Added: packages/trunk/dd2/debian/menu
===================================================================
--- packages/trunk/dd2/debian/menu	                        (rev 0)
+++ packages/trunk/dd2/debian/menu	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,2 @@
+?package(dodgindiamond2):needs="X11" section="Games/Arcade"\
+  title="Dodgin' Diamond 2" command="/usr/games/dodgindiamond2"

Added: packages/trunk/dd2/debian/postinst
===================================================================
--- packages/trunk/dd2/debian/postinst	                        (rev 0)
+++ packages/trunk/dd2/debian/postinst	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+SCOREDIR=/var/games/dodgindiamond2
+
+case "$1" in
+  configure)
+    if ! dpkg-statoverride --list /usr/games/dodgindiamond2 >/dev/null; then
+      dpkg-statoverride --update --add root games 2755 /usr/games/dodgindiamond2
+    fi
+    # Fix permissions
+    for x in hiscore; do
+      test -f $SCOREDIR/$x || cat > $SCOREDIR/$x << EOF
+nobody:10:10000
+gurkan:9:9058
+nobody:8:8000
+nobody:7:7000
+moni:6:6210
+nobody:5:5000
+nobody:4:4000
+nobody:3:3000
+nobody:2:2000
+nobody:1:1000
+EOF
+      chown root:games $SCOREDIR/$x
+      chmod 0664 $SCOREDIR/$x
+    done
+    ;;
+  abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+  *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    exit 1
+    ;;
+esac
+
+#DEBHELPER#

Added: packages/trunk/dd2/debian/postrm
===================================================================
--- packages/trunk/dd2/debian/postrm	                        (rev 0)
+++ packages/trunk/dd2/debian/postrm	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+if test "$1" = "purge"; then
+    rm -f /var/games/dodgindiamond2/hiscore
+    rmdir --ignore-fail-on-non-empty /var/games/dodgindiamond2
+fi
+		
+#DEBHELPER#

Added: packages/trunk/dd2/debian/rules
===================================================================
--- packages/trunk/dd2/debian/rules	                        (rev 0)
+++ packages/trunk/dd2/debian/rules	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --enable-alternate-fire-key --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --bindir=\$${prefix}/games --infodir=\$${prefix}/share/info --datadir=\$${prefix}/share/games
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/dodgindiamond2
+	mv $(CURDIR)/debian/dodgindiamond2/usr/games/dd2 $(CURDIR)/debian/dodgindiamond2/usr/games/dodgindiamond2
+	find $(CURDIR)/debian/dodgindiamond2/ -name "COPYING" -exec rm -rf {} \;
+	chmod 2755 $(CURDIR)/debian/dodgindiamond2/usr/games/dodgindiamond2
+	chgrp games $(CURDIR)/debian/dodgindiamond2/usr/games/dodgindiamond2
+	chgrp games $(CURDIR)/debian/dodgindiamond2/var/games/dodgindiamond2
+	rm $(CURDIR)/debian/dodgindiamond2/usr/share/games/dodgindiamond2/dd2-hiscore
+#	mv $(CURDIR)/debian/dodgindiamond2/usr/share/games/dodgindiamond2/dd2-hiscore $(CURDIR)/debian/dodgindiamond2/var/games/dodgindiamond2/hiscore
+#	chmod 0664 $(CURDIR)/debian/dodgindiamond2/var/games/dodgindiamond2/hiscore
+#	chgrp games $(CURDIR)/debian/dodgindiamond2/var/games/dodgindiamond2/hiscore
+	rm -rf $(CURDIR)/debian/dodgindiamond2/usr/share/games/doc
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+	dh_installmenu
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms -Xdodgindiamond2
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


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

Added: packages/trunk/dd2/debian/watch
===================================================================
--- packages/trunk/dd2/debian/watch	                        (rev 0)
+++ packages/trunk/dd2/debian/watch	2007-12-13 20:50:09 UTC (rev 4926)
@@ -0,0 +1,6 @@
+version=3
+
+#http://www.usebox.net/jjm/dd2/releases/dd2-([\d.]+)\.tar\.gz
+
+http://www.usebox.net/jjm/dd2/ \
+http://www.usebox.net/jjm/dd2/releases/dd2-([\d.]+)\.tar\.gz




More information about the Pkg-games-commits mailing list