From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Icecat - WebGL support
Date: Thu, 11 Jun 2020 20:26:19 +0000 [thread overview]
Message-ID: <WEMuk-zhf1w1J7vofDXdQdAuN92X_lHAdxdpQBZbtE3V_sorpu01xaJQHFUHbX8qhkX_7n4josMnyt-QV_DCpX25Z8LRGAh6wa7bpwKqawg=@elenq.tech> (raw)
In-Reply-To: <G-Rva2xF2DlcOAjTj58hy9koiyhca5w07M9u746rkac5bWhoD1olVljqReNgWcu4yxECkmi692pnaiqW92vnBsmkwM8QWs9NsRQE6YJUAxI=@elenq.tech>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, June 7, 2020 12:59 PM, Ekaitz Zarraga <ekaitz@elenq.tech> wrote:
>
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, June 6, 2020 9:27 PM, Julien Lepiller julien@lepiller.eu wrote:
>
> > Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech a écrit :
> >
> > > Wait a minute! It's working!
> > > But the only way to work is with the LD_LIBRARY_PATH set. I installed
> > > mesa and set the LD_LIBRARY_PATH from my command line, an icecat run
> > > from the command line works, the one run from the desktop environment
> > > doesn't.
> > > So... guix is not setting the LD_LIBRARY_PATH correctly for Mesa and
> > > that's why IceCat is unable to find it?
> >
> > I see icecat is wrapped for pulseaudio to work, so we might as well wrap mesa.
>
> It already has Mesa as an input, too.
> Looks like it's just a matter of the LD_LIBRARY_PATH not being set.
>
> Thoughts?
Hi all,
I made this change in the package and it seems to work.
If it looks fine I'll send the patch.
Thanks!
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 7bf9850e97..570398ecd9 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1112,11 +1112,13 @@ from forcing GEXP-PROMISE."
(lib (string-append out "/lib"))
(gtk (assoc-ref inputs "gtk+"))
(gtk-share (string-append gtk "/share"))
+ (mesa (assoc-ref inputs "mesa"))
+ (mesa-lib (string-append mesa "/lib"))
(pulseaudio (assoc-ref inputs "pulseaudio"))
(pulseaudio-lib (string-append pulseaudio "/lib")))
(wrap-program (car (find-files lib "^icecat$"))
`("XDG_DATA_DIRS" prefix (,gtk-share))
- `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib)))
+ `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib)))
#t))))))
(home-page "https://www.gnu.org/software/gnuzilla/")
(synopsis "Entirely free browser derived from Mozilla Firefox")
next prev parent reply other threads:[~2020-06-11 21:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-06 10:32 Icecat - WebGL support Ekaitz Zarraga
2020-06-06 16:07 ` Tobias Geerinckx-Rice
2020-06-06 18:53 ` Ekaitz Zarraga
2020-06-06 19:14 ` Ekaitz Zarraga
2020-06-06 19:27 ` Julien Lepiller
2020-06-07 10:59 ` Ekaitz Zarraga
2020-06-11 20:26 ` Ekaitz Zarraga [this message]
2020-06-11 20:42 ` Julien Lepiller
2020-06-11 20:44 ` Ekaitz Zarraga
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='WEMuk-zhf1w1J7vofDXdQdAuN92X_lHAdxdpQBZbtE3V_sorpu01xaJQHFUHbX8qhkX_7n4josMnyt-QV_DCpX25Z8LRGAh6wa7bpwKqawg=@elenq.tech' \
--to=ekaitz@elenq.tech \
--cc=help-guix@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.
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).