r4750 - in packages/trunk: ! dirs' list truncated !

Mario Iseli mario at alioth.debian.org
Fri Nov 23 13:23:30 UTC 2007


Author: mario
Date: 2007-11-23 13:23:30 +0000 (Fri, 23 Nov 2007)
New Revision: 4750

Added:
   packages/trunk/asciijump/
   packages/trunk/asciijump/debian/
   packages/trunk/asciijump/debian/changelog
   packages/trunk/asciijump/debian/compat
   packages/trunk/asciijump/debian/control
   packages/trunk/asciijump/debian/copyright
   packages/trunk/asciijump/debian/dirs
   packages/trunk/asciijump/debian/docs
   packages/trunk/asciijump/debian/menu
   packages/trunk/asciijump/debian/patches/
   packages/trunk/asciijump/debian/patches/00list
   packages/trunk/asciijump/debian/patches/01_xfnc.dpatch
   packages/trunk/asciijump/debian/patches/02_Makefile.in.dpatch
   packages/trunk/asciijump/debian/patches/03_slang2.dpatch
   packages/trunk/asciijump/debian/patches/04_08ride2.dpatch
   packages/trunk/asciijump/debian/rules
   packages/trunk/asciijump/debian/watch
Log:
Added asciijump to the repo



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

Added: packages/trunk/asciijump/debian/changelog
===================================================================
--- packages/trunk/asciijump/debian/changelog	                        (rev 0)
+++ packages/trunk/asciijump/debian/changelog	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,67 @@
+asciijump (0.0.6-4) unstable; urgency=low
+
+  * New maintainer E-Mail address.
+  * Moved section in debian/menu to Games/Action (Closes: #432133).
+  * Added [ ! -f Makefile ] || $(MAKE) distclean to the clean target in
+    debian/rules to avoid lintian warning.
+
+ -- Mario Iseli <mario at debian.org>  Sat,  4 Aug 2007 14:58:58 +0200
+
+asciijump (0.0.6-3) unstable; urgency=low
+
+  * Changed the title in the menufile (Closes: #359047)
+  * Updated to version 3.7.2 of the debian-policy.
+
+ -- Mario Iseli <admin at marioiseli.com>  Sun,  4 Jun 2006 21:06:20 +0200
+
+asciijump (0.0.6-2) unstable; urgency=low
+
+  * New Maintainer (Closes: #352436).
+  * Added debian/watch.
+
+ -- Mario Iseli <admin at marioiseli.com>  Sat, 18 Feb 2006 15:52:28 +0100
+
+asciijump (0.0.6-1.3) unstable; urgency=low
+
+  * NMU
+  * Added Homepage to debian/control
+  * Depends now on slang2 instead of slang1 (Closes: #315095)
+  * Added a new patch for gfx/08ride2 (Closes: #255934)
+
+ -- Mario Iseli <admin at marioiseli.com>  Mon, 16 Jan 2006 19:46:25 +0100
+
+asciijump (0.0.6-1.2) unstable; urgency=low
+
+  * NMU
+  * Fix permissions of /var/games/asciijump (Closes: #269186)
+
+ -- Joerg Jaspert <joerg at debian.org>  Sat, 27 Nov 2004 17:23:45 +0100
+
+asciijump (0.0.6-1.1) unstable; urgency=low
+
+  * NMU
+  * Fix /var/games/asciijump permissions (Closes: #269186)
+
+ -- Julien Danjou <acid at debian.org>  Sat, 30 Oct 2004 15:28:26 +0200
+
+asciijump (0.0.6-1) unstable; urgency=low
+
+  * Change maintainer e-mail
+  * New upstream release
+  * Closes: #226478: (almost) endless loop during startup on PPC
+  * Closes: #252716: New upstream release available (0.0.6 or 1.0.2beta)
+
+ -- Rafal Zawadzki <bluszcz at jabberpl.org>  Sat,  5 Jun 2004 00:11:05 +0200
+
+asciijump (0.0.5-2) unstable; urgency=low
+
+  * Fixed debian/menu file. Closes: #185389
+
+ -- Rafal Zawadzki <bluszcz at ats.com.pl>  Wed, 19 Mar 2003 08:32:40 +0100
+
+asciijump (0.0.5-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Rafal Zawadzki <bluszcz at ats.com.pl>  Thu,  6 Mar 2003 23:30:09 +0100
+

Added: packages/trunk/asciijump/debian/compat
===================================================================
--- packages/trunk/asciijump/debian/compat	                        (rev 0)
+++ packages/trunk/asciijump/debian/compat	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1 @@
+4

Added: packages/trunk/asciijump/debian/control
===================================================================
--- packages/trunk/asciijump/debian/control	                        (rev 0)
+++ packages/trunk/asciijump/debian/control	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,16 @@
+Source: asciijump
+Section: games
+Priority: optional
+Maintainer: Mario Iseli <mario at debian.org>
+Build-Depends: debhelper (>> 4.0.0), libslang2-dev, dpatch
+Standards-Version: 3.7.2
+
+Package: asciijump
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Small and funny ASCII-art game about ski jumping
+ This is a very funny multiplayer game, you can play with friends or against
+ the computer. There are two modes of playing: World Cup and Training. You will
+ be able to select from a few hills, for example czumulungma and finland.
+ .
+  Homepage: <http://asciijump.prv.pl/>

Added: packages/trunk/asciijump/debian/copyright
===================================================================
--- packages/trunk/asciijump/debian/copyright	                        (rev 0)
+++ packages/trunk/asciijump/debian/copyright	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,22 @@
+This package was debianized by Rafal Zawadzki <bluszcz at ats.com.pl> on
+Thu,  6 Mar 2003 23:30:09 +0100.
+
+And it's currently being maintained by Mario Iseli <admin at marioiseli.com>
+		  
+It was downloaded from http://asciijump.prv.pl/
+
+Upstream Authors: Grzegorz Moskal <g.moskal at opengroup.org>,
+		  Michal Moskal <malekith at pld.org.pl>,
+		  Przemek Niezobrala <finburson at o2.pl>.
+ 
+Copyright:
+
+Copyright Grzegorz Moskal <g.moskal at opengroup.org>
+
+License:
+
+You are free to distribute this software under the terms
+of the GNU General Public License. On Debian systems, 
+the complete text of the GNU General Public License 
+can be found in the file `/usr/share/common-licenses/GPL.
+

Added: packages/trunk/asciijump/debian/dirs
===================================================================
--- packages/trunk/asciijump/debian/dirs	                        (rev 0)
+++ packages/trunk/asciijump/debian/dirs	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1 @@
+var/games/asciijump

Added: packages/trunk/asciijump/debian/docs
===================================================================
--- packages/trunk/asciijump/debian/docs	                        (rev 0)
+++ packages/trunk/asciijump/debian/docs	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,2 @@
+README
+README-pl

Added: packages/trunk/asciijump/debian/menu
===================================================================
--- packages/trunk/asciijump/debian/menu	                        (rev 0)
+++ packages/trunk/asciijump/debian/menu	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,2 @@
+?package(asciijump):needs="text" section="Games/Action"\
+  title="ASCIIjump" command="/usr/games/asciijump"

Added: packages/trunk/asciijump/debian/patches/00list
===================================================================
--- packages/trunk/asciijump/debian/patches/00list	                        (rev 0)
+++ packages/trunk/asciijump/debian/patches/00list	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,4 @@
+01_xfnc
+02_Makefile.in
+03_slang2
+04_08ride2

Added: packages/trunk/asciijump/debian/patches/01_xfnc.dpatch
===================================================================
--- packages/trunk/asciijump/debian/patches/01_xfnc.dpatch	                        (rev 0)
+++ packages/trunk/asciijump/debian/patches/01_xfnc.dpatch	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,57 @@
+#! /bin/sh -e
+
+
+patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+	-patch) patch $patch_opts -p0 < $0;;
+	-unpatch) patch $patch_opts -R -p0 < $0;;
+	*)
+		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+		exit 1;;
+esac
+ 
+exit 0
+
+ at DPATCH@
+--- xfnc.c.orig	2003-03-02 22:42:22.000000000 +0100
++++ xfnc.c	2004-01-06 17:57:02.000000000 +0100
+@@ -104,6 +104,7 @@
+ 	int length = 1;
+ 	int i = 0;
+ 	char *line = NULL;
++        int c;
+ 
+ 	for (;;) {
+ 		if (length-1 == i) {
+@@ -111,20 +112,22 @@
+ 			line = xrealloc(line, length*(sizeof(char)));
+ 		}
+ 		
+-		line[i] = fgetc(fd);
++		c = fgetc(fd);
+ 
+-		if (line[i] == EOF) {
++		if (c == EOF) {
+ 			if (i == 0)
+ 				return NULL;
+ 			line[i] = '\0';
+ 			break;
+ 
+-		} else if (line[i] == '\n') {
++		} else if (c == '\n') {
+ 			if (i == 0)
+ 				return read_line(fd);
+ 			line[i] = '\0';
+ 			break;
+-		}
++		} else {
++                    line[i] = c;
++                }
+ 		i++;
+ 	}
+ 	

Added: packages/trunk/asciijump/debian/patches/02_Makefile.in.dpatch
===================================================================
--- packages/trunk/asciijump/debian/patches/02_Makefile.in.dpatch	                        (rev 0)
+++ packages/trunk/asciijump/debian/patches/02_Makefile.in.dpatch	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,55 @@
+#! /bin/sh -e
+
+
+patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+	-patch) patch $patch_opts -p0 < $0;;
+	-unpatch) patch $patch_opts -R -p0 < $0;;
+	*)
+		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+		exit 1;;
+esac
+ 
+exit 0
+
+ at DPATCH@
+--- Makefile.in.orig	2004-06-03 18:16:47.000000000 +0200
++++ Makefile.in	2004-06-03 18:15:31.000000000 +0200
+@@ -80,16 +80,16 @@
+ 	${INSTALL} -d ${DESTDIR}${bindir}/
+ 	${INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${bindir}/
+ 
+-	${INSTALL} -d $(DESTDIR)$(prefix)/X11R6/share/applnk/Games/Arcade
++	${INSTALL} -d $(DESTDIR)$(prefix)/share/applnk/Games/Arcade
+ 	${INSTALL} -m 644 asciijump.desktop \
+-		$(DESTDIR)$(prefix)/X11R6/share/applnk/Games/Arcade
++		$(DESTDIR)$(prefix)/share/applnk/Games/Arcade
+ 		
+ 	${INSTALL} -d $(DESTDIR)$(prefix)/share/applnk/Games/Arcade
+ 	${INSTALL} -m 644 asciijump.desktop \
+ 		$(DESTDIR)$(prefix)/share/applnk/Games/Arcade
+ 		
+-	${INSTALL} -d $(DESTDIR)$(prefix)/X11R6/share/pixmaps
+-	${INSTALL} -m 644 asciijump.png $(DESTDIR)$(prefix)/X11R6/share/pixmaps
++	${INSTALL} -d $(DESTDIR)$(prefix)/share/pixmaps
++	${INSTALL} -m 644 asciijump.png $(DESTDIR)$(prefix)/share/pixmaps
+ 		
+ 	${INSTALL} -d $(DESTDIR)$(prefix)/share/pixmaps
+ 	${INSTALL} -m 644 asciijump.png $(DESTDIR)$(prefix)/share/pixmaps
+@@ -106,9 +106,9 @@
+ uninstall:
+ 	rm -f ${DESTDIR}${bindir}/${PROGRAM}
+ 	rm -rf ${DESTDIR}${datadir}/${PACKAGE}
+-	rm -f $(DESTDIR)$(prefix)/X11R6/share/applnk/Games/Arcade/asciijump.desktop
+ 	rm -f $(DESTDIR)$(prefix)/share/applnk/Games/Arcade/asciijump.desktop
+-	rm -f $(DESTDIR)$(prefix)/X11R6/share/pixmaps/asciijump.png
++	rm -f $(DESTDIR)$(prefix)/share/applnk/Games/Arcade/asciijump.desktop
++	rm -f $(DESTDIR)$(prefix)/share/pixmaps/asciijump.png
+ 	rm -f $(DESTDIR)$(prefix)/share/pixmaps/asciijump.png
+ 	rm -f $(DESTDIR)/$(mandir)/man6/asciijump.6
+ 

Added: packages/trunk/asciijump/debian/patches/03_slang2.dpatch
===================================================================
--- packages/trunk/asciijump/debian/patches/03_slang2.dpatch	                        (rev 0)
+++ packages/trunk/asciijump/debian/patches/03_slang2.dpatch	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_slang2.dpatch by Mario Iseli <admin at marioiseli.com>
+##
+## DP: Builds now Builds now on libslang2-dev
+
+ at DPATCH@
+
+diff -Naur asciijump-0.0.6.old/slang.c asciijump-0.0.6.new/slang.c
+--- asciijump-0.0.6.old/slang.c	2003-03-14 23:55:50.000000000 +0100
++++ asciijump-0.0.6.new/slang.c	2006-01-16 19:33:53.000000000 +0100
+@@ -109,6 +109,12 @@
+ 	if (SLang_init_tty(-1, 0, 0) == -1)
+ 		sl_die("Unable to initialize SLang terminal.");
+ 	SLsmg_init_smg();
++
++	/* enable UTF-8 mode if using appropiate locale */
++	SLutf8_enable(-1);
++	SLtt_utf8_enable(-1);
++	SLsmg_utf8_enable(-1);
++	SLinterp_utf8_enable(-1);
+ 	
+ 	SLang_set_abort_signal(int_handler);

Added: packages/trunk/asciijump/debian/patches/04_08ride2.dpatch
===================================================================
--- packages/trunk/asciijump/debian/patches/04_08ride2.dpatch	                        (rev 0)
+++ packages/trunk/asciijump/debian/patches/04_08ride2.dpatch	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,14 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_08ride2.dpatch by Mario Iseli <admin at marioiseli.com>
+##
+## DP: Add some needed files.
+
+ at DPATCH@
+
+diff -Naur asciijump-0.0.6.old/gfx/08ride2/01.frame asciijump-0.0.6.new/gfx/08ride2/01.frame
+--- asciijump-0.0.6.old/gfx/08ride2/01.frame	1970-01-01 01:00:00.000000000 +0100
++++ asciijump-0.0.6.new/gfx/08ride2/01.frame	2003-03-13 22:14:24.000000000 +0100
+@@ -0,0 +1,3 @@
++  o   
++ ,:   
++__:,_,

Added: packages/trunk/asciijump/debian/rules
===================================================================
--- packages/trunk/asciijump/debian/rules	                        (rev 0)
+++ packages/trunk/asciijump/debian/rules	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,85 @@
+#!/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
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --bindir=\$${prefix}/games --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
+
+
+include /usr/share/dpatch/dpatch.make
+build: patch-stamp build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:	unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -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
+
+	# Add here commands to install the package into debian/asciijump.
+	$(MAKE) install prefix=$(CURDIR)/debian/asciijump/usr vardir=$(CURDIR)/debian/asciijump/var
+	chmod 2755 $(CURDIR)/debian/asciijump/usr/games/asciijump
+	chgrp games $(CURDIR)/debian/asciijump/usr/games/asciijump
+	chmod 0775 $(CURDIR)/debian/asciijump/var/games/asciijump
+
+
+# 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 
+	dh_installdocs
+	dh_installmenu
+	dh_installman
+	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 patch unpatch


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

Added: packages/trunk/asciijump/debian/watch
===================================================================
--- packages/trunk/asciijump/debian/watch	                        (rev 0)
+++ packages/trunk/asciijump/debian/watch	2007-11-23 13:23:30 UTC (rev 4750)
@@ -0,0 +1,2 @@
+version=3
+http://otak.k-k.pl/asciijump/tgz/asciijump-(.*)\.tar\.gz




More information about the Pkg-games-commits mailing list