r12553 - in packages/trunk/the-butterfly-effect: . debian debian/patches debian/source

Miriam Ruiz miriam at alioth.debian.org
Sun Jul 24 16:00:00 UTC 2011


Author: miriam
Date: 2011-07-24 16:00:00 +0000 (Sun, 24 Jul 2011)
New Revision: 12553

Added:
   packages/trunk/the-butterfly-effect/debian/
   packages/trunk/the-butterfly-effect/debian/README.source
   packages/trunk/the-butterfly-effect/debian/changelog
   packages/trunk/the-butterfly-effect/debian/compat
   packages/trunk/the-butterfly-effect/debian/control
   packages/trunk/the-butterfly-effect/debian/copyright
   packages/trunk/the-butterfly-effect/debian/patches/
   packages/trunk/the-butterfly-effect/debian/patches/build.patch
   packages/trunk/the-butterfly-effect/debian/patches/series
   packages/trunk/the-butterfly-effect/debian/rules
   packages/trunk/the-butterfly-effect/debian/source/
   packages/trunk/the-butterfly-effect/debian/source/format
   packages/trunk/the-butterfly-effect/debian/source/options
   packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.docs
   packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.install
Log:
[svn-inject] Applying Debian modifications (0.0~m8.2+dfsg1-1) to trunk


Property changes on: packages/trunk/the-butterfly-effect/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/trunk/the-butterfly-effect/debian/README.source
===================================================================
--- packages/trunk/the-butterfly-effect/debian/README.source	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/README.source	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1 @@
+See /usr/share/doc/quilt/README.source

Added: packages/trunk/the-butterfly-effect/debian/changelog
===================================================================
--- packages/trunk/the-butterfly-effect/debian/changelog	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/changelog	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,5 @@
+the-butterfly-effect (0.0~m8.2+dfsg1-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Sun, 24 Jul 2011 12:33:07 +0200

Added: packages/trunk/the-butterfly-effect/debian/compat
===================================================================
--- packages/trunk/the-butterfly-effect/debian/compat	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/compat	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1 @@
+7

Added: packages/trunk/the-butterfly-effect/debian/control
===================================================================
--- packages/trunk/the-butterfly-effect/debian/control	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/control	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,36 @@
+Source: the-butterfly-effect
+Section: games
+Priority: unreleased
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Miriam Ruiz <little_miry at yahoo.es>
+Build-Depends: debhelper (>= 7), dh-buildinfo, quilt,
+ qt4-qmake, qt4-dev-tools, libqt4-dev, libbox2d-dev
+Standards-Version: 3.9.1
+Homepage: http://the-butterfly-effect.org/
+
+Package: the-butterfly-effect
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: the-butterfly-effect-dbg (= ${binary:Version})
+Description: description
+ The Butterfly Effect is a physics game about cause and effect. You build
+ complex mechanical systems using levers, rocket-like cola bottles and
+ ordinary objects like tennis balls and bikes to accomplish simple tasks
+ like toppling a Bowling Pin. This is also known as a Rube Goldberg machine
+ or a Heath Robinson contraption. This type of game was pioneered by the
+ game series The Incredible Machine in the 1990s.
+
+Package: the-butterfly-effect-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: the-butterfly-effect (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: description - debug
+ The Butterfly Effect is a physics game about cause and effect. You build
+ complex mechanical systems using levers, rocket-like cola bottles and
+ ordinary objects like tennis balls and bikes to accomplish simple tasks
+ like toppling a Bowling Pin. This is also known as a Rube Goldberg machine
+ or a Heath Robinson contraption. This type of game was pioneered by the
+ game series The Incredible Machine in the 1990s.
+ .
+ This package contains the debugging symbols.

Added: packages/trunk/the-butterfly-effect/debian/copyright
===================================================================
--- packages/trunk/the-butterfly-effect/debian/copyright	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/copyright	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,44 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: the-butterfly-effect
+Upstream-Contact: Peter van Ginneken <lspace at users.sf.net>
+                  Klaas van Gend <kvangend at users.sf.net>
+Source: http://sourceforge.net/projects/tbe/
+Debianized-By: Miriam Ruiz <little_miry at yahoo.es>
+Debianized-Date: Sun, 24 Jul 2011 12:33:07 +0200
+
+Files: *
+Copyright: Copyright (C) 2009-2010, Klaas van Gend
+License: GPL-2
+
+Files: src/view/Popup.h
+Copyright: Copyright (C) 2006-2009, Klaas van Gend
+           Copyright (C) 2007, Christofer Wesseling
+License: GPL-2
+
+Files: images/
+Copyright: 
+License: 
+
+Files: debian/*
+Copyright: Copyright (C) 2011, Miriam Ruiz <little_miry at yahoo.es>
+License: GPL-2+
+
+License: GPL-2
+ This program 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 Software Foundation; version 2 of the License.
+ .
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-2+
+ This program 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 Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ On Debian systems, the complete text of the latest version of the GNU
+ General Public License can be found in `/usr/share/common-licenses/GPL'.
+ .
+ The complete text of version 2 of the GNU General Public License can be
+ found in `/usr/share/common-licenses/GPL-2'.

Added: packages/trunk/the-butterfly-effect/debian/patches/build.patch
===================================================================
--- packages/trunk/the-butterfly-effect/debian/patches/build.patch	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/patches/build.patch	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,105 @@
+--- TheButterflyEffect-m8.2.orig/tbe.pro
++++ TheButterflyEffect-m8.2/tbe.pro
+@@ -2,7 +2,7 @@
+ LANGUAGE = C++
+ CONFIG += qt \
+     warn_on \
+-    debug
++    release link_prl
+ LIBS += -lbox2d \
+     -L3rdParty/lib
+ DEFINES += QT_NO_ASCII_CAST
+--- /dev/null
++++ TheButterflyEffect-m8.2/src/tbe_global.h
+@@ -0,0 +1,91 @@
++/* The Butterfly Effect
++ * This file copyright (C) 2009  Klaas van Gend
++ *
++ * This program 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 Software Foundation
++ * applicable version is GPL version 2 only.
++
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ * GNU General Public License for more details.
++
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
++ */
++
++#ifndef TBE_GLOBAL
++#define TBE_GLOBAL
++
++#define APPNAME "The Butterfly Effect"
++#define APPRELEASE "Milestone8"
++/* for your special versioning needs, normally empty */
++#ifndef APPFLAVOUR
++#define APPFLAVOUR ""
++#endif
++#include <QtGlobal>
++#include <QString>
++
++const float PI    = 3.14159265;
++const float SQRT2 = 1.41421356;
++
++/* Debug verbosity
++ * level 1 = very little information, autodetect KILLING
++ * level 2 = level 1 + autodetect GOOD/BAD + some general messages on behaviour
++ * level 3 = level 2 + autodetect INFO
++ * level 4 = level 3 + AT commands and answers
++ * level 5 = all debugging, including entry of functions under scrutiny
++ * level 6 = timing info on serial port
++ */
++#if !defined(NDEBUG)
++#include <stdio.h>
++#include <time.h>
++extern int theVerbosity;	// actually defined in main.cpp
++#define MAX_VERBOSITY 6
++// note: the below is actually GCC-specific, see "info:/gcc/Variadic Macros"
++#define DEBUG1(format, ...)	{if (theVerbosity>=1) printf("**** t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#define DEBUG2(format, ...)	{if (theVerbosity>=2) printf("***  t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#define DEBUG3(format, ...)	{if (theVerbosity>=3) printf("**   t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#define DEBUG4(format, ...)	{if (theVerbosity>=4) printf("*    t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#define DEBUG4NT(format, ...)	{if (theVerbosity>=4) printf(format, ## __VA_ARGS__);}
++#define DEBUG5(format, ...)	{if (theVerbosity>=5) printf("     t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#define DEBUG6(format, ...)	{if (theVerbosity>=6) printf("     t=%03ld: " format, time(NULL)%1000, ## __VA_ARGS__);}
++#else
++#define DEBUG1(format, ...)     { /**/ }
++#define DEBUG2(format, ...)     { /**/ }
++#define DEBUG3(format, ...)     { /**/ }
++#define DEBUG4(format, ...)     { /**/ }
++#define DEBUG4NT(format, ...)     { /**/ }
++#define DEBUG5(format, ...)     { /**/ }
++#define DEBUG6(format, ...)     { /**/ }
++#endif
++
++
++#define UNUSED_ARG __attribute__((unused))
++#define UNUSED_VAR(x) ((void)(x))
++
++/// Converts a QString into a char* .
++/// This function is NOT REENTRANT - make sure not to use it twice in the same set of arguments...
++/// (implemented in main.cpp)
++extern const char* ASCII(const QString& aQString);
++
++
++/// instead of using hardcoded paths, please use the below:
++#define BINARY_DIRECTORY   (qApp->applicationDirPath())
++#define DATA_DIRECTORY     "/usr/share/games/the-butterfly-effect"
++#define IMAGES_DIRECTORY   QString(DATA_DIRECTORY "/images")
++#define LEVELS_DIRECTORY   QString(DATA_DIRECTORY "/levels")
++#define I18N_DIRECTORY     QString(DATA_DIRECTORY "/i18n")
++
++/// defined in main.cpp
++extern bool theDisplayFramerate;
++extern bool theDrawDebug;
++extern bool theDrawPolyOutline;
++extern bool theIsCollisionOn;
++extern bool theIsLevelEditor;
++extern bool theTBECaching;
++extern QString theStartFileName;
++
++#endif // TBE_GLOBAL

Added: packages/trunk/the-butterfly-effect/debian/patches/series
===================================================================
--- packages/trunk/the-butterfly-effect/debian/patches/series	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/patches/series	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1 @@
+build.patch

Added: packages/trunk/the-butterfly-effect/debian/rules
===================================================================
--- packages/trunk/the-butterfly-effect/debian/rules	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/rules	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+config: config-stamp
+config-stamp: 
+	dh_testdir
+	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	qmake-qt4 tbe.pro
+	touch $@
+
+build: build-stamp
+build-stamp: config
+	dh_testdir
+	$(MAKE) \
+		CFLAGS="$(CFLAGS)" \
+		LDFLAGS="-Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined"
+	lupdate tbe.pro
+	lrelease tbe.pro
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp config-stamp
+	[ ! -f Makefile ] || $(MAKE) clean
+	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/the-butterfly-effect install
+
+# Build architecture-independent files here.
+binary-indep: install
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+#	dh_desktop
+	dh_link
+	dh_strip --dbg-package=the-butterfly-effect-dbg
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: config build clean binary-indep binary-arch binary install 


Property changes on: packages/trunk/the-butterfly-effect/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/trunk/the-butterfly-effect/debian/source/format
===================================================================
--- packages/trunk/the-butterfly-effect/debian/source/format	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/source/format	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/trunk/the-butterfly-effect/debian/source/options
===================================================================
--- packages/trunk/the-butterfly-effect/debian/source/options	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/source/options	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,5 @@
+# Bzip2 compression for debian.tar
+compression = "bzip2"
+compression-level = 7
+# Do not generate diff for changes in config.(sub|guess)
+extend-diff-ignore = "(^|/)config.(sub|guess)$"

Added: packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.docs
===================================================================
--- packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.docs	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.docs	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,2 @@
+README
+RUNNING

Added: packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.install
===================================================================
--- packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.install	                        (rev 0)
+++ packages/trunk/the-butterfly-effect/debian/the-butterfly-effect.install	2011-07-24 16:00:00 UTC (rev 12553)
@@ -0,0 +1,4 @@
+tbe /usr/games/
+i18n/ /usr/share/games/the-butterfly-effect/
+images/ /usr/share/games/the-butterfly-effect/
+levels/ /usr/share/games/the-butterfly-effect/




More information about the Pkg-games-commits mailing list