From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oIw6IEvAY2f5cwAAe85BDQ:P1 (envelope-from ) for ; Thu, 19 Dec 2024 06:42:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oIw6IEvAY2f5cwAAe85BDQ (envelope-from ) for ; Thu, 19 Dec 2024 07:42:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Lbfm8eSN; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YqhW1AQQ; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734590539; h=from:from:sender:sender: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-to: 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=WMXInw/tMqww7C/Bsig71IZWQwshtPPxEVVqIaHXv/I=; b=Am2fWcoWkuBEzjtsF+oRefJADwoh9SXvaTSq2xJwJyLqL1CHaYRi0uwQ+j0SpBvOsCbpVB IS923u9zblhQI5K3mmKPZdfDBJGtJ1rFR+XS9/swcxJovreV098GzGxp0Ukb/t6qEJ5/be 7Sgwz5bzgqQtkwntXOlVXpr7fpCIH5WU4lbEX6Nk/ucSrWr1okICaMoECZO0GarWUBl1ox TIxD7ut5k01sBlmuWY/yHoj1qVOdBJLwPQVv9gIcsbt2lK3oN2XC2+WGk9Tv2+wyISbTdI 9iQaNMpkAjDBhbEbvrFYbSMs/IIvF/pTi8uGRJwOuP8SLkEVvHaJbzfBAImvAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Lbfm8eSN; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YqhW1AQQ; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734590539; a=rsa-sha256; cv=none; b=SKFZrKnVC+QC9sym3zF3NXiy7FrZGJEO2+N5Lo5NpfhzFG+ofFZqDal6ycfxdt+w+YjEzN +53qtiPvL1MFxYb13KiXraO1VIulEUAKnAGNlT+cew6kuvfanJVzGX7I9yLQTd/1eHXORq sEpKS/Yk2vLN4FnNetauo0P+8jJbR/Xzro3r69il1byRbZTy+JDpJ6dZTzt2GMfDQ8BkHU qSQEyESIePb1bfSl7P6zmyHhGEsfY4K+otnkdOzXRMuDt+TgiqGJt5HhcrS6L0XY47ut4w qFy8s9a0RDpjBPeblp6FdXfonxeTzNScoGDpWOppeZryEhJ7pWu1DEITllVucg== 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 141E820139 for ; Thu, 19 Dec 2024 07:42:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOAEW-0004HT-Oh; Thu, 19 Dec 2024 01:42:04 -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 1tOAEV-0004GY-3s for guix-patches@gnu.org; Thu, 19 Dec 2024 01:42:03 -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 1tOAEU-0002Lg-LU for guix-patches@gnu.org; Thu, 19 Dec 2024 01:42:02 -0500 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:References:In-Reply-To:From:To:Subject; bh=WMXInw/tMqww7C/Bsig71IZWQwshtPPxEVVqIaHXv/I=; b=Lbfm8eSNUnpNt7sHvEJbA4KYAqlK8Yo3F568mCmwOHrAqOK+/tNeu/96sIjptjeXx2zZ+Mv+BJ2R81WEkO5HdR7BSz1JBy5lfoRo/1cKe7DxL9RYgLWDz9Ss9pLdGCUTw26d2Yc5iUFzwVFhZIX/y64CikaiTvytRQJzipJwjrHoaP8UzpSQo0dYf4/sIw0mRO3uPLVF9qT3VNAhKskUkdJwrOzsZ8CHWiCL7WQZRy/cO5wqw3G8q0gFxReDBCFZBua/MtPkjDSa7cUHDvhF2sNiTaVkcguSCk8gTA58/jZEhJlX9peIKfk3AhPUKN0ylFT606sUB4KqFSYeiBxNTQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOAEU-00058P-Fx for guix-patches@gnu.org; Thu, 19 Dec 2024 01:42:02 -0500 Subject: bug#74485: [PATCH 1/1] gnu: emulators: Add libretro-beetle-gba. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 19 Dec 2024 06:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74485 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Liliana Marie Prikler , Adam Faiz , 74485-done@debbugs.gnu.org Mail-Followup-To: 74485@debbugs.gnu.org, maxim.cournoyer@gmail.com, noe@xn--no-cja.eu Received: via spool by 74485-done@debbugs.gnu.org id=D74485.173459050719711 (code D ref 74485); Thu, 19 Dec 2024 06:42:02 +0000 Received: (at 74485-done) by debbugs.gnu.org; 19 Dec 2024 06:41:47 +0000 Received: from localhost ([127.0.0.1]:37169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOAEF-00057q-6F for submit@debbugs.gnu.org; Thu, 19 Dec 2024 01:41:47 -0500 Received: from mail-pl1-f178.google.com ([209.85.214.178]:45431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOAED-00057Z-01 for 74485-done@debbugs.gnu.org; Thu, 19 Dec 2024 01:41:45 -0500 Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-2164b1f05caso3841475ad.3 for <74485-done@debbugs.gnu.org>; Wed, 18 Dec 2024 22:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734590439; x=1735195239; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WMXInw/tMqww7C/Bsig71IZWQwshtPPxEVVqIaHXv/I=; b=YqhW1AQQw3c8vRi9dk8QY0wGGPHDKBzW1XDRjU/GCBrgACuTNBXkHcfXBX5Yj5qdUp 8HGixUQM+RY5vR2Q4xbhZqDI1QDJDNP0qO5fh13755QKnh3lH/L1vHeMpoJsvQLOFKQX RoTlySETGefRJ8stpJCgAnyTLZwjE6pNhm+UKYhCMwKZEVTyQlu362+2YVFS6B2VGz+1 lWxZva7NZjB8OAaNaKtJaOBcfNiCPbQxDWrJMrg5BV7uhBMj+V/Wwja5cKpzPYU+Ro7x yL/18k3OGz6d3wkhdeHwSRxLnr1tMqXC6MpBh0s24VuI+IdTh/5ObiavNaDXLgb1X40p A3RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734590439; x=1735195239; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=WMXInw/tMqww7C/Bsig71IZWQwshtPPxEVVqIaHXv/I=; b=op82UsxoxygVc7buKSBm7JmroigFdI8l4s/OLHAlJd9578DNQlF9WdHThUIOJ25oWh BnCP5vO5Bg8z/7eqIeMN7gLuCk96Jr62RhCEnKHRG4mllN0GVZMoVQA5RwbdmDg9bsDA q/YYG36+UAqK9Uo4Oos2wZv+zJibYdUSZNEqLKNaaiKE2UUatlmFf0MOoiaG35io+KDt 2eOTl6QxcB/WDTH9EU/iv2B/Zk1OML4f5ApvLnVqS1gB78+bn6oRcwSCjfbuKJjHj50c wRU6STfQd3U6sYSC9xOrmYMZTab/FEwfxp2W4dreLZfvtVIM16h04TjXM1av+9gmmRFu G40Q== X-Gm-Message-State: AOJu0YwcPgNs66QW9IpOZkXY5DfAGxaxxBYkOb10F7zKQxF4Qwazucpx tEvyJJg6IPr/8EFBPqOF1Y8xZbTBuMen8eVxDnNXSMzS+XF+NPMc X-Gm-Gg: ASbGncu/jp9f6KHH8xdGgDrB2qgPfuK12u+tPC/VROCVWzn6jb2Ky0fte10cJd72v5t BfCe0VYYYlUgGTdf+yII5lPLuxHnEs7JiJKeFzF6w0ZwAklHZoWkiuL5qdGwFnKiGq+HDC5bBX5 doQjZ0op1LVbR2lQyXJaMhCJQpYhMque76SKOq4WIYMBYLTVnZhUEl+i/9SirA1eayXeRUaRjra Qu5r5BHZ6tanomZvwBbpRYhMkRFA5SIfoY+xfNirYSa7xEsceawPg== X-Google-Smtp-Source: AGHT+IHommmPVRotI0eahTtxRsGyTRFH2+Ad0r1FGVYpvSnTj5BiYQXRcF3RyeI8SJwgvf8gxO1iQQ== X-Received: by 2002:a17:902:d548:b0:216:69ca:773b with SMTP id d9443c01a7336-218d6fcbf41mr101857025ad.5.1734590439314; Wed, 18 Dec 2024 22:40:39 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f68a6sm5499445ad.212.2024.12.18.22.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 22:40:38 -0800 (PST) From: Maxim Cournoyer In-Reply-To: ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Fri, 22 Nov 2024 22:19:13 +0100") References: Date: Thu, 19 Dec 2024 15:40:29 +0900 Message-ID: <87ldwckwf6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.37 X-Spam-Score: -3.37 X-Migadu-Queue-Id: 141E820139 X-TUID: jl1cWlSRTGwX Hi No=C3=A9, No=C3=A9 Lopez writes: > From: No=C3=A9 Lopez > > * gnu/packages/emulators.scm (libretro-beetle-gba): New variable. Cool! > Change-Id: I3f58972ae9065e7e59b2d9fd5b31d528f7690da2 > --- > gnu/packages/emulators.scm | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm > index 948e588c4c..4d757048a4 100644 > --- a/gnu/packages/emulators.scm > +++ b/gnu/packages/emulators.scm > @@ -743,6 +743,43 @@ (define-public mednafen > ;; Main license is GPL2+. Some parts are BSD-3. > (license (list license:gpl2+ license:bsd-3)))) >=20=20 > +(define-public libretro-beetle-gba > + ;; There are no releases. Use the latest commit. > + (let ((commit "6cee80685f735ea6c2373db2622a1f1ee9f39d39") > + (revision "0")) > + (package > + (name "libretro-beetle-gba") > + ;; Use Mednafen core version as base. Defined in libretro.cpp:73. > + (version (git-version "0.9.36" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/libretro/beetle-gba-libretro") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "14fm2g3hrsvvd57d6m9apzc30ypa4m0m5hk2viq422fm2l9y0xbb"= )))) > + (build-system gnu-build-system) > + (arguments > + (list > + #:make-flags #~(list "CC=3Dgcc" You should prefer to use (string-append "CC=3D" #$(cc-for-target)), which gives the right gcc command name when cross-compiling. > + (string-append "GIT_VERSION=3D" > + #$commit) > + (string-append "DESTDIR=3D" > + #$output) "prefix=3D/") > + ;; No tests. > + #:tests? #f > + #:phases #~(modify-phases %standard-phases > + (delete 'configure)))) > + (home-page "https://github.com/libretro/beetle-gba-libretro") > + (synopsis "Standalone port of Mednafen GBA to libretro") > + (description > + "A standalone port of Mednafen=E2=80=99s GameBoy Advance emulator= called > +Beetle GBA to libretro. Beetle GBA is based on VBA-M, itself a fork of = Visual Boy > +Advance. This is an old fork, and is not recommended over newer alterna= tives.") Is the last sentence about VBA-M, or Visual Boy Advance? I'm guessing the later, but it could confuse so I'd drop it. I've done the two above modifications myself: --8<---------------cut here---------------start------------->8--- modified gnu/packages/emulators.scm @@ -762,22 +762,18 @@ (define-public libretro-beetle-gba (base32 "14fm2g3hrsvvd57d6m9apzc30ypa4m0m5hk2viq422fm2l9y0xbb"))= )) (build-system gnu-build-system) (arguments - (list - #:make-flags #~(list "CC=3Dgcc" - (string-append "GIT_VERSION=3D" - #$commit) - (string-append "DESTDIR=3D" - #$output) "prefix=3D/") - ;; No tests. - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'configure)))) + (list #:make-flags #~(list (string-append "CC=3D" #$(cc-for-target)) + (string-append "GIT_VERSION=3D" #$commit) + (string-append "prefix=3D" #$output)) + #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) (home-page "https://github.com/libretro/beetle-gba-libretro") (synopsis "Standalone port of Mednafen GBA to libretro") (description - "A standalone port of Mednafen=E2=80=99s GameBoy Advance emulator c= alled -Beetle GBA to libretro. Beetle GBA is based on VBA-M, itself a fork of Vi= sual Boy -Advance. This is an old fork, and is not recommended over newer alternati= ves.") + "A standalone port of Mednafen=E2=80=99s GameBoy Advance emulator c= alled Beetle +GBA to libretro. Beetle GBA is based on VBA-M, itself a fork of Visual Boy +Advance.") (license license:gpl2+)))) =20 (define-public mgba --8<---------------cut here---------------end--------------->8--- I've also ordered this package before libretro-bsnes-jg (it's nice to keep packages sorted in alphabetic order, as much as possible). Pushed as commit f73588e3b0. --=20 Thanks, Maxim