From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OP5ZAdCc4l4lXgAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 21:06:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mOywOM+c4l4bVwAAbx9fmQ (envelope-from ) for ; Thu, 11 Jun 2020 21:06:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B7E4940B6B for ; Thu, 11 Jun 2020 21:06:23 +0000 (UTC) Received: from localhost ([::1]:59970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjUP0-0002bt-1o for larch@yhetil.org; Thu, 11 Jun 2020 17:06:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjTmT-0007yg-Cd for help-guix@gnu.org; Thu, 11 Jun 2020 16:26:33 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:58898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjTmQ-0001ol-I7 for help-guix@gnu.org; Thu, 11 Jun 2020 16:26:32 -0400 Date: Thu, 11 Jun 2020 20:26:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1591907185; bh=OaG4ywbygxecM8H5unGVSDoVhYOBD/S7JeTeWhPKD7Y=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=X9ASYy6Wle5kW0WyCRfGG8dLg/rJl1uiQMwoZfIn16IfnH1t5NalKz3+XGObAvE6r V5u+JAkb3adfOYicvAEF9wCxtNe1dnxVuO8aUk8WpnN8FQqGP/ykwYdcQRJ7l8AIZc sq2uiFoMJ2Q1fjiXTjqVih6fh7sQcJaQB2Jq4oX0= To: Ekaitz Zarraga From: Ekaitz Zarraga Subject: Re: Icecat - WebGL support Message-ID: In-Reply-To: References: <87ftb89o0n.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=ekaitz@elenq.tech; helo=mail-40131.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 16:26:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TO_EQ_FM_DIRECT_MX=1, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Cc: "help-guix@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elenq.tech header.s=protonmail header.b=X9ASYy6W; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 8KfNQq+aG5I7 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Sunday, June 7, 2020 12:59 PM, Ekaitz Zarraga wrote: > > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Saturday, June 6, 2020 9:27 PM, Julien Lepiller julien@lepiller.eu wro= te: > > > Le 6 juin 2020 15:14:07 GMT-04:00, Ekaitz Zarraga ekaitz@elenq.tech a = =C3=A9crit : > > > > > 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 wra= p 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")