[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642753: [patch] liquidlnf: FTBFS: You must specify a valid JAVA_HOME or JAVACMD



On Sun, Jan 01, 2012 at 09:53:32PM +0900, Hideki Yamane wrote:
> tags 642753 patch
> thanks
> 
> Hi,
> 
>  I've made a patch for fix FTBFS by adjusting JAVA_HOME path.
>  Please check it, thanks.

I think the preferable way to fix these kind of bugs is by switching
to B-D on default-jdk and point JAVA_HOME path to /usr/lib/jvm/default-java.

I'm including a new patch.

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
diff -Nru liquidlnf-2.9.1/debian/changelog liquidlnf-2.9.1/debian/changelog
--- liquidlnf-2.9.1/debian/changelog	2012-01-16 20:02:11.000000000 -0430
+++ liquidlnf-2.9.1/debian/changelog	2012-01-16 19:57:25.000000000 -0430
@@ -1,3 +1,12 @@
+liquidlnf (2.9.1-9) unstable; urgency=low
+
+  * QA upload.
+  * Switch to default-jdk. (Closes: #642753).
+  * Switch to source format 3.0 (quilt).
+  * Drop unnecessary B-D on quilt.
+
+ -- Miguel Landaeta <miguel@miguel.cc>  Mon, 16 Jan 2012 19:54:44 -0430
+
 liquidlnf (2.9.1-8) unstable; urgency=low
 
   * QA upload.
diff -Nru liquidlnf-2.9.1/debian/control liquidlnf-2.9.1/debian/control
--- liquidlnf-2.9.1/debian/control	2012-01-16 20:02:11.000000000 -0430
+++ liquidlnf-2.9.1/debian/control	2012-01-16 19:56:38.000000000 -0430
@@ -2,8 +2,8 @@
 Section: utils
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: cdbs, debhelper (>= 5), quilt
-Build-Depends-Indep: ant, liblaf-plugin-java, openjdk-6-jdk
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, liblaf-plugin-java, default-jdk
 Standards-Version: 3.8.0
 Homepage: https://liquidlnf.dev.java.net/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/liquidlnf
diff -Nru liquidlnf-2.9.1/debian/rules liquidlnf-2.9.1/debian/rules
--- liquidlnf-2.9.1/debian/rules	2012-01-16 20:02:11.000000000 -0430
+++ liquidlnf-2.9.1/debian/rules	2012-01-16 19:56:22.000000000 -0430
@@ -2,9 +2,8 @@
 
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-JAVA_HOME            := /usr/lib/jvm/java-6-openjdk
+JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_ANT_BUILD_TARGET := jar
 DEB_JARS             := laf-plugin
 ANT_OPTS	     := -Dant.build.javac.source=1.[45]
diff -Nru liquidlnf-2.9.1/debian/source/format liquidlnf-2.9.1/debian/source/format
--- liquidlnf-2.9.1/debian/source/format	1969-12-31 20:00:00.000000000 -0400
+++ liquidlnf-2.9.1/debian/source/format	2012-01-16 19:56:13.000000000 -0430
@@ -0,0 +1 @@
+3.0 (quilt)

Attachment: signature.asc
Description: Digital signature


Reply to: