From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qAIoN3U4vWUDAgEAqHPOHw:P1 (envelope-from ) for ; Fri, 02 Feb 2024 19:46:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qAIoN3U4vWUDAgEAqHPOHw (envelope-from ) for ; Fri, 02 Feb 2024 19:46:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=HyqV+3K8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706899573; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZZC+OsIyVK8upQucha8VSw0UQPhRMldcaNs/JfS//Vg=; b=B8W3S/GTdAfIYDJDoHx5c4zZSCSaCzpCcYBTCzj4crk/Nczk/e6UKkNYUUiLUQ/07wdJbH bhVyR8G/2EXdXPmFGQNMahQ4DW8Tm8UDkRmR8eW2Hr1S3VVQzxzTY/WfYiSBtt038n71YI 4gAXVXG/QUymUJZnZ39IGwkHexj1Lk1y4wARiZu9TjtC5/vDsVMI88DAVZeE+3s0eagi9+ PqDJ3qZyXHvMLJIhec1GXmq8l+kgAUVjFCpPyGvg+BOrq9flkrBqJzUuWPWbM1rScpQeyS jyN5o7Qn0ta7gYkemd7z/D2IZp0gmHkXApoV6CLsrjOJdZ2pGCqKvvDhEPIEAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=HyqV+3K8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706899573; a=rsa-sha256; cv=none; b=ZEKqcA6Af9JZiwoFSLaPPUq+ajd/s4JYE9l5c48GM6xr2fXi65w75r99eLYV3gzkZcfWge dZPvI8r/CHK6DkDFEv3WfrFitBH3tFgj91gWu5p7LNUT5Rlt5KEjaELCI0iKIiako2RHOB DAW0QCZ/zHZI0vHs8KMOs71S57PrqHf3EBwaH5uIRVMo8nyJu5ZYsCoLTAncYyMNn8C0GM TvKRuMLpFbtNybgkqv7QwSL8NjMNlZ7xEWKlOoY7y9i0a/ApbU/vvi8mvWzv2YIiuBmu9N tP0Hh3w/AArbZ3FCDIZc5QzTDVRRrHHdbgEtaZajhCzZUWpnss43epmk1Hw5HQ== 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 5D3D13BE5D for ; Fri, 2 Feb 2024 19:46:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVyXy-0004Fm-PY; Fri, 02 Feb 2024 13:45:54 -0500 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 1rVyXv-0004FJ-M8 for guix-patches@gnu.org; Fri, 02 Feb 2024 13:45:51 -0500 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 1rVyXv-0003Bv-AE for guix-patches@gnu.org; Fri, 02 Feb 2024 13:45:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVyY5-0000yX-Ps for guix-patches@gnu.org; Fri, 02 Feb 2024 13:46:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67512] [PATCH 5/5] gnu: Add librewolf. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Feb 2024 18:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67512 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ian Eure Cc: 67512@debbugs.gnu.org Received: via spool by 67512-submit@debbugs.gnu.org id=B67512.17068995163669 (code B ref 67512); Fri, 02 Feb 2024 18:46:01 +0000 Received: (at 67512) by debbugs.gnu.org; 2 Feb 2024 18:45:16 +0000 Received: from localhost ([127.0.0.1]:45546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVyXM-0000x6-6R for submit@debbugs.gnu.org; Fri, 02 Feb 2024 13:45:16 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:42053 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVyXJ-0000wb-Fg for 67512@debbugs.gnu.org; Fri, 02 Feb 2024 13:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1706899494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZZC+OsIyVK8upQucha8VSw0UQPhRMldcaNs/JfS//Vg=; b=HyqV+3K8LuOyD5knffL06BD6XJzb1wJzG7y/eSHQ68EdFHVLiq+0/Gnv+aocbHl14stDSm z+loar/4fnrVU5HXmW8KmWM2E0CjeSnXAc96xxXvwXjMvm+wOuhmxV00d/dcev5JxpJziA B8n6DN4CI0xWYOpnTLbPtxq4nB0iuZcCbTbYLpbYsHlKG8HdwJG7wD6nbob4WUFZDvi4jR nuAUIr/tlqfaP2x4MaVYTJTW3HdpZAh+ejHd7B/UCdUExY/ZgJ5L1YopM6lviSk9ThYz+i I7rHK/ClAoJTszMQDUMdnWynGAJJvQWxkuUdvlnpYdl3K+bukqSc2Qb6OAgkEw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 141d9aeb (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 2 Feb 2024 18:44:54 +0000 (UTC) Date: Fri, 2 Feb 2024 19:44:49 +0100 Message-ID: References: <87y1c92kfx.fsf@meson> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y1c92kfx.fsf@meson> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.66 X-Migadu-Queue-Id: 5D3D13BE5D X-Spam-Score: -6.66 X-Migadu-Scanner: mx11.migadu.com X-TUID: LJYfQ6d6fVuL On Sun, Jan 28, 2024 at 01:23:40PM -0800, Ian Eure wrote: > > Herman Rimm writes: > > > Librewolf should not link to addons.mozilla.org, using this build phase > > from torbrowser: > > > > What’s the rationale for not using addons.mozilla.org? > > gnuzilla.gnu.org appears to be broken, it’s serving an Apache default page, > as if the vhost isn’t configured. Does the browser request some path within > that domain, which does work? I’m not familiar with the mechanism used for > this. Apologies, the URL is: https://gnuzilla.gnu.org/mozzarella/. It is used because addons.mozilla.org contains nonfree extensions, from [1]: A free system distribution must not steer users towards obtaining any nonfree information for practical use, or encourage them to do so. The system should have no repositories for nonfree software and no specific recipes for installation of particular nonfree programs. Nor should the distribution refer to third-party repositories that are not committed to only including free software; even if they only have free software today, that may not be true tomorrow. Programs in the system should not suggest installing nonfree plugins, documentation, and so on. For instance, a free system distribution must not contain browsers that implement EME, the browser functionality designed to load DRM modules. >> LibreWolf disables DRM by default[1], so I don’t believe this flag is >> necessary. I can confirm that it’s disabled in the browser built from >> the package definition without this flag. >> > >I looked a bit deeper into this. There are actually no EME-related >configuration options in Librewolf at all, either to enable or disable it. >It’s always disabled. Interesting, I applied the patch series onto 551d013, built librewolf, removed ~/.librewolf and ~/.mozilla, started librewolf and went to about:config, where 'browser.eme.ui.enabled' has the default value 'true', so I can see and toggle the checkbox for 'play DRM-controlled content' in about:preferences. I don't know why 'browser.eme.ui.enabled' is 'true' by default for me, but I think adding --disable-eme will set the default to 'false', like it is in the icecat-minimal about:config. Looking at the firefox source [2], 'browser.eme.ui.enabled' is set to true if MOZ_WIDEVINE_EME is defined, false otherwise. MOZ_WIDEVINE_EME gets defined by being in MOZ_EME_MODULES, which is set to eme_modules in toolkit/moz.configure where a comment reads: # Widevine is enabled by default in desktop browser builds. When running grep in a Librewolf repo [3] for the aformentioned terms, only the --disable-jxl configure flag is modified in toolkit/ moz.configure, so I don't think the Librewolf developers disable EME. I am not sure though, I don't want to rebuild librewolf with the --disable-eme flag to look for the difference. Cheers, Herman [1]: https://www.gnu.org/distros/free-system-distribution-guidelines.en.html [2]: https://archive.mozilla.org/pub/firefox/releases/123.0b5/source/firefox-123.0b5.source.tar.xz [3]: https://codeberg.org/librewolf/source.git