Icecat is missing fonts (on foreign distro)

  • Open
  • quality assurance status badge
Details
9 participants
  • Andreas Enge
  • Björn Höfling
  • Julien Lepiller
  • Yoshinori Arai
  • Maxim Cournoyer
  • Tobias Geerinckx-Rice
  • Mark H Weaver
  • Mike Gerwitz
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Björn Höfling
Severity
normal
Merged with
B
B
Björn Höfling wrote on 25 Sep 2018 09:04
(address . bug-guix@gnu.org)
20180925090451.6c6e5a35@alma-ubu
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlup3hQACgkQvyhstlk+X/0chgCgjuCwa8dXS1A8nNdvdtSHWyXT
YTEAn2tezBRm4XdKKKA4Qxd1VvCk/wfA
=XkQQ
-----END PGP SIGNATURE-----


J
J
Julien Lepiller wrote on 25 Sep 2018 10:36
(address . bug-guix@gnu.org)
baff1f072cfe1a463e11955a05f2e354@lepiller.eu
Le 2018-09-25 09:04, Björn Höfling a écrit :
Toggle quote (32 lines)
> 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.
R
R
Ricardo Wurmus wrote on 25 Sep 2018 11:25
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 32835@debbugs.gnu.org)
8736ty6i97.fsf@mdc-berlin.de
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

Toggle quote (5 lines)
> 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
B
B
Björn Höfling wrote on 25 Sep 2018 15:49
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 32835@debbugs.gnu.org)
20180925154947.6367d8d4@alma-ubu
On Tue, 25 Sep 2018 11:25:40 +0200
Ricardo Wurmus <rekado@elephly.net> wrote:

Toggle quote (12 lines)
> Björn Höfling <bjoern.hoefling@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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAluqPPwACgkQvyhstlk+X/0tpQCgi5E1RNBJTG8XIrXM/g8JxAGr
9g0AnjrRABoMUZoePfnaFHWwxT/WDZX9
=1MWu
-----END PGP SIGNATURE-----


M
M
Mike Gerwitz wrote on 25 Sep 2018 18:48
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 32835@debbugs.gnu.org)
874leded6a.fsf@gnu.org
On Tue, Sep 25, 2018 at 09:04:51 +0200, Björn Höfling wrote:
Toggle quote (5 lines)
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbqmbOAAoJEIyRe39dxRuiy+gP/2kIe+CqBYi6BLjP6r+l3/YB
i7H9qr45siOLrUkbySme/1Onqp1mUhJ9Ea+/NuoM7z6ScJR+Xrz+flEqGM9l7MEj
AugXSbdS/GrqZon+aIElM/b+uUY+5nNkfSP6C3kv9j4osvRoEusOvdRMVtgH+3rT
HCMjIR5nLWjf7yl41sVF9DwM0sxVNwhw2ekXLGAglMF2dEFaC93leiCAT1aTaXAB
+gXRc5pLTKRDSWMacFZj8meNEfLgE+DUO2kLEYkqrPzNUeU0k4tm688cnSCPyt/s
aFonbd0+CHSHf2z+c3ymOjoRZgNFnO2IBMx5flSanHyGFjrZA2oor0bi77HM6w9g
sXpY2AswbEryfxKDCMGpNs+gdolc3lIzFFtlGiQNr9JaaSgMP5U4/wovd/IynbZz
sZfmpKIiot0DxIYpTrCHjvrY7KJ/+80x0hRqAoVN3cA+PPvT3sQ8ZdqdyclCaXY4
SMfkW1q2pKDpYSoFxagd95J0AthS756YKjgxSYU26IEY4Y2Q5D93ZWqe+cP1D+yZ
f8p+9301qiEGxk7Bj7sY0FX2nqRdnjZOucYTe2S3u6DoJ0ZM6xRd7kT19iWgJ8F0
V4Enmca7mGOusA/nUx/aI3Dpw7ZKyPYjPXDY+FMzI3CDfveHRSupQ4s3YOs40pMo
wdAjzT9TglwCGdkWDXya
=Qbug
-----END PGP SIGNATURE-----

R
R
Ricardo Wurmus wrote on 25 Sep 2018 22:05
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 32835@debbugs.gnu.org)
87wor95omx.fsf@elephly.net
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

Toggle quote (17 lines)
> On Tue, 25 Sep 2018 11:25:40 +0200
> Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> Björn Höfling <bjoern.hoefling@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.

Toggle quote (2 lines)
> 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
A
A
Andreas Enge wrote on 27 Jan 2019 16:54
Re: icecat show many warning and don't display correctly
(address . quiliro@fsfla.org)
20190127155410.GC10186@jurong
Hello,

On Fri, Jan 18, 2019 at 07:57:40AM -0800, Quiliro Ordonez wrote:
Toggle quote (17 lines)
> 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
Y
Y
Yoshinori Arai wrote on 28 Jan 2019 02:31
(name . Andreas Enge)(address . andreas@enge.fr)
20190128013129.upbea2jzzqyncpew@WaraToNora
On Sun, Jan 27, 2019 at 04:54:10PM +0100, Andreas Enge wrote:
Toggle quote (26 lines)
> 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.
A
A
Andreas Enge wrote on 30 Jan 2019 18:01
(name . Yoshinori Arai)(address . kumagusu08@gmail.com)
20190130170158.GA4088@jurong
On Mon, Jan 28, 2019 at 10:31:29AM +0900, Yoshinori Arai wrote:
Toggle quote (3 lines)
> 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
R
R
Ricardo Wurmus wrote on 30 Jan 2019 19:02
(name . Andreas Enge)(address . andreas@enge.fr)
87d0oenhvu.fsf@elephly.net
Andreas Enge <andreas@enge.fr> writes:

Toggle quote (9 lines)
> 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
A
A
Andreas Enge wrote on 31 Jan 2019 11:30
(name . Ricardo Wurmus)(address . rekado@elephly.net)
20190131103030.GA4271@jurong
On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote:
Toggle quote (7 lines)
> 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
A
A
Andreas Enge wrote on 31 Jan 2019 11:47
(name . Ricardo Wurmus)(address . rekado@elephly.net)
20190131104723.GA6146@jurong
On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote:
Toggle quote (7 lines)
> 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
M
M
Maxim Cournoyer wrote on 31 Jan 2019 14:24
Re: bug#32835: icecat show many warning and don't display correctly
34AD502E-C138-4A99-8640-415F5E08F031@gmail.com
Hello,

On January 31, 2019 10:47:23 AM UTC, Andreas Enge <andreas@enge.fr> wrote:
Toggle quote (13 lines)
>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
A
A
Andreas Enge wrote on 31 Jan 2019 17:23
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
20190131162328.GA26610@jurong
On Thu, Jan 31, 2019 at 01:24:03PM +0000, Maxim Cournoyer wrote:
Toggle quote (3 lines)
> 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
A
A
Andreas Enge wrote on 31 Jan 2019 17:35
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
20190131163551.GA27000@jurong
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
R
R
Ricardo Wurmus wrote on 4 Feb 2019 14:21
(address . control@debbugs.gnu.org)
87lg2vheoc.fsf@elephly.net
merge 33996 32835
thanks

This is a duplicate of 32835. Let’s continue the discussion there.

--
Ricardo
M
M
Mark H Weaver wrote on 23 Oct 2019 12:56
(address . 32835@debbugs.gnu.org)
87y2xbybjk.fsf@netris.org
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
T
T
Tobias Geerinckx-Rice wrote on 10 Feb 2020 11:07
(no subject)
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
87blq621sb.fsf@nckx
merge 39538 32835
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5BK3QACgkQ2Imw8BjF
STzU3RAAse4szXgkMbVko3nAzd4GKrU7tMtu3Km25gAwdAjuOyVp7oip5pXaXXPK
ArOTMbhitjqWMkJ1n+sFRsxeX8IwmRnjdk7EXjuTaZNvYZq6ft+oir1ebVaMbiNY
Wy2btBt4E7q19YssRfe2zj4xmbbG2xzwf5qfenJyZpy1L5VTJPQrt8O0Jyv8HkRA
uNKZfuHHrOlsT86/wTvkx96vLjrCvypW8Ce8OobhvQgWDUA92/Ovwfr7jAq8RSBp
C/kmMQ3xW2OVJGBRfWOWhMHrq0edYnlDWz9YxZzs9KVNtGTAbBY1bBOBlFBIc4H2
YmAvpmQHCMOvPPchTm4Z+Z/JkliHapY4YgcZCXbol8MEq3MgwSdQCAD5sONt8Oaw
LF76/EuB4MG0MJ2HGiQvEq3AT2oBizmtl50V07QbGhaRx0itowyNeGj28DPXXYPg
57qxzEvltbLbPgT33WGsCjPxNCDH5gkYWLqI/t+mkJl10blksyHqd/nB6TeRR+Tg
O5jD81mcxg14ZCvQLlIFJMWaswb7y09s9PcoFDrGv3pFaYrTjoslVvREovanZ6BE
xPiXj2mttBc543kVEBATMR3jntd+1hK5qoPQt2lEWkVWurPRugm9AHnWQTLSVn/+
EhhSu4BweHex+jBM/A54VGvpTcwaEgoQT9JBk8TeTJ1zC/hn2VU=
=djwJ
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 32835@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 32835
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch