[freecol] 10/125: [freecol] fixing recent RC-bugs + fixing manual

Markus Koschany apo-guest at moszumanska.debian.org
Sun Dec 20 19:39:02 UTC 2015


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

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

commit a382fd84123da7199d51134a4547eb2e0e449850
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Fri Oct 26 19:30:47 2007 +0000

    [freecol] fixing recent RC-bugs + fixing manual
---
 debian/changelog                            | 12 ++++++++----
 debian/control                              |  8 +++++---
 debian/patches/20-freecol-executable.dpatch | 15 +++++++--------
 debian/rules                                |  6 ++++--
 debian/watch                                |  3 +++
 5 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 925bd3d..5051107 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,15 @@
-freecol (0.7.2-2) UNRELEASED; urgency=low
-
-  * NOT RELEASED YET
+freecol (0.7.2-2) unstable; urgency=high
 
   [ Barry deFreese ]
   * Fix watch file
 
- -- Vincent Fourmond <fourmond at debian.org>  Mon, 08 Oct 2007 17:29:26 +0200
+  [ Vincent Fourmond ]
+  * Apparently, I cannot build freecol for java5, as libraries
+    are missing. Switching to java6 (Closes: #448082, #448083)
+  * Urgency high to fix two RC bugs in testing
+  * Fixing table of contents and links in PDF manual 
+
+ -- Vincent Fourmond <fourmond at debian.org>  Fri, 26 Oct 2007 21:27:20 +0200
 
 freecol (0.7.2-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 0019f0e..1db43eb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,16 @@ Section: contrib/games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>= 5), dpatch, ant
+Build-Depends: debhelper (>= 5), dpatch, 
+ ant, sun-java6-jdk
 Build-Depends-Indep: libhiglayout-java, libwoodstox-java,
- sun-java6-jdk | sun-java5-jdk, tex4ht, texlive-base-bin
+  tex4ht, texlive-base-bin, ant-optional
+Build-Conflicts: sun-java5-jdk, sun-java5-bin, sun-java5-jre
 Standards-Version: 3.7.2
 
 Package: freecol
 Architecture: all
-Depends: sun-java6-jre | sun-java5-jre, libhiglayout-java, 
+Depends: sun-java6-jre, libhiglayout-java, 
  libwoodstox-java
 Description: an open version of Colonization
  freecol is a game in the spirit of Civilization but taking place in a
diff --git a/debian/patches/20-freecol-executable.dpatch b/debian/patches/20-freecol-executable.dpatch
index dfd2af9..6839ade 100755
--- a/debian/patches/20-freecol-executable.dpatch
+++ b/debian/patches/20-freecol-executable.dpatch
@@ -5,21 +5,20 @@
 ## DP: No description.
 
 @DPATCH@
-diff -urNad freecol-0.7.3~svn20071001~/src/freecol freecol-0.7.3~svn20071001/src/freecol
---- freecol-0.7.3~svn20071001~/src/freecol	1970-01-01 01:00:00.000000000 +0100
-+++ freecol-0.7.3~svn20071001/src/freecol	2007-10-02 18:11:49.000000000 +0200
-@@ -0,0 +1,17 @@
+diff -urNad freecol-0.7.2~/src/freecol freecol-0.7.2/src/freecol
+--- freecol-0.7.2~/src/freecol	1970-01-01 01:00:00.000000000 +0100
++++ freecol-0.7.2/src/freecol	2007-10-26 20:48:10.000000000 +0200
+@@ -0,0 +1,16 @@
 +#!/bin/sh
 +
 +# Script 'greatly inspired' from the one of jabref
 +
-+# Unless there already is a JAVA_HOME, we detect the presence
-+# of either sun 5 or sun 6
++# Unless there already is a JAVA_HOME, we use java6
 +
 +if [ -z "$JAVA_HOME" ]
 +then
-+t=/usr/lib/jvm/java-5-sun && test -d $t && JAVA_HOME=$t
-+t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
++# t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
++JAVA_HOME=/usr/lib/jvm/java-6-sun 
 +JAVA=${JAVA_HOME}/jre/bin/java
 +fi
 +
diff --git a/debian/rules b/debian/rules
index 6bb86a9..c5fa340 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,13 +13,15 @@ build: build-stamp
 build-stamp: patch doc-saved
 	dh_testdir
 
-	ant package
+	JAVA_HOME=/usr/lib/jvm/java-6-sun ant package
 # Then according to current Java policy, we move the freecol.jar file
 # to a versioned one.
 	[ -e freecol-$(SOURCE_VERSION).jar ] || mv freecol.jar freecol-$(SOURCE_VERSION).jar
 	[ -e freecol.jar ] || ln -s freecol-$(SOURCE_VERSION).jar freecol.jar
 # Then, we make the manual:
-	ant manual
+	ant online-manual
+	rm -f doc/FreeCol.aux 
+	ant print-manual
 
 	touch build-stamp
 
diff --git a/debian/watch b/debian/watch
index be715cb..3072016 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,7 @@
 # Compulsory line, this is a version 3 file
 version=3
 
+# Don't forget to look into debian/copyright first before packaging
+# a new upstream version !!! The watchfile works, but the downloaded
+# archive should not go to debian - you need to repackage it.
 http://sf.net/freecol/freecol-(.*)-src\.tar\.gz

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



More information about the Pkg-games-commits mailing list