From owner-freebsd-ports@FreeBSD.ORG Mon Sep 8 03:16:16 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A030841C for ; Mon, 8 Sep 2014 03:16:16 +0000 (UTC) Received: from mailhost.zuhause.org (216.243.156.193.real-time.com [216.243.156.193]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B0D41060 for ; Mon, 8 Sep 2014 03:16:15 +0000 (UTC) Received: from mailhost.zuhause.org (unknown [10.0.2.160]) by mailhost.zuhause.org (Postfix) with ESMTP id 1DE8218A8B1 for ; Sun, 7 Sep 2014 22:16:14 -0500 (CDT) X-Virus-Scanned: amavisd-new at zuhause.org Received: from mailhost.zuhause.org ([10.0.2.160]) by mailhost.zuhause.org (mailhost.zuhause.org [10.0.2.160]) (amavisd-new, port 10024) with LMTP id vj6Bh7l7axoR for ; Sun, 7 Sep 2014 22:16:12 -0500 (CDT) Received: from [10.0.2.36] (unknown [10.0.2.36]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mailhost.zuhause.org (Postfix) with ESMTPSA id 81F7518A8AA for ; Sun, 7 Sep 2014 22:16:12 -0500 (CDT) Message-ID: <540D1F7C.4010809@freebsd.zuhause.org> Date: Sun, 07 Sep 2014 22:16:12 -0500 From: Bruce Albrecht User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Is LibreOffice dependency on Java 1.6 still valid? References: <540C8B64.7070403@freebsd.zuhause.org> <20140907222623.554a776e206bb5ef289acc93@gmail.com> In-Reply-To: <20140907222623.554a776e206bb5ef289acc93@gmail.com> Content-Type: text/plain; charset=windows-1254 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 03:16:16 -0000 On 09/07/14 14:26, Gökşin Akdeniz wrote: >>> As far as I can tell, LibreOffice on other platforms has supported >>> Java 1.7+ since the LibreOffice 3.6 release (or maybe earlier), and >>> OpenOffice supports Java 1.7+ also. Why does the FreeBSD port >>> require Java 1.6 for building when the Java option is set? >>> >> Probably no one tried it yet. > I did it. It did not build. > >> Changing a libreoffice build dependency is a big job to validate. >> My advice would be to open an account on http://www.redports.org, and >> submit a patch changing editors/libreoffice/Makefile to either change >> JAVA_VERSION to 1.7+, and see if it passes a redports build. >> > First attempt was defining JAVA version 1.7 via /etc/make.conf. > Libreoffice started to build and it stopped. Second attempt was > editing /usr/ports/editors/libreoffice/Makefile and build process was > stopped again. AFAK @bapt mentioned that problem when JAVA default > version swtiched to 1.7+. His message is available at mailing list > archives. Both attempts were limited to java version not compiler or > else. > I just changed the JAVA_VERSION=1.6 to JAVA_VERSION=1.7+, deleted openjdk1.6, did a make clean, make deinstall reinstall, and libreoffice built successfully on FreeBSD 10.0-RELEASE-p7 amd64. I was able to start up libreoffice, and in the preferences, the Java options finds the openjdk7 runtime and lets me select it as my Java runtime environment. Off hand, I'm not sure how to exercise the Java bits. I did try to open some IRS 1040 spreadsheets I have, and they had some errors in their macros, so it's possible that the errors are related to Java 1.7. I'll have to try reinstalling openjdk1.6 and rebuild against it and see if the errors go away.