all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Wong via Guix-patches via <guix-patches@gnu.org>
To: 75101@debbugs.gnu.org
Cc: Andrew Wong <wongandj@icloud.com>
Subject: [bug#75101] [PATCH 1/2] gnu: retroarch-core-info: Remove non-free core listings.
Date: Wed, 25 Dec 2024 16:39:30 -0500	[thread overview]
Message-ID: <20241225213931.8523-1-wongandj@icloud.com> (raw)
In-Reply-To: <20241225213801.8020-1-wongandj@icloud.com>

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





  reply	other threads:[~2024-12-25 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 21:29 [bug#75101] [PATCH 0/2] Fix broken Retroarch while respecting FSDG Andrew Wong via Guix-patches via
2024-12-25 21:39 ` Andrew Wong via Guix-patches via [this message]
2024-12-25 21:39   ` [bug#75101] [PATCH 2/2] gnu: retroarch-minimal: Enable core downloading with limited core info Andrew Wong via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241225213931.8523-1-wongandj@icloud.com \
    --to=guix-patches@gnu.org \
    --cc=75101@debbugs.gnu.org \
    --cc=wongandj@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.