r7211 - in packages/trunk/pegsolitaire: . debian

Barry deFreese bddebian-guest at alioth.debian.org
Fri May 30 19:55:32 UTC 2008


Author: bddebian-guest
Date: 2008-05-30 19:55:32 +0000 (Fri, 30 May 2008)
New Revision: 7211

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


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

Added: packages/trunk/pegsolitaire/debian/changelog
===================================================================
--- packages/trunk/pegsolitaire/debian/changelog	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/changelog	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,8 @@
+pegsolitaire (0.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #11111).
+    + Add .desktop file.
+    + Add simple man page.
+
+ -- Barry deFreese <bddebian at comcast.net>  Thu, 01 May 2008 22:48:08 -0400
+

Added: packages/trunk/pegsolitaire/debian/compat
===================================================================
--- packages/trunk/pegsolitaire/debian/compat	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/compat	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1 @@
+5

Added: packages/trunk/pegsolitaire/debian/control
===================================================================
--- packages/trunk/pegsolitaire/debian/control	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/control	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,14 @@
+Source: pegsolitaire
+Section: games
+Priority: extra
+Maintainer: Barry deFreese <bddebian at comcast.net>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, pkg-config, libgnome2-dev, libxml-parser-perl, libgnomeui-dev, libglade2-dev
+Standards-Version: 3.7.3
+Homepage: http://www.asselstine.com/pegsolitaire/
+
+Package: pegsolitaire
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: An education game similar to Hi-Q
+ The object is to jump pegs until a single peg is left in the 
+ centre of the game board.

Added: packages/trunk/pegsolitaire/debian/copyright
===================================================================
--- packages/trunk/pegsolitaire/debian/copyright	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/copyright	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,33 @@
+This package was debianized by Barry deFreese <bddebian at comcast.net> on
+Thu, 01 May 2008 22:48:08 -0400.
+
+It was downloaded from http://www.asselstine.com/pegsolitaire/
+
+Upstream Author: Ben Asselstine <benasselstine at gmail.com>
+
+Copyright: 
+src/glade-strings.c  Copyright 2007 2008 Ben Asselstine
+src/pegsolitaire.glade:  Copyright 2007 2008 Ben Asselstine
+src/gridframe.h: Copyright 2004 by Callum McKenzie
+src/gridframe.c: Copyright 2004 by Callum McKenzie
+src/preimage.h:   Copyright 2004 Richard Hoelscher
+src/preimage.c:  Copyright 2004 Richard Hoelscher
+
+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 package; if not, write to the Free Software Foundation,
+    Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+The Debian packaging is (C) 2008, Barry deFreese <bdefreese at comcast.net> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/trunk/pegsolitaire/debian/docs
===================================================================
--- packages/trunk/pegsolitaire/debian/docs	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/docs	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,2 @@
+NEWS
+README

Added: packages/trunk/pegsolitaire/debian/menu
===================================================================
--- packages/trunk/pegsolitaire/debian/menu	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/menu	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,2 @@
+?package(pegsolitaire):needs="X11" section="Games/Puzzles"\
+  title="pegsolitaire" command="/usr/games/pegsolitaire"

Added: packages/trunk/pegsolitaire/debian/pegsolitaire.6
===================================================================
--- packages/trunk/pegsolitaire/debian/pegsolitaire.6	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/pegsolitaire.6	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,69 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PEGSOLITAIRE "6" "May 2008" "pegsolitaire 0.0.4" "User Commands"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+pegsolitaire \- manual page for pegsolitaire 0.0.4
+.SH DESCRIPTION
+This manual page was written for the Debian/Ubuntu distributions
+because the original program does not include them.
+Please see the in-game help menu instead.
+.PP
+\fBpegsolitaire\fP is an educational puzzle game.
+
+The goal of the game is to remove pegs from the board leaving a
+single peg in the centre hole.  Pegs are removed from the board
+by making "jumps".  You can jump over a peg with another peg
+horizontally or vertically (not diagonally!).
+When you jump over a peg, it is removed from the board.
+Multiple jumps with one peg are allowed.
+.SS "Usage:"
+.IP
+pegsolitaire [OPTION...]
+.SS "Help Options:"
+.TP
+\-?, \fB\-\-help\fR
+Show help options
+.TP
+\fB\-\-help\-all\fR
+Show all help options
+.TP
+\fB\-\-help\-gtk\fR
+Show GTK+ Options
+.TP
+\fB\-\-help\-bonobo\-activation\fR
+Show Bonobo Activation options
+.TP
+\fB\-\-help\-gnome\fR
+Show GNOME options
+.TP
+\fB\-\-help\-gnome\-session\fR
+Show session management options
+.SS "Application Options:"
+.TP
+\fB\-x\fR, \fB\-\-x\fR=\fIX\fR
+X location of window
+.TP
+\fB\-y\fR, \fB\-\-y\fR=\fIY\fR
+Y location of window
+.TP
+\fB\-\-display\fR=\fIDISPLAY\fR
+X display to use
+.SH AUTHOR
+pegsolitaire was written by Ben Asselstine.
+.PP
+This manual page was written by Barry deFreese <bddebian at comcast.net>.
+

Added: packages/trunk/pegsolitaire/debian/pegsolitaire.desktop
===================================================================
--- packages/trunk/pegsolitaire/debian/pegsolitaire.desktop	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/pegsolitaire.desktop	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Peg Solitaire
+GenericName=pegsolitaire
+Comment=Play an educational puzzle game similar to Hi-Q
+Type=Application
+Exec=pegsolitaire
+Icon=pegsolitaire-icon
+Terminal=false
+Categories=Game;LogicGame;

Added: packages/trunk/pegsolitaire/debian/pegsolitaire.install
===================================================================
--- packages/trunk/pegsolitaire/debian/pegsolitaire.install	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/pegsolitaire.install	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,2 @@
+debian/pegsolitaire.desktop usr/share/applications
+src/pixmaps/pegsolitaire-icon.png usr/share/pixmaps/

Added: packages/trunk/pegsolitaire/debian/rules
===================================================================
--- packages/trunk/pegsolitaire/debian/rules	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/rules	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# 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)
+
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+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
+	./configure --host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--bindir=\$${prefix}/games \
+		--datadir=\$${prefix}/share/games \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+	rm -f intltool-extract intltool-merge intltool-update
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/pegsolitaire.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/pegsolitaire install
+
+	# Remove extra license file.
+	rm -f $(CURDIR)/debian/pegsolitaire/usr/share/games/doc/pegsolitaire/COPYING
+
+# 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_desktop
+	dh_installman debian/pegsolitaire.6
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	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/pegsolitaire/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/pegsolitaire/debian/watch
===================================================================
--- packages/trunk/pegsolitaire/debian/watch	                        (rev 0)
+++ packages/trunk/pegsolitaire/debian/watch	2008-05-30 19:55:32 UTC (rev 7211)
@@ -0,0 +1,2 @@
+version=3
+http://www.asselstine.com/pegsolitaire/pegsolitaire-([\d.]+)\.tar\.gz




More information about the Pkg-games-commits mailing list