all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
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 16:42:35 -0400	[thread overview]
Message-ID: <C3075D49-6700-493A-92AD-478829B955CB@lepiller.eu> (raw)
In-Reply-To: <WEMuk-zhf1w1J7vofDXdQdAuN92X_lHAdxdpQBZbtE3V_sorpu01xaJQHFUHbX8qhkX_7n4josMnyt-QV_DCpX25Z8LRGAh6wa7bpwKqawg=@elenq.tech>

Le 11 juin 2020 16:26:19 GMT-04:00, Ekaitz Zarraga <ekaitz@elenq.tech> a écrit :
>‐‐‐‐‐‐‐ 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")

Looks great! Please send the patch :)


  reply	other threads:[~2020-06-11 20:56 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
2020-06-11 20:42             ` Julien Lepiller [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C3075D49-6700-493A-92AD-478829B955CB@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=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.
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.