[dangen] 01/29: Imported Debian patch 0.5-2

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 20:04:07 UTC 2016


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

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

commit a295d7a137007219e69bcb5665578bf248f0cc88
Author: Oohara Yuuma <oohara at debian.org>
Date:   Wed Feb 8 21:17:09 2012 +0900

    Imported Debian patch 0.5-2
---
 debian/changelog       |  70 ++++++++++++++
 debian/compat          |   1 +
 debian/control         |  17 ++++
 debian/copyright       | 242 +++++++++++++++++++++++++++++++++++++++++++++++++
 debian/dangen.docs     |   3 +
 debian/dangen.menu     |   2 +
 debian/dangen.postinst |  47 ++++++++++
 debian/dangen.postrm   |  39 ++++++++
 debian/rules           |  79 ++++++++++++++++
 debian/source/format   |   1 +
 debian/watch           |   4 +
 11 files changed, 505 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d1f0816
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,70 @@
+dangen (0.5-2) unstable; urgency=low
+
+  * debian/rules: set ./configure options with
+    dpkg-buildflags --export=configure
+  * debian/control: added Build-Depends: dpkg-dev (>= 1.16.1) because
+    this package uses dpkg-buildflags
+
+ -- Oohara Yuuma <oohara at debian.org>  Wed, 08 Feb 2012 21:17:09 +0900
+
+dangen (0.5-1) unstable; urgency=low
+
+  * New upstream release
+  * the new upstream release fixes the following bug:
+    + Add the return value of sdl-config --libs (which usually
+      contains a -l flag) to LIBS, not AM_LDFLAGS.  You can now
+      use the --as-needed option of binutils-gold ld.  (closes: #638743)
+  * debian/source/format: new file, set the source format to 3.0 (quilt)
+  * debian/rules: added build-arch and build-indep targets
+  * debian/control: set Standards-Version: to 3.9.2
+  * debian/control, debian/compat: set debhelper compatibility level to 8
+  * debian/control: added Build-Conflicts: autoconf2.13, automake1.4
+    just in case
+  * debian/control, debian/rules: don't copy config.guess and config.sub
+    from autotools-dev because they are unnecessary
+  * debian/control, debian/rules: use dh-autoreconf to regenerate
+    autoconf/automake files
+  * debian/rules: put CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" after
+    ./configure, not before it
+
+ -- Oohara Yuuma <oohara at debian.org>  Fri, 27 Jan 2012 00:34:51 +0900
+
+dangen (0.4-1) unstable; urgency=low
+
+  * new upstream release
+  * new maintainer (closes: #554249)
+  * debian/compat: set debhelper compatibility level to 7
+  * debian/control: updated the versioned dependency of debhelper
+  * debian/control: removed the versioned dependency on libraries
+    to respect symbols files if available
+  * debian/control: Build-Depends on autotools-dev because the package
+    uses autoconf
+  * debian/control, debian/rules: no longer uses dbs
+  * debian/dangen.docs.in: renamed to debian/dangen/docs because it is
+    no longer auto-generated
+  * debian/control: pass CFLAGS and LDFLAGS to configure script
+  * debian/control: replaced dh_clean -k with dh_prep
+  * debian/patches: removed because it is empty
+  * debian/control: uses Homepage: for the upstream URL
+  * debian/dangen.preinst, debian/dangen.prerm: removed because they
+    does nothing
+  * debian/watch: new file, supports uscan
+  * debian/dangen.menu: set section to Games/Action
+  * debian/control: set Standards-Version: to 3.8.3
+  * debian/control: added ${misc:Depends} to Depends:
+
+ -- Oohara Yuuma <oohara at debian.org>  Fri, 13 Nov 2009 04:50:28 +0900
+
+dangen (0.3-2) unstable; urgency=low
+
+  * debian/copyright: points /usr/share/common-licenses/GPL-2 directly
+    instead of /usr/share/common-licenses/GPL because the upstream says
+    "no other version is allowed"
+
+ -- Oohara Yuuma <oohara at debian.org>  Sat,  8 Oct 2005 16:20:30 +0900
+
+dangen (0.3-1) unstable; urgency=low
+
+  * Initial Release.  (closes: #332278)
+
+ -- Oohara Yuuma <oohara at debian.org>  Thu,  6 Oct 2005 01:31:22 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..942eb8d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: dangen
+Section: games
+Priority: optional
+Maintainer: Oohara Yuuma <oohara at debian.org>
+Build-Depends: debhelper (>= 8), libsdl1.2-dev, libsdl-image1.2-dev, dh-autoreconf, dpkg-dev (>= 1.16.1)
+Build-Conflicts: autoconf2.13, automake1.4
+Standards-Version: 3.9.2
+Homepage: http://www.interq.or.jp/libra/oohara/dangen/index.html
+
+Package: dangen
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: shoot 'em up game where accurate shooting matters
+ dangen is a shoot 'em up game that attach importance to accuracy of shooting.
+ With the combination of the cursor key and the shot button, you can shoot
+ at your side or even at your back.  Get the bonus point by hitting the
+ enemy without a miss.  You can choose stages of different difficulty.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..41be3b7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,242 @@
+This package was debianized by Oohara Yuuma <oohara at debian.org> on
+Wed, 13 Jul 2005 23:58:02 +0900.
+
+It was downloaded from http://www.interq.or.jp/libra/oohara/dangen/index.html
+
+Upstream Author: Oohara Yuuma <oohara at libra.interq.or.jp>
+
+Copyright:
+
+dangen --- shoot 'em up game where accurate shooting matters
+Copyright (C) 2005 Oohara Yuuma <oohara at libra.interq.or.jp>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of either:
+
+a) the GNU General Public License version 2 as published by the Free Software
+   Foundation (no other version is allowed), or
+
+b) the Artistic License Version 2.0beta5.
+
+A copy of the GNU General Public License version 2 is included in the
+source code as GPL-2.  A copy of the Artistic License Version 2.0beta5 is
+included in the source code as Artistic-2.
+
+On a Debian system, a copy of the GNU General Public License version 2 is
+installed at /usr/share/common-licenses/GPL-2.  The text of the Artistic
+License Version 2.0beta5 follows:
+
+                            The Artistic License
+                         Version 2.0beta5, October 2001
+
+          Copyright (C) 2000, 2001 Larry Wall, Bradley M. Kuhn.
+       Everyone is permitted to copy and distribute verbatim copies
+        of this license document, but changing it is not allowed.
+
+                                  Preamble
+
+This copyright license states the terms under which a given free software
+Package may be copied, modified and/or redistributed, while the
+Originator(s) maintain some artistic control over the future development of
+that Package (at least as much artistic control as can be given under
+copyright law while still making the Package open source and free software).
+
+This license is bound by copyright law, and thus it legally applies only to
+works which the copyright holder has permitted copying, distribution or
+modification under the terms of the Artistic License, Version 2.0.
+
+You are reminded that You are always permitted to make arrangements wholly
+outside of a given copyright license directly with the copyright holder(s)
+of a given Package.  If the terms of this license impede your ability to
+make full use of the Package, You are encouraged to contact the copyright
+holder(s) and seek a different licensing arrangement.
+
+
+                                Definitions
+
+"Package" refers to the collection of files distributed by the
+          Originator(s), and derivatives of that collection of files created
+          through textual modification.
+
+"Standard Version" refers to the Package if it has not been modified, or has
+                   been modified only in ways suggested by the
+                   Originator(s).
+
+"Modified Version" refers to the Package, if it has been changed by You via
+                   textual modification of the source code, and such changes
+                   were not suggested by the Originator(s).
+
+"Originator"       refers to the author(s) and/or copyright holder(s) of the
+                   Standard Version of the Package.
+
+"You" and "Your" refers to any person who would like to copy, distribute, or
+                 modify the Package.
+
+"Distribution Fee" is any fee that You charge for providing a copy of this
+                   Package to another party.  It does not refer to licensing
+                   fees.
+
+"Freely Available" means that:
+
+       (a) no fee is charged for the right to use the item (though a
+           Distribution Fee may be charged).
+
+       (b) recipients of the item may redistribute it under the same
+           conditions they received it.
+
+       (c) If the item is a binary, object code, bytecode, the complete
+           corresponding machine-readable source code is included with the
+           item.
+
+
+         Permission for Use and Modification Without Redistribution
+
+  (1) You are permitted to use the Standard Version and create and use
+      Modified Versions for any purpose without restriction, provided that
+      you do not redistribute the Modified Version to others outside of your
+      company or organization.
+
+
+           Permissions for Redistribution of the Standard Version
+
+  (2) You may make available verbatim copies of the source code of the
+      Standard Version of this Package in any medium without restriction,
+      either gratis or for a Distribution Fee, provided that you duplicate
+      all of the original copyright notices and associated disclaimers.  At
+      Your discretion, such verbatim copies may or may not include compiled
+      bytecode, object code or binary versions of the corresponding source
+      code in the same medium.
+
+  (3) You may apply any bug fixes, portability changes, and other
+      modifications made available from any of the Originator(s).  The
+      resulting modified Package will still be considered the Standard
+      Version, and may be copied, modified and redistributed under the terms
+      of the original license of the Standard Version as if it were the
+      Standard Version.
+
+
+ Permissions for Redistribution of Modified Versions of the Package as Sour=
+ce
+
+  (4) You may modify your copy of the source code of this Package in any way
+      and distribute that Modified Version (either gratis or for a
+      Distribution Fee, and with or without a corresponding binary, bytecode
+      or object code version of the Modified Version) provided that You
+      clearly indicate what changes You made to the Package, and provided
+      that You do at least ONE of the following:
+
+       (a) make the Modified Version available to the Originator(s) of the
+           Standard Version, under the exact license of the Standard
+           Version, so that the Originator(s) may include your modifications
+           into the Standard Version (at their discretion).
+
+       (b) modify any installation scripts and procedures so that
+           installation of the Modified Version will never conflict with an
+           installation of the Standard Version, include for each program
+           installed by the Modified Version clear documentation describing
+           how it differs from the Standard Version, and rename your
+           Modified Version so that the name is substantially different from
+           the Standard Version.
+
+       (c) permit and encourage anyone who receives a copy of the Modified
+           Version to make your modifications Freely Available in some
+           specific way.
+
+      If Your Modified Version is in turn derived from a Modified Version
+      made by a third party, then You are still required to ensure that Your
+      Modified Version complies with the requirements of this license.
+
+
+      Permissions for Redistribution of Non-Source Versions of Package
+
+  (5) You may distribute binary, object code, bytecode or other non-source
+      versions of the Standard Version of the Package, provided that you
+      include complete instructions on where to get the source code of the
+      Standard Version.  Such instructions must be valid at the time of Your
+      distribution.  If these instructions, at any time while You are
+      carrying our such distribution, become invalid, you must provide new
+      instructions on demand or cease further distribution.  If You cease
+      distribution within thirty days after You become aware that the
+      instructions are invalid, then You do not forfeit any of Your rights
+      under this license.
+
+  (6) You may distribute binary, object code, bytecode or other non-source
+      versions of a Modified Version provided that You do at least ONE of
+      the following:
+
+       (a) include a copy of the corresponding source code for the Modified
+           Version under the terms indicated in (4).
+
+       (b) ensure that the installation of Your non-source Modified Version
+           does not conflict in any way with an installation of the Standard
+           Version, include for each program installed by the Modified
+           Version clear documentation describing how it differs from the
+           Standard Version, and rename your Modified Version so that the
+           name is substantially different from the Standard Version.
+
+       (c) ensure that the Modified Version includes notification of the
+           changes made from the Standard Version, and offer to provide
+           machine-readable source code (under a license that permits making
+           that source code Freely Available) of the Modified Version via
+           mail order.
+
+
+        Permissions for Inclusion of the Package in Aggregate Works
+ =20
+  (7) You may aggregate this Package (either the Standard Version or
+      Modified Version) with other packages and distribute the resulting
+      aggregation provided that You do not charge a licensing fee for the
+      Package.  Distribution Fees are permitted, and licensing fees for
+      other packages in the aggregation are permitted.  Your permission to
+      distribute Standard or Modified Versions of the Package is still
+      subject to the other terms set forth in other sections of this
+      license.
+
+  (8) In addition to the permissions given elsewhere by this license, You
+      are also permitted to link Modified and Standard Versions of this
+      Package with other works and distribute the result without
+      restriction, provided You have produced binary program(s) that do not
+      overtly expose the interfaces of the Package.  This includes
+      permission to embed the Package in a larger work of your own without
+      exposing a direct interface to the Package.  This also includes
+      permission to build stand-alone binary or bytecode versions of your
+      scripts that require the Package, but do not otherwise give the casual
+      user direct access to the Package itself.
+
+
+        Items That are Never Considered Part of a Modified Version Package
+
+  (9) Works (including, but not limited to, subroutines and scripts) that
+      you have linked or aggregated with the Package that merely extend or
+      make use of the Package, but are not intended to cause the Package to
+      operate differently from the Standard Version, do not, by themselves,
+      cause the Package to be a Modified Version.  In addition, such works
+      are not considered parts of the Package itself, and are not bound by
+      the terms of the Package's license.
+
+
+              Acceptance of License and Disclaimer of Warranty
+
+ (10) You are not required to accept this License, since you have not signed
+      it.  However, nothing else grants you permission to copy, modify or
+      distribute the Standard or Modified Versions of the Package.  These
+      actions are prohibited by copyright law if you do not accept this
+      License.  Therefore, by copying, modifying or distributing Standard
+      and Modified Versions of the Package, you indicate your acceptance of
+      the license of the Package.
+
+
+ (11) Disclaimer of Warranty:
+
+       THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+       "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+       A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT UNLESS REQUIRED BY
+       LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR CONTRIBUTOR
+       BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+       OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+       OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, PROFITS; OR
+       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+       OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+       EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/dangen.docs b/debian/dangen.docs
new file mode 100644
index 0000000..defc589
--- /dev/null
+++ b/debian/dangen.docs
@@ -0,0 +1,3 @@
+Artistic-2
+README
+README-ja-utf8
diff --git a/debian/dangen.menu b/debian/dangen.menu
new file mode 100644
index 0000000..63306e6
--- /dev/null
+++ b/debian/dangen.menu
@@ -0,0 +1,2 @@
+?package(dangen): needs="X11" section="Games/Action" \
+  title="Dangen" command="/usr/games/dangen"
diff --git a/debian/dangen.postinst b/debian/dangen.postinst
new file mode 100644
index 0000000..5b83949
--- /dev/null
+++ b/debian/dangen.postinst
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postinst script for dangen
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/dangen.postrm b/debian/dangen.postrm
new file mode 100644
index 0000000..3e45365
--- /dev/null
+++ b/debian/dangen.postrm
@@ -0,0 +1,39 @@
+#! /bin/sh
+# postrm script for dangen
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+    purge)
+
+        ;;
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0f01a8c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CONFFLAGS =
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+  CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	[ ! -e config.cache ] || rm config.cache
+# Once dh_autoreconf is called, dh_autoreconf_clean must be called
+# before dh_autoreconf is called again, or information saved in
+# debian/autoreconf.before will be lost.  Since dh_autoreconf_clean
+# can be called more than once without a problem, call it here.
+	dh_autoreconf_clean
+	dh_autoreconf
+	./configure $(shell dpkg-buildflags --export=configure) \
+  $(CONFFLAGS) \
+  --prefix=/usr --bindir=/usr/games \
+  --mandir=/usr/share/man
+	touch configure-stamp
+
+build: build-arch build-indep
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp
+	dh_testdir
+	$(MAKE)
+	touch build-arch-stamp
+build-indep:
+# We have nothing to do.
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp configure-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+# dh_autoreconf_clean must be called after $(MAKE) distclean
+# because dh_autoreconf_clean removes files $(MAKE) distclean depends on
+	dh_autoreconf_clean
+	dh_clean config.cache
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/dangen/
+
+binary-indep: build install
+# We have nothing to do.
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installmenu
+	dh_installman
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build-arch build-indep build clean binary-indep binary-arch binary install configure
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4f32c7d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://www.interq.or.jp/libra/oohara/dangen/dangen-(.+)\.tar\.gz
+

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



More information about the Pkg-games-commits mailing list