[icebreaker] 02/22: 1.21-4

Andreas Gnau rondom-guest at moszumanska.debian.org
Sat Sep 9 09:06:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

rondom-guest pushed a commit to branch master
in repository icebreaker.

commit 77bcc49ed3fb13c61d717b5cb6433a41d2c6a15f
Author: Adrian Bunk <bunk at fs.tum.de>
Date:   Wed Sep 12 09:02:50 2007 -0600

    1.21-4
---
 Makefile          | 16 ++++++------
 debian/changelog  | 62 ++++++++++++++++++++++++++++++++++++++++++++
 debian/control    | 25 ++++++++++++++++++
 debian/copyright  | 11 ++++++++
 debian/dirs       |  3 +++
 debian/menu       |  2 ++
 debian/postinst   | 56 ++++++++++++++++++++++++++++++++++++++++
 debian/postrm     | 42 ++++++++++++++++++++++++++++++
 debian/rules      | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 icebreaker.h      |  2 +-
 icebreaker.man.in |  2 +-
 11 files changed, 288 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index a72e9ac..f52e411 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,8 @@ ifndef mandir
 endif
 
 ifndef highscoredir
-  highscoredir=/var/local/lib/games
-  #highscoredir=/var/lib/games
+#  highscoredir=/var/local/lib/games
+  highscoredir=/var/games
 endif
 
 ifndef OPTIMIZE
@@ -103,14 +103,14 @@ man: icebreaker.6
 	   sed 's/\$$VERDATE/$(VERDATE)/' > $@
 
 install: all
-	mkdir -p $(prefix)/bin
-	mkdir -p $(prefix)/share/icebreaker
-	mkdir -p $(highscoredir)
-	mkdir -p $(mandir)/man6
+#	mkdir -p $(prefix)/bin
+#	mkdir -p $(prefix)/share/icebreaker
+#	mkdir -p $(highscoredir)
+#	mkdir -p $(mandir)/man6
 
 	install -m 644 *.wav *.bmp $(prefix)/share/icebreaker
-	install -g games -s -m 2755 icebreaker $(prefix)/bin
-	install -m 644 icebreaker.6 $(mandir)/man6
+	install -g games -s -m 2755 icebreaker $(prefix)/games
+#	install -m 644 icebreaker.6 $(mandir)/man6
 	touch $(highscoredir)/icebreaker.scores
 	chown games:games $(highscoredir)/icebreaker.scores
 	chmod 664 $(highscoredir)/icebreaker.scores
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..692ec07
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,62 @@
+icebreaker (1.21-4) unstable; urgency=low
+
+  * Orphaned this package.
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Fri, 25 Jan 2002 12:52:44 +0100
+
+icebreaker (1.21-3) unstable; urgency=high
+
+  * Move the highscore file from /var/lib/games to /var/games.
+    (closes: #115854)
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Sat, 17 Nov 2001 18:32:12 +0100
+
+icebreaker (1.21-2) unstable; urgency=high
+
+  * Versioned the build dependency on libsdl-mixer1.2-dev to
+    ensure that the package gets built with the new SDL packages.
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Mon, 15 Oct 2001 20:34:16 +0200
+
+icebreaker (1.21-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Sun, 12 Aug 2001 19:14:56 +0200
+
+icebreaker (1.10-1) unstable; urgency=low
+
+  * New upstream release.
+    - This release includes a man page. (closes: #87143)
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Mon, 23 Jul 2001 13:13:01 +0200
+
+icebreaker (1.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Wed, 18 Jul 2001 23:18:31 +0200
+
+icebreaker (1.0-3) unstable; urgency=low
+
+  * Rebuild with libsdl1.2 .
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Tue,  1 May 2001 11:06:04 +0200
+
+icebreaker (1.0-2) unstable; urgency=medium
+
+  * Rebuild to get icebreaker linked with the right libsdl-mixer
+    library. (closes: #79835)
+  * Removed some obsolete build dependencies.
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Sun, 17 Dec 2000 20:16:14 +0100
+
+icebreaker (1.0-1) unstable; urgency=low
+
+  * Initial Release. (closes: #74356)
+
+ -- Adrian Bunk <bunk at fs.tum.de>  Sat, 18 Nov 2000 02:45:10 +0100
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e86c94f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: icebreaker
+Section: games
+Priority: optional
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Build-Depends: debhelper, libsdl-mixer1.2-dev (>= 1.2.0-1.1)
+Standards-Version: 3.1.1
+
+Package: icebreaker
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Break the iceberg
+ So, uh, there's a bunch of penguins on an iceberg in Antarctica. You have
+ been selected to catch them so they can be shipped to Finland, where they
+ are essential to a secret plot for world domination.
+ .
+ In order to trap the penguins, you'll need to break the iceberg into small
+ chunks. (They're afraid of water, for no apparent reason. Ah well. "The
+ Matrix" had more plot holes than this, and it still was a hit.) You do
+ this by melting lines in the ice with Special High-Tech GNU Tools.
+ .
+ Once 80% or more of the iceberg is gone, the remaining chunks are small
+ enough for shipping. Of course, if you manage to get rid of more than
+ that, you'll save on postage, thus earning you exponential amounts of Geek
+ Cred (a.k.a. "score").
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..14c8fee
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Adrian Bunk <bunk at fs.tum.de> on
+Tue, 10 Oct 2000 23:46:47 +0200.
+
+It was downloaded from http://www.mattdm.org/icebreaker/
+
+Upstream Author: Matthew Miller <mattdm at mattdm.org>
+
+Copyright:
+
+This program is copyright under the GNU Public License (GPL), a copy
+of which may be found in /usr/share/common-licenses/GPL
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..2165906
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+usr/games
+usr/share/icebreaker
+var/games
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..83542a1
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(icebreaker):needs=X11 section=Games/Arcade\
+  title="icebreaker" command="/usr/games/icebreaker"
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..fbb9bec
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,56 @@
+#! /bin/sh
+# postinst script for icebreaker
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+    if [ -a /var/lib/games/icebreaker.scores -a ! -a /var/games/icebreaker.scores ]; then
+	mv /var/lib/games/icebreaker.scores /var/games/icebreaker.scores
+    fi
+
+    touch /var/games/icebreaker.scores
+    chown root:games /var/games/icebreaker.scores
+    chmod 664 /var/games/icebreaker.scores
+
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..9d4b97c
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,42 @@
+#! /bin/sh
+# postrm script for icebreaker
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+       purge)
+
+        rm -f /var/games/icebreaker.scores
+
+        ;;
+
+       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..2793c4e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) prefix=/usr
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	rm -f *.d
+	-$(MAKE) clean
+	rm -f *.d
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install prefix=`pwd`/debian/icebreaker/usr highscoredir=`pwd`/debian/icebreaker/var/games
+	rm `pwd`/debian/icebreaker/var/games/icebreaker.scores
+
+
+# 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_testversion
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs README TODO
+	dh_installexamples
+	dh_installmenu
+	dh_installmanpages
+#	dh_installinfo
+	dh_undocumented
+	dh_installchangelogs ChangeLog
+#	dh_link
+	dh_strip
+	dh_compress
+#	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/icebreaker.h b/icebreaker.h
index fb2cd93..00f85af 100644
--- a/icebreaker.h
+++ b/icebreaker.h
@@ -26,7 +26,7 @@
 
 
 #ifndef HISCOREPREFIX
-#define HISCOREPREFIX "/var/lib/games"
+#define HISCOREPREFIX "/var/games"
 #endif
 
 #define HISCOREFILE "icebreaker.scores"
diff --git a/icebreaker.man.in b/icebreaker.man.in
index b2c3ccf..7fa7499 100644
--- a/icebreaker.man.in
+++ b/icebreaker.man.in
@@ -33,7 +33,7 @@ None in current version; in the future there will probably be some. See
 
 .SH FILES
 .TP 
-.I /var/lib/games/icebreaker.scores
+.I /var/games/icebreaker.scores
 The system-wide list of high scores.
 .TP
 .I ~/.icebreaker

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/icebreaker.git



More information about the Pkg-games-commits mailing list