From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Yamashita Subject: Re: [PATCH] gnu: Add Xft support to FLTK. Date: Wed, 27 Apr 2016 18:54:27 -0400 Message-ID: <20160427185427.1b2e3305@openmailbox.org> References: <20160416225041.0fbf88b1@openmailbox.org> <87wpnj1aej.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/HXQklGaqK5kaMGPfza0xg8w" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avYM6-00028y-Gz for guix-devel@gnu.org; Wed, 27 Apr 2016 18:54:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avYM3-00063e-9R for guix-devel@gnu.org; Wed, 27 Apr 2016 18:54:50 -0400 Received: from smtp23.openmailbox.org ([62.4.1.57]:37825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avYM3-000630-0g for guix-devel@gnu.org; Wed, 27 Apr 2016 18:54:47 -0400 In-Reply-To: <87wpnj1aej.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --MP_/HXQklGaqK5kaMGPfza0xg8w Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 27 Apr 2016 14:52:36 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Kei Yamashita skribis: >=20 > > This patch is in preparation for the Dillo browser package. > > > > From 7755ae6d7afd46daed5fac1e626d1785b9875975 Mon Sep 17 00:00:00 > > 2001 From: Kei Yamashita > > Date: Sat, 16 Apr 2016 22:45:21 -0400 > > Subject: [PATCH] gnu: Add Xft support to FLTK. > > > > * gnu/packages/fltk.scm (fltk)[inputs]: Add libxft. =20 >=20 > This appears to break Octave (see > = ): >=20 > --8<---------------cut here---------------start------------->8--- > ../run-octave --norc --silent --no-history ./fntests.m . > error: /tmp/guix-build-octave-4.0.0.drv-0/octave-4.0.0/libinterp/dldfcn/P= KG_ADD: /tmp/guix-build-octave-4.0.0.drv-0/octave-4.0.0/libinterp/dldfcn/__= init_fltk__.oct: > failed to > load: /gnu/store/nfi0na44lk0fy0m6bpsa7q458wpyd5w5-fltk-1.3.3/lib/libfltk_= gl.so.1.3: > undefined symbol: _ZN18Fl_XFont_On_Demand5valueEv > --8<---------------cut here---------------end--------------->8--- >=20 > The undefined symbol (demangled: =E2=80=98Fl_XFont_On_Demand::value=E2=80= =99) is > defined in Fltk=E2=80=99s =E2=80=98fl_font_xft.cxx=E2=80=99. However, lo= oking at the build > log of Fltk, this file is apparently not compiled, which sounds like > a bug in Fltk=E2=80=99s build system. >=20 > Could you look into it? >=20 > Thanks in advance. :-) >=20 > Ludo=E2=80=99. You could try this patch. I switched on a configure flag that supposedly enables Xft support. I tried rebuilding Octave locally with the new FLTK, but my machine wasn't powerful enough so it started heavily swapping memory to disk. --MP_/HXQklGaqK5kaMGPfza0xg8w Content-Type: application/octet-stream; name=0001-gnu-Enable-Xft-support-in-configure-script-for-FLTK.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-Enable-Xft-support-in-configure-script-for-FLTK.patch RnJvbSBhY2I1MzUzZDdmNWM4MTA3MGVkMzcyNTIwNGQ4ZGE1MDcxZGQxYzczIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZWkgWWFtYXNoaXRhIDxrZWlAb3Blbm1haWxib3gub3JnPgpE YXRlOiBXZWQsIDI3IEFwciAyMDE2IDE4OjM0OjE1IC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gZ251 OiBFbmFibGUgWGZ0IHN1cHBvcnQgaW4gY29uZmlndXJlIHNjcmlwdCBmb3Ig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