Skip to content
Browse files

freecol: 0.10.7-1~getdeb1

  * New upstream version
  • Loading branch information...
1 parent 12c491d commit 3ef1c2dea34a24127f0a6c844a33a3c4f0acfaba Christoph Korn committed Mar 8, 2013
View
24 freecol/NEWS
@@ -0,0 +1,24 @@
+freecol (0.8.4+dfsg-1) unstable; urgency=low
+
+ To work around bug #560056 on openjdk, IPV6 network stack is now
+ disabled by default. If you experience problems connecting to remote
+ servers, you can try enabling it back by passing --enable-ipv6 as
+ first argument to freecol.
+
+ -- Vincent Fourmond <fourmond@debian.org> Thu, 07 Jan 2010 22:44:32 +0100
+
+freecol (0.8.1.dfsg-1) unstable; urgency=low
+
+ Saved games from version before 0.8 WILL NOT WORK with this version.
+ Finish your games before upgrading !
+
+ -- Vincent Fourmond <fourmond@debian.org> Tue, 24 Feb 2009 18:54:23 +0100
+
+freecol (0.7.3-1) unstable; urgency=low
+
+ Apparently, saves for earlier versions of freecol might not be valid
+ with this version; please exercise caution, as this problem will
+ probably never get fixed.
+
+
+ -- Vincent Fourmond <fourmond@debian.org> Fri, 29 Feb 2008 22:53:29 +0100
View
11 freecol/README.Debian
@@ -0,0 +1,11 @@
+freecol for Debian
+------------------
+
+This package has been repackaged from source, as upstream tarballs include
+binary-only libraries. This will hopefully change in next releases.
+
+Additionally, the directory for saves has been moved to ~/.freecol, as
+it doesn't clutter home directories this way and seems to be the
+current (unspoken, at least) policy for games.
+
+ -- Vincent Fourmond <fourmond@debian.org> Mon, 01 Oct 2007 23:58:51 +0200
View
9 freecol/README.source
@@ -0,0 +1,9 @@
+Note about the source package of freecol.
+
+This package uses dpatch to manage all modifications to the upstream
+source. See /usr/share/doc/dpatch/README.source.gz to get more information
+on how to use it.
+
+ -- Vincent Fourmond <fourmond@debian.org>, Tue, 24 Feb 2009 00:50:16 +0100
+
+
View
258 freecol/changelog
@@ -0,0 +1,258 @@
+freecol (0.10.7-1~getdeb1) precise; urgency=low
+
+ * New upstream version
+
+ -- Christoph Korn <christoph.korn@getdeb.net> Wed, 06 Mar 2013 18:09:27 +0100
+
+freecol (0.10.5+dfsg-1ubuntu1) quantal; urgency=low
+
+ * debian/control:
+ - Use default-jdk and default-jre instead of hard coding openjdk-6.
+ Fixes FTBFS.
+
+ -- Michael Terry <mterry@ubuntu.com> Tue, 31 Jul 2012 17:06:50 -0400
+
+freecol (0.10.5+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump standards version
+ * Refresh patches/40-manpage.diff
+
+ -- Vincent Fourmond <fourmond@debian.org> Tue, 06 Mar 2012 00:10:22 +0100
+
+freecol (0.10.0+dfsg-5) unstable; urgency=low
+
+ [ Giovanni Mascellani ]
+ * Remove the libwoodstox-java dependency, which isn't necessary.
+ (closes: #650745)
+
+ [ Vincent Fourmond ]
+ * Fix classpath, which fixes problems with starting the game when newer
+ woodstox is installed (closes: #657866)
+
+ -- Vincent Fourmond <fourmond@debian.org> Sun, 29 Jan 2012 16:04:03 +0100
+
+freecol (0.10.0+dfsg-4) unstable; urgency=low
+
+ * Handle the rename of ttf-liberation to fonts-liberation (and the
+ corresponding file rename)
+
+ -- Vincent Fourmond <fourmond@debian.org> Mon, 24 Oct 2011 19:28:57 +0200
+
+freecol (0.10.0+dfsg-3) unstable; urgency=low
+
+ * Fix FTBS with recent openjdk-6 (closes: #642788)
+
+ -- Vincent Fourmond <fourmond@debian.org> Thu, 29 Sep 2011 21:40:24 +0200
+
+freecol (0.10.0+dfsg-2) unstable; urgency=low
+
+ * Refrain from installing the Liberation fonts, and symlink from those
+ in ttf-liberation
+ * Use javahelper for dependencies
+
+ -- Vincent Fourmond <fourmond@debian.org> Sat, 25 Jun 2011 21:44:41 +0200
+
+freecol (0.10.0+dfsg-1) unstable; urgency=low
+
+ * New upstream release (closes: #631611)
+ * Disable disable-listener.diff, now incorporated upstream (thanks !)
+ * Refreshed other patches
+ * Now using javahelper to handle installation and classpath tweaks (I
+ can't decently ignore lintian warnings I wrote ;-)...)
+ * Pass -Dbuild.sysclasspath=only to ant to fully ignore classpath in
+ the build file.
+ * Conforms to newer standards (3.9.2)
+ * Small improvements in the package description
+ * Increase a bit the memory allocated to freecol
+
+ -- Vincent Fourmond <fourmond@debian.org> Sat, 25 Jun 2011 18:18:38 +0200
+
+freecol (0.9.2+dfsg-2) unstable; urgency=low
+
+ * Now pass -Xincgc as java argument, as GC crashes apparently do not
+ occur using this GC engine. Closes: #583692 (BTW, it seems to
+ significantly speed up AI turn)
+ * Already conforms to 3.9.0
+
+ -- Vincent Fourmond <fourmond@debian.org> Wed, 21 Jul 2010 00:44:19 +0200
+
+freecol (0.9.2+dfsg-1) unstable; urgency=low
+
+ * New upstream release (closes: #567803)
+ * Switch to 3.0 (quilt) format + bzip2 repackaged archive
+ * Droping dependency on libhiglayout-java, apparently not needed anymore
+ * New dependencies:
+ - libcommons-cli-java
+ - libmiglayout-java
+ - libcortado-java
+ * Dropped dependency on dpatch now that we use format 3.0 (quilt)
+ * disable-listener.diff to disable what seems to be a custom feature
+ from cortado
+
+ -- Vincent Fourmond <fourmond@debian.org> Sun, 07 Mar 2010 18:00:39 +0100
+
+freecol (0.8.4+dfsg-2) unstable; urgency=low
+
+ * Disable IPV6 networking stack by default to work around Java bug
+ (see #560056) (closes: #562133)
+ * Already conforms to standards 3.8.3
+ * Update build-deps to reflect changes in TeXLive
+
+ -- Vincent Fourmond <fourmond@debian.org> Thu, 07 Jan 2010 22:53:26 +0100
+
+freecol (0.8.4+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Minor modifications to the debian/new-upstream script
+
+ -- Vincent Fourmond <fourmond@debian.org> Sat, 08 Aug 2009 21:27:55 +0200
+
+freecol (0.8.3+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Use viewsvn rather than wsvn for the Vcs-Browser field
+ * Now use a +dfsg instead of .dfsg (thanks lintian)
+ * Already conforms to standards 3.8.2
+
+ -- Vincent Fourmond <fourmond@debian.org> Sat, 27 Jun 2009 18:01:03 +0200
+
+freecol (0.8.1.dfsg-1) unstable; urgency=low
+
+ * New upstream release (closes: #514363)
+ - saves the log in ~/.freecol (closes: #488330)
+ - does not mess up language settings (closes: #497076)
+ * Adding alternate dependency on the virtual package java6-runtime, since
+ all variants seem to be able to run freecol. (closes: #503810)
+ * Switched to a machine-readable debian/copyright file
+ * Updated to small newer features of java-wrappers (and bumped the
+ version dependency accordingly)
+ * Added a debian/README.source to mention the use of a patch system,
+ which makes it now comply to standards 3.8.0
+ * Adding ${misc:Depends} for potential debhelper-induced dependencies
+ * Refreshed debian/patches/10-fix-jar-path.dpatch
+ * Dropped debian/patches/25-change-save-dir.dpatch, superseded by
+ upstream modifications
+ * Remove unapplied patches
+ * Switch to using cdbs for building
+ * Update debian/NEWS to mention that save games from earlier
+ versions are not compatible.
+
+ -- Vincent Fourmond <fourmond@debian.org> Tue, 24 Feb 2009 18:55:19 +0100
+
+freecol (0.7.4.dfsg+1-1) unstable; urgency=low
+
+ * Pseudo new upstream release to work around dak's
+ move-from-contrib-to-main bug.
+
+ -- Vincent Fourmond <fourmond@debian.org> Sun, 10 Aug 2008 16:59:02 +0200
+
+freecol (0.7.4.dfsg-2) unstable; urgency=low
+
+ * Fix watchfile to ignore the alpha releases (users and developers
+ seem to complain about their stability).
+ * Add openjdk in the wrapper script, and tighten up dependency on
+ java-wrappers accordingly.
+ * freecol can now move to main ! (closes: #491260)
+ * Adapted wrapper/freecol to work around a java-wrappers bug
+ * Document undocumented patches, and drop 15-fix-jar-manifest which
+ really isn't necessary now that we are using java-wrappers.
+
+ -- Vincent Fourmond <fourmond@debian.org> Sun, 10 Aug 2008 14:42:28 +0200
+
+freecol (0.7.4.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Finally add a .dfsg suffix to the version number, to reflect the
+ fact that the upstream tarball is repackaged (since this time I
+ had forgotten that ;-)...).
+ * Update debian/new-upstream and debian/watch accordingly
+
+ -- Vincent Fourmond <fourmond@debian.org> Sun, 22 Jun 2008 09:21:57 +0200
+
+freecol (0.7.3-4) unstable; urgency=low
+
+ * Mmmm, also add openjdk-6 as JAVA_HOME in debian/rules (closes: #480107)
+
+ -- Vincent Fourmond <fourmond@debian.org> Fri, 16 May 2008 19:21:43 +0200
+
+freecol (0.7.3-3) unstable; urgency=low
+
+ * Adding openjdk-6-* as alternative (Build-)?Deps, thanks to
+ Matvey Kozhev <inetperson@gmail.com> for pointing out (closes: #480107)
+
+ -- Vincent Fourmond <fourmond@debian.org> Thu, 08 May 2008 08:32:20 +0200
+
+freecol (0.7.3-2) unstable; urgency=low
+
+ * Pushing memory limit to 180M, as it does not work anymore on AMD64 with
+ only 128M...
+
+ -- Vincent Fourmond <fourmond@debian.org> Sat, 03 May 2008 21:18:05 +0200
+
+freecol (0.7.3-1) unstable; urgency=low
+
+ [ Ansgar Burchardt ]
+ * Remove deprecated Encoding key from .desktop file
+
+ [ Vincent Fourmond ]
+ * New upstream release (Closes: #465490)
+ - dropped 30-language-option, included upstream
+ - updated 10-fix-jar-path and 15-fix-jar-manifest
+ * Now providing a debian/new-upstream to repackage upstream tarball
+ * Added a NEWS file
+ * Switched to java-wrappers for the wrapper script
+ - 40-manpage to point the user to java-wrappers(7)
+
+ -- Vincent Fourmond <fourmond@debian.org> Fri, 29 Feb 2008 23:09:02 +0100
+
+freecol (0.7.2-5) unstable; urgency=low
+
+ * Bumped standards-version to 3.7.3 (no changes required)
+ * Added many changes by Matvey Kozhev <sikon@lucidfox.org> for
+ Ubuntu (closes: #453836)
+ - added a desktop file
+ - fix wrapper file position and pathes
+ - added icedtea dependencies
+ * Added an icon for the menu
+
+ -- Vincent Fourmond <fourmond@debian.org> Fri, 14 Dec 2007 01:18:14 +0100
+
+freecol (0.7.2-4) unstable; urgency=low
+
+ * Pull upstream revision 3270 to add a --default-locale option
+ * Used this option to detect when LC_MESSAGES is different from
+ LC_CTYPE (Closes: #450944)
+
+ -- Vincent Fourmond <fourmond@debian.org> Mon, 26 Nov 2007 20:25:41 +0100
+
+freecol (0.7.2-3) unstable; urgency=low
+
+ * Add a dependency on j2re1.6 for java-package made packages
+ (Closes: #452407)
+ * Added various meta-information field to debian/control
+
+ -- Vincent Fourmond <fourmond@debian.org> Thu, 22 Nov 2007 19:21:34 +0100
+
+freecol (0.7.2-2) unstable; urgency=high
+
+ [ Barry deFreese ]
+ * Fix watch file
+
+ [ 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@debian.org> Fri, 26 Oct 2007 21:27:20 +0200
+
+freecol (0.7.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #444199)
+ * {10,15}-fix-jar*: switch to external libraries for binary only jars.
+ * 20-freecol-executable: the freecol executable.
+ * 25-change-save-dir: switch saves directory to ~/.freecol
+ * Menu entry
+
+ -- Vincent Fourmond <fourmond@debian.org> Mon, 08 Oct 2007 15:56:18 +0200
View
1 freecol/compat
@@ -0,0 +1 @@
+9
View
33 freecol/control
@@ -0,0 +1,33 @@
+Source: freecol
+Section: games
+Priority: optional
+Maintainer: GetDeb Package Ninjas <package.ninjas@getdeb.net>
+XSBC-Original-Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Uploaders: Vincent Fourmond <fourmond@debian.org>
+Build-Depends: debhelper (>= 9),
+ ant,
+ default-jdk,
+ cdbs
+Build-Depends-Indep: tex4ht,
+ texlive-binaries | texlive-base-bin,
+ ant-optional,
+ texlive-latex-recommended,
+ libcommons-cli-java,
+ libmiglayout-java,
+ libcortado-java,
+ javahelper
+Standards-Version: 3.9.3
+Homepage: http://www.freecol.org
+
+Package: freecol
+Architecture: all
+Depends: default-jre | java6-runtime,
+ java-wrappers (>= 0.1.13),
+ ${misc:Depends},
+ ${java:Depends},
+ fonts-liberation (>= 1.07.0-2~)
+Description: open source remake of the old Colonization
+ freecol is a game in the spirit of Civilization but taking place in a
+ colonial background. Colonize the new world, build towns, trade or
+ fight with natives and other European civilizations, trade with your
+ homeland until you're ready to fight for your independance !
View
73 freecol/copyright
@@ -0,0 +1,73 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=437
+Upstream-Source: http://www.freecol.org
+Upstream-Name: freecol
+Upstream-Maintainer: The FreeCol Team <freecol-developers@lists.sourceforge.net>
+
+ This package was debianized by Vincent Fourmond <fourmond@debian.org> on
+ Mon, 01 Oct 2007 23:58:51 +0200.
+
+ The original tarball was made downloading the freecol-*-src.tar.gz
+ tarball on http://www.freecol.org/download.html, applying the patch
+ debian/freecol-dist-targz.diff and then using the ant target
+ tarDistBundle.
+
+ For more details, see the debian/new-upstream script that does precisely
+ this.
+
+Files: *
+Copyright: Copyright (C) 2003-2009 The FreeCol Team
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+
+Files: debian/*
+Copyright: Copyright (C) 2007-2009 Vincent Fourmond <fourmond@debian.org>
+License: GPL-2+
+ (see above)
+
+Files: data/fonts/ShadowedBlack.ttf is
+Copyright: Copyright Paul Lloyd <Paul.Lloyd@uwa.edu.au>
+License: GPL-2+
+ (see above)
+
+Files: packaging/gentoo/freecol-0.3.0.ebuild is
+Copyright: Copyright 1999-2004 Gentoo Foundation
+License: GPL-2+
+ (see above)
+
+Files: data/images/ui/bg_map1.jpg
+Files: data/images/ui/military.png
+Files: data/images/ui/political.png
+Files: data/images/ui/religious.png
+Files: data/images/ui/trade.png
+Files: data/images/ui/exploration.png
+Files: data/images/ui/landing.png
+Copyright: not copyrightable
+License: PD
+ The aforementioned images are fidel copies of objects in the public
+ domain and are thus not copyrightable (see for instance
+ http://en.wikipedia.org/wiki/Bridgeman_Art_Library_v._Corel_Corp for
+ more information).
+
+Files: data/images/monarch/*
+Files: data/images/ui/bg_europe.jpg
+Files: data/images/ui/doi.png
+Copyright: no copyright
+License: PD
+ The aforementioned files were downloaded from Wikimedia and are in
+ the public domain.
View
4 freecol/dirs
@@ -0,0 +1,4 @@
+usr/share/java
+usr/share/games/freecol
+usr/share/applications
+usr/share/pixmaps
View
1 freecol/docs
@@ -0,0 +1 @@
+doc/FreeCol.pdf
View
31 freecol/freecol-dist-targz.diff
@@ -0,0 +1,31 @@
+Index: build.xml
+===================================================================
+--- build.xml (revision 3092)
++++ build.xml (working copy)
+@@ -246,6 +246,26 @@
+ </tar>
+ </target>
+
++ <!-- A target that builds a 'source' package in the Debian
++ of the term, stripped of all potential legal/building
++ problems, such as jars without sources and already built jars,
++ as those cause problems and are unnecessary for a distribution.
++ -->
++ <target name="tarDistBundle" unless="skip.dist.source" depends="initDist,prepareSourceFiles">
++ <tar destfile="${freecol.release.dir}/${freecol.release.name}-dist-src.tar.bz2" compression="bzip2">
++ <tarfileset dir="${freecol.release.dir}/source/${freecol.name}"
++ prefix="${freecol.release.name}"
++ includes="**"
++ excludes="build/**, test/lib/**" />
++ <tarfileset dir="${basedir}" includes="data/**"
++ prefix="${freecol.release.name}"
++ excludes="**/.svn/**, data/fonts/Plakat-Fraktur.ttf"
++ />
++
++ <!-- We remove test/lib because there is junit.jar there -->
++ </tar>
++ </target>
++
+ <target name="zipSourceBundle" unless="skip.dist.source" depends="initDist,prepareSourceFiles">
+ <zip destfile="${freecol.release.dir}/${freecol.release.name}-src.zip">
+ <fileset dir="${freecol.release.dir}/base" includes="${freecol.name}/**"/>
View
1 freecol/freecol.classpath
@@ -0,0 +1 @@
+usr/share/java/freecol.jar miglayout.jar cortado.jar commons-cli.jar
View
8 freecol/freecol.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=FreeCol
+Comment=Turn-based strategy game
+Exec=freecol
+Icon=freecol
+Terminal=false
+Type=Application
+Categories=Java;Game;StrategyGame;
View
6 freecol/freecol.install
@@ -0,0 +1,6 @@
+data/* usr/share/games/freecol
+debian/wrapper/freecol usr/games
+debian/freecol.desktop usr/share/applications
+freecol.xpm usr/share/pixmaps
+
+
View
1 freecol/freecol.jlibs
@@ -0,0 +1 @@
+freecol.jar
View
1 freecol/manpages
@@ -0,0 +1 @@
+packaging/debian/freecol.6
View
3 freecol/menu
@@ -0,0 +1,3 @@
+?package(freecol):needs="X11" section="Games/Strategy"\
+ title="FreeCol" command="/usr/games/freecol" \
+ icon="/usr/share/pixmaps/freecol.xpm"
View
50 freecol/new-upstream
@@ -0,0 +1,50 @@
+#!/bin/sh
+#
+# new-upstream: copyright 2007 by Vincent Fourmond.
+# See debian/copyright file for details.
+#
+# Called by uscan; from uscan(1):
+#
+# Finally, if a third parameter (an action) is given in the watchfile
+# line, this is taken as the name of a command, and the command
+# command --upstream-version version filename
+#
+# is executed, using either the original file or the symlink name.
+#
+# Thanks to Sam Morris <sam@robots.org.uk> for giving me the idea
+#
+
+# If called manually, this file must be called from within the freecol/
+# directory.
+
+version=$2
+filename=`readlink -f $3`
+
+dir=`mktemp -d`
+
+curdir=`pwd`
+
+origname=freecol_$version"+dfsg".orig.tar.bz2
+
+echo "Repackaging freecol version $version from $filename"
+echo $filename
+echo $version
+
+# Abort on errors:
+set -e
+
+# We repackage the upstream source file, according to the method
+# written in debian/copyrigh
+cd $dir
+# tar xvzf $filename
+# Now using unzip:
+unzip $filename
+cd $dir/freecol*
+patch --no-backup-if-mismatch -p0 < $curdir/debian/freecol-dist-targz.diff
+echo $version | ant tarDistBundle
+# Do not remove the original file !!!
+# rm $curdir/$filename
+echo "Moving back dist/freecol-$version-dist-src.tar.bz2 to $curdir/../$origname"
+mv dist/freecol-$version-dist-src.tar.bz2 $curdir/../$origname
+cd -
+rm -rf $dir
View
33 freecol/patches/10-fix-jar-path.diff
@@ -0,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10-fix-jar-path.dpatch by <fourmond@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix the path of the library jars to match those of the debian
+## DP: packages
+
+@DPATCH@
+Index: freecol-0.10.7/build.xml
+===================================================================
+--- freecol-0.10.7.orig/build.xml 2013-03-06 18:07:46.000000000 +0100
++++ freecol-0.10.7/build.xml 2013-03-06 18:40:37.334141544 +0100
+@@ -101,9 +101,10 @@
+ <!-- Compiles the java source files. -->
+ <target name="compile" depends="init">
+ <mkdir dir="${freecol.build.dir}"/>
++ <!-- Classpath is provided by debian/rules, so commenting this -->
++ <!-- classpathref="freecol.build.classpath" -->
+ <javac srcdir="${freecol.src.dir}"
+ destdir="${freecol.build.dir}"
+- classpathref="freecol.build.classpath"
+ debug="on"
+ optimize="on"
+ deprecation="off"
+@@ -173,7 +174,7 @@
+
+ <!-- Compiles the source files and creates a JAR-file. -->
+ <target name="package" depends="init,build,manifest" description="Compiles the source files and creates a JAR-file.">
+- <jar jarfile="${freecol.jar.file}"
++ <jar jarfile="freecol.jar"
+ basedir="${freecol.build.dir}"
+ manifest="${basedir}/src/MANIFEST.MF"
+ includes="net/**, org/**"
View
37 freecol/patches/40-manpage.diff
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40-manpage.dpatch by <fourmond@debian.org>
+##
+## DP: Small java-wrappers addition in the manual page
+
+@DPATCH@
+Index: freecol-0.10.5+dfsg/packaging/debian/freecol.6
+===================================================================
+--- freecol-0.10.5+dfsg.orig/packaging/debian/freecol.6 2012-03-05 22:10:30.000000000 +0100
++++ freecol-0.10.5+dfsg/packaging/debian/freecol.6 2012-03-05 23:36:51.633239995 +0100
+@@ -59,8 +59,25 @@
+ Starts a stand-alone server on the specified port.
+ .SH LICENSE
+ FreeCol is available under GPL license terms.
++
++.SH JAVA-WRAPPERS NOTE
++
++This program is a shell script wrapper based on
++.BR java-wrappers (7).
++You therefore benefit from several features; please see the
++.BR java-wrappers (7)
++manual page.
++
++
+ .SH SEE ALSO
++
+ Homepage: http://freecol.sourceforge.net/
++
++.BR java-wrappers (7)
++
+ .SH AUTHOR
+-This manual page was written by Jean Lepropre <jean_lepropre@users.sourceforge.net>,
++This manual page was written by Jean Lepropre
++<jean_lepropre@users.sourceforge.net>,
+ for the Debian project (but may be used by others).
++
++It was updated by Vincent Fourmond <fourmond@debian.org>
View
43 freecol/patches/disable-listener.diff
@@ -0,0 +1,43 @@
+Index: freecol-0.9.2+dfsg/src/net/sf/freecol/client/gui/video/VideoComponent.java
+===================================================================
+--- freecol-0.9.2+dfsg.orig/src/net/sf/freecol/client/gui/video/VideoComponent.java 2010-03-07 17:50:13.011526706 +0100
++++ freecol-0.9.2+dfsg/src/net/sf/freecol/client/gui/video/VideoComponent.java 2010-03-07 17:50:54.619521752 +0100
+@@ -34,7 +34,8 @@
+ import net.sf.freecol.common.resources.ResourceManager;
+
+ import com.fluendo.player.Cortado;
+-import com.fluendo.player.StopListener;
++// Disable the feature that seems to be missing from the stock Cortado
++// import com.fluendo.player.StopListener;
+
+ /**
+ * A component for playing video.
+@@ -74,17 +75,17 @@
+ applet.setParam ("showStatus", "hide");
+ applet.init();
+
+- applet.setStopListener(new StopListener() {
+- public void stopped() {
+- SwingUtilities.invokeLater(new Runnable() {
+- public void run() {
+- for (VideoListener sl : videoListeners) {
+- sl.stopped();
+- }
+- }
+- });
+- }
+- });
++ // applet.setStopListener(new StopListener() {
++ // public void stopped() {
++ // SwingUtilities.invokeLater(new Runnable() {
++ // public void run() {
++ // for (VideoListener sl : videoListeners) {
++ // sl.stopped();
++ // }
++ // }
++ // });
++ // }
++ // });
+
+ setLayout(null);
+ add(applet);
View
3 freecol/patches/series
@@ -0,0 +1,3 @@
+# disable-listener.diff
+10-fix-jar-path.diff
+40-manpage.diff
View
38 freecol/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+# debian/rules file for building freecol
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | \
+ sed -r 's/Version:\s*//' | sed -r 's/^[0-9]+://' | \
+ sed -r 's/(\.dfsg)?-[0-9.]+//')
+
+# export JITC_PROCESSOR_TYPE=6
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/javahelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+arch = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+JAVA_HOME_DIRS := /usr/lib/jvm/java-7-openjdk-$(arch) \
+ /usr/lib/jvm/java-6-openjdk-$(arch) /usr/lib/jvm/java-6-openjdk
+ANT_HOME := /usr/share/ant
+DEB_JARS := ant-launcher ant-nodeps \
+ miglayout commons-cli cortado
+DEB_ANT_COMPILER := modern
+DEB_ANT_BUILD_TARGET := package online-manual print-manual
+DEB_BUILDDIR := .
+DEB_ANT_BUILDFILE := build.xml
+DEB_ANT_CLEAN_TARGET := clean
+# Override build classpath
+ANT_OPTS := -Dbuild.sysclasspath=only
+
+LIBERATION_FONTS := LiberationSerif-Bold.ttf LiberationSerif-BoldItalic.ttf LiberationSerif-Italic.ttf LiberationSerif-Regular.ttf
+
+# Refrain from installing those files
+DEB_DH_INSTALL_ARGS = $(patsubst %,-X%, $(LIBERATION_FONTS))
+
+DEB_DH_LINK_freecol = $(foreach file, $(LIBERATION_FONTS), usr/share/fonts/truetype/liberation/$(file) usr/share/games/freecol/base/resources/fonts/$(file))
View
1 freecol/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
View
8 freecol/watch
@@ -0,0 +1,8 @@
+# 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.
+opts=dversionmangle=s/\+dfsg// \
+http://sf.net/freecol/freecol-(?!.*alpha)(.*)-src\.zip debian debian/new-upstream
View
28 freecol/wrapper/freecol
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# Including wrapper script:
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# We need openjdk, icedtea or Sun 6
+find_java_runtime openjdk java6
+
+find_jars miglayout freecol cortado commons-cli
+
+# We test if LC_MESSAGES is different from LC_CTYPE, if that is the case,
+# we pass to freecol the --default-locale argument
+if [ "$LC_CTYPE" != "$LC_MESSAGES" -a "$LC_MESSAGES" ]; then
+ lang_argument="--default-locale=$LC_MESSAGES"
+fi
+
+if [ "$1" = "--enable-ipv6" ]; then
+ shift;
+else
+ echo "Disabling IPV6 network stack to work around bug #560056 on openjdk"
+ echo "If you experience problems with connecting to remote servers, "
+ echo "you can put it back by running Freecol this way:"
+ echo " freecol --enable-ipv6" "$@"
+ disablenet="-Djava.net.preferIPv4Stack=true"
+fi
+
+run_java $disablenet -Xincgc -Xmx512M net.sf.freecol.FreeCol --freecol-data \
+ /usr/share/games/freecol $lang_argument "$@"

0 comments on commit 3ef1c2d

Please sign in to comment.
Something went wrong with that request. Please try again.