From unknown Sun Jun 15 01:04:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74485 <74485@debbugs.gnu.org> To: bug#74485 <74485@debbugs.gnu.org> Subject: Status: [PATCH 0/1] gnu: emulators: Add libretro-beetle-gba. Reply-To: bug#74485 <74485@debbugs.gnu.org> Date: Sun, 15 Jun 2025 08:04:49 +0000 retitle 74485 [PATCH 0/1] gnu: emulators: Add libretro-beetle-gba. reassign 74485 guix-patches submitter 74485 No=C3=A9 Lopez severity 74485 normal tag 74485 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 16:14:43 2024 Received: (at submit) by debbugs.gnu.org; 22 Nov 2024 21:14:43 +0000 Received: from localhost ([127.0.0.1]:55785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEazD-0001cX-1K for submit@debbugs.gnu.org; Fri, 22 Nov 2024 16:14:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:50232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEazA-0001cO-PY for submit@debbugs.gnu.org; Fri, 22 Nov 2024 16:14:42 -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 1tEazA-0003kO-F0 for guix-patches@gnu.org; Fri, 22 Nov 2024 16:14:40 -0500 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEaz8-0001lU-Cg for guix-patches@gnu.org; Fri, 22 Nov 2024 16:14:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YkMVBQDKlgqK6DpVpb9RBxODiIP/oFCbokD80LCS7+E=; b=mvZhbaXrovNXpQTZEYNv2mtxBj 7BZ3KCLoYnhH6E6N4jchWzbETqNe3/6FQUaYJwTkrKVaazyI2E1DexdkpsHVDyYJw+AE7pM+79xar JUI/Ko3QDOCIinpA/sYPLKFt5VEPdqWbFhk9s4qAG0hg9Aap+uPHWEEcTMKf9OabSPOKUyWOMvgXj NgiZdfz1OBF8QHS92IlhGCMIywpSCy7wchSY21ATV9+pNzb9uoat33/WjdZ/f8SzAwBcQV51gIxdh HKYMlvBkqgNnip4c3RzgCvC7P1f3KMi7KoCz0p+Z2jB3qX/7xtAxtBnmcDZVZy9owkCOIUEbPkTil o5Z5Ofzg==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tEaz0-00DVip-1d; Fri, 22 Nov 2024 22:14:30 +0100 From: =?UTF-8?q?No=C3=A9=20Lopez?= To: guix-patches@gnu.org Subject: [PATCH 0/1] gnu: emulators: Add libretro-beetle-gba. Date: Fri, 22 Nov 2024 22:15:29 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Debbugs-Cc: Adam Faiz , Liliana Marie Prikler , 宋文武 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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: =?UTF-8?q?No=C3=A9=20Lopez?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) From: Noé Lopez Hi, Here is a patch to add Beetle GBA’s libretro port, to use with RetroArch. You can test it with “./pre-inst-env guix shell libretro-beetle-gba retroarch -- retroarch“. It will appear in the cores list and can be used to play GBA games. I checked that BSD code was not included like in the original Beetle GBA from Mednafen (the fork only contains a subset of it). Have a great day, Noé Lopez Noé Lopez (1): gnu: emulators: Add libretro-beetle-gba. gnu/packages/emulators.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 1affd2b5aa7f5467a44cf757c4fc0c6956d3f3c9 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 16:20:26 2024 Received: (at 74485) by debbugs.gnu.org; 22 Nov 2024 21:20:26 +0000 Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEb4k-0001zv-5L for submit@debbugs.gnu.org; Fri, 22 Nov 2024 16:20:26 -0500 Received: from smtp.domeneshop.no ([194.63.252.55]:56655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEb4h-0001zZ-TU for 74485@debbugs.gnu.org; Fri, 22 Nov 2024 16:20:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=NGC5BbAOUxK8vK4G0ViEmodAChVcJNR6ApDsaZtPbIU=; b=W HbPWQBPW9BLfeiYXksLpb88jTZh3vu98eoSEEkgncz08MCSfGU1MEW3/0qI8l60P/Eeofti4+/Ipx j4R062pfXJ5O18llOWf/M2gJ0ePabVXg55LTsqkGcTjqiR3re/t7+rv5Ze0NYdcuTx+qe27W7K7pR a+dR76VLkcl7tVxUknHG4F19fxApY3OyDSYJKz3/ZdsUqdVC707Sop0LfyWRaaAjrz6qYzQSFUa3Q KukuOI+91ndsoxmHxOhXFR7snVfWKH9+/+fagf0Xk46lTMHiNthdi4HO3/L9TVi+fDdF/XfNrso3e PTIrTXqy7BpRmmThdLJywUrUzBd6oNzgQ==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tEb2W-00DWQc-8X; Fri, 22 Nov 2024 22:18:08 +0100 From: =?UTF-8?q?No=C3=A9=20Lopez?= To: 74485@debbugs.gnu.org Subject: [PATCH 1/1] gnu: emulators: Add libretro-beetle-gba. Date: Fri, 22 Nov 2024 22:19:13 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Debbugs-Cc: Adam Faiz , Liliana Marie Prikler , 宋文武 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74485 Cc: =?UTF-8?q?No=C3=A9=20Lopez?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Noé Lopez * gnu/packages/emulators.scm (libretro-beetle-gba): New variable. 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)))) +(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=gcc" + (string-append "GIT_VERSION=" + #$commit) + (string-append "DESTDIR=" + #$output) "prefix=/") + ;; 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’s 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 alternatives.") + (license license:gpl2+)))) + (define-public mgba (package (name "mgba") -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 01:41:47 2024 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 To: =?utf-8?Q?No=C3=A9?= Lopez Subject: Re: [bug#74485] [PATCH 1/1] gnu: emulators: Add libretro-beetle-gba. In-Reply-To: (=?utf-8?Q?=22No=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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74485-done Cc: =?utf-8?B?5a6L5paH5q2m?= , Liliana Marie Prikler , Adam Faiz , 74485-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Sun Jun 15 01:04:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 16 Jan 2025 12:24:16 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator