GNU bug report logs - #32835
Icecat is missing fonts (on foreign distro)

Previous Next

Package: guix;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Tue, 25 Sep 2018 07:06:01 UTC

Severity: normal

Merged with 33996, 39538

To reply to this bug, email your comments to 32835 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 07:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Sep 2018 07:06:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <bug-guix <at> gnu.org>
Subject: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 09:04:51 +0200
[Message part 1 (text/plain, inline)]
I was curious about the new IceCat 60 and it's CSS problem, so I tried
to install it.

I'm on on Ubuntu+Guix:

 guix --version
guix (GNU Guix) a68b45142373dd75bc96f9c4f8151bcd4e972888

installed it in a separate profile:

guix package -p guix-test-profile -i icecat

Then started it:

guix-test-profile/bin/icecat

On the command line, it showed one message (is this relevant or just
part of the usual Gtk-Noise?):

Gtk-Message: 08:50:02.414: Failed to load module "canberra-gtk-module"

When Icecat is up, it looks "normal" and can be used normally [the
more images a site uses, the better the user experience is :-)], just
that ALL letters are just boxes with numbers in them (i.e. what you
usually see only partially when some wired UTF-sign is not installed).

As this is not related to the CSS-Problem, I open a new bug.

Screenshot attached.

Björn
[icecat-utf-boxes.png (image/png, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 08:37:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org
Subject: Re: bug#32835: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 10:36:20 +0200
Le 2018-09-25 09:04, Björn Höfling a écrit :
> I was curious about the new IceCat 60 and it's CSS problem, so I tried
> to install it.
> 
> I'm on on Ubuntu+Guix:
> 
>  guix --version
> guix (GNU Guix) a68b45142373dd75bc96f9c4f8151bcd4e972888
> 
> installed it in a separate profile:
> 
> guix package -p guix-test-profile -i icecat
> 
> Then started it:
> 
> guix-test-profile/bin/icecat
> 
> On the command line, it showed one message (is this relevant or just
> part of the usual Gtk-Noise?):
> 
> Gtk-Message: 08:50:02.414: Failed to load module "canberra-gtk-module"
> 
> When Icecat is up, it looks "normal" and can be used normally [the
> more images a site uses, the better the user experience is :-)], just
> that ALL letters are just boxes with numbers in them (i.e. what you
> usually see only partially when some wired UTF-sign is not installed).
> 
> As this is not related to the CSS-Problem, I open a new bug.
> 
> Screenshot attached.
> 
> Björn

From a foreign distro, with "guix system --ad-hoc icecat -- icecat", I 
can
read text normally.




Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 09:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Cc: 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 11:25:40 +0200
Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de> writes:

> When Icecat is up, it looks "normal" and can be used normally [the
> more images a site uses, the better the user experience is :-)], just
> that ALL letters are just boxes with numbers in them (i.e. what you
> usually see only partially when some wired UTF-sign is not installed).

Does this happen even after installing fonts and running “fc-cache -f”?

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 13:50:01 GMT) Full text and rfc822 format available.

Message #14 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 15:49:47 +0200
[Message part 1 (text/plain, inline)]
On Tue, 25 Sep 2018 11:25:40 +0200
Ricardo Wurmus <rekado <at> elephly.net> wrote:

> Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de> writes:
> 
> > When Icecat is up, it looks "normal" and can be used normally [the
> > more images a site uses, the better the user experience is :-)],
> > just that ALL letters are just boxes with numbers in them (i.e.
> > what you usually see only partially when some wired UTF-sign is not
> > installed).  
> 
> Does this happen even after installing fonts and running “fc-cache
> -f”?
> 

Do I have to do that in Guix or on the foreign distro?

If in Guix, where is fc-cache and which font package should I choose?

Hm, some days ago I installed also in an isolated profile icecat in
that vesion:

GNU IceCat 52.6.0

I don't know anymore the guix version that one is from, but that works
as expected.

Björn
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 16:50:02 GMT) Full text and rfc822 format available.

Message #17 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Mike Gerwitz <mtg <at> gnu.org>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Cc: 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 12:48:13 -0400
[Message part 1 (text/plain, inline)]
On Tue, Sep 25, 2018 at 09:04:51 +0200, Björn Höfling wrote:
> When Icecat is up, it looks "normal" and can be used normally [the
> more images a site uses, the better the user experience is :-)], just
> that ALL letters are just boxes with numbers in them (i.e. what you
> usually see only partially when some wired UTF-sign is not installed).

I run IceCat within a container, and I noticed that upgrading to 60
caused for me the issue that you are describing.

But if I run IceCat normally (as installed to my profile), fonts are
fine.

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Tue, 25 Sep 2018 20:06:02 GMT) Full text and rfc822 format available.

Message #20 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Cc: 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: Icecat is missing fonts (on foreign distro)
Date: Tue, 25 Sep 2018 22:05:26 +0200
Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de> writes:

> On Tue, 25 Sep 2018 11:25:40 +0200
> Ricardo Wurmus <rekado <at> elephly.net> wrote:
>
>> Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de> writes:
>> 
>> > When Icecat is up, it looks "normal" and can be used normally [the
>> > more images a site uses, the better the user experience is :-)],
>> > just that ALL letters are just boxes with numbers in them (i.e.
>> > what you usually see only partially when some wired UTF-sign is not
>> > installed).  
>> 
>> Does this happen even after installing fonts and running “fc-cache
>> -f”?
>> 
>
> Do I have to do that in Guix or on the foreign distro?

On the foreign distro.

> If in Guix, where is fc-cache and which font package should I choose?

The “fontconfig” package provides fc-cache.  See the subsection “X11
Fonts” under “Application Setup” in the manual.

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Sun, 27 Jan 2019 15:55:02 GMT) Full text and rfc822 format available.

Message #23 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: quiliro <at> fsfla.org
Cc: 32835 <at> debbugs.gnu.org, help-guix <at> gnu.org
Subject: Re: icecat show many warning and don't display correctly
Date: Sun, 27 Jan 2019 16:54:10 +0100
Hello,

On Fri, Jan 18, 2019 at 07:57:40AM -0800, Quiliro Ordonez wrote:
> El 2019-01-07 21:41, 荒井吉則 escribió:
> > It's working. 
> > 
> > export
> > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
> 
> icecat &
> does not work.
> 
> export
> XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
> && icecat &
> works perfectly.
> 
> Must something be modified on the software definition? This is not
> something the user should change.

this seems to be the same problem as bug #32835, which I am cc-ing.
Do we need to add search paths? Or wrap a binary?

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Mon, 28 Jan 2019 02:13:02 GMT) Full text and rfc822 format available.

Message #26 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Yoshinori Arai <kumagusu08 <at> gmail.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: quiliro <at> fsfla.org, help-guix <at> gnu.org, 32835 <at> debbugs.gnu.org
Subject: Re: icecat show many warning and don't display correctly
Date: Mon, 28 Jan 2019 10:31:29 +0900
On Sun, Jan 27, 2019 at 04:54:10PM +0100, Andreas Enge wrote:
> Hello,
> 
> On Fri, Jan 18, 2019 at 07:57:40AM -0800, Quiliro Ordonez wrote:
> > El 2019-01-07 21:41, 荒井吉則 escribió:
> > > It's working. 
> > > 
> > > export
> > > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
> > 
> > icecat &
> > does not work.
> > 
> > export
> > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
> > && icecat &
> > works perfectly.
> > 
> > Must something be modified on the software definition? This is not
> > something the user should change.
> 
> this seems to be the same problem as bug #32835, which I am cc-ing.
> Do we need to add search paths? Or wrap a binary?
> 
> Andreas
> 
> 
I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"'
is written in user's bash_profile.

I'm afraid my response is out of your point.





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Wed, 30 Jan 2019 17:03:02 GMT) Full text and rfc822 format available.

Message #29 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Yoshinori Arai <kumagusu08 <at> gmail.com>
Cc: quiliro <at> fsfla.org, help-guix <at> gnu.org, 32835 <at> debbugs.gnu.org
Subject: Re: icecat show many warning and don't display correctly
Date: Wed, 30 Jan 2019 18:01:58 +0100
On Mon, Jan 28, 2019 at 10:31:29AM +0900, Yoshinori Arai wrote:
> I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"'
> is written in user's bash_profile.

I already do, but this is not enough. Installing icecat into the user profile
does not cause XDG* environment variables to be set in $HOME/.guix-profile/etc/profile.
It may work incidentally when other installed packages cause the variable
to be set.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Wed, 30 Jan 2019 18:04:02 GMT) Full text and rfc822 format available.

Message #32 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Andreas Enge <andreas <at> enge.fr>
Cc: Yoshinori Arai <kumagusu08 <at> gmail.com>, quiliro <at> fsfla.org, help-guix <at> gnu.org,
 32835 <at> debbugs.gnu.org
Subject: Re: icecat show many warning and don't display correctly
Date: Wed, 30 Jan 2019 19:02:29 +0100
Andreas Enge <andreas <at> enge.fr> writes:

> On Mon, Jan 28, 2019 at 10:31:29AM +0900, Yoshinori Arai wrote:
>> I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"'
>> is written in user's bash_profile.
>
> I already do, but this is not enough. Installing icecat into the user profile
> does not cause XDG* environment variables to be set in $HOME/.guix-profile/etc/profile.
> It may work incidentally when other installed packages cause the variable
> to be set.

The solution might be to use glib-or-gtk-build-system instead of
gnu-build-system.  This would wrap the binary in the required
variables.

Would someone like to try this before we make the change in the master
branch?

--
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 10:33:01 GMT) Full text and rfc822 format available.

Message #35 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: icecat show many warning and don't display correctly
Date: Thu, 31 Jan 2019 11:30:30 +0100
On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote:
> The solution might be to use glib-or-gtk-build-system instead of
> gnu-build-system.  This would wrap the binary in the required
> variables.
> 
> Would someone like to try this before we make the change in the master
> branch?

Okay, I will give it a try.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 10:48:02 GMT) Full text and rfc822 format available.

Message #38 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: Yoshinori Arai <kumagusu08 <at> gmail.com>, quiliro <at> fsfla.org, help-guix <at> gnu.org,
 32835 <at> debbugs.gnu.org
Subject: Re: icecat show many warning and don't display correctly
Date: Thu, 31 Jan 2019 11:47:23 +0100
On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote:
> The solution might be to use glib-or-gtk-build-system instead of
> gnu-build-system.  This would wrap the binary in the required
> variables.
> 
> Would someone like to try this before we make the change in the master
> branch?

I did and nothing changed. I was a bit surprised that icecat does not get
rebuilt. In any case, XDG_DATA_DIRS still does not appear as an environment
variable in $HOME/.guix-profile/etc/profile after installing icecat.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 13:36:01 GMT) Full text and rfc822 format available.

Message #41 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <at> gnu.org, Andreas Enge <andreas <at> enge.fr>,
 Ricardo Wurmus <rekado <at> elephly.net>
Cc: Yoshinori Arai <kumagusu08 <at> gmail.com>, quiliro <at> fsfla.org, help-guix <at> gnu.org,
 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: icecat show many warning and don't display correctly
Date: Thu, 31 Jan 2019 13:24:03 +0000
Hello,

On January 31, 2019 10:47:23 AM UTC, Andreas Enge <andreas <at> enge.fr> wrote:
>On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote:
>> The solution might be to use glib-or-gtk-build-system instead of
>> gnu-build-system.  This would wrap the binary in the required
>> variables.
>> 
>> Would someone like to try this before we make the change in the
>master
>> branch?
>
>I did and nothing changed. I was a bit surprised that icecat does not
>get
>rebuilt.

Then something is wrong. Changing something as important should have definitly triggered a rebuild.

Are you modifying a git checkout of Guide and prefixing all of the Guix commands with "./pre-inst-env" ?

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 13:36:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 16:24:02 GMT) Full text and rfc822 format available.

Message #47 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Yoshinori Arai <kumagusu08 <at> gmail.com>, quiliro <at> fsfla.org, bug-guix <at> gnu.org,
 Ricardo Wurmus <rekado <at> elephly.net>, help-guix <at> gnu.org, 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: icecat show many warning and don't display correctly
Date: Thu, 31 Jan 2019 17:23:28 +0100
On Thu, Jan 31, 2019 at 01:24:03PM +0000, Maxim Cournoyer wrote:
> Then something is wrong. Changing something as important should have definitly triggered a rebuild.
> Are you modifying a git checkout of Guide and prefixing all of the Guix commands with "./pre-inst-env" ?

Apologies, I must have made a mistake. Trying again a new build starts.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 16:24:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Thu, 31 Jan 2019 16:36:01 GMT) Full text and rfc822 format available.

Message #53 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: kumagusu08 <at> gmail.com, quiliro <at> fsfla.org, help-guix <at> gnu.org,
 32835 <at> debbugs.gnu.org
Subject: Re: bug#32835: icecat show many warning and don't display correctly
Date: Thu, 31 Jan 2019 17:35:51 +0100
Well, things are more delicate than that. It is not enough to just swap the
build system, something probably also needs to be done around these lines
in the build recipe:
       #:modules ((ice-9 ftw)
                  (ice-9 rdelim)
                  (ice-9 match)
                  ,@%gnu-build-system-modules)

Also, the binary is already wrapped:
         (add-after 'install 'wrap-program
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (lib (string-append out "/lib"))
                    (gtk (assoc-ref inputs "gtk+"))
                    (gtk-share (string-append gtk "/share")))
               (wrap-program (car (find-files lib "^icecat$"))
                 `("XDG_DATA_DIRS" ":" prefix (,gtk-share)))
               #t))))))

I am deferring to someone more knowledgeable...

Andreas





Merged 32835 33996. Request was from Ricardo Wurmus <rekado <at> elephly.net> to control <at> debbugs.gnu.org. (Mon, 04 Feb 2019 13:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#32835; Package guix. (Wed, 23 Oct 2019 10:58:02 GMT) Full text and rfc822 format available.

Message #58 received at 32835 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: 32835 <at> debbugs.gnu.org
Subject: Re: Icecat is missing fonts (on foreign distro)
Date: Wed, 23 Oct 2019 06:56:52 -0400
Here's a very hacky workaround that worked for me, while testing a
preliminary IceCat 68.2 build on a Debian system: make
~/.config/fontconfig be a symlink to /etc/fonts.

       Mark




Merged 32835 33996 39538. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 10 Feb 2020 10:08:02 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.