debian/0000755000000000000000000000000012166100527007166 5ustar debian/compat0000644000000000000000000000000212162756501010371 0ustar 9 debian/gnujump.manpages0000644000000000000000000000005011065501504012360 0ustar debian/tmp/usr/share/man/man6/gnujump.6 debian/gnujump-data.install0000644000000000000000000000003111611254743013150 0ustar /usr/share/games/gnujump debian/control0000644000000000000000000000472412162757570010614 0ustar Source: gnujump Section: games Priority: optional Maintainer: Debian Games Group Uploaders: Bas Wijnen , Evgeni Golov Build-Depends: debhelper (>= 9), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, automake, libtool, imagemagick Homepage: http://gnujump.es.gnu.org/ Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/gnujump/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/gnujump/ Standards-Version: 3.9.4 Package: gnujump Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, gnujump-data (= ${source:Version}) Description: platform game where you have to jump up to survive The goal in this game is to jump to the next floor so you don't fall down. As you go higher in the falling tower the floors will fall faster. Try to survive longer than anyone, or, in single player mode, try to get as high as you can. . At the moment, the game is called sdljump (and it will appear as such in the menu), but the package name has changed following an upstream rename. The new version of the game will be called gnujump as well. . The game is a clone of xjump, and provides all its features, plus some more: * Multiplayer mode (up to four players, not networked) * Smooth graphics possible (but xjump style as well) * Different themes are available * Can use OpenGL for rendering * Music and sound effects * Recording (and replaying) of games Package: gnujump-data Architecture: all Recommends: gnujump (>= ${source:Version}) Depends: ${misc:Depends} Description: platform game where you have to jump up to survive - data files The goal in this game is to jump to the next floor so you don't fall down. As you go higher in the falling tower the floors will fall faster. Try to survive longer than anyone, or, in single player mode, try to get as high as you can. . At the moment, the game is called sdljump (and it will appear as such in the menu), but the package name has changed following an upstream rename. The new version of the game will be called gnujump as well. . The game is a clone of xjump, and provides all its features, plus some more: * Multiplayer mode (up to four players, not networked) * Smooth graphics possible (but xjump style as well) * Different themes are available * Can use OpenGL for rendering * Music and sound effects * Recording (and replaying) of games . This package provides the data files for the game. debian/gnujump-udeb.install0000644000000000000000000000017511063227352013164 0ustar # for the udeb, only install the default theme debian/tmp/usr/share/games/sdljump/skins/default debian/tmp/usr/games/sdljump debian/changelog0000644000000000000000000001171212166100426011040 0ustar gnujump (1.0.8-1) unstable; urgency=low * New upstream release. + Refresh patches against it. * link against -lm to fix underlinking FTBFS Thanks: Logan Rosen Closes: #704699 * fix a crash when $HOME is not set Thanks: Alexandre Rebert and the whole The Mayhem Team at Cylab, Carnegie Mellon University * Update my email address. * Use canonical URLs for the SVN repository. * Use debhelper 9 and get hardening for free. * Update debian/copyright to follow copyright-format/1.0. * Standards-Version: 3.9.4. * Update debian/watch to point to ftp.gnu.org. -- Evgeni Golov Sat, 06 Jul 2013 22:41:56 +0200 gnujump (1.0.6-4) unstable; urgency=low * Remove README.source, because quilt is no longer being used. * Fix datadir. (Closes: #650596) -- Bas Wijnen Sun, 22 Jan 2012 12:05:01 +0100 gnujump (1.0.6-3) unstable; urgency=low * Update standards version (no changes needed). * Use new debhelper format in debian/rules. * Replaced quilt build-dependency with the source format. * Link with -Wl,--as-needed to avoid extra dependencies. * Adjust tree to build from source. * Don't use versioned automake. * Remove autoconf-archive dependency. (Closes: #634530) * Upgraded packaging license to GPL-3+. -- Bas Wijnen Tue, 19 Jul 2011 11:40:51 +0200 gnujump (1.0.6-2) unstable; urgency=low * Upload to unstable again. * debian/control: + Make depends and recommends versioned. (Closes: #501785) + Update the Homepage field. + Remove the unused udeb part. * debian/rules: + Pass "-Wl,-z,defs -Wl,--as-needed" to LDFLAGS. + Don't install upstream ChangeLog for now, it's empty. * debian/patches/*.patch: + Add short descriptions to the patches. -- Evgeni Golov Mon, 16 Feb 2009 18:16:02 +0100 gnujump (1.0.6-1) experimental; urgency=low * New upstream release (Closes: #494695) * Use quilt for patch-management * debian/sdljump.desktop + rename to gnujump.desktop + update to reflect the rename to gnujump + remove the Encoding field * debian/gnujump.menu + update to reflect the rename to gnujump + use Games/Action instead of Games/Arcade * debian/control: + remove the leading "a" in the short description + wrap the Build-Depends for better reading + use the Homepage field + bump Standards-Version to 3.8.0 + add Vcs-* fields + add myself to Uploaders * debian/rules: + call dh_desktop to silence lintian + reorganize the targets, create a config target + don't set CFLAGS, let dpkg handle it * debian/gnujump(-data).install: + move gnujump.desktop to the gnujump package + same for gnujump.png * debian/copyright: + Convert to machine readable format + Update some of the copyright statements * debian/patches/02_manpage_fixes.patch: + Fix a typo in the patch, it's "hy", not "ny" * debian/README.source: + add a README.source as recommended by Policy 4.14 * debian/patches/03_main_c_include_locale_h.patch: + Fix FTBFS with -O0 because locale.h isn't included * debian/watch: + Update the watchfile to reflect the new homepage -- Evgeni Golov Thu, 09 Oct 2008 09:57:05 +0200 gnujump (1.0.0-3) unstable; urgency=low * Link name to gnujump to match package name. (Closes: #406121) -- Bas Wijnen Thu, 24 May 2007 23:58:00 +0200 gnujump (1.0.0-2) unstable; urgency=low * Actually install files in the package (Closes: #403424). Not setting urgency to high even though this is a release critical bug, because the package is not in testing. * Fix typo in manpage (from ``--help'' to ``\-\-help''), thanks to Cyril Brulebois. * Add menu ``longtitle'' so there is a hint when the mouse moves over the menu entry. -- Bas Wijnen Sun, 17 Dec 2006 23:32:05 +0100 gnujump (1.0.0-1) unstable; urgency=low * Package rename following upstream rename. Even though there is no new upstream version yet, the new package name is used so no transition packages are needed after Etch is released. * Changed website references. -- Bas Wijnen Tue, 5 Dec 2006 16:22:50 +0100 sdljump (1.0.0-2) unstable; urgency=low * Build with usr/share/games built into executable (Closes: #391074) -- Bas Wijnen Fri, 6 Oct 2006 17:36:27 +0200 sdljump (1.0.0-1) unstable; urgency=low * New upstream release. -- Bas Wijnen Sat, 30 Sep 2006 09:15:55 +0200 sdljump (0.91-1-2) unstable; urgency=low * Install manpage from where it was built. (Closes: #378206) * Remove bashism from debian/rules. * Update to policy 3.7.2 (no changes needed). -- Bas Wijnen Tue, 18 Jul 2006 13:46:06 +0200 sdljump (0.91-1-1) unstable; urgency=low * Initial Release. (Closes: #352252) -- Bas Wijnen Fri, 10 Feb 2006 15:19:36 +0100 debian/copyright0000644000000000000000000000232512162757532011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: GNUjump Upstream-Contact: Juan Pedro Bolívar Puente Source: http://www.gnu.org/software/gnujump/ Files: * Copyright: 2005-2008 Juan Pedro Bolívar Puente License: GPL-3+ Files: src/gettext.h Copyright: 1995-2006 Free Software Foundation, Inc License: LGPL-2+ Files: src/SDL_rotozoom.[ch] Copyright: 2001 A. Schiffler 2004-2008 Juan Pedro Bolívar Puente License: LGPL-2.1 Files: src/SFont.[ch] Copyright: 2003 Karl Bartel License: GPL-2+ Files: debian/* Copyright: 2006-2012 Bas Wijnen 2008-2013 Evgeni Golov License: GPL-3+ License: GPL-2+ On Debian systems, version 2 of the GPL can be found in /usr/share/common-licenses/GPL-2. License: GPL-3+ On Debian systems, version 3 of the GPL can be found in /usr/share/common-licenses/GPL-3. License: LGPL-2+ On Debian systems, version 2 of the LGPL can be found in /usr/share/common-licenses/LGPL-2. License: LGPL-2.1 On Debian systems, version 2.1 of the LGPL can be found in /usr/share/common-licenses/LGPL-2.1. debian/gnujump.dirs0000644000000000000000000000005111065501504011527 0ustar usr/share/pixmaps usr/share/applications debian/gnujump.desktop0000644000000000000000000000023012016313356012241 0ustar [Desktop Entry] Name=GNUjump Comment=Jump up the tower to survive Exec=gnujump Icon=gnujump Terminal=false Type=Application Categories=Game;ArcadeGame; debian/patches/0000755000000000000000000000000012166100445010614 5ustar debian/patches/03_main_c_include_locale_h.patch0000644000000000000000000000064111611254743016724 0ustar Inlude locale.h or we will FTBFS with -O0 Index: gnujump-1.0.6/src/main.c =================================================================== --- gnujump-1.0.6.orig/src/main.c 2011-07-19 10:13:20.314488830 +0200 +++ gnujump-1.0.6/src/main.c 2011-07-19 10:13:35.058580030 +0200 @@ -26,6 +26,8 @@ #include "records.h" #include "replay.h" +#include + SDL_Surface *screen = NULL; L_gblOptions gblOps; debian/patches/04_linker_arguments.patch0000644000000000000000000000102212166057456015521 0ustar Only link used libraries, and link them as libraries, not flags. Index: gnujump-1.0.6/src/Makefile.am =================================================================== --- gnujump-1.0.6.orig/src/Makefile.am 2011-07-19 10:21:42.217593415 +0200 +++ gnujump-1.0.6/src/Makefile.am 2011-07-19 10:21:45.345612764 +0200 @@ -4,7 +4,8 @@ INCLUDES= $(all_includes) # the library search path. -gnujump_LDFLAGS = $(all_libraries) +gnujump_LDFLAGS = -Wl,--as-needed +gnujump_LDADD = $(all_libraries) gnujump_SOURCES = \ game.h \ debian/patches/series0000644000000000000000000000026712162755507012051 0ustar 01_Makefile_am_datadir_fix.patch 02_manpage_fixes.patch 03_main_c_include_locale_h.patch 04_linker_arguments.patch 05_full_build.patch 06_link_against_-lm_.patch 07_getenv_NULL.patch debian/patches/05_full_build.patch0000644000000000000000000000056511611254743014275 0ustar Set the tree up for rebuilding from source --- gnujump-1.0.6.orig/Makefile.am 2011-07-19 10:17:22.447986524 +0200 +++ gnujump-1.0.6/Makefile.am 2011-07-19 10:16:26.535640685 +0200 @@ -4,9 +4,7 @@ SUBDIRS = src skins sound doc po -ACLOCAL_AMFLAGS = -I m4 - -EXTRA_DIST = config.rpath m4/ChangeLog +EXTRA_DIST = config.rpath PACKAGE = @PACKAGE@ VERSION = @VERSION@ debian/patches/06_link_against_-lm_.patch0000644000000000000000000000051012166057456015522 0ustar Description: link against -lm to fix underlinking FTBFS Author: Logan Rosen --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,7 @@ # the library search path. gnujump_LDFLAGS = -Wl,--as-needed -gnujump_LDADD = $(all_libraries) +gnujump_LDADD = $(all_libraries) -lm gnujump_SOURCES = \ game.h \ debian/patches/02_manpage_fixes.patch0000644000000000000000000000216211146233667014757 0ustar * a "-" must be escaped as "\-" in manpages * add info about world ranking * fix spelling of upstream's name --- a/doc/gnujump.6 2008-08-11 15:04:47.000000000 +0200 +++ b/doc/gnujump.6 2008-09-14 20:26:41.000000000 +0200 @@ -8,7 +8,7 @@ [ REPLAY ] [ OPTIONS ] .br .B sdljump -[ --help ] +[ \-\-help ] .SH "DESCRIPTION" .B GNUjump GNUjump is part of the GNU project. @@ -85,9 +85,18 @@ .RE x: Xjump - Hard +.SH "WORLD RANKING" + +There is also a high score list on the internet at +.nh +http://www.gnu.org/software/gnujump/highscores.html . +.hy +Please see that site for instructions on how to get your scores in the list. + + .SH "COPYRIGHT" Copyright (C) 2005 - Juan Pedro Bol�ar Puente + Juan Pedro Bol\('ivar Puente .PP This 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 @@ -95,5 +104,5 @@ version without ANY WARRANTIES. .SH "AUTHOR" .B GNUjump -was written by Juan Pedro Bol�ar Puente +was written by Juan Pedro Bol\('ivar Puente debian/patches/07_getenv_NULL.patch0000644000000000000000000000232512162756151014276 0ustar From: Evgeni Golov Subject: fix crash when HOME is unset and getenv() returns NULL Last-Update: 2013-06-26 Index: gnujump-1.0.6/src/main.c =================================================================== --- gnujump-1.0.6.orig/src/main.c 2013-06-26 21:14:47.000000000 +0200 +++ gnujump-1.0.6/src/main.c 2013-06-26 21:30:18.764096468 +0200 @@ -54,6 +54,10 @@ /* Get the config file name */ #ifndef WIN32 homeDir = getenv ("HOME"); + if (homeDir == NULL) { + homeDir = malloc (sizeof (char) * 2); + strcpy(homeDir, "/"); + } cfgFile = malloc (sizeof (char) * (strlen (homeDir) + strlen (CONFDIR) + strlen (CFGFILE) + 3)); Index: gnujump-1.0.6/src/setup.c =================================================================== --- gnujump-1.0.6.orig/src/setup.c 2008-09-23 16:17:29.000000000 +0200 +++ gnujump-1.0.6/src/setup.c 2013-06-26 21:30:43.089779756 +0200 @@ -55,6 +55,10 @@ #ifndef WIN32 homeDir = getenv ("HOME"); + if (homeDir == NULL) { + homeDir = malloc (sizeof (char) * 2); + strcpy(homeDir, "/"); + } cfgDir = malloc (sizeof (char) * (strlen (homeDir) + strlen (CONFDIR) + 2)); sprintf (cfgDir, "%s/" CONFDIR, homeDir); if (access (cfgDir, F_OK) < 0) debian/patches/01_Makefile_am_datadir_fix.patch0000644000000000000000000000057712166057456016713 0ustar We want our data in /usr/share/games/$(package), not in /usr/share/$(package) --- a/src/Makefile.am 2008-08-11 15:04:48.000000000 +0200 +++ b/src/Makefile.am 2008-09-14 20:13:31.000000000 +0200 @@ -42,7 +42,7 @@ effects-trail.c \ effects-blur.c -datadirdir = $(prefix)/share/$(package) +datadirdir = $(datadir)/$(package) datadir = @datadir@ localedir = $(datadir)/locale debian/source/0000755000000000000000000000000012166100445010465 5ustar debian/source/format0000644000000000000000000000001411611254743011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000152411706776647010275 0ustar #!/usr/bin/make -f AUTO_JUNK = config.guess config.sub configure depcomp INSTALL \ install-sh ltmain.sh missing mkinstalldirs aclocal.m4 config.h.in m4 %: dh $@ override_dh_auto_configure: autoreconf --force --install --symlink ./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games override_dh_auto_build: dh_auto_build convert -transparent '#00fff6' skins/default/hero1.0.png debian/gnujump.xpm convert debian/gnujump.xpm debian/gnujump.png override_dh_auto_clean: test ! -e Makefile || $(MAKE) maintainer-clean # rm -f, because if the list is empty rm is still called. find . -name Makefile.in -print0 | xargs -0 rm -f dh_auto_clean test ! -e debian/gnujump.png || rm debian/gnujump.png test ! -e debian/gnujump.xpm || rm debian/gnujump.xpm ifneq ($(wildcard ${AUTO_JUNK}),) rm -r $(wildcard ${AUTO_JUNK}) endif debian/gnujump.install0000644000000000000000000000021411611254743012244 0ustar /usr/games/gnujump debian/gnujump.xpm usr/share/pixmaps debian/gnujump.png usr/share/pixmaps debian/gnujump.desktop usr/share/applications/ debian/watch0000644000000000000000000000015612166057351010227 0ustar # watch file version version=3 # download location ftp://ftp.gnu.org/gnu/gnujump/ gnujump-([-0-9.]*)\.tar\.gz debian/gnujump.menu0000644000000000000000000000034611065501504011541 0ustar ?package(gnujump):needs="X11" section="Games/Action" \ title="GNUjump" longtitle="Jump up the tower to survive" \ hints="Jump up the tower to survive" \ command="/usr/games/gnujump" \ icon="/usr/share/pixmaps/gnujump.xpm"