From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Gtk+
Date: Tue, 16 Jul 2013 00:21:44 +0200 [thread overview]
Message-ID: <87sizfea6f.fsf@gnu.org> (raw)
In-Reply-To: <201307152254.08170.andreas@enge.fr> (Andreas Enge's message of "Mon, 15 Jul 2013 22:54:08 +0200")
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
Andreas Enge <andreas@enge.fr> 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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 698 bytes --]
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)
[-- Attachment #3: Type: text/plain, Size: 1396 bytes --]
... 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’.
next prev parent reply other threads:[~2013-07-15 22:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 20:54 Gtk+ Andreas Enge
2013-07-15 22:21 ` Ludovic Courtès [this message]
2013-07-16 8:30 ` Gtk+ Andreas Enge
2013-08-15 21:57 ` Gtk+ Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sizfea6f.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).