From patchwork Sat Oct 5 16:19:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 31652 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E5F2C27BBEA; Sat, 5 Oct 2024 17:20:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5ACA827BBE2 for ; Sat, 5 Oct 2024 17:20:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx7Vg-0004Go-32; Sat, 05 Oct 2024 12:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sx7Ve-0004GH-0e for guix-patches@gnu.org; Sat, 05 Oct 2024 12:19:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sx7Vd-0004iy-Nc for guix-patches@gnu.org; Sat, 05 Oct 2024 12:19:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=w1R+xyHBvywGvnd7LN9X6ThE7bsG3ta0vhfvpUjo3z4=; b=AIYmedU+MXYEe5jWKst56o4aoq4HbHcfk8+ESY43f2VE20wtpUbwQX2PQebvAq7GsIdRVWZRMALPziepnHNVQGgRQgvrlED0/7VekQ0Drzoe5WrbGR2StGzCpMYPGd6dV1TJFgC86kjSD1/2164tjLcL6T1InnZrZ7CJBM18mrRSGg8A5YW87E10SCFMOVgWiU+iU18SiREQ1L7dav0C19IAaIedvgL8ZXX1DUdXSs2R2BD9OzgVd7A/thtVRkm5E+7LYOuQm3ciJhDEjanx5HunyyQhsZhwuVYB+fUAyyb9YUvOJETYDJDnWIpo5XJW3EfDq8PGAl94BkVvGK+4Ig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sx7Vh-0000Is-Su for guix-patches@gnu.org; Sat, 05 Oct 2024 12:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73643] [PATCH 1/2] gnu: librewolf: Fix broken context menu. References: <20241005161305.23985-1-ian@retrospec.tv> In-Reply-To: <20241005161305.23985-1-ian@retrospec.tv> Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Oct 2024 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73643@debbugs.gnu.org Cc: Ian Eure Received: via spool by 73643-submit@debbugs.gnu.org id=B73643.17281451801119 (code B ref 73643); Sat, 05 Oct 2024 16:20:01 +0000 Received: (at 73643) by debbugs.gnu.org; 5 Oct 2024 16:19:40 +0000 Received: from localhost ([127.0.0.1]:39491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7VL-0000Hx-ME for submit@debbugs.gnu.org; Sat, 05 Oct 2024 12:19:40 -0400 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:54683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7VJ-0000He-7M for 73643@debbugs.gnu.org; Sat, 05 Oct 2024 12:19:38 -0400 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 2DF6313801A7; Sat, 5 Oct 2024 12:19:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sat, 05 Oct 2024 12:19:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1728145167; x=1728231567; bh=w1R+xyHBvywGvnd7LN9X6 ThE7bsG3ta0vhfvpUjo3z4=; b=cLNBQuy+KDcmDtU04WKcH4a2hJj9PxO+8FAXB o7k1O4t5jjv5SLWBLwTN4O1ZBrOPQyOspuoWcIhTVM2PgVUBdxj+/AxauAryd4G1 pkKVHaNAqQXXE5AqY1DPKlNAmDlD/YuboVgjpHWDMJoZT50WmLUKkZewiZPaIREa +kK39E/OT2ncyGFCBWBteMmcDWLdzHWflNMRM4zUdnTNfwmaU+TqjMLSFA5+ajtK h4+jJsZECerrSwVPgJ2HzgC4ddVCmQ7I8MHszc3fx0qIEFqZWMN7zHX1X2Bd/vEn AsM9+SW7SBeW4bLXKnufjsAZk5N9kAh0Hozod7Ka9+XfdLqag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728145167; x=1728231567; bh=w1R+xyHBvywGvnd7LN9X6ThE7bsG 3ta0vhfvpUjo3z4=; b=VzZMwKxMorqPV62ydYr4U+aFCldbJLP7IdLKo4HmgURq 8BDGef9KjZSe5b9Hz9Ffizr3N9uu4r0DvpjQnlNnQojIHn8IcXibPTuGkpMOCHmV pMiJRCIRfZAth6yL/wt8mFHZ6IwLLPE1AL8nrDGjNuJ5IFyLDju54HxLmCCsFwgO paawk0lWi0crxFYXUQ3fuey4B4HzBoNqr8r/jrCq7R7rSaUk+4/dcq2cuWJgMUCr 1MaBVO0NQMkpZP4HlQ6lyguvtEpnYD6fb9g7Oh8ez7cY06+y0V0LjA2wnsP3F/VC 7O9L5QwJUCIWg1bSzrLwnvDj3i15d/6pbLsNUHarkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvhedgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffoggfgsedtkeertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehr vghtrhhoshhpvggtrdhtvheqnecuggftrfgrthhtvghrnhephfeiveeliedukeffhefhle eijedtveelleetgefggfehkeeljeehtdeguddvvefgnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrthhvpd hnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejfeei geefseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepihgrnhesrhgvthhroh hsphgvtgdrthhv X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Oct 2024 12:19:26 -0400 (EDT) From: Ian Eure Date: Sat, 5 Oct 2024 09:19:10 -0700 Message-ID: <20241005161911.24298-1-ian@retrospec.tv> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This patch fixes a reported bug where context (right-click) menus contain many duplicate and incorrect entries. * gnu/packages/librewolf.scm (librewolf): Include genai browser component. Change-Id: I288545ce80b9a7e854edfc26a7ffe43433303458 --- gnu/packages/librewolf.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm index 6fd0aa51f1..32b6d13d54 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -212,7 +212,7 @@ (define rust-librewolf rust) ; 1.75 is the default in Guix, 1.65 is the minimum. ;; Update this id with every update to its release date. ;; It's used for cache validation and therefore can lead to strange bugs. ;; ex: date '+%Y%m%d%H%M%S' -(define %librewolf-build-id "20240922110507") +(define %librewolf-build-id "20241003201141") (define-public librewolf (package @@ -324,9 +324,6 @@ (define (write-setting key value) libavcodec))))) (add-after 'unpack 'neuter-genai (lambda* _ - ;; Don't compile the code in. - (substitute* "browser/components/moz.build" - (("\"genai\",") "")) ;; Lock the preferences so they can't be enabled. (substitute* "lw/librewolf.cfg" (("defaultPref\\(\"browser\\.ml\\.") From patchwork Sat Oct 5 16:19:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 31651 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 76F6E27BBEA; Sat, 5 Oct 2024 17:20:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CBE9F27BBE2 for ; Sat, 5 Oct 2024 17:20:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx7Vg-0004Gb-17; Sat, 05 Oct 2024 12:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sx7Ve-0004GI-2H for guix-patches@gnu.org; Sat, 05 Oct 2024 12:19:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sx7Vd-0004j0-Pa for guix-patches@gnu.org; Sat, 05 Oct 2024 12:19:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/1EOLQSSkmVK5UhDq5ribva2xpKD5I1qke1aVLqKjEE=; b=lXKX6dHmPYNsAkAkYIRG2dybNz6dyMe5kl8IV5Gm2bBtFFimUOBe/OfkFZCVAxPsyesG7g9JAAFY7UyZqSGv47a/HzpQpTTDC/3c1ZejMJL+K3IsZfpfM9ULSF+P4PXNHqJ2hoZIHhUavOnO9dxPxvx8VzO6ZGPowCzZTbU1Ez3knImM3lRBReTHVgeeTPPLLBiM8YX5ZrTn3UDxnRdH1esMqBIx9JxpuRKHqk/HehEiWiokD8FRti1joNVGEJj5R5YwiONBxZ+lRqWpukzbITASXf1JW2HXAsSZendgKeA5s8iXNVlxqZEPeD+xlWbSILwhjpFfajSzO2ThhEOnpA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sx7Vi-0000J0-EH for guix-patches@gnu.org; Sat, 05 Oct 2024 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73643] [PATCH 2/2] gnu: librewolf: Revert video acceleration fix Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Oct 2024 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73643@debbugs.gnu.org Cc: Ian Eure Received: via spool by 73643-submit@debbugs.gnu.org id=B73643.17281451801128 (code B ref 73643); Sat, 05 Oct 2024 16:20:02 +0000 Received: (at 73643) by debbugs.gnu.org; 5 Oct 2024 16:19:40 +0000 Received: from localhost ([127.0.0.1]:39493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7VM-0000I0-49 for submit@debbugs.gnu.org; Sat, 05 Oct 2024 12:19:40 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:53119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7VJ-0000Hf-U0 for 73643@debbugs.gnu.org; Sat, 05 Oct 2024 12:19:38 -0400 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id F1C5311401BD; Sat, 5 Oct 2024 12:19:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sat, 05 Oct 2024 12:19:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1728145167; x= 1728231567; bh=/1EOLQSSkmVK5UhDq5ribva2xpKD5I1qke1aVLqKjEE=; b=U NLsQPTZ++BlsD1GxaH/x9G+Vv/X0JczLAo82Ps9Z9wCjBCfoeByKiSfYbGrC7bzH lbWJHFZ/8f66LUE4FI1AviHED7UvyuDKkgtHIqormkPZ9I6uJVr/psbbaYHtqkuQ 8o65QyXkka6B4EuLk2C1l+82ceez70LgNzX/d/gU3eGwyoAWyiUEvGBk1eNYVcda wITMmmJZCoOUcrNXfhVMby++ewknbRzBOloXR7qpg/DUEuR5tCv5myU+zyDDdk0B RPohkZorbBQY8O6Fdp/qws8qUTXXWiVOw35SakAQble8a1N0iDn2i1/3pBR8/jv4 WZxVbyptvihURIGIvC/OA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1728145167; x= 1728231567; bh=/1EOLQSSkmVK5UhDq5ribva2xpKD5I1qke1aVLqKjEE=; b=Z OgCqJQwSzCquSJqsMgdVW55dnvz4LciUIdhlm/PFNXLcTm5U2ASvDh7Bl+TXyLVz 2rm4W+Lo+wkfeAnHNK64BSfXumcH1A39okuP0d2ZulhLQpDZl9cOw52mjhTis68M HSYiKRkdhk4SRqnNmOYw0hgY7OUlLsaGynoWqctNzyeKJXiwElfe6otqC07Etdu5 RatWjOc+YCrTN8Tm24O1919x55giaVeruxHCEYavifnA/FsVhsyzmTFwJJ2SqBTR Z88aQs4VjmK+Xc+H/UZNClOMDAq1vpv5cf+KI6Bm0KjB2yEvgnv/HI1l82WUjPa7 Q4MtssldvuYec2qfZpErg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvhedgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghn sehrvghtrhhoshhpvggtrdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvd dthefgjeevvddvtefgheegtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihht hhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehirghnsehrvghtrhhoshhpvggtrdhtvhdpnhgspghrtghpthhtohepvddpmhho uggvpehsmhhtphhouhhtpdhrtghpthhtohepjeefieegfeesuggvsggsuhhgshdrghhnuh drohhrghdprhgtphhtthhopehirghnsehrvghtrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Oct 2024 12:19:27 -0400 (EDT) From: Ian Eure Date: Sat, 5 Oct 2024 09:19:11 -0700 Message-ID: <20241005161911.24298-2-ian@retrospec.tv> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241005161911.24298-1-ian@retrospec.tv> References: <20241005161911.24298-1-ian@retrospec.tv> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This patch partly reverts #73429, because that change makes livestreaming video refuse to play. * gnu/packages/librewolf.scm (librewolf): Revert video acceleration fix Change-Id: Iaf36c64464cd078538fda677ea4fa7b13e7c110f --- gnu/packages/librewolf.scm | 22 ++++++++++++++----- ...librewolf-add-paths-to-rdd-allowlist.patch | 11 ---------- 2 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm index 32b6d13d54..31de7a7171 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -212,7 +212,7 @@ (define rust-librewolf rust) ; 1.75 is the default in Guix, 1.65 is the minimum. ;; Update this id with every update to its release date. ;; It's used for cache validation and therefore can lead to strange bugs. ;; ex: date '+%Y%m%d%H%M%S' -(define %librewolf-build-id "20241003201141") +(define %librewolf-build-id "20241005085731") (define-public librewolf (package @@ -223,9 +223,7 @@ (define-public librewolf (inherit (make-librewolf-source #:version version #:firefox-hash "0w4z3fq5zhm63a0wmhvmqrj263bvy962dir25q3z0x5hx6hjawh2" - #:librewolf-hash "0f80pihn375bdjhjmmg2v1w96wpn76zb60ycy39wafwh1dnzybrd")) - (patches - (search-patches "librewolf-add-paths-to-rdd-allowlist.patch")))) + #:librewolf-hash "0f80pihn375bdjhjmmg2v1w96wpn76zb60ycy39wafwh1dnzybrd")))) (build-system gnu-build-system) (arguments (list @@ -592,12 +590,26 @@ (define (runpaths-of-input label) ;; For U2F and WebAuthn "eudev"))) + ;; VA-API is run in the RDD (Remote Data Decoder) sandbox + ;; and must be explicitly given access to files it needs. + ;; Rather than adding the whole store (as Nix had + ;; upstream do, see + ;; and + ;; linked upstream patches), we can just follow the + ;; runpaths of the needed libraries to add everything to + ;; LD_LIBRARY_PATH. These will then be accessible in the + ;; RDD sandbox. + (rdd-whitelist (map (cut string-append <> "/") + (delete-duplicates (append-map + runpaths-of-input + '("mesa" + "ffmpeg"))))) (gtk-share (string-append (assoc-ref inputs "gtk+") "/share"))) (wrap-program (car (find-files lib "^librewolf$")) `("LD_LIBRARY_PATH" prefix - ,libs) + (,@libs ,@rdd-whitelist)) `("XDG_DATA_DIRS" prefix (,gtk-share)) `("MOZ_LEGACY_PROFILES" = diff --git a/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch b/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch deleted file mode 100644 index 1bee0bddf5..0000000000 --- a/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp -+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp -@@ -920,6 +920,8 @@ - policy->AddDir(rdonly, "/usr/lib64"); - policy->AddDir(rdonly, "/run/opengl-driver/lib"); - policy->AddDir(rdonly, "/nix/store"); -+ policy->AddDir(rdonly, "/gnu/store"); -+ policy->AddDir(rdonly, "/run/current-system/profile/lib"); - - // Bug 1647957: memory reporting. - AddMemoryReporting(policy.get(), aPid);