guix-devel
[Top][All Lists]
Advanced

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

Re: Gtk+


From: Ludovic Courtès
Subject: Re: Gtk+
Date: Tue, 16 Jul 2013 00:21:44 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> 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:

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)
... 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 <alias> 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 <alias> 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 <alias> isn't supported and may not work 
as expected
--8<---------------cut here---------------end--------------->8---

I guess we’ll need a pseudo-package that creates a fonts.conf file for a
given set of fonts, like
<https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/fontconfig/make-fonts-conf.nix>.

Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]