Re: Updates to java-package for armhf architecture

2014-03-24 Thread kay
Updated patch

2014-03-22 11:29 GMT+04:00 kay kay.d...@gmail.com:
 New java is out for ARM platform. Here is the patch for armhf architecture.
 I've just tested it on my Cubieboard.

 java -version
 java version 1.8.0
 Java(TM) SE Runtime Environment (build 1.8.0-b132)
 Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
--- /usr/share/java-package/oracle-jdk.sh.orig	2014-03-22 11:00:02.597960768 +0400
+++ /usr/share/java-package/oracle-jdk.sh	2014-03-22 10:59:01.187887952 +0400
@@ -4,7 +4,7 @@
   j2se_release=0
 
   # Update or GA release (jdk-7u15-linux-i586.tar.gz)
-  if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-linux-(i586|x64|amd64)\.(bin|tar\.gz) ]]
+  if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-linux-(i586|x64|amd64|arm-vfp-hflt)\.(bin|tar\.gz) ]]
   then
 j2se_release=${BASH_REMATCH[1]}
 j2se_update=${BASH_REMATCH[3]}
--- /usr/share/java-package/jdk.sh.orig	2014-03-22 11:15:40.049228425 +0400
+++ /usr/share/java-package/jdk.sh	2014-03-22 11:24:59.029997008 +0400
@@ -4,11 +4,6 @@
 java_browser_plugin=java-browser-plugin, 
 depends=\${shlibs:Depends}
 if [ ${DEB_BUILD_ARCH:0:3} = arm ]; then
-# ARM is only softfloat ATM so if building on armhf
-# force the dependencies to pickup cross platform fu
-if [ ${DEB_BUILD_ARCH} == armhf ]; then
-depends=libc6-armel, libsfgcc1, libsfstdc++6
-fi
 # No browser on ARM yet
 java_browser_plugin=
 fi
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Re: Updates to java-package for armhf architecture

2014-03-24 Thread Emmanuel Bourg
Hi Kay,

Thank you for the patch. I believe this has already been reported in
#724455. The patch has been applied on alioth if you want to give it a
try. This fix will be included in the version 0.54.

git://anonscm.debian.org/pkg-java/java-package.git

Also note that pkg-java-maintainers is a list dedicated to automatic
mail notification. Actual discussions are on debian-j...@lists.debian.org

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.