Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8225

Re: libfontconfig1 missing in openjdk-8-jre-headless

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod
From Joel Chen <joelchen@msn.com>
Newsgroups linux.debian.maint.java, linux.debian.bugs.dist
Subject Re: libfontconfig1 missing in openjdk-8-jre-headless
Date Mon, 03 Aug 2015 08:20:01 +0200
Message-ID <pThgl-2NH-7@gated-at.bofh.it> (permalink)
References <pRFd8-AH-27@gated-at.bofh.it> <pRWdX-8f2-7@gated-at.bofh.it>
X-Original-To Emmanuel Bourg <ebourg@apache.org>
Old-Return-Path <joelchen@msn.com>
X-Amavis-Spam-Status No, score=-6.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .msn. - helo: .bay004-omc4s13.hotmail. - helo-domain: .hotmail.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Tmn [F0MhJbTexo6XuQLtYkYj7LhS8N5B9wgb]
X-Originating-Email [joelchen@msn.com]
Content-Type text/plain; charset="gb2312"
Content-Transfer-Encoding base64
MIME-Version 1.0 (1.0)
X-Originalarrivaltime 03 Aug 2015 06:10:11.0595 (UTC) FILETIME=[0E446DB0:01D0CDB3]
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18536
List-ID <debian-java.lists.debian.org>
List-URL <http://lists.debian.org/debian-java/>
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc "debian-java@lists.debian.org" <debian-java@lists.debian.org>, "793210@bugs.debian.org" <793210@bugs.debian.org>
X-Original-Date Mon, 3 Aug 2015 14:14:57 +0800
X-Original-Message-ID <BAY402-EAS1573D77259DEFCB6087164EC9770@phx.gbl>
X-Original-References <BAY402-EAS22A21E8044FEA412936374C98C0@phx.gbl> <55BA26C7.50503@apache.org>
Xref csiph.com linux.debian.maint.java:8225 linux.debian.bugs.dist:668953

Cross-posted to 2 groups.

Show key headers only | View raw


Hi Emmanuel,

Thank you for the followup.

Looking forward to have libfontconfig1 added in the next version of openjdk-8-jre-headless, so that my projects and others' projects can run smoothly on the latest Java Docker container.

Warmest Regards,
Joel

> On 30 Jul 2015, at 9:30 pm, Emmanuel Bourg <ebourg@apache.org> wrote:
> 
> Le 29/07/2015 21:22, Joel Chen a écrit :
>> When openjdk-8-jre-headless is used under openjdk-8-jre Docker
>> container, using Font in Java application triggers NullPointerException.
> 
> Hi Joel,
> 
> Thank you for the report. It looks like the IcedTea build used for the
> openjdk-7 package links explicitly against the system fontconfig, the
> INSTALL file has this mention |1] :
> 
> * --enable-system-fontconfig: Build and link against the system
> installation of fontconfig instead of trying to dynamically open it at
> runtime.
> 
> and the default value is "yes".
> 
> For the openjdk-8 package we didn't use IcedTea, and the upstream build
> still doesn't link against fontconfig. The library is simply detected
> and loaded dynamically in jdk/src/solaris/native/sun/awt/fontpath.c [2].
> This explains why the -headless package is missing the dependency.
> 
> The openjdk-8-jre package is also missing the libfontconfig1 dependency
> compared to openjdk-7-jre, but it gets it transitively through the
> dependency on libgtk2.0-0.
> 
> Now I wonder if we want to add a font dependency on a headless package.
> It already depends on libfreetype6, so why not libfontconfig1 too after all.
> 
> Emmanuel Bourg
> 
> [1] http://icedtea.classpath.org/hg/icedtea7/file/58824316f50a/INSTALL#l120
> [2]
> http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/solaris/native/sun/awt/fontpath.c#l595
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: https://lists.debian.org/55BA26C7.50503@apache.org
> 

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-07-29 21:30 +0200
  Re: libfontconfig1 missing in openjdk-8-jre-headless tony <tmancill@debian.org> - 2015-07-29 22:10 +0200
    Re: libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-07-29 22:40 +0200
  Re: libfontconfig1 missing in openjdk-8-jre-headless Joel Chen <joelchen@msn.com> - 2015-08-03 08:20 +0200

csiph-web