[powermanga] 25/41: * Update my e-mail address. * 005_link_libm.diff - Add -lm to LDFLAGS. (Closes: #556072). * 030_manpage_typo.diff - Fix typo in manpage. (Closes: #455227). * Update postinst to make powermanga setgid games. (Closes: #419572). + Thanks to Javier Fernández-Sanguino Peña for the fix. * Add dversionmangle in watch file to remove -dfsg version. * Add set -e to postrm. * Clean the quilt dir on clean. * Add README.source for quilt. * Bump Standards Version to 3.8.3. (No changes needed). Refresh the changelog.

Markus Koschany apo-guest at moszumanska.debian.org
Thu Jun 25 18:55:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository powermanga.

commit c5b3da85906aee165a40a5d3109c417844c4253d
Author: Barry deFreese <bdefreese at debian.org>
Date:   Fri Nov 13 20:12:28 2009 +0000

      * Update my e-mail address.
      * 005_link_libm.diff - Add -lm to LDFLAGS. (Closes: #556072).
      * 030_manpage_typo.diff - Fix typo in manpage. (Closes: #455227).
      * Update postinst to make powermanga setgid games. (Closes: #419572).
        + Thanks to Javier Fernández-Sanguino Peña for the fix.
      * Add dversionmangle in watch file to remove -dfsg version.
      * Add set -e to postrm.
      * Clean the quilt dir on clean.
      * Add README.source for quilt.
      * Bump Standards Version to 3.8.3. (No changes needed).
    Refresh the changelog.
---
 debian/README.source                 | 58 ++++++++++++++++++++++++++++++++++++
 debian/changelog                     | 15 +++++++++-
 debian/control                       |  4 +--
 debian/patches/005_link_libm.diff    | 25 ++++++++++++++++
 debian/patches/030_manpage_typo.diff | 13 ++++++++
 debian/patches/series                |  2 ++
 debian/powermanga.postinst           | 11 +++++--
 debian/powermanga.postrm             |  1 +
 debian/rules                         |  1 +
 debian/watch                         |  1 +
 10 files changed, 126 insertions(+), 5 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..5dde0bf
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,58 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+                break
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
diff --git a/debian/changelog b/debian/changelog
index e92f24c..0e6b3d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,23 @@
 powermanga (0.90-dfsg-2) unstable; urgency=low
 
+  [ Cyril Brulebois ]
   * Add missing context to the 020_copyright.diff patch, so as to prevent
     an FTBFS with the new “3.0 (quilt)” source package format, thanks to
     Raphaël Hertzog for the notice (Closes: #485021).
 
- -- Cyril Brulebois <kibi at debian.org>  Sun, 08 Jun 2008 06:22:38 +0200
+  [ Barry deFreese ]
+  * Update my e-mail address.
+  * 005_link_libm.diff - Add -lm to LDFLAGS. (Closes: #556072).
+  * 030_manpage_typo.diff - Fix typo in manpage. (Closes: #455227).
+  * Update postinst to make powermanga setgid games. (Closes: #419572).
+    + Thanks to Javier Fernández-Sanguino Peña for the fix.
+  * Add dversionmangle in watch file to remove -dfsg version.
+  * Add set -e to postrm.
+  * Clean the quilt dir on clean.
+  * Add README.source for quilt.
+  * Bump Standards Version to 3.8.3. (No changes needed).
+
+ -- Barry deFreese <bdefreese at debian.org>  Fri, 13 Nov 2009 14:28:30 -0500
 
 powermanga (0.90-dfsg-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 4ce2da3..86bddc3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@ Source: powermanga
 Section: games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Barry deFreese <bddebian at comcast.net>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Barry deFreese <bdefreese at debian.org>
 Build-Depends: debhelper (>= 5.0), quilt, libx11-dev, libxext-dev, libxxf86dga-dev, libxxf86vm-dev, libsdl1.2-dev (>= 1.2.2-3.1), libsdl-mixer1.2-dev, zlib1g-dev
-Standards-Version: 3.7.3
+Standards-Version: 3.8.3
 Homepage: http://linux.tlk.fr/games/Powermanga/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/powermanga/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/powermanga/?op=log
diff --git a/debian/patches/005_link_libm.diff b/debian/patches/005_link_libm.diff
new file mode 100644
index 0000000..a124f8f
--- /dev/null
+++ b/debian/patches/005_link_libm.diff
@@ -0,0 +1,25 @@
+Index: powermanga-0.90-dfsg/configure.ac
+===================================================================
+--- powermanga-0.90-dfsg.orig/configure.ac	2009-11-13 14:46:56.000000000 -0500
++++ powermanga-0.90-dfsg/configure.ac	2009-11-13 14:48:55.000000000 -0500
+@@ -14,6 +14,7 @@
+ dnl  Default flags
+ #CXXFLAGS="-O3 -Wall -g"
+ CFLAGS="-O3 -Wall -std=c99"
++LDFLAGS="-lm"
+ 
+ dnl  Check for X
+ AC_PATH_X
+Index: powermanga-0.90-dfsg/configure
+===================================================================
+--- powermanga-0.90-dfsg.orig/configure	2009-11-13 14:48:58.000000000 -0500
++++ powermanga-0.90-dfsg/configure	2009-11-13 14:49:34.000000000 -0500
+@@ -3413,7 +3413,7 @@
+ 
+ #CXXFLAGS="-O3 -Wall -g"
+ CFLAGS="-O3 -Wall -std=c99"
+-
++LDFLAGS="-lm"
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
diff --git a/debian/patches/030_manpage_typo.diff b/debian/patches/030_manpage_typo.diff
new file mode 100644
index 0000000..e8ec9af
--- /dev/null
+++ b/debian/patches/030_manpage_typo.diff
@@ -0,0 +1,13 @@
+Index: powermanga-0.90-dfsg/powermanga.6
+===================================================================
+--- powermanga-0.90-dfsg.orig/powermanga.6	2009-11-13 14:57:17.000000000 -0500
++++ powermanga-0.90-dfsg/powermanga.6	2009-11-13 14:57:28.000000000 -0500
+@@ -74,7 +74,7 @@
+ .B \--version
+ prints version information and exit
+ .TP
+-.B \---window
++.B \--window
+ windowed mode (full screen by default)
+ .TP
+ .B \--2x
diff --git a/debian/patches/series b/debian/patches/series
index 9b103fd..5cacf1c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,4 @@
+005_link_libm.diff
 010_scoredir_path.diff
 020_copyright.diff
+030_manpage_typo.diff
diff --git a/debian/powermanga.postinst b/debian/powermanga.postinst
index 6c2d8c9..d1801e9 100644
--- a/debian/powermanga.postinst
+++ b/debian/powermanga.postinst
@@ -15,9 +15,16 @@ case "$1" in
     then
         dpkg-statoverride --remove "/usr/games/powermanga"
     fi
+    if !  dpkg-statoverride --list /usr/games/powermanga > /dev/null; then
+        chown root:games /usr/games/powermanga
+        chmod 2755 /usr/games/powermanga
+    fi
+
+    if !  dpkg-statoverride --list $SCOREDIR > /dev/null; then
     # Fix permissions
-    chown root:root $SCOREDIR
-    chmod 0755 $SCOREDIR
+        chown root:games $SCOREDIR
+        chmod 2755 $SCOREDIR
+    fi
     for x in hi-easy hi hi-hard; do
       test -f $SCOREDIR/powermanga.$x || touch $SCOREDIR/powermanga.$x
       chown root:games $SCOREDIR/powermanga.$x
diff --git a/debian/powermanga.postrm b/debian/powermanga.postrm
index 27a2888..037284f 100644
--- a/debian/powermanga.postrm
+++ b/debian/powermanga.postrm
@@ -1,4 +1,5 @@
 #! /bin/sh
+set -e
 
 # These ones are not needed anymore. Make sure they disappear forever
 if dpkg-statoverride --list /var/games/powermanga >/dev/null; then
diff --git a/debian/rules b/debian/rules
index 9397f66..50ddc99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@ clean:
 	[ ! -f Makefile ] || [ ! -f config.status ] || $(MAKE) distclean
 	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	rm -f config.log config.status
+	rm -rf .pc
 	dh_clean
 
 install: DH_OPTIONS=
diff --git a/debian/watch b/debian/watch
index 33d03ab..ccc3f9e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
 
+opts="dversionmangle=s/\-dfsg//" \
 http://linux.tlk.fr/games/Powermanga/download/powermanga-([\d.]+)\.tgz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/powermanga.git



More information about the Pkg-games-commits mailing list