GNU bug report logs - #75101
[PATCH 0/2] Fix broken Retroarch while respecting FSDG

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Andrew Wong <wongandj@HIDDEN>; Keywords: patch; Done: Andrew Wong <brosasaki@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 75101 <at> debbugs.gnu.org and Andrew Wong <wongandj@HIDDEN> Request was from Andrew Wong <brosasaki@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 75101 <at> debbugs.gnu.org:


Received: (at 75101) by debbugs.gnu.org; 4 Jan 2025 03:33:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 03 22:33:13 2025
Received: from localhost ([127.0.0.1]:52888 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tTuuV-0005QE-FE
	for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 22:33:13 -0500
Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:45217)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <brosasaki@HIDDEN>)
 id 1tTtUd-0001FB-JW
 for 75101 <at> debbugs.gnu.org; Fri, 03 Jan 2025 21:02:26 -0500
Received: by mail-qt1-x836.google.com with SMTP id
 d75a77b69052e-4678664e22fso113788251cf.2
 for <75101 <at> debbugs.gnu.org>; Fri, 03 Jan 2025 18:02:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1735956138; x=1736560938; darn=debbugs.gnu.org;
 h=content-transfer-encoding:subject:to:from:content-language
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=VSq6rQDTVNKPn0otPmUV6br1+PktvGqHS3Y9CFDH4zA=;
 b=Qp9PoEdvRuH6BNbAJVLyepraVSSq8BbuvFrdZ9/Z+GBv4SJzp2zNfwwhV7TWdJy8Bo
 QsTWYLCuFJ3V+Uf3NJokvZKvgw50ijH7dX6ctfXWf02E78rTEt86q0SunioMgrVF2Eiy
 tkSvoPQp4OEEi1f3bikhMEHF7HadRjsAxJTZvsuu10H8CgmMOIRI5kM5286f8at8urtn
 WYWQLVGMvNcIPVCxfsfW/bKValYXemX32Y3nKhZl+Y1dWdJ6mwgYwTX92o3A0hn0DUXu
 sdVsDa2r/Q0KihNPKlHkwUt9ufsSZfIBwHt1VUzXmNLsJPkMiFyH1M25uMda5qvom1Cy
 zStQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1735956138; x=1736560938;
 h=content-transfer-encoding:subject:to:from:content-language
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=VSq6rQDTVNKPn0otPmUV6br1+PktvGqHS3Y9CFDH4zA=;
 b=bdbo+Nas7zm+9Lvk76RR8cmyNa/YkDPaL1ogpg+WuLBDmaRXBoSTWu6l5q6mSaYRg+
 w8VZ/NdLjZU0umTac8L+dfHDt1J6PgIBw1vxBpVLoTdnLGJnWS/Sw3GsdkHBNgwUqNVA
 7hiy2w1oYp+osZbHQzYZzmzlhtCkEoY5/fjcPDJ+giY4OkreKEN3FBsCIz3rxruDLg/3
 3tdBXe8njDDzNarai6GDXnnYXZ7wdV5TKeB86u16JQ+aTGXluH95mS8x3ZIFQlBvuUEQ
 DFALgCXezXxXvgOtDXTR0TPMjWuhw2iE952xIWi69O6BlDdd2JVHUCMUzBRnfL8Uu7Mx
 FT8g==
X-Forwarded-Encrypted: i=1;
 AJvYcCUSpFEsakyWW2eVLPF8Yf3mJjE9QhZ4lGZ3WFsH6P4Sc9FuEBOAM4FDSHwpXVVLbGUhWYSGgw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yw+wemGhWmR8CQd9lNf0qwIxzICg8r6NPRvBKevueM4WIXAmL8P
 WbgpOA/JBpi4/Shvhb6a7fszlfD3u/e9RhZkrc9aR8kzE6IyGRY1KjCXxoS0
X-Gm-Gg: ASbGnculFRFu1wMroFm9Vtp1gLEEhu43irNUkjUeG10DkW24gBgQL/EPb8dSQ1qvT0A
 kN6N7kW38xdPchUUFQApP60AKw5qdGSNLowzqEBiKRK0NBaqqRtsXruBKDJmnAxAXoy2z3E4KNn
 f7g5nEdsO9htMAoj8uJs8Xd9f6apXoOVEPUk7nzqJXUUztIzAQ16gEJ72CRqSF8+TaaWUsa1wHO
 mLkTDy6tKhIHdznquNQOw19v3AahZvNCbgyJvGax/4NunPw3Gx11A91ytw=
X-Google-Smtp-Source: AGHT+IFoMasxdMvDs/HYEzGxVT5RTaUi6/+WEBisS6QdLcj1YFZ91wPSyH4ilaPaet0jQNS4g347og==
X-Received: by 2002:a05:622a:1a29:b0:467:5da6:8096 with SMTP id
 d75a77b69052e-46a4a977800mr922542211cf.44.1735956137779; 
 Fri, 03 Jan 2025 18:02:17 -0800 (PST)
Received: from [192.168.86.109] ([38.135.8.43])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-46a3e6a713asm151704741cf.43.2025.01.03.18.02.17
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 03 Jan 2025 18:02:17 -0800 (PST)
Message-ID: <fba4555b-0df8-4355-87ad-7377376b321b@HIDDEN>
Date: Fri, 3 Jan 2025 21:02:16 -0500
MIME-Version: 1.0
User-Agent: Icedove Daily
Content-Language: en-US
From: Andrew Wong <brosasaki@HIDDEN>
To: iyzsong@HIDDEN, 75101 <at> debbugs.gnu.org
Subject: [bug#75101] [PATCH 0/2] Fix broken Retroarch while respecting FSDG
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75101
X-Mailman-Approved-At: Fri, 03 Jan 2025 22:33:08 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  宋文武 writes: > Despite FSDG requirements, I think downloading
    those cores / shared > libraries from internet is not a good idea, as there
    maybe compability > issues between their build environment and Guix 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [38.135.8.43 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2607:f8b0:4864:20:0:0:0:836 listed in]
                             [list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (brosasaki[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

宋文武 <iyzsong@HIDDEN> writes:


 > Despite FSDG requirements, I think downloading those cores / shared
 > libraries from internet is not a good idea, as there maybe compability
 > issues between their build environment and Guix

Unfortunately, packaging all the Retroarch cores is quite non-trivial,
as they do not have a consistent build system or source tree layout;
many of their upstream repositories are even lacking version numbers and
directions for building.

While I think we should still keep packaging the cores, I also think it
is better to offer imperfect functionality over almost none at all in
this case, since it is non-essential games software, and the cores'
functionality is entirely contained in the application; them not working
perfectly won't crash servers or poison scientific data, but it may help
retain a lot of users.





Information forwarded to guix-patches@HIDDEN:
bug#75101; Package guix-patches. Full text available.

Message received at 75101 <at> debbugs.gnu.org:


Received: (at 75101) by debbugs.gnu.org; 31 Dec 2024 07:54:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 31 02:54:27 2024
Received: from localhost ([127.0.0.1]:33161 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSX58-0004MT-QS
	for submit <at> debbugs.gnu.org; Tue, 31 Dec 2024 02:54:27 -0500
Received: from mail.envs.net ([5.199.136.28]:43300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1tSX55-0004MJ-UP
 for 75101 <at> debbugs.gnu.org; Tue, 31 Dec 2024 02:54:24 -0500
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id DE68A38A1F56;
 Tue, 31 Dec 2024 07:54:20 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id zjhRnNHzQxsX; Tue, 31 Dec 2024 07:54:17 +0000 (UTC)
Received: from localhost (unknown [112.44.106.216])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA;
 Tue, 31 Dec 2024 07:54:17 +0000 (UTC)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 8e4e10d6;
 Tue, 31 Dec 2024 07:57:20 +0000 (UTC)
From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN>
To: Andrew Wong <wongandj@HIDDEN>
Subject: Re: [bug#75101] [PATCH 0/2] Fix broken Retroarch while respecting FSDG
In-Reply-To: <20241225213801.8020-1-wongandj@HIDDEN> (Andrew Wong's
 message of "Wed, 25 Dec 2024 16:29:45 -0500")
References: <20241225213801.8020-1-wongandj@HIDDEN>
Date: Tue, 31 Dec 2024 15:57:20 +0800
Message-ID: <87o70s709r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75101
Cc: 75101 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Andrew Wong <wongandj@HIDDEN> writes:

> Retroarch's ability to download "cores" (libraries) to userspace was removed
> recently because of non-free cores being available. However, I have found a
> more sensible solution which enables the free-licensed cores (which make up
> the majority of the list) to still be downloaded. All that is needed is for
> the entries for nonfree cores in the retroarch-core-info package to be
> removed; without these entries, Retroarch cannot download or update the
> nonfree cores, and the FSDG are respected while keeping the software usable.

Hello, thanks for the contributions.
>
> Andrew Wong (2):
>   gnu: retroarch-core-info: Remove non-free core listings.
LGTM!

>   gnu: retroarch-minimal: Enable core downloading with limited core info.
Despite FSDG requirements, I think downloading those cores / shared
libraries from internet is not a good idea, as there maybe compability
issues between their build environment and Guix:

- if they build cores against glibc newer than our retroarch.
- if the cores shared linked to other libraries than our retroarch.

And we have more trust and transparent with our packaged cores,
so I think we should keep cores downloading disable, also once we
package them there is no need to download.




Information forwarded to guix-patches@HIDDEN:
bug#75101; Package guix-patches. Full text available.

Message received at 75101 <at> debbugs.gnu.org:


Received: (at 75101) by debbugs.gnu.org; 25 Dec 2024 21:39:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 16:39:54 2024
Received: from localhost ([127.0.0.1]:39140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQZ6f-00028R-Lu
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:39:53 -0500
Received: from qs51p00im-qukt01080501.me.com ([17.57.155.22]:61777)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wongandj@HIDDEN>) id 1tQZ6d-000280-KC
 for 75101 <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:39:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; t=1735162786;
 bh=ZMzWs27avSpHPSAz+EqRKOFTaol1TWQb9mQaQsjeRIw=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;
 b=sQr9ADc1Ox2go9CDcUlO731iAhjHP+LrNMwhCyF/z+/splGZgR4pvcCyGxdRuaXMO
 1Q6cQy0ANDAb2COIPqqGvZZTt0dozbPHX4GEtc8L1WYVuHPDDd8dIzUQ9JhSq5siIs
 2p/EFKVH27eUzHWQ7z6juTOC2h9enoIKUetZIc5sBRTmjiWugxaBTU4ee5YfVkKnb6
 z5XKWp2DVzRrHUDvOnkUBd3xxnqMm5u8cnS7V3qUJpHMkjbO+ViEWaHUAtkuBL7U1M
 lW89+/Ravi7w0sP/PGBF0CsCjhbIRiPAZPGGDODPch1CN8p3/LhwEhfhQztiD7/Hys
 b9H9hUUlIYYkw==
Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com
 [17.57.155.28])
 by qs51p00im-qukt01080501.me.com (Postfix) with ESMTPSA id AB76E198028D;
 Wed, 25 Dec 2024 21:39:44 +0000 (UTC)
From: Andrew Wong <wongandj@HIDDEN>
To: 75101 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: retroarch-minimal: Enable core downloading with
 limited core info.
Date: Wed, 25 Dec 2024 16:39:31 -0500
Message-ID: <20241225213931.8523-2-wongandj@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241225213931.8523-1-wongandj@HIDDEN>
References: <20241225213931.8523-1-wongandj@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Proofpoint-ORIG-GUID: HcJYuS20VE50VF26AIi3neWVCc8DRX1k
X-Proofpoint-GUID: HcJYuS20VE50VF26AIi3neWVCc8DRX1k
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2024-12-25_07,2024-12-24_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 mlxlogscore=712
 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 suspectscore=0
 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.19.0-2308100000 definitions=main-2412250196
X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75101
Cc: Andrew Wong <wongandj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Change-Id: I5087bed9c7fd1747df6dd7debc7e606ab3aeb73c
---
 gnu/packages/emulators.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 75d924253c..2060b14ec3 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -2441,11 +2441,6 @@ (define (directory? x)
                  ;; D-Bus support is required for 'suspend screensaver' option
                  ;; to work.
                  "--enable-dbus"
-                 ;; Non-free software are available through the core updater,
-                 ;; disable it.  See <https://issues.guix.gnu.org/38360>.
-                 "--disable-update_cores"
-                 "--disable-update_core_info"
-                 "--disable-online_updater"
                  ;; The assets are provided via the `retroarch-assets' package.
                  "--disable-update_assets"
                  "--disable-builtinmbedtls"
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#75101; Package guix-patches. Full text available.

Message received at 75101 <at> debbugs.gnu.org:


Received: (at 75101) by debbugs.gnu.org; 25 Dec 2024 21:39:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 16:39:49 2024
Received: from localhost ([127.0.0.1]:39136 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQZ6a-000288-Vy
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:39:49 -0500
Received: from qs51p00im-qukt01080501.me.com ([17.57.155.22]:2827)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wongandj@HIDDEN>) id 1tQZ6Y-00027r-Ch
 for 75101 <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:39:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; t=1735162780;
 bh=NRLrapl7fkVzDseaJJfZRrrpAG94nJ4btsQVv3U9s94=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;
 b=F9KtEDzoFo2Kq2Yvsa0a4jZXXLzoDruEcEEsCQGzDwNcSfL8o60jNAy6Db//VBV9o
 4UBScM+upT41H85GPbT8ovvbRTqTtG1MBsOqKjprCcuYuyIWoaNSqIEaocVNUrcdPi
 CgAfpp6gy2BVOStVSVNrnAcb34m86caQ+BgD/aXmlsq/QLF2kiYiWGNM0WLTpxDFin
 cbyPEiKFv1CE7I9+QvJsSPoeuggq8SFQ/Pb6J9ZbqRlptMYOYQZ4gYpC+nUFTsELA1
 P7Z+r3nbOb0qpzKYAOcbrWaEUFsX5ImDcoF8eRtUZBqbJgFQWxMZptV8u0Y7BpDerB
 BtvdkhRps1hFg==
Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com
 [17.57.155.28])
 by qs51p00im-qukt01080501.me.com (Postfix) with ESMTPSA id 38AA91980225;
 Wed, 25 Dec 2024 21:39:38 +0000 (UTC)
From: Andrew Wong <wongandj@HIDDEN>
To: 75101 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: retroarch-core-info: Remove non-free core listings.
Date: Wed, 25 Dec 2024 16:39:30 -0500
Message-ID: <20241225213931.8523-1-wongandj@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Proofpoint-ORIG-GUID: bIiu7yT4EkTvoL0tL9ELBgD5WmVOvoxN
X-Proofpoint-GUID: bIiu7yT4EkTvoL0tL9ELBgD5WmVOvoxN
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2024-12-25_07,2024-12-24_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 mlxlogscore=999
 spamscore=0 clxscore=1011 mlxscore=0 adultscore=0 suspectscore=0
 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.19.0-2308100000 definitions=main-2412250196
X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75101
Cc: Andrew Wong <wongandj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Change-Id: Ic6f656dac299080eaa097df5375dd23b96966cfb
---
 gnu/packages/emulators.scm | 54 +++++++++++++++++++++++++++++---------
 1 file changed, 42 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index ab3f28cfae..75d924253c 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1584,22 +1584,52 @@ (define-public retroarch-core-info
     (package
       (name "retroarch-core-info")
       (version (git-version "1.19.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/libretro/libretro-core-info")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "11xpy3zhy2smp4a70fc0r1b76mvmjyabkaaipifsxm3j25drki5z"))))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/libretro/libretro-core-info")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "11xpy3zhy2smp4a70fc0r1b76mvmjyabkaaipifsxm3j25drki5z"))
+         (modules '((guix build utils)))
+         (snippet '(begin
+                     (for-each delete-file
+                               ;; incompatibly-licensed cores are
+                               ;; removed. When updating check the "license"
+                               ;; line of each file.
+                               '("duckstation_libretro.info"
+                                 "dinothawr_libretro.info"
+                                 "chimerasnes_libretro.info"
+                                 "cannonball_libretro.info"
+                                 "fmsx_libretro.info"
+                                 "fbalpha2012_cps3_libretro.info"
+                                 "fbalpha2012_cps2_libretro.info"
+                                 "fbalpha2012_cps1_libretro.info"
+                                 "mame2003_plus_libretro.info"
+                                 "fbneo_libretro.info"
+                                 "fbalpha2012_neogeo_libretro.info"
+                                 "fbalpha2012_libretro.info"
+                                 "mu_libretro.info"
+                                 "genesis_plus_gx_wide_libretro.info"
+                                 "genesis_plus_gx_libretro.info"
+                                 "opera_libretro.info"
+                                 "snes9x2005_plus_libretro.info"
+                                 "snes9x_libretro.info"
+                                 "px68k_libretro.info"
+                                 "snes9x2005_libretro.info"
+                                 "snes9x2010_libretro.info"
+                                 "snes9x2002_libretro.info"))))))
       (build-system copy-build-system)
       (arguments
-       (list #:install-plan #~'(("." "lib/libretro/"
-                                 #:include-regexp ("\\.info$")))))
+       (list
+        #:install-plan #~'(("." "lib/libretro/"
+                            #:include-regexp ("\\.info$")))))
       (home-page "https://github.com/libretro/libretro-core-info")
       (synopsis "Libretro core info files")
-      (description "This is a versioned snapshot of the files containing
+      (description
+       "This is a versioned snapshot of the files containing
 metadata about each known libretro core.  The snapshot is taken from the
 @url{https://github.com/libretro/libretro-super, libretro-super} repository.")
       (license license:expat))))
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#75101; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 21:38:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 25 16:38:16 2024
Received: from localhost ([127.0.0.1]:39119 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQZ55-00024m-UV
	for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:38:16 -0500
Received: from lists.gnu.org ([209.51.188.17]:41384)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wongandj@HIDDEN>) id 1tQZ53-00024d-WB
 for submit <at> debbugs.gnu.org; Wed, 25 Dec 2024 16:38:14 -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 <wongandj@HIDDEN>)
 id 1tQZ53-0003l4-C0
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 16:38:13 -0500
Received: from qs51p00im-qukt01071902.me.com ([17.57.155.9])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wongandj@HIDDEN>)
 id 1tQZ51-0005Ac-WF
 for guix-patches@HIDDEN; Wed, 25 Dec 2024 16:38:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;
 s=1a1hai; t=1735162691;
 bh=Z7Iuu9grOnu6wgEkwB6PCVaTyEkz3UVCEj0SR5kC7CQ=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;
 b=Vekq2mYvBkIy/FbrLRgJCcCbTJEdfUUAMNtMR7Qvs61QbE+NFK0RyLMea81YmVyMX
 hCGP7fcadWXi95q3V8P5hiB9mD61po98Uffwh1MQGA5U/RLTIAcwodeE+qQa3AmC9w
 r60UCfvt6CBNKqZAsCbQ9N4Wcy+MTJMEvyM+5SQHcB9r5d5yf2S6AYjxv9On6VIs9O
 zW7yED7zPHsJBIlaBLUljcJ1xnliGXfvv0vExxWMMV1ntI4R302TbLJ3kmhgPwAC27
 L+RQcoqud313l7bDjdd+cLH9gtvpY+0jaL3ug8SsolxiwQpR0VDyj2O2YgK7YWgI7T
 qWavnADqqERFw==
Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com
 [17.57.155.28])
 by qs51p00im-qukt01071902.me.com (Postfix) with ESMTPSA id AA0375EC0193;
 Wed, 25 Dec 2024 21:38:09 +0000 (UTC)
From: Andrew Wong <wongandj@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Fix broken Retroarch while respecting FSDG
Date: Wed, 25 Dec 2024 16:29:45 -0500
Message-ID: <20241225213801.8020-1-wongandj@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Proofpoint-GUID: Cp-4asRZgND2041gAFb7j9w542E7l7t6
X-Proofpoint-ORIG-GUID: Cp-4asRZgND2041gAFb7j9w542E7l7t6
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2024-12-25_07,2024-12-24_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 adultscore=0 mlxscore=0
 phishscore=0 suspectscore=0 bulkscore=0 malwarescore=0 clxscore=1015
 mlxlogscore=759 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.19.0-2308100000 definitions=main-2412250195
X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8
Received-SPF: pass client-ip=17.57.155.9; envelope-from=wongandj@HIDDEN;
 helo=qs51p00im-qukt01071902.me.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Andrew Wong <wongandj@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Retroarch's ability to download "cores" (libraries) to userspace was removed
recently because of non-free cores being available. However, I have found a
more sensible solution which enables the free-licensed cores (which make up
the majority of the list) to still be downloaded. All that is needed is for
the entries for nonfree cores in the retroarch-core-info package to be
removed; without these entries, Retroarch cannot download or update the
nonfree cores, and the FSDG are respected while keeping the software usable.

Andrew Wong (2):
  gnu: retroarch-core-info: Remove non-free core listings.
  gnu: retroarch-minimal: Enable core downloading with limited core
    info.

 gnu/packages/emulators.scm | 59 +++++++++++++++++++++++++++-----------
 1 file changed, 42 insertions(+), 17 deletions(-)

-- 
2.46.0





Acknowledgement sent to Andrew Wong <wongandj@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#75101; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 26 Jan 2025 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.