Bug#683537: hyperestraier: Transition package to use default java implementation + ensure backwards compatibility

2013-03-05 Thread Satoru KURASHIKI
hi,

In debian default-jdk package is not always a synonym of openjdk-*.
hyperestraier itself only supports openjdk, so I think it should be
referred explicitly.

regards,
-- 
KURASHIKI Satoru


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#683537: hyperestraier: Transition package to use default java implementation + ensure backwards compatibility

2012-08-01 Thread James Page
Package: hyperestraier
Version: 1.4.13-5
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch openjdk-7-transition

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Transition package to use default java implementation:
- d/control: BD on default-jdk instead of openjdk-6-jdk.
- d/java7-compat.patch: Ensure compiled bytecode is backwards compatible
  with Java 1.5+.

This patch will ensure that this package always uses the default java 
implementation
(as has changed in Ubuntu quantal) and that bytecode produced is compatible
with Java 1.5+.

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: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-7-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQGT0JAAoJEL/srsug59jDw64QAJizDHNjLvrbsSRBtFPgizjR
9tZZcnd9Y7fKFq2VIR6fPqATPVyVAY82fpC7qRxyCcmGmMGwcPbHzXBdJYQufO/C
eNjZeoW8d5AW1jnSbmYNDzLUe99XZNSeQh+hKQr6z7ISmo+fBtCc7mDun8UC83SI
CTdGxI5hy2CO2QJquOQ80dGrEED0j/ere1WE8aX8kpIMEIi4HxIwmbytLgA2YuPt
/NCr0zQl8Eg2hFS9mQpWpSb7zS8nqUyhpcczHETQWI15zp6rKN+tByeuEYtVgwNi
BKBqmYWbVtAYvNM0lWlJTBccXvTCLmNo2U+bpnyEftULU4rMYTopA/o2+TWYvy/6
yuabw5XKz6YoOwSq2vxAd+BzKDfPF9diV0DpZftTwWICJmDZKN+8OgIJhXvnA/5+
6hoeH/n9gqW/TvFD+ow8bAEo6uLoELpSjNxhLRbFOkkMfh9M62lThiw7sHELSao+
bndcsyAz+wj5hlHhoyaJFZtxJkoo4gcuQ9nowJ98H+gw5g1vjgiCVm4bW1bJbtA6
iykXWhCwiW9NERGrSl8vvRbrjWeqXzKhsA8B8TCo+WnGfk0UbUP8t0USeJozeguE
tR3fbc7ewFN1gJElZSMcu1qKYt4t8T+LqRStrCV3T8OTJDeO/IQp2AIYI9rAsvfC
8DzsUpSoLMR7/L4DyYrv
=uOwe
-END PGP SIGNATURE-
diff -Nru hyperestraier-1.4.13/debian/changelog hyperestraier-1.4.13/debian/changelog
diff -Nru hyperestraier-1.4.13/debian/control hyperestraier-1.4.13/debian/control
--- hyperestraier-1.4.13/debian/control	2012-07-03 00:44:53.0 +0100
+++ hyperestraier-1.4.13/debian/control	2012-08-01 15:26:16.0 +0100
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: KURASHIKI Satoru 
-Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, zlib1g-dev, libqdbm-dev (>= 1.8.75), libfcgi-dev (>= 2.4.0-6), ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev, openjdk-6-jdk [!kfreebsd-i386 !kfreebsd-amd64 !s390x !hppa !mips !mipsel], chrpath, perl
+Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, zlib1g-dev, libqdbm-dev (>= 1.8.75), libfcgi-dev (>= 2.4.0-6), ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev, default-jdk [!kfreebsd-i386 !kfreebsd-amd64 !s390x !hppa !mips !mipsel], chrpath, perl
 Standards-Version: 3.9.3
 Homepage: http://fallabs.com/hyperestraier/
 Vcs-Git: git://anonscm.debian.org/collab-maint/hyperestraier.git
diff -Nru hyperestraier-1.4.13/debian/patches/java7-compat.patch hyperestraier-1.4.13/debian/patches/java7-compat.patch
--- hyperestraier-1.4.13/debian/patches/java7-compat.patch	1970-01-01 01:00:00.0 +0100
+++ hyperestraier-1.4.13/debian/patches/java7-compat.patch	2012-08-01 15:21:47.0 +0100
@@ -0,0 +1,13 @@
+Index: hyperestraier-1.4.13/javapure/Makefile.in
+===
+--- hyperestraier-1.4.13.orig/javapure/Makefile.in	2009-09-12 05:00:23.0 +0100
 hyperestraier-1.4.13/javapure/Makefile.in	2012-08-01 15:21:45.034718729 +0100
+@@ -29,7 +29,7 @@
+ MYJAVAHOME = @MYJAVAHOME@
+ JVMPLATFORM = @JVMPLATFORM@
+ JAVAC = @JAVAC@
+-JAVACFLAGS = -d .
++JAVACFLAGS = -source 1.5 -target 1.5 -d .
+ JAR = @JAR@
+ JAVAH = @JAVAH@
+ JAVADOC = @JAVADOC@
diff -Nru hyperestraier-1.4.13/debian/patches/series hyperestraier-1.4.13/debian/patches/series
--- hyperestraier-1.4.13/debian/patches/series	2012-07-03 01:06:27.0 +0100
+++ hyperestraier-1.4.13/debian/patches/series	2012-08-01 15:21:26.0 +0100
@@ -3,3 +3,4 @@
 ruby-gsub-freezed-string
 hurd-compat-pathmax
 purge-mycflags
+java7-compat.patch