GNU bug report logs -
#62120
[PATCH] gnu: retroarch: Update to 1.15.0.
Previous Next
Reported by: iyzsong <at> envs.net
Date: Sat, 11 Mar 2023 13:22:02 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62120 in the body.
You can then email your comments to 62120 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#62120
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
iyzsong <at> envs.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 11 Mar 2023 13:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: 宋文武 <iyzsong <at> member.fsf.org>
* gnu/packages/emulators.scm (retroarch): Update to 1.15.0.
[source]: Remove upstreamed patch.
[arguments]<#:phases>: Remove not needed changes for 'true' and 'zlib'.
Remove "--disable-builtinminiupnpc" from configure flags.
Add "--disable-builtinzlib" to configure flags.
[inputs]: Remove miniupnpc, which is not used any more.
* gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
---
gnu/local.mk | 1 -
gnu/packages/emulators.scm | 16 ++-------
.../retroarch-LIBRETRO_DIRECTORY.patch | 36 -------------------
3 files changed, 3 insertions(+), 50 deletions(-)
delete mode 100644 gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 97d96f1573..a9cba15c71 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1804,7 +1804,6 @@ dist_patch_DATA = \
%D%/packages/patches/racket-zuo-bin-sh.patch \
%D%/packages/patches/remake-impure-dirs.patch \
%D%/packages/patches/restic-0.9.6-fix-tests-for-go1.15.patch \
- %D%/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch \
%D%/packages/patches/r-mixedpower-r2power.patch \
%D%/packages/patches/rnp-add-version.cmake.patch \
%D%/packages/patches/rnp-disable-ruby-rnp-tests.patch \
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index aa9e82c25c..a8159abe5f 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1420,7 +1420,7 @@ (define-public libretro-lowresnx
(define-public retroarch
(package
(name "retroarch")
- (version "1.9.11")
+ (version "1.15.0")
(source
(origin
(method git-fetch)
@@ -1429,9 +1429,7 @@ (define-public retroarch
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hd77kw1f655s40qcz1righdhd9czqyy40rf7gigdag1bkchdx6z"))
- (patches
- (search-patches "retroarch-LIBRETRO_DIRECTORY.patch"))))
+ (base32 "1dsrc39dxsvvargjxda0zswyx3fgwhrq0sxfy66a2anzkpg934wh"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
@@ -1449,13 +1447,6 @@ (define-public retroarch
(substitute* "gfx/common/wayland/generate_wayland_protos.sh"
(("/usr/local/share/wayland-protocols")
(string-append wayland-protocols "/share/wayland-protocols")))
- (substitute* "qb/qb.libs.sh"
- (("/bin/true") (which "true")))
-
- ;; Use shared zlib.
- (substitute* '("libretro-common/file/archive_file_zlib.c"
- "libretro-common/streams/trans_stream_zlib.c")
- (("<compat/zlib.h>") "<zlib.h>"))
;; The configure script does not yet accept the extra arguments
;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
@@ -1469,7 +1460,7 @@ (define-public retroarch
;; Non-free software are available through the core updater,
;; disable it. See <https://issues.guix.gnu.org/38360>.
"--disable-update_cores"
- "--disable-builtinminiupnpc")))))))
+ "--disable-builtinzlib")))))))
(inputs
`(("alsa-lib" ,alsa-lib)
("ffmpeg" ,ffmpeg-4)
@@ -1480,7 +1471,6 @@ (define-public retroarch
("libxrandr" ,libxrandr)
("libxv" ,libxv)
("mesa" ,mesa)
- ("miniupnpc" ,miniupnpc)
("openal" ,openal)
("pulseaudio" ,pulseaudio)
("python" ,python)
diff --git a/gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch b/gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch
deleted file mode 100644
index ffa75918b8..0000000000
--- a/gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 4c02c080475c9d08dbed98dd64ecca337aa359ae Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong <at> member.fsf.org>
-Date: Sat, 20 Feb 2021 20:37:39 +0800
-Subject: [PATCH] Allow set libretro_directory via environment variable
-
----
- retroarch.c | 13 ++++++++++++-
- 1 file changed, 12 insertions(+), 1 deletion(-)
-
-diff --git a/retroarch.c b/retroarch.c
-index 8a0461c816..cbf11d8b6a 100644
---- a/retroarch.c
-+++ b/retroarch.c
-@@ -17603,7 +17603,18 @@ static bool retroarch_parse_input_and_config(
- p_rarch->configuration_settings->bools.log_to_file,
- p_rarch->configuration_settings->bools.log_to_file_timestamp,
- p_rarch->configuration_settings->paths.log_dir);
--
-+
-+ /* Override settings via environment variables */
-+ {
-+ settings_t *settings = p_rarch->configuration_settings;
-+ char *value = getenv("LIBRETRO_DIRECTORY");
-+ if (value != NULL)
-+ {
-+ retroarch_override_setting_set(RARCH_OVERRIDE_SETTING_LIBRETRO_DIRECTORY, NULL);
-+ configuration_set_string(settings, settings->paths.directory_libretro, value);
-+ }
-+ }
-+
- /* Second pass: All other arguments override the config file */
- optind = 1;
-
---
-2.33.0
-
--
2.39.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62120
; Package
guix-patches
.
(Thu, 16 Mar 2023 17:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
iyzsong--- via Guix-patches via <guix-patches <at> gnu.org> writes:
> From: 宋文武 <iyzsong <at> member.fsf.org>
>
> * gnu/packages/emulators.scm (retroarch): Update to 1.15.0.
> [source]: Remove upstreamed patch.
> [arguments]<#:phases>: Remove not needed changes for 'true' and 'zlib'.
> Remove "--disable-builtinminiupnpc" from configure flags.
> Add "--disable-builtinzlib" to configure flags.
> [inputs]: Remove miniupnpc, which is not used any more.
> * gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY: Remove file.
> * gnu/local.mk (dist_patch_DATA): Remove it.
> ---
> gnu/local.mk | 1 -
> gnu/packages/emulators.scm | 16 ++-------
> .../retroarch-LIBRETRO_DIRECTORY.patch | 36 -------------------
> 3 files changed, 3 insertions(+), 50 deletions(-)
> delete mode 100644 gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch
Sounds good to me, please push!
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62120
; Package
guix-patches
.
(Thu, 16 Mar 2023 17:56:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
宋文武 <iyzsong <at> envs.net>
:
You have taken responsibility.
(Fri, 17 Mar 2023 10:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
iyzsong <at> envs.net
:
bug acknowledged by developer.
(Fri, 17 Mar 2023 10:21:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 62120-done <at> debbugs.gnu.org (full text, mbox):
Christopher Baines <mail <at> cbaines.net> writes:
> Sounds good to me, please push!
Pushed, thank you for review!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 14 Apr 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.