[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: xaos: Update to 4.3.2.
From: |
guix-commits |
Subject: |
09/09: gnu: xaos: Update to 4.3.2. |
Date: |
Wed, 10 Jul 2024 10:13:30 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ab54f8c5144db9d9cea3f19979ac5b7040349e4d
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Fri Jul 5 21:56:27 2024 +0300
gnu: xaos: Update to 4.3.2.
* 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
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 983266b5dd..391c11891e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7067,7 +7067,7 @@ evaluates expressions using the standard order of
operations.")
(define-public xaos
(package
(name "xaos")
- (version "4.2.1")
+ (version "4.3.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -7076,53 +7076,53 @@ evaluates expressions using the standard order of
operations.")
(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,
- branch master updated (71694363f6 -> ab54f8c514), guix-commits, 2024/07/10
- 02/09: gnu: llama-cpp: Update commit and configure flags for shared library build., guix-commits, 2024/07/10
- 03/09: gnu: guile-ncurses: Fix configure flags for Unicode support., guix-commits, 2024/07/10
- 04/09: gnu: gnucash: Update to 5.8., guix-commits, 2024/07/10
- 05/09: pack: Create /tmp in Apptainer images., guix-commits, 2024/07/10
- 09/09: gnu: xaos: Update to 4.3.2.,
guix-commits <=
- 06/09: gnu: Add emacs-casual-avy., guix-commits, 2024/07/10
- 01/09: gnu: cuirass: Update to 0eaf7b6., guix-commits, 2024/07/10
- 08/09: services: web: Return success from nginx-action., guix-commits, 2024/07/10
- 07/09: services: web: Pass run-directory to nginx's actions., guix-commits, 2024/07/10