* Gtk+
@ 2013-07-15 20:54 Andreas Enge
2013-07-15 22:21 ` Gtk+ Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-07-15 20:54 UTC (permalink / raw)
To: guix-devel
Hello,
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...
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gtk+
2013-07-15 20:54 Gtk+ Andreas Enge
@ 2013-07-15 22:21 ` Ludovic Courtès
2013-07-16 8:30 ` Gtk+ Andreas Enge
2013-08-15 21:57 ` Gtk+ Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-07-15 22:21 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
[-- 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’.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Gtk+
2013-07-15 22:21 ` Gtk+ Ludovic Courtès
@ 2013-07-16 8:30 ` Andreas Enge
2013-08-15 21:57 ` Gtk+ Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2013-07-16 8:30 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Am Dienstag, 16. Juli 2013 schrieb Ludovic Courtès:
> I just added it to Emacs:
Amusingly, emacs works for me:
Fontconfig warning: "/nix/store/7215jba0vzhizmgj0kmljmhl86wy28va-
fontconfig-2.10.91/etc/fonts/conf.d/50-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated.
since it uses ~/.fonts.conf from my debian system!
Definitely, we need to discuss how to handle font installation.
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gtk+
2013-07-15 22:21 ` Gtk+ Ludovic Courtès
2013-07-16 8:30 ` Gtk+ Andreas Enge
@ 2013-08-15 21:57 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-08-15 21:57 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
ludo@gnu.org (Ludovic Courtès) skribis:
> 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:
[...]
> 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:
>
> 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
I still get these. However, once gs-fonts is installed in the profile,
everything displays correctly (thanks to commit
0ceea4f3edb6fd158613f2c46d18e037bc183f1a).
My .emacs does this:
(set-frame-font "Bitstream Vera Sans Mono-12" nil)
So I packaged that font. Once it’s installed, it’s loaded and used as
expected, and everything works beautifully!
We should probably add a section “Installing and Using Fonts” under “GNU
Distribution”, to explain that fonts are searched for in the user’s
default profile. Any volunteer? :-)
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-15 22:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15 20:54 Gtk+ Andreas Enge
2013-07-15 22:21 ` Gtk+ Ludovic Courtès
2013-07-16 8:30 ` Gtk+ Andreas Enge
2013-08-15 21:57 ` Gtk+ Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.