r14102 - in packages/trunk/parsec47/debian: . patches

Peter De Wachter pdewacht-guest at alioth.debian.org
Mon May 20 16:56:05 UTC 2013


Author: pdewacht-guest
Date: 2013-05-20 16:56:05 +0000 (Mon, 20 May 2013)
New Revision: 14102

Added:
   packages/trunk/parsec47/debian/parsec47.manpages
Modified:
   packages/trunk/parsec47/debian/changelog
   packages/trunk/parsec47/debian/compat
   packages/trunk/parsec47/debian/control
   packages/trunk/parsec47/debian/copyright
   packages/trunk/parsec47/debian/patches/makefile.patch
   packages/trunk/parsec47/debian/rules
Log:
parsec47: packaging cleanup


Modified: packages/trunk/parsec47/debian/changelog
===================================================================
--- packages/trunk/parsec47/debian/changelog	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/changelog	2013-05-20 16:56:05 UTC (rev 14102)
@@ -1,6 +1,8 @@
 parsec47 (0.2.dfsg1-5) UNRELEASED; urgency=low
 
   * Ported to D language version 2 (closes: #707267)
+  * Switch dh-style minimal rules file
+  * Conforms to standards 3.9.4
 
  -- Peter De Wachter <pdewacht at gmail.com>  Mon, 20 May 2013 18:48:44 +0200
 

Modified: packages/trunk/parsec47/debian/compat
===================================================================
--- packages/trunk/parsec47/debian/compat	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/compat	2013-05-20 16:56:05 UTC (rev 14102)
@@ -1 +1 @@
-5
+9

Modified: packages/trunk/parsec47/debian/control
===================================================================
--- packages/trunk/parsec47/debian/control	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/control	2013-05-20 16:56:05 UTC (rev 14102)
@@ -3,10 +3,10 @@
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
-Build-Depends: debhelper (>= 5), gdc,
+Build-Depends: debhelper (>= 9), gdc,
  libgl1-mesa-dev | libgl-dev,
  libsdl1.2-dev, libsdl-mixer1.2-dev, libbulletml-dev
-Standards-Version: 3.9.2
+Standards-Version: 3.9.4
 Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/p47_e.html
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/parsec47/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/parsec47/?op=log

Modified: packages/trunk/parsec47/debian/copyright
===================================================================
--- packages/trunk/parsec47/debian/copyright	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/copyright	2013-05-20 16:56:05 UTC (rev 14102)
@@ -59,4 +59,4 @@
 
 
 The Debian packaging is Copyright 2007, Miriam Ruiz <little_miry at yahoo.es> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.

Added: packages/trunk/parsec47/debian/parsec47.manpages
===================================================================
--- packages/trunk/parsec47/debian/parsec47.manpages	                        (rev 0)
+++ packages/trunk/parsec47/debian/parsec47.manpages	2013-05-20 16:56:05 UTC (rev 14102)
@@ -0,0 +1 @@
+debian/parsec47.6

Modified: packages/trunk/parsec47/debian/patches/makefile.patch
===================================================================
--- packages/trunk/parsec47/debian/patches/makefile.patch	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/patches/makefile.patch	2013-05-20 16:56:05 UTC (rev 14102)
@@ -11,7 +11,7 @@
 +all: $(EXE)
 +
 +$(EXE): $(DSRC)
-+	gdc -o $@ -Iimport -Isrc -fdeprecated $(DFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DSRC) -lSDL -lGL -lGLU -lSDL_mixer -lbulletml
++	gdc -o $@ -Iimport -Isrc -fdeprecated $(DFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DSRC) -lSDL -lGL -lSDL_mixer -lbulletml
 +
 +clean:
 +	rm -f $(EXE)

Modified: packages/trunk/parsec47/debian/rules
===================================================================
--- packages/trunk/parsec47/debian/rules	2013-05-20 16:50:09 UTC (rev 14101)
+++ packages/trunk/parsec47/debian/rules	2013-05-20 16:56:05 UTC (rev 14102)
@@ -1,71 +1,20 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS = -g
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-	DFLAGS = -g -fdebug
+	DFLAGS = -fdebug
 else
-	CFLAGS += -O2
-	DFLAGS = -O -frelease
+	DFLAGS = -frelease
 endif
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch $@
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
+%:
+	dh $@
 
-build-stamp: configure-stamp 
-	dh_testdir
-	#ant -v
-	$(MAKE) CFLAGS="$(CFLAGS)" DFLAGS="$(DFLAGS)"
-	touch $@
+override_dh_auto_build:
+	dh_auto_build -- DFLAGS="$(DFLAGS)"
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	#ant -v clean
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f parsec47
-	rm -f `find . -name "*.o"`
-	dh_clean 
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
 
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_install
-	dh_installmenu
-	dh_installman debian/*.6
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
 get-orig-source:
 	dh_testdir
 	dh_testroot
@@ -77,6 +26,3 @@
 	rm p47/resource/*.RES
 	tar cvfz ../parsec47_0.2.dfsg1.orig.tar.gz p47
 	rm -rf p47_0_2.zip parsec47
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source




More information about the Pkg-games-commits mailing list