From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Gtk+ Date: Tue, 16 Jul 2013 00:21:44 +0200 Message-ID: <87sizfea6f.fsf@gnu.org> References: <201307152254.08170.andreas@enge.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyrEH-0002ct-6f for guix-devel@gnu.org; Mon, 15 Jul 2013 18:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyrEF-0001xy-Sz for guix-devel@gnu.org; Mon, 15 Jul 2013 18:26:49 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:43568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyrEF-0001xi-Ku for guix-devel@gnu.org; Mon, 15 Jul 2013 18:26:47 -0400 In-Reply-To: <201307152254.08170.andreas@enge.fr> (Andreas Enge's message of "Mon, 15 Jul 2013 22:54:08 +0200") List-Id: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Andreas Enge skribis: > thanks to Ludovic's help, who noticed that the pango input harfbuzz should > be propagated, and after disabling the X server related tests, I managed to > compile gtk+. I just pushed the new package, but so far, I did not test it > with any application, so it might not even work... Neat, in time for 0.3, thank you! :-) I just added it to Emacs: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 6b2bedc..b3f2c2f 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -22,6 +22,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages) + #:use-module (gnu packages gtk) #:use-module (gnu packages ncurses) #:use-module (gnu packages texinfo) #:use-module (gnu packages gnutls) @@ -72,7 +73,7 @@ ;; TODO: Add the optional dependencies. ("xlibs" ,libx11) ("libXaw" ,libxaw) ; XXX: eventually replace by GTK+ - ;; ("gtk+" ,gtk+) + ("gtk+" ,gtk+) ("libXft" ,libxft) ("libtiff" ,libtiff) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ... and it actually built directly. :-) Now, the widgets that use Pango for font rendering (I suppose), like menus, display squares instead of actual characters, and the console is filled with things like: --8<---------------cut here---------------start------------->8--- Fontconfig error: line 139: invalid attribute 'xml:space' Fontconfig error: line 140: invalid attribute 'xml:space' Fontconfig error: line 146: invalid attribute 'xml:space' Fontconfig warning: "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig= -2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <= family> in isn't supported and may not work as expected Fontconfig warning: "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig= -2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <= family> in isn't supported and may not work as expected Fontconfig warning: "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig= -2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple <= family> in isn't supported and may not work as expected --8<---------------cut here---------------end--------------->8--- I guess we=E2=80=99ll need a pseudo-package that creates a fonts.conf file = for a given set of fonts, like . Ludo=E2=80=99. --=-=-=--