[simutrans-pak128.britain] 01/02: readd debian/*
Jörg Frings-Fürst
jff-guest at moszumanska.debian.org
Sun Feb 7 20:03:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
jff-guest pushed a commit to branch upstream
in repository simutrans-pak128.britain.
commit aafb30e23063acd2b37e48ee5b721bd0edc3b3e4
Author: Jörg Frings-Fürst <debian at jff-webhosting.net>
Date: Sun Feb 7 20:53:45 2016 +0100
readd debian/*
---
debian/README.source | 10 +++
debian/changelog | 85 ++++++++++++++++++++++
debian/compat | 1 +
debian/control | 27 +++++++
debian/copyright | 125 ++++++++++++++++++++++++++++++++
debian/patches/0001-build.patch | 37 ++++++++++
debian/patches/0100-filenames.patch | 46 ++++++++++++
debian/patches/series | 2 +
debian/rules | 25 +++++++
debian/simutrans-pak128.britain.docs | 1 +
debian/simutrans-pak128.britain.install | 1 +
debian/source/format | 1 +
debian/watch | 3 +
13 files changed, 364 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..172cb49
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,10 @@
+To generate a tarball for a new upstream release, change the variables SVNREV
+and VERSION in debian/rules and then run
+
+ $ make -f debian/rules get-orig-source
+
+This will generate an upstream tarball in the current directory.
+
+Please also change UPSTREAM_SVNREV to match the upstream release. You can find
+the correct value in ground.Outside.pak in the upstream binary release (the
+"607:609" in "pak128.Britain 1.09 111.0 r607:609").
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..076759b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,85 @@
+simutrans-pak128.britain (1.16-2) unstable; urgency=medium
+
+ * debian/control:
+ - Correct Vcs-*.
+ - Bump makeobj version to >= 120.1.1+repack-2.
+ * debian/patches/0500-build.patch:
+ - Change makobj path from /usr/games to /usr/lib/simutrans.
+ - Rename to 0001-build.patch
+
+ -- Jörg Frings-Fürst <debian at jff-webhosting.net> Wed, 18 Nov 2015 11:13:57 +0100
+
+simutrans-pak128.britain (1.16-1) unstable; urgency=medium
+
+ [ Jörg Frings-Fürst ]
+ * New upstream release.
+ * debian/control:
+ - Add myself as uploader.
+ - Remove uploader Ansgar Burchardt.
+ - Bump Standards-Version to 3.9.6 (No changes required).
+ - Change debhelper version to >= 9.
+ - Change simutrans-makeobj version to >= 120.1.
+ - Change Vcs to git.
+ - Remove Pre-Depends dpkg.
+ * Change debian/compat to 9.
+ * debian/rules:
+ - Change SVNREV and VERSION for new upstream release.
+ - Remove useless UPSTREAM_SVNREV.
+ - Remove override_dh_builddeb because compression xz is now standard.
+ * debian/copyright:
+ - Add myself to debian/*.
+ - Rewrite for new upstream release.
+ * Rewrite debian/patches/build.patch and rename to 0500-build.patch.
+ * debian/source/options:
+ - Removed because xz is now standard compression.
+ * New debian/patches/0100-filenames.patch to correct UTF-8 filenames.
+ * Rewrite debian/watch.
+ * Add .gitignore.
+
+ -- Jörg Frings-Fürst <debian at jff-webhosting.net> Mon, 16 Nov 2015 09:44:32 +0100
+
+simutrans-pak128.britain (1.09-1) unstable; urgency=low
+
+ * New upstream release.
+ * Update debian/rules.
+ * Add README.source (from simutrans-pak64).
+ * Bump Standards-Version to 3.9.2 (no changes).
+
+ -- Ansgar Burchardt <ansgar at debian.org> Sat, 12 Nov 2011 11:28:59 +0100
+
+simutrans-pak128.britain (1.08-2) unstable; urgency=low
+
+ * Use XZ compression for the binary package.
+
+ -- Ansgar Burchardt <ansgar at debian.org> Thu, 11 Aug 2011 13:03:04 +0200
+
+simutrans-pak128.britain (1.08-1) unstable; urgency=low
+
+ * New upstream release.
+ + Update debian/build and debian/copyright.
+ * debian/rules: Update get-orig-source target for 1.08.
+ * debian/build: Use mkdir -p instead of testing for non-existance first.
+ * debian/control: Remove DM-Upload-Allowed.
+ * Bump Standards-Version to 3.9.1 (no changes).
+ * Update my email address.
+
+ -- Ansgar Burchardt <ansgar at debian.org> Sat, 27 Nov 2010 11:52:40 +0100
+
+simutrans-pak128.britain (1.07-1) unstable; urgency=low
+
+ * New upstream release.
+ + Update debian/build.
+ * Install demo.sve.
+ * Add debian/watch.
+ * Use source format 3.0 (quilt).
+ * Bump Standards-Version to 3.8.4 (no changes).
+ * debian/control: Add Vcs-* fields.
+ * debian/control: Add DM-Upload-Allowed: yes.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org> Fri, 26 Feb 2010 16:42:22 +0900
+
+simutrans-pak128.britain (1.06-1) unstable; urgency=low
+
+ * Initial release. (Closes: #539835)
+
+ -- Ansgar Burchardt <ansgar at 43-1.org> Sat, 02 Jan 2010 23:58:21 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dfd4e38
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: simutrans-pak128.britain
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders:
+ Jörg Frings-Fürst <debian at jff-webhosting.net>
+Build-Depends:
+ debhelper (>= 9)
+Build-Depends-Indep:
+ simutrans-makeobj (>= 120.1.1+repack-2)
+Standards-Version: 3.9.6
+Homepage: http://www.simutrans.com/
+Vcs-Git: git://anonscm.debian.org/pkg-games/simutrans-pak128.britain.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/simutrans-pak128.britain.git
+
+Package: simutrans-pak128.britain
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: simutrans (>= 120.1)
+Enhances: simutrans
+Description: transportation simulator (data files)
+ Simutrans is a free transportation simulator: The player operates a
+ transportation company and has to transport goods and passengers between
+ factories and different cities.
+ .
+ This package contains the pak128.Britain data set which includes
+ British vehicles and buildings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e7745c6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,125 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pak128.Britain
+Upstream-Contact: The Simutrans Team <team64 at simutrans.com>
+Source: https://simutrans.svn.sourceforge.net/svnroot/simutrans/pak128.Britain
+
+Files: *
+Copyright: 2004-2014 The Simutrans Team <team64 at simutrans.com>
+ Kieron Green <kierongreen at msn.com>
+ James Hood <james_p_hood at hotmail.com>
+ James Petts <jamespetts at yahoo.com>
+ and others
+License: Artistic-1.0
+
+Files: debian/*
+Copyright: 2009 Ansgar Burchardt <ansgar at debian.org>
+ 2015 Jörg Frings-Fürst <debian at jff-webhosting.net>
+License: Artistic-1.0
+
+License: Artistic-1.0
+ The Artistic License
+ .
+ Preamble
+ .
+ The intent of this document is to state the conditions under which a
+ Package may be copied, such that the Copyright Holder maintains some
+ semblance of artistic control over the development of the package,
+ while giving the users of the package the right to use and distribute
+ the Package in a more-or-less customary fashion, plus the right to make
+ reasonable modifications.
+ .
+ Definitions:
+ .
+ * "Package" refers to the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection of files
+ created through textual modification.
+ * "Standard Version" refers to such a Package if it has not been
+ modified, or has been modified in accordance with the wishes
+ of the Copyright Holder.
+ * "Copyright Holder" is whoever is named in the copyright or
+ copyrights for the package.
+ * "You" is you, if you're thinking about copying or distributing
+ this Package.
+ * "Reasonable copying fee" is whatever you can justify on the
+ basis of media cost, duplication charges, time of people involved,
+ and so on. (You will not be required to justify it to the
+ Copyright Holder, but only to the computing community at large
+ as a market that must bear the fee.)
+ * "Freely Available" means that no fee is charged for the item
+ itself, though there may be fees involved in handling the item.
+ It also means that recipients of the item may redistribute it
+ under the same conditions they received it.
+ .
+ 1. You may make and give away verbatim copies of the source form of the
+ Standard Version of this Package without restriction, provided that you
+ duplicate all of the original copyright notices and associated disclaimers.
+ .
+ 2. You may apply bug fixes, portability fixes and other modifications
+ derived from the Public Domain or from the Copyright Holder. A Package
+ modified in such a way shall still be considered the Standard Version.
+ .
+ 3. You may otherwise modify your copy of this Package in any way, provided
+ that you insert a prominent notice in each changed file stating how and
+ when you changed that file, and provided that you do at least ONE of the
+ following:
+ .
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or
+ an equivalent medium, or placing the modifications on a major archive
+ site such as ftp.uu.net, or by allowing the Copyright Holder to include
+ your modifications in the Standard Version of the Package.
+ .
+ b) use the modified Package only within your corporation or
+ organization.
+ .
+ c) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided, and provide
+ a separate manual page for each non-standard executable that clearly
+ documents how it differs from the Standard Version.
+ .
+ d) make other distribution arrangements with the Copyright Holder.
+ .
+ 4. You may distribute the programs of this Package in object code or
+ executable form, provided that you do at least ONE of the following:
+ .
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where
+ to get the Standard Version.
+ .
+ b) accompany the distribution with the machine-readable source of
+ the Package with your modifications.
+ .
+ c) accompany any non-standard executables with their corresponding
+ Standard Version executables, giving the non-standard executables
+ non-standard names, and clearly documenting the differences in manual
+ pages (or equivalent), together with instructions on where to get
+ the Standard Version.
+ .
+ d) make other distribution arrangements with the Copyright Holder.
+ .
+ 5. You may charge a reasonable copying fee for any distribution of this
+ Package. You may charge any fee you choose for support of this Package.
+ You may not charge a fee for this Package itself. However,
+ you may distribute this Package in aggregate with other (possibly
+ commercial) programs as part of a larger (possibly commercial) software
+ distribution provided that you do not advertise this Package as a
+ product of your own.
+ .
+ 6. The scripts and library files supplied as input to or produced as
+ output from the programs of this Package do not automatically fall
+ under the copyright of this Package, but belong to whomever generated
+ them, and may be sold commercially, and may be aggregated with this
+ Package.
+ .
+ 7. C or perl subroutines supplied by you and linked into this Package
+ shall not be considered part of this Package.
+ .
+ 8. The name of the Copyright Holder may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+ .
+ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ .
+ The End
diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch
new file mode 100644
index 0000000..7a987e9
--- /dev/null
+++ b/debian/patches/0001-build.patch
@@ -0,0 +1,37 @@
+From: Ansgar Burchardt <ansgar at debian.org>
+Date: Sat, 12 Nov 2011 11:14:49 +0100
+Subject: build changes for Debian
+
+Index: trunk/Makefile
+===================================================================
+--- trunk.orig/Makefile
++++ trunk/Makefile
+@@ -8,7 +8,8 @@ VERSION_STRING = "pak128.Britain 1.13 11
+ #
+ #
+ #
+-MAKEOBJ ?= ./makeobj
++SHELL=/bin/bash
++MAKEOBJ ?= /usr/lib/simutrans/makeobj
+
+ DESTDIR ?= simutrans
+ PAKDIR ?= $(DESTDIR)/pak128.Britain
+@@ -109,7 +110,7 @@ copy:
+ @mkdir -p $(PAKDIR)/text $(PAKDIR)/text/citylists $(PAKDIR)/config
+ @cp -p compat.tab $(PAKDIR)
+ @cp -p demo.sve $(PAKDIR)
+- @cp -p licence.txt $(PAKDIR)
++# @cp -p licence.txt $(PAKDIR)
+ @cp -p readme.txt $(PAKDIR)
+ @cp -p config/* $(PAKDIR)/config
+ # @mkdir -p $(PAKDIR)/sound $(PAKDIR)/text $(PAKDIR)/config $(PAKDIR)/scenario
+@@ -152,7 +153,8 @@ $(OUTSIDE):
+ @mkdir -p $(PAKDIR)
+ @$(MAKEOBJ) PAK128 $(PAKDIR)/ $@/ > /dev/null
+ @echo -e -n "Obj=ground\nName=Outside\ncopyright=$(VERSION_STRING)" >$@/outsiderev.dat
+- @svnversion >>$@/outsiderev.dat
++ #@svnversion >>$@/outsiderev.dat
++ echo $(SVNREV) >>$@/outsiderev.dat
+ @echo -e "Image[0][0]=images/ls-water-128.0.0\n-" >>$@/outsiderev.dat
+ @$(MAKEOBJ) PAK128 $(PAKDIR)/ $@/outsiderev.dat > /dev/null
+ @rm $@/outsiderev.dat
diff --git a/debian/patches/0100-filenames.patch b/debian/patches/0100-filenames.patch
new file mode 100644
index 0000000..ba30798
--- /dev/null
+++ b/debian/patches/0100-filenames.patch
@@ -0,0 +1,46 @@
+Description: Change to correct UTF-8 filenames
+Author: Jörg Frings-Fürst <debian at jff-webhosting.net>
+Forwarded: http://forum.simutrans.com/index.php?topic=14929.0
+Last-Update: 2015-11-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/citybuildings/res-50.dat
+===================================================================
+--- trunk.orig/citybuildings/res-50.dat
++++ trunk/citybuildings/res-50.dat
+@@ -151,7 +151,7 @@ BackImage[3][0][0][1][0][1]=images/res/5
+ BackImage[3][0][0][0][0][1]=images/res/50-apartments-xtall.3.3
+ --
+ Obj=building
+-Name=RES_A_1950�_01_24
++Name=RES_A_1950_01_24
+ #Ugly Appartments set #2
+ copyright=Archon
+ type=RES
+@@ -181,7 +181,7 @@ BackImage[3][0][0][1][0][1]=images/res/5
+ BackImage[3][0][0][0][0][1]=images/res/50-apartments2-1.3.3
+ --
+ Obj=building
+-Name=RES_A_1950�_01_28
++Name=RES_A_1950_01_28
+ #Ugly Appartments set #2
+ copyright=Archon
+ type=RES
+@@ -211,7 +211,7 @@ BackImage[3][0][0][1][0][1]=images/res/5
+ BackImage[3][0][0][0][0][1]=images/res/50-apartments2-2.3.3
+ --
+ Obj=building
+-Name=RES_A_1950�_01_32
++Name=RES_A_1950_01_32
+ #Ugly Appartments set #2
+ copyright=Archon
+ type=RES
+@@ -241,7 +241,7 @@ BackImage[3][0][0][1][0][1]=images/res/5
+ BackImage[3][0][0][0][0][1]=images/res/50-apartments2-3.3.3
+ --
+ Obj=building
+-Name=RES_A_1950�_01_36
++Name=RES_A_1950_01_36
+ #Ugly Appartments set #2
+ copyright=Archon
+ type=RES
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..56ee9ca
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0100-filenames.patch
+0001-build.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2cf3e01
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#! /usr/bin/make -f
+
+# revision to use when building .orig.tar.gz
+SVNREV = 1690
+VERSION = 1.16
+SVNROOT = https://simutrans.svn.sourceforge.net/svnroot/simutrans
+
+STAGING := $(CURDIR)/debian/simutrans-pak128.britain
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ $(MAKE) SVNREV=$(SVNREV) all
+
+override_dh_install:
+ dh_install
+ rmdir --ignore-fail-on-non-empty $(STAGING)/usr/share/games/simutrans/pak128.Britain/text/citylists
+
+get-orig-source:
+ svn export -r $(SVNREV) $(SVNROOT)/pak128.Britain ../simutrans-pak128.britain-$(VERSION)
+ find ../simutrans-pak128.britain-$(VERSION) -name "*.pak" -print -delete
+ cd ../simutrans-pak128.britain-$(VERSION) && \
+ tar -caf "../simutrans-pak128.britain_$(VERSION).orig.tar.xz" *
+ $(RM) -r ..\simutrans-pak128.britain-$(VERSION)
diff --git a/debian/simutrans-pak128.britain.docs b/debian/simutrans-pak128.britain.docs
new file mode 100644
index 0000000..b2b2a78
--- /dev/null
+++ b/debian/simutrans-pak128.britain.docs
@@ -0,0 +1 @@
+readme.txt
diff --git a/debian/simutrans-pak128.britain.install b/debian/simutrans-pak128.britain.install
new file mode 100644
index 0000000..582de24
--- /dev/null
+++ b/debian/simutrans-pak128.britain.install
@@ -0,0 +1 @@
+simutrans usr/share/games
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..988bdb3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+# pak128.Britain.1.13-112-0.zip
+version=3
+opts="uversionmangle=s/-/./;s/-//g" http://sf.net/simutrans/pak128\.?[bB]ritain\.([0-9]\.[0-9]+).*\.zip
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/simutrans-pak128.britain.git
More information about the Pkg-games-commits
mailing list