r14869 - in packages/tags/trigger: . 0.6.0-2/debian 0.6.0-2/debian/patches

Stefan Potyra sistpoty-guest at moszumanska.debian.org
Thu Jan 23 21:58:08 UTC 2014


Author: sistpoty-guest
Date: 2014-01-23 21:58:08 +0000 (Thu, 23 Jan 2014)
New Revision: 14869

Added:
   packages/tags/trigger/0.6.0-2/
   packages/tags/trigger/0.6.0-2/debian/changelog
   packages/tags/trigger/0.6.0-2/debian/control
   packages/tags/trigger/0.6.0-2/debian/patches/30_autotools.patch
   packages/tags/trigger/0.6.0-2/debian/patches/series
   packages/tags/trigger/0.6.0-2/debian/rules
Removed:
   packages/tags/trigger/0.6.0-2/debian/changelog
   packages/tags/trigger/0.6.0-2/debian/control
   packages/tags/trigger/0.6.0-2/debian/patches/series
   packages/tags/trigger/0.6.0-2/debian/rules
Log:
tag 0.6.0-2


Deleted: packages/tags/trigger/0.6.0-2/debian/changelog
===================================================================
--- packages/trunk/trigger/debian/changelog	2014-01-23 01:02:06 UTC (rev 14863)
+++ packages/tags/trigger/0.6.0-2/debian/changelog	2014-01-23 21:58:08 UTC (rev 14869)
@@ -1,164 +0,0 @@
-trigger-rally (0.6.0-2) UNRELEASED; urgency=low
-
-  [ Stefan Potyra ]
-  * Document changes here...
-
-  [ Evgeni Golov ]
-  * Correct Vcs-* URLs to point to anonscm.debian.org
-
-  [ Alexander Reichle-Schmehl ]
-  * Removed myself from uploaders.
-
- -- Stefan Potyra <sistpoty at ubuntu.com>  Fri, 25 Nov 2011 22:38:47 +0100
-
-trigger-rally (0.6.0-1) unstable; urgency=low
-
-  * New upstream release.
-  * debian/patches/05_Makefile.am.patch: dropped, included upstream.
-  * Refresh debian/patches/10_system_glew.patch.
-  * debian/control:
-    + drop transitional package.
-    + bump Standards-Version to 3.9.2, no changes needed apart
-      from dropping the transitional package.
-    + add libtinyxml-dev to build-depends.
-    + Update versioned depends against data files.
-    + Update long description.
-  * debian/trigger-rally.6.sgml: Fix grammar error in copyright description.
-  * debian/rules:
-    + add build-arch/build-indep target.
-    + remove shipped tinyxml files before configuring the package.
-  * debian/patches/20_system_tinyxml.patch: link against system tinyxml.
-
- -- Stefan Potyra <sistpoty at ubuntu.com>  Fri, 25 Nov 2011 22:08:15 +0100
-
-trigger-rally (0.5.2.1-2) unstable; urgency=low
-
-  [ Gonéri Le Bouder ]
-  * Drop the comment about the CPU and the memory in the long
-    description
-
-  [ Alexander Reichle-Schmehl ]
-  * Add depends on ${misc:Depends}
-  * Bump standards (no changes needed)
-
-  [ Stefan Potyra ]
-  * debian/source/format, debian/patches, debian/rules: 
-    convert to 3.0 (quilt).
-  * debian/control: Drop b-d on cdbs.
-  * debian/control: wrap build-dependencies and Uploaders.
-  * debian/control: Add DM-Upload-Allowed: yes.
-  * debian/README.source: dropped, doesn't use a patch system any longer.
-  * debian/control: Add libglew1.5-dev to build-depends.
-  * debian/patches/10_system_glew.patch: Don't link against the internal
-    copy of libglew, but rather use the system libglew.
-  * debian/rules: Remove shipped copy of glew to make sure it won't get
-    used during build.
-  * debian/control: Improve wording in description.
-  * debian/control: Make the transitional package arch:all.
-  * debian/trigger-rally.desktop: Drop category 3DGraphics, LP: #532067.
-  * debian/rules: Don't ignore errors in clean.
-
- -- Stefan Potyra <sistpoty at ubuntu.com>  Sat, 10 Apr 2010 12:10:50 +0200
-
-trigger-rally (0.5.2.1-1) unstable; urgency=low
-
-  [ Ansgar Burchardt ]
-  * Remove deprecated Encoding key from .desktop file
-  * debian/control: Change XS-Vcs-* to Vcs-*
-  * Remove Homepage semi-field from description
-
-  [ Eddy Petrișor ]
-  * fix Vcs-Svn URL to point to svn, not the incomplete ssh location
-
-  [ Alexander Reichle-Schmehl ]
-  * Adopt debian/control to my new name
-
-  [ Gonéri Le Bouder ]
-  * data file are in /usr/share/games/trigger
-  * rename the package to trigger-rally
-
-  [ Stefan Potyra ]
-  * New upstream version.
-  * Dropped patches (since integrated upstream):
-    + 10_src_glew_jamfile.patch
-    + 15_fixup_physfs_alut_interaction.patch
-    + 20_fix_build_with_gcc4.1.patch
-    + 30_physfs_sdl_interaction.patch
-  * Update homepage in control-file to new sourceforge homepage.
-  * Update watch file accordingly (Closes: #449900).
-  * Run automake during building:
-    + Add build-depends on automake1.9.
-    + Add rule to build configure script.
-    + Also delete configure, Jamconfig.in during clean (which are not
-      deleted by jam distclean).
-    + Delete mk/autoconf/sdl.m4, since we use the newer macro supplied
-      by the debian sdl package instead.
-  * Add 05_Makefile.am.patch to not link against zlib1g any longer,
-    as trigger doesn't directly need any symbols from it.
-  * Make configure rule in debian/rules depend on apply-patches.
-  * Update the hint where to install plugins for all users in
-    README.Debian to a saner location.
-  * debian/control: With the other changes, these packages satisfies 
-    policy 3.8.0.
-  * Remove extension for icon in desktop file.
-  * debian/control: require automake (>= 1.9) instead of automake1.9.
-
-  [ Jon Dowland ]
-  * update menu section to "Games/Action" for menu policy transition.
-    Thanks Linas Žvirblis.
-
-  [ Barry deFreese ]
-  * Add VCS and Homepage fields in control
-  * Fix up files for package rename
-  * Remove get-orig-source target from rules
-  * Add myself to uploaders
-
- -- Barry deFreese <bdefreese at debian.org>  Tue, 24 Mar 2009 12:00:32 -0400
-
-trigger (0.5.2-2) unstable; urgency=low
-
-  [ Stefan Potyra ]
-  * Removed the workaround patch for directly reading from files
-    instead of using the libphysfs-layer.
-  * Add a patch to src/pengine/physfs_rw.cpp to fix seeking.
-    Thus any data or plugin can be loaded from zip files again
-    (closes: #379372).
-  * Add a note how to install plugins in README.Debian.
-  * Properly patch the interaction between freealut and physfs, thus
-    sound files can also be loaded from zip plugins again.
-  * debian/patches: split up patches against the build system from
-    patches against the sourcecode.
-
-
- -- Stefan Potyra <sistpoty at ubuntu.com>  Sun, 23 Jul 2006 18:17:18 +0200
-
-trigger (0.5.2-1) unstable; urgency=low
-
-  [ Eddy Petrişor ]
-  * Added Romanian translation to desktop file
-
-  [ Stefan Potyra ]
-  * Initial release (closes: #270405).
-  * Patched src/glew/Jamfile to fix up include directory.
-  * Took Reinhard Tartler's patch to configure.ac which adds support
-    for libalut-dev. Reran autotools to make it work.
-  * Ported src/pengine/audio.{cpp|h} to new freealut semantics, as the
-    compatibility functions won't work any longer.
-  * Patched src/pengine/texture.cpp to not use physfs's file structure
-    any longer, but rather only the filename from it, since it breaks
-    when loading images otherwise.
-
-  [ Gonéri Le Bouder ]
-  * create the patches directory
-  * add myself in uploader
-  * Standards-Version: 3.7.2
-  * add buiddepends on cdbs because of simple-patchsys
-  * add 20_fix_build_with_gcc4.1.patch
-  * french translation in the desktop file
-
-  [ Alexander Schmehl ]
-  * fixing debian/changelog (dpkg-parsechangelog didn't liked it)
-  * adding myself to uploaders (to avoid this being an NMU)
-  * fixing homepage semi-header in package description
-
- -- Stefan Potyra <sistpoty at ubuntu.com>  Thu, 20 Jul 2006 16:10:00 +0200

Copied: packages/tags/trigger/0.6.0-2/debian/changelog (from rev 14868, packages/trunk/trigger/debian/changelog)
===================================================================
--- packages/tags/trigger/0.6.0-2/debian/changelog	                        (rev 0)
+++ packages/tags/trigger/0.6.0-2/debian/changelog	2014-01-23 21:58:08 UTC (rev 14869)
@@ -0,0 +1,173 @@
+trigger-rally (0.6.0-2) unstable; urgency=low
+
+  [ Stefan Potyra ]
+  * debian/rules:
+    + Fix the binary-indep/build-indep rules: No package to build.
+  * debian/control:
+    + drop DM-Upload-Allowed field (obsolete).
+    + drop Conflicts against trigger (upgrades from oldstable not supported).
+    + Bump Standards-Version to 3.9.5, since all required changes
+      have been done.
+  * debian/patches/30_autotools.patch:
+    Refresh config.sub/config.guess if present (Closes: #727989).
+
+  [ Evgeni Golov ]
+  * Correct Vcs-* URLs to point to anonscm.debian.org
+
+  [ Alexander Reichle-Schmehl ]
+  * Removed myself from uploaders.
+
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Thu, 23 Jan 2014 22:44:13 +0100
+
+trigger-rally (0.6.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/05_Makefile.am.patch: dropped, included upstream.
+  * Refresh debian/patches/10_system_glew.patch.
+  * debian/control:
+    + drop transitional package.
+    + bump Standards-Version to 3.9.2, no changes needed apart
+      from dropping the transitional package.
+    + add libtinyxml-dev to build-depends.
+    + Update versioned depends against data files.
+    + Update long description.
+  * debian/trigger-rally.6.sgml: Fix grammar error in copyright description.
+  * debian/rules:
+    + add build-arch/build-indep target.
+    + remove shipped tinyxml files before configuring the package.
+  * debian/patches/20_system_tinyxml.patch: link against system tinyxml.
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Fri, 25 Nov 2011 22:08:15 +0100
+
+trigger-rally (0.5.2.1-2) unstable; urgency=low
+
+  [ Gonéri Le Bouder ]
+  * Drop the comment about the CPU and the memory in the long
+    description
+
+  [ Alexander Reichle-Schmehl ]
+  * Add depends on ${misc:Depends}
+  * Bump standards (no changes needed)
+
+  [ Stefan Potyra ]
+  * debian/source/format, debian/patches, debian/rules: 
+    convert to 3.0 (quilt).
+  * debian/control: Drop b-d on cdbs.
+  * debian/control: wrap build-dependencies and Uploaders.
+  * debian/control: Add DM-Upload-Allowed: yes.
+  * debian/README.source: dropped, doesn't use a patch system any longer.
+  * debian/control: Add libglew1.5-dev to build-depends.
+  * debian/patches/10_system_glew.patch: Don't link against the internal
+    copy of libglew, but rather use the system libglew.
+  * debian/rules: Remove shipped copy of glew to make sure it won't get
+    used during build.
+  * debian/control: Improve wording in description.
+  * debian/control: Make the transitional package arch:all.
+  * debian/trigger-rally.desktop: Drop category 3DGraphics, LP: #532067.
+  * debian/rules: Don't ignore errors in clean.
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Sat, 10 Apr 2010 12:10:50 +0200
+
+trigger-rally (0.5.2.1-1) unstable; urgency=low
+
+  [ Ansgar Burchardt ]
+  * Remove deprecated Encoding key from .desktop file
+  * debian/control: Change XS-Vcs-* to Vcs-*
+  * Remove Homepage semi-field from description
+
+  [ Eddy Petrișor ]
+  * fix Vcs-Svn URL to point to svn, not the incomplete ssh location
+
+  [ Alexander Reichle-Schmehl ]
+  * Adopt debian/control to my new name
+
+  [ Gonéri Le Bouder ]
+  * data file are in /usr/share/games/trigger
+  * rename the package to trigger-rally
+
+  [ Stefan Potyra ]
+  * New upstream version.
+  * Dropped patches (since integrated upstream):
+    + 10_src_glew_jamfile.patch
+    + 15_fixup_physfs_alut_interaction.patch
+    + 20_fix_build_with_gcc4.1.patch
+    + 30_physfs_sdl_interaction.patch
+  * Update homepage in control-file to new sourceforge homepage.
+  * Update watch file accordingly (Closes: #449900).
+  * Run automake during building:
+    + Add build-depends on automake1.9.
+    + Add rule to build configure script.
+    + Also delete configure, Jamconfig.in during clean (which are not
+      deleted by jam distclean).
+    + Delete mk/autoconf/sdl.m4, since we use the newer macro supplied
+      by the debian sdl package instead.
+  * Add 05_Makefile.am.patch to not link against zlib1g any longer,
+    as trigger doesn't directly need any symbols from it.
+  * Make configure rule in debian/rules depend on apply-patches.
+  * Update the hint where to install plugins for all users in
+    README.Debian to a saner location.
+  * debian/control: With the other changes, these packages satisfies 
+    policy 3.8.0.
+  * Remove extension for icon in desktop file.
+  * debian/control: require automake (>= 1.9) instead of automake1.9.
+
+  [ Jon Dowland ]
+  * update menu section to "Games/Action" for menu policy transition.
+    Thanks Linas Žvirblis.
+
+  [ Barry deFreese ]
+  * Add VCS and Homepage fields in control
+  * Fix up files for package rename
+  * Remove get-orig-source target from rules
+  * Add myself to uploaders
+
+ -- Barry deFreese <bdefreese at debian.org>  Tue, 24 Mar 2009 12:00:32 -0400
+
+trigger (0.5.2-2) unstable; urgency=low
+
+  [ Stefan Potyra ]
+  * Removed the workaround patch for directly reading from files
+    instead of using the libphysfs-layer.
+  * Add a patch to src/pengine/physfs_rw.cpp to fix seeking.
+    Thus any data or plugin can be loaded from zip files again
+    (closes: #379372).
+  * Add a note how to install plugins in README.Debian.
+  * Properly patch the interaction between freealut and physfs, thus
+    sound files can also be loaded from zip plugins again.
+  * debian/patches: split up patches against the build system from
+    patches against the sourcecode.
+
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Sun, 23 Jul 2006 18:17:18 +0200
+
+trigger (0.5.2-1) unstable; urgency=low
+
+  [ Eddy Petrişor ]
+  * Added Romanian translation to desktop file
+
+  [ Stefan Potyra ]
+  * Initial release (closes: #270405).
+  * Patched src/glew/Jamfile to fix up include directory.
+  * Took Reinhard Tartler's patch to configure.ac which adds support
+    for libalut-dev. Reran autotools to make it work.
+  * Ported src/pengine/audio.{cpp|h} to new freealut semantics, as the
+    compatibility functions won't work any longer.
+  * Patched src/pengine/texture.cpp to not use physfs's file structure
+    any longer, but rather only the filename from it, since it breaks
+    when loading images otherwise.
+
+  [ Gonéri Le Bouder ]
+  * create the patches directory
+  * add myself in uploader
+  * Standards-Version: 3.7.2
+  * add buiddepends on cdbs because of simple-patchsys
+  * add 20_fix_build_with_gcc4.1.patch
+  * french translation in the desktop file
+
+  [ Alexander Schmehl ]
+  * fixing debian/changelog (dpkg-parsechangelog didn't liked it)
+  * adding myself to uploaders (to avoid this being an NMU)
+  * fixing homepage semi-header in package description
+
+ -- Stefan Potyra <sistpoty at ubuntu.com>  Thu, 20 Jul 2006 16:10:00 +0200

Deleted: packages/tags/trigger/0.6.0-2/debian/control
===================================================================
--- packages/trunk/trigger/debian/control	2014-01-23 01:02:06 UTC (rev 14863)
+++ packages/tags/trigger/0.6.0-2/debian/control	2014-01-23 21:58:08 UTC (rev 14869)
@@ -1,38 +0,0 @@
-Source: trigger-rally
-Section: games
-Priority: optional
-Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.0), 
- jam, 
- libopenal-dev, 
- libalut-dev, 
- libphysfs-dev, 
- libsdl-image1.2-dev, 
- docbook-to-man, 
- automake (>= 1.9),
- libglew1.5-dev,
- libtinyxml-dev
-Standards-Version: 3.9.2
-Uploaders: Stefan Potyra <sistpoty at ubuntu.com>, 
- Barry deFreese <bdefreese at debian.org>
-DM-Upload-Allowed: yes
-Homepage: http://sourceforge.net/projects/trigger-rally
-Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/trigger/
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/trigger/
-
-Package: trigger-rally
-Architecture: any
-Depends: ${shlibs:Depends}, trigger-rally-data (>= 0.6.0-1), ${misc:Depends}
-Conflicts: trigger (<< 0.5.2.1)
-Description: free 3D rally racing car game
- Trigger is a free 3D rally car racing game. Fun for all the family!
- .
- Trigger comes with a number of challenges where you have to race several
- tracks to finish each challenge.
- .
- When racing a track, you have to reach several locations marked by pulsating
- rings in sequence. You win a race if you reach the last location in time.
- .
- Trigger is highly customisable, and it's easy to add new levels and vehicles.
- . 
- System Requirements consist of an OpenGL accelerated video card.

Copied: packages/tags/trigger/0.6.0-2/debian/control (from rev 14865, packages/trunk/trigger/debian/control)
===================================================================
--- packages/tags/trigger/0.6.0-2/debian/control	                        (rev 0)
+++ packages/tags/trigger/0.6.0-2/debian/control	2014-01-23 21:58:08 UTC (rev 14869)
@@ -0,0 +1,36 @@
+Source: trigger-rally
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.0), 
+ jam, 
+ libopenal-dev, 
+ libalut-dev, 
+ libphysfs-dev, 
+ libsdl-image1.2-dev, 
+ docbook-to-man, 
+ automake (>= 1.9),
+ libglew1.5-dev,
+ libtinyxml-dev
+Standards-Version: 3.9.5
+Uploaders: Stefan Potyra <sistpoty at ubuntu.com>, 
+ Barry deFreese <bdefreese at debian.org>
+Homepage: http://sourceforge.net/projects/trigger-rally
+Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/trigger/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/trigger/
+
+Package: trigger-rally
+Architecture: any
+Depends: ${shlibs:Depends}, trigger-rally-data (>= 0.6.0-1), ${misc:Depends}
+Description: free 3D rally racing car game
+ Trigger is a free 3D rally car racing game. Fun for all the family!
+ .
+ Trigger comes with a number of challenges where you have to race several
+ tracks to finish each challenge.
+ .
+ When racing a track, you have to reach several locations marked by pulsating
+ rings in sequence. You win a race if you reach the last location in time.
+ .
+ Trigger is highly customisable, and it's easy to add new levels and vehicles.
+ . 
+ System Requirements consist of an OpenGL accelerated video card.

Copied: packages/tags/trigger/0.6.0-2/debian/patches/30_autotools.patch (from rev 14865, packages/trunk/trigger/debian/patches/30_autotools.patch)
===================================================================
--- packages/tags/trigger/0.6.0-2/debian/patches/30_autotools.patch	                        (rev 0)
+++ packages/tags/trigger/0.6.0-2/debian/patches/30_autotools.patch	2014-01-23 21:58:08 UTC (rev 14869)
@@ -0,0 +1,31 @@
+Description: Update autotools files not update by autogen.sh
+ This patch updates the autotools files (config.sub/config.guess)
+ shipped in mk/autoconf.
+ .
+ Author: Stefan Potyra <sistpoty at ubuntu.com>
+
+Index: trigger-rally-0.6.0/autogen.sh
+===================================================================
+--- trigger-rally-0.6.0.orig/autogen.sh	2014-01-23 21:48:28.000000000 +0100
++++ trigger-rally-0.6.0/autogen.sh	2014-01-23 21:52:30.675851846 +0100
+@@ -24,3 +24,20 @@
+ autoheader
+ 
+ autoconf
++
++# copy file $1 to directory $2
++copy_file() {
++  if [ ! -r "$1" ]; then
++    echo "$1 not readable/presenkt."
++  else
++    if [ ! -d "$2" ]; then
++      echo "$2: no directory."
++    else
++      echo "$1 --> $2"
++      cp "$1" "$2"
++    fi
++  fi
++}
++
++copy_file /usr/share/misc/config.sub mk/autoconf
++copy_file /usr/share/misc/config.guess mk/autoconf

Deleted: packages/tags/trigger/0.6.0-2/debian/patches/series
===================================================================
--- packages/trunk/trigger/debian/patches/series	2014-01-23 01:02:06 UTC (rev 14863)
+++ packages/tags/trigger/0.6.0-2/debian/patches/series	2014-01-23 21:58:08 UTC (rev 14869)
@@ -1,2 +0,0 @@
-10_system_glew.patch
-20_system_tinyxml.patch

Copied: packages/tags/trigger/0.6.0-2/debian/patches/series (from rev 14865, packages/trunk/trigger/debian/patches/series)
===================================================================
--- packages/tags/trigger/0.6.0-2/debian/patches/series	                        (rev 0)
+++ packages/tags/trigger/0.6.0-2/debian/patches/series	2014-01-23 21:58:08 UTC (rev 14869)
@@ -0,0 +1,3 @@
+10_system_glew.patch
+20_system_tinyxml.patch
+30_autotools.patch

Deleted: packages/tags/trigger/0.6.0-2/debian/rules
===================================================================
--- packages/trunk/trigger/debian/rules	2014-01-23 01:02:06 UTC (rev 14863)
+++ packages/tags/trigger/0.6.0-2/debian/rules	2014-01-23 21:58:08 UTC (rev 14869)
@@ -1,108 +0,0 @@
-#!/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)
-
-# location of datafiles
-DATADIR=/usr/share/games/trigger-rally
-# name of package
-PACKAGE=trigger-rally
-# what manpages to build?
-MANPAGES=debian/trigger-rally.6
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# rule to build manpages
-$(MANPAGES): $(addsuffix .sgml,$(MANPAGES))
-	docbook-to-man $< > $@
-
-configure: configure.ac
-	# make sure that the shipped glew is not used during build
-	$(RM) -r src/glew
-	# same goes for tinyxml
-	$(RM) src/pengine/tinyxml.h
-	$(RM) src/pengine/tinyxmlparser.cpp
-	$(RM) src/pengine/tinyxml.cpp
-	$(RM) src/pengine/tinystr.cpp
-	$(RM) src/pengine/tinyxmlerror.cpp
-	$(RM) src/pengine/tinystr.h
-	./autogen.sh
-
-config.status: configure
-	dh_testdir
-	CFLAGS="$(CFLAGS) -Wl,-z,defs" \
-		./configure --host=$(DEB_HOST_GNU_TYPE) \
-		--build=$(DEB_BUILD_GNU_TYPE) \
-		--prefix=/usr \
-		--mandir=\$${prefix}/share/man \
-		--infodir=\$${prefix}/share/info \
-		--datadir=$(DATADIR)
-
-
-build: build-arch build-indep
-
-build-stamp: config.status
-	dh_testdir
-	jam
-	touch build-stamp
-
-clean::
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	if [ -f Jamconfig ]; then jam distclean; fi
-	$(RM) $(MANPAGES)
-	$(RM) configure mk/autoconf/sdl.m4 aclocal.m4 Jamconfig.in
-	dh_clean 
-
-install: build $(MANPAGES)
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	# yay, we do it by hand :)
-	cp trigger debian/$(PACKAGE)/usr/games/trigger-rally
-	# icons
-	cp debian/trigger-rally_32.xpm debian/$(PACKAGE)/usr/share/icons/hicolor/32x32/apps/trigger-rally.xpm
-	cp debian/trigger-rally_64.xpm debian/$(PACKAGE)/usr/share/icons/hicolor/64x64/apps/trigger-rally.xpm
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	# manually install desktop file
-	cp debian/trigger-rally.desktop debian/$(PACKAGE)/usr/share/applications/trigger-rally.desktop
-	dh_installmenu
-	dh_installman $(MANPAGES)
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-build-arch: build-stamp
-build-indep: build-stamp
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install build-arch \
-	build-indep

Copied: packages/tags/trigger/0.6.0-2/debian/rules (from rev 14865, packages/trunk/trigger/debian/rules)
===================================================================
--- packages/tags/trigger/0.6.0-2/debian/rules	                        (rev 0)
+++ packages/tags/trigger/0.6.0-2/debian/rules	2014-01-23 21:58:08 UTC (rev 14869)
@@ -0,0 +1,110 @@
+#!/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)
+
+# location of datafiles
+DATADIR=/usr/share/games/trigger-rally
+# name of package
+PACKAGE=trigger-rally
+# what manpages to build?
+MANPAGES=debian/trigger-rally.6
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# rule to build manpages
+$(MANPAGES): $(addsuffix .sgml,$(MANPAGES))
+	docbook-to-man $< > $@
+
+configure: configure.ac
+	# make sure that the shipped glew is not used during build
+	$(RM) -r src/glew
+	# same goes for tinyxml
+	$(RM) src/pengine/tinyxml.h
+	$(RM) src/pengine/tinyxmlparser.cpp
+	$(RM) src/pengine/tinyxml.cpp
+	$(RM) src/pengine/tinystr.cpp
+	$(RM) src/pengine/tinyxmlerror.cpp
+	$(RM) src/pengine/tinystr.h
+	./autogen.sh
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS) -Wl,-z,defs" \
+		./configure --host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--datadir=$(DATADIR)
+
+
+build: build-arch build-indep
+
+build-stamp: config.status
+	dh_testdir
+	jam
+	touch build-stamp
+
+clean::
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	if [ -f Jamconfig ]; then jam distclean; fi
+	$(RM) $(MANPAGES)
+	$(RM) configure mk/autoconf/sdl.m4 aclocal.m4 Jamconfig.in
+	dh_clean 
+
+install: build $(MANPAGES)
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	# yay, we do it by hand :)
+	cp trigger debian/$(PACKAGE)/usr/games/trigger-rally
+	# icons
+	cp debian/trigger-rally_32.xpm debian/$(PACKAGE)/usr/share/icons/hicolor/32x32/apps/trigger-rally.xpm
+	cp debian/trigger-rally_64.xpm debian/$(PACKAGE)/usr/share/icons/hicolor/64x64/apps/trigger-rally.xpm
+
+# no indep package
+binary-indep:
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	# manually install desktop file
+	cp debian/trigger-rally.desktop debian/$(PACKAGE)/usr/share/applications/trigger-rally.desktop
+	dh_installmenu
+	dh_installman $(MANPAGES)
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+build-arch: build-stamp
+# no indep package
+build-indep:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install build-arch \
+	build-indep




More information about the Pkg-games-commits mailing list