GNU bug report logs - #71954
[PATCH] gnu: xaos: Update to 4.3.2.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Fri, 5 Jul 2024 18:57:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 71954 in the body.
You can then email your comments to 71954 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 andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#71954; Package guix-patches. (Fri, 05 Jul 2024 18:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org. (Fri, 05 Jul 2024 18:57:02 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH] gnu: xaos: Update to 4.3.2.
Date: Fri,  5 Jul 2024 21:56:27 +0300
* gnu/packages/maths.scm (xaos): Update to 4.3.2.
[native-inputs]: Remove qtbase-5 and qttools-5; add qtbase and qttools.
[arguments]: Use gexps.  Fix "PREFIX" variable in "XaoS.pro" during
"configure" phase.

Change-Id: Ifae9890309368ee4131b531c9ea7b155a3cf693c
---
 gnu/packages/maths.scm | 84 +++++++++++++++++++++---------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d39292e825..d00e12a084 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7066,7 +7066,7 @@ (define-public wcalc
 (define-public xaos
   (package
     (name "xaos")
-    (version "4.2.1")
+    (version "4.3.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7075,53 +7075,53 @@ (define-public xaos
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0maw5am6rrkyjrprfg113zjq37mqj0iaznkg4h2927ff7wrprc94"))))
+                "0a5n3g1xcsd8k65q5skm4xsdllr3mmkahh4vi59db1l0jv81v06q"))))
     (build-system gnu-build-system)
     (native-inputs `(("gettext" ,gettext-minimal)
-                     ("qtbase" ,qtbase-5)
-                     ("qttools-5" ,qttools-5)))
+                     ("qtbase" ,qtbase)
+                     ("qttools" ,qttools)))
     (inputs (list libx11 zlib libpng gsl))
     ;; The upstream project file ("XaoS.pro") and the Makefile it generates are
     ;; not enough for this package to install properly.  These phases fix that.
     (arguments
-     `(#:tests? #f ;no "check" target
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'make-qt-deterministic
-           (lambda _
-             ;; Make Qt deterministic.
-             (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
-             #t))
-         (replace 'configure
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (substitute* "XaoS.pro"
-                 ;; The DESTDIR is originally set to install the xaos binary to
-                 ;; the "bin" folder inside the build directory.  Setting make
-                 ;; flags doesn't seem to change this.
-                 (("DESTDIR.*$")
-                  (string-append "DESTDIR=" out "/bin"))
-                 ;; Set the correct path to the lrelease binary.
-                 (("lrelease-qt5") "lrelease"))
-               (substitute* "src/include/config.h"
-                 (("/usr/share/XaoS")
-                  (string-append out "/share/XaoS")))
-               (invoke "qmake"))))
-         (add-after 'install 'install-data
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (share (string-append out "/share")))
-               (mkdir-p share)
-               (for-each
-                (lambda (folder)
-                  (copy-recursively folder
-                                    (string-append share "/XaoS/" folder)))
-                '("catalogs" "examples" "tutorial"))
-               (install-file "xdg/xaos.png"
-                             (string-append share "/pixmaps"))
-               (install-file "xdg/xaos.desktop"
-                             (string-append share "/applications")))
-             #t)))))
+     (list #:tests? #f ;no "check" target
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'configure 'make-qt-deterministic
+                 (lambda _
+                   ;; Make Qt deterministic.
+                   (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")))
+               (replace 'configure
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (let ((out (assoc-ref outputs "out")))
+                     (substitute* "XaoS.pro"
+                       ;; The DESTDIR is originally set to install the xaos binary to
+                       ;; the "bin" folder inside the build directory.  Setting make
+                       ;; flags doesn't seem to change this.
+                       (("DESTDIR.*$")
+                        (string-append "DESTDIR=" out "/bin"))
+                       (("/usr/local")
+                        out)
+                       ;; Set the correct path to the lrelease binary.
+                       (("lrelease-qt6") "lrelease"))
+                     (substitute* "src/include/config.h"
+                       (("/usr/share/XaoS")
+                        (string-append out "/share/XaoS")))
+                     (invoke "qmake"))))
+               (add-after 'install 'install-data
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (let* ((out (assoc-ref outputs "out"))
+                          (share (string-append out "/share")))
+                     (mkdir-p share)
+                     (for-each
+                      (lambda (folder)
+                        (copy-recursively folder
+                                          (string-append share "/XaoS/" folder)))
+                      '("catalogs" "examples" "tutorial"))
+                     (install-file "xdg/xaos.png"
+                                   (string-append share "/pixmaps"))
+                     (install-file "xdg/io.github.xaos_project.XaoS.desktop"
+                                   (string-append share "/applications"))))))))
     (synopsis "Real-time fractal zoomer")
     (description "GNU XaoS is a graphical program that generates fractal
 patterns and allows you to zoom in and out of them infinitely in a fluid,

base-commit: 922e943059050f05532ac8274e55e25ebe711cf5
-- 
2.45.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 10 Jul 2024 14:14:01 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Wed, 10 Jul 2024 14:14:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: Andreas Enge <andreas <at> enge.fr>, Eric Bavier <bavier <at> posteo.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>, 71954-done <at> debbugs.gnu.org
Subject: Re: [bug#71954] [PATCH] gnu: xaos: Update to 4.3.2.
Date: Wed, 10 Jul 2024 16:11:21 +0200
"Artyom V. Poptsov" <poptsov.artyom <at> gmail.com> skribis:

> * gnu/packages/maths.scm (xaos): Update to 4.3.2.
> [native-inputs]: Remove qtbase-5 and qttools-5; add qtbase and qttools.
> [arguments]: Use gexps.  Fix "PREFIX" variable in "XaoS.pro" during
> "configure" phase.
>
> Change-Id: Ifae9890309368ee4131b531c9ea7b155a3cf693c

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Aug 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 88 days ago.

Previous Next


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