r4434 - in packages/trunk: . gnome-breakout gnome-breakout/patches
Barry deFreese
bddebian-guest at alioth.debian.org
Fri Oct 19 18:24:19 UTC 2007
Author: bddebian-guest
Date: 2007-10-19 18:24:19 +0000 (Fri, 19 Oct 2007)
New Revision: 4434
Added:
packages/trunk/gnome-breakout/
packages/trunk/gnome-breakout/changelog
packages/trunk/gnome-breakout/compat
packages/trunk/gnome-breakout/control
packages/trunk/gnome-breakout/copyright
packages/trunk/gnome-breakout/dirs
packages/trunk/gnome-breakout/docs
packages/trunk/gnome-breakout/gnome-breakout.6
packages/trunk/gnome-breakout/gnome-breakout.xpm
packages/trunk/gnome-breakout/menu
packages/trunk/gnome-breakout/patches/
packages/trunk/gnome-breakout/patches/00list
packages/trunk/gnome-breakout/patches/01_makefile_fixes.dpatch
packages/trunk/gnome-breakout/patches/02_fixup_desktop.dpatch
packages/trunk/gnome-breakout/patches/03_configure_fixes.dpatch
packages/trunk/gnome-breakout/patches/04_po_config.dpatch
packages/trunk/gnome-breakout/postinst
packages/trunk/gnome-breakout/postrm
packages/trunk/gnome-breakout/rules
packages/trunk/gnome-breakout/watch
Log:
Adopt gnome-breakout for games team
Significant package clean-up
New upstream release
Added: packages/trunk/gnome-breakout/changelog
===================================================================
--- packages/trunk/gnome-breakout/changelog (rev 0)
+++ packages/trunk/gnome-breakout/changelog 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,92 @@
+gnome-breakout (0.5.3-1) unstable; urgency=low
+
+ * New upstream release
+ * New maintainer (Closes: #447220)
+ * Change libgnome-dev build-dep to libgnomeui-dev
+ * Use upstreams sv.po and de.po, may need re-applied
+ * Version debhelper build-dep
+ * Bump debian/compat to 5
+ * Bump standards to 3.7.2
+ * debian/rules: massive cleanup
+ * Add dpatch system and build-dep
+ * 01_makefile_ftbfs.dpatch
+ * Removes -Werror and G*_DISABLE_DEPRECATED
+ * 02_desktop_fixes.dpatch
+ * Fix gnome-breakout.desktop file
+ * 03_configure_fixes.dpatch
+ * Remove deprecated GNOME_COMPILER_WARNINGS(maximum)
+ * 04_po_config.dpatch
+ * Makefile.am use localedir instead of datadir
+ * Add upstream author to manpage and remove references to bar command.
+
+ -- Barry deFreese <bddebian at comcast.net> Wed, 17 Oct 2007 13:24:28 -0400
+
+gnome-breakout (0.5.2-6) unstable; urgency=low
+
+ * QA upload.
+ * FTBFS if built twice in a row (Closes: #424338)
+
+ -- Neil Williams <codehelp at debian.org> Sat, 07 Jul 2007 00:11:43 +0100
+
+gnome-breakout (0.5.2-5) unstable; urgency=low
+
+ * Updated de.po (closes: #313728)
+ * Added sv.po (closes: #346512)
+ * Updated standards version.
+ * Don't install info /usr/X11R6
+ * Fix menu file
+ * Fix desktop file
+
+ -- Tom Cato Amundsen <tca at debian.org> Sat, 14 Jan 2006 13:22:21 +0100
+
+gnome-breakout (0.5.2-4) unstable; urgency=low
+
+ * package description synopsis fix. (lintian said:
+ description-synopsis-might-not-be-phrased-properly)
+ * make menu icon 32x32 and with colors according to cmap.xpm.
+ * debian/rules: add -a option to dh_xxx in binary-arch target
+ * updated to newer policy version.
+ * automatically update config.sub and config.guess and build-depend
+ on autotools-dev.
+
+ -- Tom Cato Amundsen <tca at debian.org> Fri, 7 Mar 2003 14:07:34 +0100
+
+gnome-breakout (0.5.2-3) unstable; urgency=low
+
+ * Fix .desktop file to work with GNOME2.
+
+ -- Tom Cato Amundsen <tca at debian.org> Mon, 23 Dec 2002 22:38:26 +0100
+
+gnome-breakout (0.5.2-2) unstable; urgency=low
+
+ * Added a little more descriptive description. (closes: #129145)
+ Thanks Matt Taggart.
+
+ -- Tom Cato Amundsen <tca at debian.org> Fri, 18 Jan 2002 22:51:21 +0100
+
+gnome-breakout (0.5.2-1) unstable; urgency=low
+
+ * Create /var/games if it does not exist. (closes: #113601)
+ * New upstream release
+
+ -- Tom Cato Amundsen <tca at debian.org> Wed, 26 Sep 2001 22:22:19 +0200
+
+gnome-breakout (0.5.1-3) unstable; urgency=low
+
+ * Move high score file to /var/games. (closes: #108265)
+
+ -- Tom Cato Amundsen <tca at debian.org> Fri, 10 Aug 2001 18:16:53 +0200
+
+gnome-breakout (0.5.1-2) unstable; urgency=low
+
+ * Added icon to the debian menu
+ * Added build-depends: libgnome-dev (closes: #86613)
+
+ -- Tom Cato Amundsen <tca at debian.org> Tue, 20 Feb 2001 23:51:15 +0100
+
+gnome-breakout (0.5.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Tom Cato Amundsen <tca at debian.org> Sun, 11 Feb 2001 20:48:59 +0100
+
Added: packages/trunk/gnome-breakout/compat
===================================================================
--- packages/trunk/gnome-breakout/compat (rev 0)
+++ packages/trunk/gnome-breakout/compat 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1 @@
+5
Added: packages/trunk/gnome-breakout/control
===================================================================
--- packages/trunk/gnome-breakout/control (rev 0)
+++ packages/trunk/gnome-breakout/control 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,16 @@
+Source: gnome-breakout
+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), libgnomeui-dev, autotools-dev, dpatch, libglib2.0-dev, autoconf, automake1.9
+Standards-Version: 3.7.2
+
+Package: gnome-breakout
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Clone of the classic game Breakout, written for GNOME
+ A clone of the classic game "Breakout". Control a paddle at the
+ bottom of the playfield and bounce a ball against bricks at the
+ top to destroy them.
+
Added: packages/trunk/gnome-breakout/copyright
===================================================================
--- packages/trunk/gnome-breakout/copyright (rev 0)
+++ packages/trunk/gnome-breakout/copyright 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,16 @@
+This package was debianized by Tom Cato Amundsen <tca at debian.org> on
+Thu, 8 Feb 2001 14:10:33 +0100.
+
+It was downloaded from http://www.senet.com.au/~alcaron/
+
+The actual maintainer is the Debian Games Team:
+http://wiki.debian.org/Games/Development
+
+Upstream Authors: Michael Person <alcaron at senet.com.au>
+
+Copyright: Michael Person <alcaron at senet.com.au>
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text if the GNU General Public
+License can be found in /usr/share/common-licenses/GPL
Added: packages/trunk/gnome-breakout/dirs
===================================================================
--- packages/trunk/gnome-breakout/dirs (rev 0)
+++ packages/trunk/gnome-breakout/dirs 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1 @@
+usr/share/applications
Added: packages/trunk/gnome-breakout/docs
===================================================================
--- packages/trunk/gnome-breakout/docs (rev 0)
+++ packages/trunk/gnome-breakout/docs 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,4 @@
+BUGS
+NEWS
+README
+TODO
Added: packages/trunk/gnome-breakout/gnome-breakout.6
===================================================================
--- packages/trunk/gnome-breakout/gnome-breakout.6 (rev 0)
+++ packages/trunk/gnome-breakout/gnome-breakout.6 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,158 @@
+.\" 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 GNOME-BREAKOUT 6 "October 19, 2007"
+.\" 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
+gnome-breakout \- Addictive breakout game for GNOME
+.SH SYNOPSIS
+.B gnome-breakout
+.RI [ options ]
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B gnome-breakout
+command.
+
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page. It does
+not have any documentation at all.
+
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBgnome-breakout\fP is a clone of the classic Breakout game.
+
+Control a paddle at the bottom of the playfield and bounce a ball
+against bricks at the top to destroy them. When all of the bricks
+are destroyed you advance to the next level.
+
+.SH OPTIONS
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+
+.TP
+\fB\-\-load\-modules\fR=\fIMODULE1\fR,MODULE2,...
+Dynamic modules to load
+.PP
+Help options
+.TP
+\-?, \fB\-\-help\fR
+Show this help message
+.TP
+\fB\-\-usage\fR
+Display brief usage message
+.PP
+GTK+
+.TP
+\fB\-\-gdk\-debug\fR=\fIFLAGS\fR
+Gdk debugging flags to set
+.TP
+\fB\-\-gdk\-no\-debug\fR=\fIFLAGS\fR
+Gdk debugging flags to unset
+.TP
+\fB\-\-display\fR=\fIDISPLAY\fR
+X display to use
+.TP
+\fB\-\-screen\fR=\fISCREEN\fR
+X screen to use
+.TP
+\fB\-\-sync\fR
+Make X calls synchronous
+.TP
+\fB\-\-name\fR=\fINAME\fR
+Program name as used by the window
+manager
+.TP
+\fB\-\-class\fR=\fICLASS\fR
+Program class as used by the window
+manager
+.TP
+\fB\-\-gtk\-debug\fR=\fIFLAGS\fR
+Gtk+ debugging flags to set
+.TP
+\fB\-\-gtk\-no\-debug\fR=\fIFLAGS\fR
+Gtk+ debugging flags to unset
+.TP
+\fB\-\-g\-fatal\-warnings\fR
+Make all warnings fatal
+.TP
+\fB\-\-gtk\-module\fR=\fIMODULE\fR
+Load an additional Gtk module
+.PP
+Bonobo activation Support
+.TP
+\fB\-\-oaf\-ior\-fd\fR=\fIFD\fR
+File descriptor to print IOR on
+.TP
+\fB\-\-oaf\-activate\-iid\fR=\fIIID\fR
+IID to activate
+.TP
+\fB\-\-oaf\-private\fR
+Prevent registering of server with OAF
+.PP
+GNOME Library
+.TP
+\fB\-\-disable\-sound\fR
+Disable sound server usage
+.TP
+\fB\-\-enable\-sound\fR
+Enable sound server usage
+.TP
+\fB\-\-espeaker\fR=\fIHOSTNAME\fR:PORT
+Host:port on which the sound server
+to use is running
+.TP
+\fB\-\-version\fR
+Show version of program.
+.PP
+Session management
+.TP
+\fB\-\-sm\-client\-id\fR=\fIID\fR
+Specify session management ID
+.TP
+\fB\-\-sm\-config\-prefix\fR=\fIPREFIX\fR
+Specify prefix of saved configuration
+.TP
+\fB\-\-sm\-disable\fR
+Disable connection to session manager
+.PP
+GNOME GUI Library
+.TP
+\fB\-\-disable\-crash\-dialog\fR
+Disable Crash Dialog
+
+.SH "SEE ALSO"
+The full documentation for
+.B GNOME
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B GNOME
+programs are properly installed at your site, the command
+.IP
+.B info GNOME
+.PP
+should give you access to the complete manual.
+
+.SH AUTHOR
+Upstream Author: Michael Person <alcaron at senet.com.au>
+
+This manual page was written by Tom Cato Amundsen <tca at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
+
+Updated October 19, 2007 by Barry deFreese <bddebian at comcast.net>
Added: packages/trunk/gnome-breakout/gnome-breakout.xpm
===================================================================
--- packages/trunk/gnome-breakout/gnome-breakout.xpm (rev 0)
+++ packages/trunk/gnome-breakout/gnome-breakout.xpm 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,58 @@
+/* XPM */
+static char *gnome-breakout[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 20 1",
+" c black",
+". c #191919",
+"X c gray20",
+"o c #007F00",
+"O c #007F7F",
+"+ c #7F0000",
+"@ c #7F7F00",
+"# c #4C4C4C",
+"$ c #666667",
+"% c gray50",
+"& c blue",
+"* c green",
+"= c cyan",
+"- c red",
+"; c yellow",
+": c gray60",
+"> c #B2B2B2",
+", c gray80",
+"< c gray90",
+"1 c None",
+/* pixels */
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11 ........................11111",
+"11X::->:-:,>:>;:>>,:>>&:%&O11111",
+"11#------->;;;;;;;,:&&&&&&%11111",
+"11#------->;;;;;;;,&&&&&&&%11111",
+"11#,-:::::>,;>,;;>,>=>>=,,%11111",
+"11#,;,>;;,,>:->::>>>>::>>,%11111",
+"11#;;;;;;;<------->:%**@**%11111",
+"11#;;;;;;;,------->;*%@*$*%11111",
+"11#,,;>>>;,:>::-::,::>>>>,%11111",
+"11+>-::>:>,>>>:>>>,>::->::%11111",
+"11$:------;:***%@@,-------%11111",
+"11+------->*%@*@$*,-------:11111",
+"11+:::-%-:>::::::;>>>-%%%-%11111",
+"11......X.......o..........11111",
+"1111111111111111111.$$.111111111",
+"1111111111111111111$>>%111111111",
+"1111111111111111111$,>$111111111",
+"1111111111111111111.$%.111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111",
+"11111111111111111111111111111111"
+};
Added: packages/trunk/gnome-breakout/menu
===================================================================
--- packages/trunk/gnome-breakout/menu (rev 0)
+++ packages/trunk/gnome-breakout/menu 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,6 @@
+?package(gnome-breakout): \
+ needs="X11"\
+ section="Games/Blocks"\
+ title="GNOME Breakout"\
+ command="/usr/games/gnome-breakout"\
+ icon="/usr/share/pixmaps/gnome-breakout.xpm"
Added: packages/trunk/gnome-breakout/patches/00list
===================================================================
--- packages/trunk/gnome-breakout/patches/00list (rev 0)
+++ packages/trunk/gnome-breakout/patches/00list 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,5 @@
+01_makefile_fixes.dpatch
+02_fixup_desktop.dpatch
+03_configure_fixes.dpatch
+04_po_config.dpatch
+
Added: packages/trunk/gnome-breakout/patches/01_makefile_fixes.dpatch
===================================================================
--- packages/trunk/gnome-breakout/patches/01_makefile_fixes.dpatch (rev 0)
+++ packages/trunk/gnome-breakout/patches/01_makefile_fixes.dpatch 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_makefile_fixes.dpatch by <bdefreese at bdubuntu3>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gnome-breakout-0.5.3~/src/Makefile.am gnome-breakout-0.5.3/src/Makefile.am
+--- gnome-breakout-0.5.3~/src/Makefile.am 2004-05-16 17:54:35.000000000 -0400
++++ gnome-breakout-0.5.3/src/Makefile.am 2007-10-17 22:50:06.000000000 -0400
+@@ -3,12 +3,7 @@
+ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DG_LOG_DOMAIN=\"gnome-breakout\" \
+ -DPIXMAPDIR=\"$(datadir)/gnome-breakout/pixmaps\" \
+- -DLEVELDIR=\"$(datadir)/gnome-breakout/levels\" \
+- -DGNOME_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGDK_PIXBUF_DISABLE_DEPRECATED \
+- -DG_DISABLE_DEPRECATED \
+- -Werror
++ -DLEVELDIR=\"$(datadir)/gnome-breakout/levels\"
+
+ bin_PROGRAMS = gnome-breakout
+
Property changes on: packages/trunk/gnome-breakout/patches/01_makefile_fixes.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/gnome-breakout/patches/02_fixup_desktop.dpatch
===================================================================
--- packages/trunk/gnome-breakout/patches/02_fixup_desktop.dpatch (rev 0)
+++ packages/trunk/gnome-breakout/patches/02_fixup_desktop.dpatch 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_fixup_desktop.dpatch by <bdefreese at bdubuntu3>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gnome-breakout-0.5.3~/gnome-breakout.desktop gnome-breakout-0.5.3/gnome-breakout.desktop
+--- gnome-breakout-0.5.3~/gnome-breakout.desktop 2003-06-23 06:15:30.000000000 -0400
++++ gnome-breakout-0.5.3/gnome-breakout.desktop 2007-10-17 15:49:25.000000000 -0400
+@@ -2,10 +2,11 @@
+ Name=GNOME Breakout
+ Name[tr]=Gnome Breakout
+ Name[de]=GNOME Breakout
+-Comment=The classic arcade game Breakout for GNOME
++Comment=Play a clone of the classic arcade game Breakout for GNOME
+ Comment[tr]=Breakout klasiðinin Gnome teþkili
+ Comment[de]=Das klassische Arcade Spiel Breakout für GNOME
+ Exec=gnome-breakout
+ Icon=gnome-breakout.png
+-Terminal=0
+-Type=Game
++Terminal=false
++Type=Application
++Categories=Game;ArcadeGame;
Property changes on: packages/trunk/gnome-breakout/patches/02_fixup_desktop.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/gnome-breakout/patches/03_configure_fixes.dpatch
===================================================================
--- packages/trunk/gnome-breakout/patches/03_configure_fixes.dpatch (rev 0)
+++ packages/trunk/gnome-breakout/patches/03_configure_fixes.dpatch 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_configure_fixes.dpatch by <bdefreese at bdubuntu3>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gnome-breakout-0.5.3~/configure.in gnome-breakout-0.5.3/configure.in
+--- gnome-breakout-0.5.3~/configure.in 2004-05-15 23:57:13.000000000 -0400
++++ gnome-breakout-0.5.3/configure.in 2007-10-17 23:08:42.000000000 -0400
+@@ -17,8 +17,6 @@
+ AC_ISC_POSIX
+ AC_HEADER_STDC
+
+-GNOME_COMPILE_WARNINGS(maximum)
+-
+ ALL_LINGUAS="ru tr de sv"
+ AM_GLIB_GNU_GETTEXT
+ AC_SUBST(GETTEXT_PACKAGE)
Property changes on: packages/trunk/gnome-breakout/patches/03_configure_fixes.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/gnome-breakout/patches/04_po_config.dpatch
===================================================================
--- packages/trunk/gnome-breakout/patches/04_po_config.dpatch (rev 0)
+++ packages/trunk/gnome-breakout/patches/04_po_config.dpatch 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_po_config.dpatch by <bdefreese at bdubuntu3>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gnome-breakout-0.5.3~/configure.in gnome-breakout-0.5.3/configure.in
+--- gnome-breakout-0.5.3~/configure.in 2007-10-18 00:21:24.000000000 -0400
++++ gnome-breakout-0.5.3/configure.in 2007-10-18 00:22:01.000000000 -0400
+@@ -17,6 +17,7 @@
+ AC_ISC_POSIX
+ AC_HEADER_STDC
+
++GETTEXT_PACKAGE=gnome-breakout
+ ALL_LINGUAS="ru tr de sv"
+ AM_GLIB_GNU_GETTEXT
+ AC_SUBST(GETTEXT_PACKAGE)
+diff -urNad gnome-breakout-0.5.3~/po/Makefile.in.in gnome-breakout-0.5.3/po/Makefile.in.in
+--- gnome-breakout-0.5.3~/po/Makefile.in.in 2004-05-16 17:54:47.000000000 -0400
++++ gnome-breakout-0.5.3/po/Makefile.in.in 2007-10-18 00:25:33.000000000 -0400
+@@ -27,9 +27,9 @@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
+-gnulocaledir = $(datadir)/locale
+-gettextsrcdir = $(datadir)/glib-2.0/gettext/po
++localedir = @localedir@
++gnulocaledir = $(localedir)
++gettextsrcdir = $(localedir)/glib-2.0/gettext/po
+ subdir = po
+
+ INSTALL = @INSTALL@
Property changes on: packages/trunk/gnome-breakout/patches/04_po_config.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/gnome-breakout/postinst
===================================================================
--- packages/trunk/gnome-breakout/postinst (rev 0)
+++ packages/trunk/gnome-breakout/postinst 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+set -e
+
+if [ ! -d /var/games ]; then
+ mkdir -p /var/games
+fi
+
+# 0.5.1-2 installed highscore file the wrong place
+if [ -f /var/lib/games/gnome-breakout.scores ]; then
+ mv /var/lib/games/gnome-breakout.scores /var/games/gnome-breakout.scores
+fi
+
+if [ ! -f /var/games/gnome-breakout.scores ]; then
+ touch /var/games/gnome-breakout.scores
+ chown root:games /var/games/gnome-breakout.scores
+ chmod 0664 /var/games/gnome-breakout.scores
+fi
+
+#DEBHELPER#
Added: packages/trunk/gnome-breakout/postrm
===================================================================
--- packages/trunk/gnome-breakout/postrm (rev 0)
+++ packages/trunk/gnome-breakout/postrm 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,9 @@
+#! /bin/sh
+set -e
+
+case "$1" in
+ purge)
+ rm /var/games/gnome-breakout.scores
+esac
+
+#DEBHELPER#
Added: packages/trunk/gnome-breakout/rules
===================================================================
--- packages/trunk/gnome-breakout/rules (rev 0)
+++ packages/trunk/gnome-breakout/rules 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,115 @@
+#!/usr/bin/make -f
+
+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
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+
+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
+
+ autoreconf -f -i
+ ./configure --prefix=/usr \
+ --bindir=\$${prefix}/games \
+ --datadir=\$${prefix}/share/games \
+ --localedir=\$${prefix}/share/locale \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --localstatedir=\$${prefix}/../var/lib/ \
+ --enable-compile-warnings=minimum \
+ CFLAGS="$(CFLAGS)"
+
+ touch configure-stamp
+
+build: patch configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+
+ touch patch-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f build-stamp configure-stamp
+ rm -f config.sub config.guess
+
+ dh_clean
+
+unpatch:
+ dpatch deapply-all -v
+ rm -rf patch-stamp
+ rm -rf debian/patched
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install prefix=$(CURDIR)/debian/gnome-breakout/usr localstatedir=$(CURDIR)/debian/gnome-breakout/var/lib
+
+ install -D -m 644 debian/gnome-breakout.xpm debian/gnome-breakout/usr/share/pixmaps/gnome-breakout.xpm
+
+ # don't include this file in the package, postinst will take care of it
+ rm -rf debian/gnome-breakout/var
+
+ # install puts desktop file in incorect location
+ mv debian/gnome-breakout/usr/share/games/gnome/apps/Games/gnome-breakout.desktop debian/gnome-breakout/usr/share/applications
+ rm -rf debian/gnome-breakout/usr/share/games/gnome
+
+# 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 -a
+ dh_testroot -a
+ dh_installdocs -a
+ dh_installexamples -a
+ dh_installmenu -a
+ dh_desktop
+ dh_installman -a debian/gnome-breakout.6
+ dh_installinfo -a
+ dh_installchangelogs -a ChangeLog
+ dh_link -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+
+ chgrp games debian/gnome-breakout/usr/games/gnome-breakout
+ chmod 2755 debian/gnome-breakout/usr/games/gnome-breakout
+
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -
+ dh_builddeb -a
+
+binary: patch-stamp binary-indep binary-arch
+.PHONY: patch build clean binary-indep binary-arch binary install configure
Property changes on: packages/trunk/gnome-breakout/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/gnome-breakout/watch
===================================================================
--- packages/trunk/gnome-breakout/watch (rev 0)
+++ packages/trunk/gnome-breakout/watch 2007-10-19 18:24:19 UTC (rev 4434)
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+http://www.senet.com.au/ ~alcaron/ gnome-breakout-(.*)\.tar\.gz debian
More information about the Pkg-games-commits
mailing list