GNU bug report logs - #50513
[PATCH] gnu: nestopia-ue: Update to 1.51.1.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Fri, 10 Sep 2021 21:04:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> outlook.com>

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 50513 in the body.
You can then email your comments to 50513 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50513; Package guix-patches. (Fri, 10 Sep 2021 21:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Gruber <felgru <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 10 Sep 2021 21:04:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Gruber <felgru <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH] gnu: nestopia-ue: Update to 1.51.1.
Date: Fri, 10 Sep 2021 21:02:35 +0000
* gnu/packages/emulators.scm (nestopia-ue): Update to 1.51.1.
[source]: libretro is not included in nestopia-ue anymore.
[build-system]: Change to gnu-build-system.
[native-inputs]: Add autoconf, autoconf-archive and automake.
[inputs]: Remove ao and gtk+, add fltk, fontconfig, libxft and
libxrender.
[arguments]: Remove 'wrap-program phase which was needed for the removed
gtk+ dependency.
---
 gnu/packages/emulators.scm | 37 +++++++++++++------------------------
 1 file changed, 13 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 28ecb0c563..3393506c0e 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -59,6 +59,7 @@
   #:use-module (gnu packages digest)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages fltk)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
@@ -1369,7 +1370,7 @@ towards a working Mupen64Plus for casual users.")
 (define-public nestopia-ue
   (package
     (name "nestopia-ue")
-    (version "1.48")
+    (version "1.51.1")
     (source
      (origin
        (method git-fetch)
@@ -1378,36 +1379,24 @@ towards a working Mupen64Plus for casual users.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "19c8vx5yxbysl0sszk5blfngwacshdgwbf44g1qaxvq8ywiyxmb4"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; We don't need libretro for the GNU/Linux build.
-           (delete-file-recursively "libretro")
-           #t))))
-    (build-system cmake-build-system)
+        (base32 "1g19gz33jav00rwzkpcnynf5ps41vl64a9qx0xjd6lva4bgn8s57"))))
+    (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("autoconf" ,autoconf)
+       ("autoconf-archive" ,autoconf-archive)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
     (inputs
-     `(("ao" ,ao)
-       ("gtk+" ,gtk+)
+     `(("fltk" ,fltk)
+       ("fontconfig", fontconfig)
        ("libarchive" ,libarchive)
        ("libepoxy" ,libepoxy)
+       ("libxft" ,libxft)
+       ("libxrender" ,libxrender)
        ("sdl2" ,sdl2)
        ("zlib" ,zlib)))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         ;; This fixes the file chooser crash that happens with GTK 3.
-         (add-after 'install 'wrap-program
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (nestopia (string-append out "/bin/nestopia"))
-                    (gtk (assoc-ref inputs "gtk+"))
-                    (gtk-share (string-append gtk "/share")))
-               (wrap-program nestopia
-                 `("XDG_DATA_DIRS" ":" prefix (,gtk-share)))))))
-       ;; There are no tests.
+     '(;; There are no tests.
        #:tests? #f))
     (home-page "http://0ldsk00l.ca/nestopia/")
     (synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#50513; Package guix-patches. (Mon, 13 Sep 2021 12:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 50513 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Felix Gruber <felgru <at> posteo.net>, 50513 <at> debbugs.gnu.org
Subject: Re: [bug#50513] [PATCH] gnu: nestopia-ue: Update to 1.51.1.
Date: Mon, 13 Sep 2021 14:42:41 +0200
[Message part 1 (text/plain, inline)]
Felix Gruber schreef op vr 10-09-2021 om 21:02 [+0000]:
>      (arguments
> -     '(#:phases
> -       (modify-phases %standard-phases
> -         ;; This fixes the file chooser crash that happens with GTK 3.
> -         (add-after 'install 'wrap-program
> -           (lambda* (#:key inputs outputs #:allow-other-keys)
> -             (let* ((out (assoc-ref outputs "out"))
> -                    (nestopia (string-append out "/bin/nestopia"))
> -                    (gtk (assoc-ref inputs "gtk+"))
> -                    (gtk-share (string-append gtk "/share")))
> -               (wrap-program nestopia
> -                 `("XDG_DATA_DIRS" ":" prefix (,gtk-share)))))))

Does nestopia-eu start with
"guix environment --ad-hoc nestopia-eu --pure -- nestopia"
when removing 'wrap-program'?  If not, the wrap-program is probably
still necessary.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#50513; Package guix-patches. (Mon, 13 Sep 2021 16:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 50513 <at> debbugs.gnu.org (full text, mbox):

From: Felix Gruber <felgru <at> posteo.net>
To: Maxime Devos <maximedevos <at> telenet.be>, 50513 <at> debbugs.gnu.org
Subject: Re: [bug#50513] [PATCH] gnu: nestopia-ue: Update to 1.51.1.
Date: Mon, 13 Sep 2021 16:51:40 +0000
On 9/13/21 2:42 PM, Maxime Devos wrote:
> Does nestopia-eu start with
> "guix environment --ad-hoc nestopia-eu --pure -- nestopia"
> when removing 'wrap-program'?  If not, the wrap-program is probably
> still necessary.

I confirm that nestopia does run with

guix environment --ad-hoc nestopia-ue --pure -- nestopia

It seems to function normally when started that way.

Best,
Felix




Reply sent to 宋文武 <iyzsong <at> outlook.com>:
You have taken responsibility. (Sun, 19 Sep 2021 13:03:02 GMT) Full text and rfc822 format available.

Notification sent to Felix Gruber <felgru <at> posteo.net>:
bug acknowledged by developer. (Sun, 19 Sep 2021 13:03:02 GMT) Full text and rfc822 format available.

Message #16 received at 50513-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> outlook.com>
To: Felix Gruber <felgru <at> posteo.net>
Cc: 50513-done <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#50513: [PATCH] gnu: nestopia-ue: Update to 1.51.1.
Date: Sun, 19 Sep 2021 21:03:34 +0800
Pushed, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Oct 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 240 days ago.

Previous Next


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