r3288 - in packages/trunk/funguloids: . debian debian/patches

Andres Mejia ceros-guest at alioth.debian.org
Mon Jul 9 05:10:30 UTC 2007


Author: ceros-guest
Date: 2007-07-09 05:10:30 +0000 (Mon, 09 Jul 2007)
New Revision: 3288

Added:
   packages/trunk/funguloids/debian/
   packages/trunk/funguloids/debian/README.Debian
   packages/trunk/funguloids/debian/changelog
   packages/trunk/funguloids/debian/compat
   packages/trunk/funguloids/debian/control
   packages/trunk/funguloids/debian/copyright
   packages/trunk/funguloids/debian/funguloids.desktop
   packages/trunk/funguloids/debian/funguloids.install
   packages/trunk/funguloids/debian/funguloids.menu
   packages/trunk/funguloids/debian/patches/
   packages/trunk/funguloids/debian/patches/disable_ogre-plugins-cgprogrammanager.dpatch
   packages/trunk/funguloids/debian/patches/makefile_modifications.dpatch
   packages/trunk/funguloids/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk


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

Added: packages/trunk/funguloids/debian/README.Debian
===================================================================
--- packages/trunk/funguloids/debian/README.Debian	                        (rev 0)
+++ packages/trunk/funguloids/debian/README.Debian	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,16 @@
+Newline Convention
+===============================================================================
+
+Two files (bin/plugins.cfg.in and bin/resources.cfg.in) had their end of line
+conventions set to be compatible with Windows/DOS. This caused problems while
+attempting to patch them so their end of line convention was set for
+compatibility with Unix-like systems. Therefore these two files are different
+from the files delivered upstream.
+
+ogre-plugins-cgprogrammanager
+===============================================================================
+
+Funguloids can be played with or without ogre-plugins-cgprogrammanager. Without
+ogre-plugins-cgprogrammanager, the game's visual quality will be slightly
+diminished. For architectures and kernels that don't contain the
+ogre-plugins-cgprogrammanager package, the CgProgramManager plugin setting is removed.

Added: packages/trunk/funguloids/debian/changelog
===================================================================
--- packages/trunk/funguloids/debian/changelog	                        (rev 0)
+++ packages/trunk/funguloids/debian/changelog	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,5 @@
+funguloids (1.06-1) unstable; urgency=low
+
+  * New upstream release (Closes: #428718)
+
+ -- Andres Mejia <mcitadel at gmail.com>  Sun, 08 Jul 2007 02:38:08 -0400

Added: packages/trunk/funguloids/debian/compat
===================================================================
--- packages/trunk/funguloids/debian/compat	                        (rev 0)
+++ packages/trunk/funguloids/debian/compat	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1 @@
+5

Added: packages/trunk/funguloids/debian/control
===================================================================
--- packages/trunk/funguloids/debian/control	                        (rev 0)
+++ packages/trunk/funguloids/debian/control	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,16 @@
+Source: funguloids
+Priority: optional
+Section: contrib/games
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Andres Mejia <mcitadel at gmail.com>
+Build-Depends: debhelper (>= 5), dpatch, automake, autoconf, liblua5.1-0-dev, libois-dev, libogre-dev, libalut-dev, libopenal-dev, libogg-dev, libvorbis-dev, libmad0-dev
+Standards-Version: 3.7.2
+
+Package: funguloids
+Architecture: any
+Depends: ${shlibs:Depends}, ogre-plugins-cgprogrammanager [amd64 i386]
+Description: space-flying-mushroom-picking-simulator game
+ "Those Funny Funguloids!" is actually a nice little piece of entertainment.
+ You collect mushrooms, bring them back to your home base and profit! That's
+ the basic idea in a nutshell. It has smooth, appealing 3d graphics and nice
+ atmospheric sound effects. Go ahead and try it out - it has sounds too!

Added: packages/trunk/funguloids/debian/copyright
===================================================================
--- packages/trunk/funguloids/debian/copyright	                        (rev 0)
+++ packages/trunk/funguloids/debian/copyright	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,31 @@
+This package was debianized by Andres Mejia <mcitadel at gmail.com> on
+Sat, 23 Jun 2007 15:59:37 -0400.
+
+It was downloaded from <http://funguloids.sourceforge.net/download.html>. The (sources + data) tarball was downloaded.
+
+Credits:
+
+Code: Mika Halttunen <lsoftNOSPAM at mbnet.fi>
+Game Design: Teemu Ruokolainen
+Artwork: Mika Halttunen
+Sound Design & Music: Teemu Ruokolainen
+
+We're using Ogre graphics engine for visuals, OIS for input, Lua for scripting and OpenAL for audio output. SimpleIni is used for the configuration reading/writing. Hosted by SourceForge.
+
+Comments, ideas, patches, bug reports, etc. are always welcome and appreciated! :) Use the SourceForge trackers, or just mail me at the e-mail address above. And be sure to check out Funguloids website at http://funguloids.sourceforge.net for the latest stuff!
+
+Copyright and License:
+
+"Those Funny Funguloids!" is licensed under the zlib/libpng license.
+Copyright © 2006-2007, Mika Halttunen & Teemu Ruokolainen
+
+This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
+
+   1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
+   2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
+   3. This notice may not be removed or altered from any source distribution.
+
+The Debian packaging is (C) 2007, Andres Mejia <mcitadel at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/trunk/funguloids/debian/funguloids.desktop
===================================================================
--- packages/trunk/funguloids/debian/funguloids.desktop	                        (rev 0)
+++ packages/trunk/funguloids/debian/funguloids.desktop	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Funguloids
+Comment=space-flying-mushroom-picking-simulator
+Icon=funguloids
+Exec=/usr/games/funguloids >/dev/null 2>&1
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;

Added: packages/trunk/funguloids/debian/funguloids.install
===================================================================
--- packages/trunk/funguloids/debian/funguloids.install	                        (rev 0)
+++ packages/trunk/funguloids/debian/funguloids.install	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,4 @@
+usr/games/*
+usr/share/games/*
+usr/share/pixmaps/*
+../funguloids.desktop usr/share/applications

Added: packages/trunk/funguloids/debian/funguloids.menu
===================================================================
--- packages/trunk/funguloids/debian/funguloids.menu	                        (rev 0)
+++ packages/trunk/funguloids/debian/funguloids.menu	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,2 @@
+?package(funguloids):needs="X11" section="Games/Arcade"\
+  title="funguloids" command="/usr/games/funguloids >/dev/null 2>&1"

Added: packages/trunk/funguloids/debian/patches/disable_ogre-plugins-cgprogrammanager.dpatch
===================================================================
--- packages/trunk/funguloids/debian/patches/disable_ogre-plugins-cgprogrammanager.dpatch	                        (rev 0)
+++ packages/trunk/funguloids/debian/patches/disable_ogre-plugins-cgprogrammanager.dpatch	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+## disable_ogre-plugins-cgprogrammanager.dpatch by Andres Mejia
+## <mcitadel at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This is used for disabling CgProgramManager on unsupported archs.
+
+dir=
+if [ $# -eq 3 -a "$2" = '-d' ]; then
+    pdir="-d $3"
+    dir="$3/"
+elif [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch)
+        patch $pdir -f --no-backup-if-mismatch -p0 < $0
+        ;;
+    -unpatch)
+        patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
+        ;;
+    *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+--- funguloids/bin/plugins.cfg.in~	2007-07-08 01:48:31.000000000 -0400
++++ funguloids/bin/plugins.cfg.in	2007-07-08 01:49:14.000000000 -0400
+@@ -7,6 +7,5 @@
+ Plugin=RenderSystem_GL
+ Plugin=Plugin_ParticleFX
+ Plugin=Plugin_OctreeSceneManager
+-Plugin=Plugin_CgProgramManager
+ 
+ 

Added: packages/trunk/funguloids/debian/patches/makefile_modifications.dpatch
===================================================================
--- packages/trunk/funguloids/debian/patches/makefile_modifications.dpatch	                        (rev 0)
+++ packages/trunk/funguloids/debian/patches/makefile_modifications.dpatch	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,79 @@
+#! /bin/sh -e
+## makefile_modifications.dpatch by Andres Mejia <mcitadel at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch that modifies some makefiles.
+
+dir=
+if [ $# -eq 3 -a "$2" = '-d' ]; then
+    pdir="-d $3"
+    dir="$3/"
+elif [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch)
+        patch $pdir -f --no-backup-if-mismatch -p0 < $0
+        ;;
+    -unpatch)
+        patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
+        ;;
+    *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+## DP: Patch to install music files using DESTDIR.
+--- funguloids/bin/music/Makefile.am~	2007-06-23 18:03:05.000000000 -0400
++++ funguloids/bin/music/Makefile.am	2007-06-23 18:04:00.000000000 -0400
+@@ -1,15 +1,11 @@
+-musicinstall_DATA = playlist.lua
++musicinstall_DATA = playlist.lua MarylandInMay.ogg
+ 
+ EXTRA_DIST = playlist.lua.in
+ 
+ playlist.lua: playlist.lua.in
+ 	cat playlist.lua.in | sed 's,%%musicinstalldir%%, at musicinstalldir@,' > playlist.lua
+ 
+-install-data-hook:
+-	if test -r MarylandInMay.ogg; then cp MarylandInMay.ogg "@musicinstalldir@"; fi;
+-
+-
+ distclean: clean
+ 
+ clean:
+-	-rm -f playlist.lua *~
++	-rm -f playlist.lua MarylandInMay.ogg *~
+## DP: Patch to install data files using DESTDIR.
+--- funguloids/bin/Makefile.am~	2007-06-23 18:36:56.000000000 -0400
++++ funguloids/bin/Makefile.am	2007-06-23 18:39:50.000000000 -0400
+@@ -4,7 +4,7 @@
+ dist_pixmapinstall_DATA = funguloids.png
+ dist_gameinstall_DATA = gamesettings.cfg
+ dist_docinstall_DATA = readme.html
+-gameinstall_DATA = plugins.cfg resources.cfg
++gameinstall_DATA = plugins.cfg resources.cfg bootstrap.mpk funguloids.mpk
+ 
+ plugins.cfg: plugins.cfg.in
+ 	cat plugins.cfg.in | sed 's,%%ogreplugindir%%, at ogreplugindir@/,' > plugins.cfg
+@@ -22,9 +22,7 @@
+ 		if test ! -e "@highscoredir@/hiscore.lst"; then cp hiscore.lst.in "@highscoredir@/hiscore.lst"; fi; \
+ 		chgrp -R @highscoregroup@ "@highscoredir@"; \
+ 		chmod -R g+w "@highscoredir@"; \
+-	fi; \
+-	if test -r bootstrap.mpk; then cp bootstrap.mpk "@gameinstalldir@"; fi; \
+-	if test -r funguloids.mpk; then cp funguloids.mpk "@gameinstalldir@"; fi
++	fi;
+ 
+ uninstall-hook:
+ 	rm -rf "@docinstalldir@"
+@@ -32,5 +30,6 @@
+ distclean: clean
+ 
+ clean:
+-	-rm -f funguloids funguloids.sh plugins.cfg resources.cfg Ogre.log ogre.cfg *~
++	-rm -f funguloids funguloids.sh plugins.cfg resources.cfg \
++	bootstrap.mpk funguloids.mpk Ogre.log ogre.cfg *~
+ 

Added: packages/trunk/funguloids/debian/rules
===================================================================
--- packages/trunk/funguloids/debian/rules	                        (rev 0)
+++ packages/trunk/funguloids/debian/rules	2007-07-09 05:10:30 UTC (rev 3288)
@@ -0,0 +1,88 @@
+#! /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)
+
+unpack: unpack-stamp
+unpack-stamp:
+	dh_testdir
+	tar -xvzf funguloids.tar.gz
+	touch unpack-stamp
+
+patch: unpack patch-stamp
+patch-stamp:
+	dpatch apply makefile_modifications
+# This is so Funguloids won't ask for the CgProgramManager plugin on
+# architectures or kernels that don't contain the
+# ogre-plugins-cgprogrammanager package.
+ifneq ($(DEB_HOST_GNU_TYPE),$(findstring $(DEB_HOST_GNU_TYPE), \
+		i486-linux-gnu \
+		x86_64-linux-gnu))
+
+	dpatch apply disable_ogre-plugins-cgprogrammanager
+endif
+	touch patch-stamp
+
+configure: unpack patch configure-stamp
+configure-stamp:
+	dh_testdir
+	cd funguloids && \
+	aclocal && \
+	autoheader && \
+	automake --add-missing --copy && \
+	autoconf && \
+	CXX=$(DEB_HOST_GNU_TYPE)-g++ ./configure --prefix=/usr --with-fmod=no
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	cd funguloids && $(MAKE)
+	touch build-stamp
+
+clean: clean-stamp
+clean-stamp:
+	dh_testdir
+	dh_testroot
+	rm -rf funguloids
+	rm -rf debian/patched
+	rm -f *-stamp
+	dh_clean
+
+install: build
+	dh_testdir 
+	dh_testroot
+	dh_clean -k
+	install -d debian/tmp
+	cd funguloids && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+binary-indep:
+# Nothing to do for binary-indep
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install --sourcedir=debian/tmp
+	dh_installchangelogs
+	dh_installdocs debian/tmp/usr/share/docs/funguloids/*
+	dh_installmenu
+	dh_desktop
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch
+.PHONY: unpack configure build clean binary-indep binary-arch binary install 


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




More information about the Pkg-games-commits mailing list