Package: freecol
Version: 0.10.5+dfsg-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

In Ubuntu, we've switched default-jdk/-jre to openjdk-7.  This has
revealed some bugs in packages with mismatched build dependencies.  For
example, freecol build-depends on ant and openjdk-6-jdk.  ant in turn
Depends on default-jre-headless, which on Ubuntu points the default java
at openjdk.  So it doesn't find openjdk-6-jdk's javac.

I believe it's recommended to use default-jdk/default-jre in general to
avoid hard coding which jdk is being used.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal')
Architecture: i386 (i686)

Kernel: Linux 3.5.0-6-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru freecol-0.10.5+dfsg/debian/changelog freecol-0.10.5+dfsg/debian/changelog
diff -Nru freecol-0.10.5+dfsg/debian/control freecol-0.10.5+dfsg/debian/control
--- freecol-0.10.5+dfsg/debian/control	2012-03-05 18:09:54.000000000 -0500
+++ freecol-0.10.5+dfsg/debian/control	2012-07-31 17:14:43.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
 Uploaders: Vincent Fourmond <fourm...@debian.org>
-Build-Depends: debhelper (>= 5), ant, openjdk-6-jdk, cdbs
+Build-Depends: debhelper (>= 5), ant, default-jdk, cdbs
 Build-Depends-Indep:
  tex4ht, texlive-binaries | texlive-base-bin, ant-optional,
  texlive-latex-recommended, libcommons-cli-java, libmiglayout-java,
@@ -15,7 +15,7 @@
 
 Package: freecol
 Architecture: all
-Depends: openjdk-6-jre | java6-runtime,
+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

Reply via email to