gnu: Restore gnu-build-system phases.

* gnu/packages/bioinformatics.scm (bandage),
* gnu/packages/education.scm (openboard),
* gnu/packages/emulators.scm (qtmips),
* gnu/packages/games.scm (chessx),
* gnu/packages/kde-systemtools.scm (spectacle-ocr-screenshot),
* gnu/packages/qt.scm (pyotherside, qtwidgetanimationframework)
<#:phases>: Restore build phase.

* gnu/packages/admin.scm (wpa-supplicant-gui),
* gnu/packages/finance.scm (kitsas)
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build phase.

* gnu/packages/engineering.scm (librecad)
[arguments]<#:test-target>: Delete.
<#:phases>: Restore build and check phases.

* gnu/packages/music.scm (samplebrain)
<#:phases>: Restore build, check, and install phases.

* gnu/packages/password-utils.scm (qtpass)
[arguments]<#:test-target>: Delete.
<#:phases>: Restore build, check, and install phases.

* gnu/packages/ebook.scm (inkbox),
* gnu/packages/engineering.scm (qelectrotech),
* gnu/packages/games.scm (doom-runner, moonlight-qt, pokerth,
qcheckers),
* gnu/packages/gps.scm (gpxsee),
* gnu/packages/hardware.scm (openrgb),
* gnu/packages/image-viewers.scm (qview),
* gnu/packages/pdf.scm (qpdfview),
* gnu/packages/qt.scm (signond),
* gnu/packages/radio.scm (dream)
<#:phases>: Restore build and install phases.

* gnu/packages/disk.scm (qdirstat),
* gnu/packages/pdf.scm (sioyek),
* gnu/packages/qt.scm (signon-plugin-oauth2),
* gnu/packages/radio.scm (qsstv, wfview),
* gnu/packages/security-token.scm (yubikey-manager-qt),
* gnu/packages/tex.scm (texmaker),
* gnu/packages/video.scm (smplayer)
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build and install phases.

* gnu/packages/task-management.scm (timewarrior)
<#:phases>: Restore check phase.

* gnu/packages/audio.scm (supercollider)
<#:phases>: Restore install phase.

* gnu/packages/web.scm (libzim): Update to 9.3.0.
(kiwix-lib): Update to 14.0.0.
(kiwix-desktop): Update to 2.4.1.
[source](patches): Delete.
[arguments]<#:test-target>: Delete.
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build and install phases.
(kiwix-tools): Update to 3.7.0.

* gnu/packages/patches/kiwix-desktop-newer-libkiwix.patch: Delete.
* gnu/local.mk: Update accordingly.

Change-Id: Ia5162ec190fc21334bbc516dcc01056d599f2891
This commit is contained in:
Greg Hogan 2025-05-07 19:32:39 +00:00
parent 27e0cb7eda
commit f4ce754028
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3
26 changed files with 322 additions and 195 deletions

View file

@ -1716,7 +1716,6 @@ dist_patch_DATA = \
%D%/packages/patches/kio-search-smbd-on-PATH.patch \ %D%/packages/patches/kio-search-smbd-on-PATH.patch \
%D%/packages/patches/kismet-unbundle-boost.patch \ %D%/packages/patches/kismet-unbundle-boost.patch \
%D%/packages/patches/kitty-fix-wayland-protocols.patch \ %D%/packages/patches/kitty-fix-wayland-protocols.patch \
%D%/packages/patches/kiwix-desktop-newer-libkiwix.patch \
%D%/packages/patches/kmod-module-directory.patch \ %D%/packages/patches/kmod-module-directory.patch \
%D%/packages/patches/kmscon-runtime-keymap-switch.patch \ %D%/packages/patches/kmscon-runtime-keymap-switch.patch \
%D%/packages/patches/knot-remove-runtime-deps.patch \ %D%/packages/patches/knot-remove-runtime-deps.patch \

View file

@ -2689,16 +2689,20 @@ command.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:tests? #f ; no tests
;; Make sure the (rarely updated) package 'imagemagick/stable' ;; Make sure the (rarely updated) package 'imagemagick/stable'
;; does not end up in the closure. ;; does not end up in the closure.
#:disallowed-references (list imagemagick/stable) #:disallowed-references (list imagemagick/stable)
#:test-target "check" #:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'chdir (add-after 'unpack 'chdir
(lambda _ (chdir "wpa_supplicant/wpa_gui-qt4"))) (lambda _ (chdir "wpa_supplicant/wpa_gui-qt4")))
(replace 'configure (replace 'configure
(lambda _ (invoke "qmake" "wpa_gui.pro"))) (lambda _ (invoke "qmake" "wpa_gui.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(add-after 'build 'build-icons (add-after 'build 'build-icons
(lambda _ (lambda _
;; Inkscape complains (but works) without a writable $HOME. ;; Inkscape complains (but works) without a writable $HOME.

View file

@ -4221,6 +4221,9 @@ link REQUIRED)"))))))
"-DFORTIFY=ON" "-DFORTIFY=ON"
"-DLIBSCSYNTH=ON" "-DLIBSCSYNTH=ON"
"-DSC_EL=OFF") ;scel is packaged individually as emacs-scel "-DSC_EL=OFF") ;scel is packaged individually as emacs-scel
#:modules '((guix build cmake-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; HOME must be defined otherwise supercollider throws a "ERROR: ;; HOME must be defined otherwise supercollider throws a "ERROR:
@ -4248,6 +4251,7 @@ link REQUIRED)"))))))
(lambda _ (lambda _
(system "Xvfb &") (system "Xvfb &")
(setenv "DISPLAY" ":0"))) (setenv "DISPLAY" ":0")))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-before 'install 'install-ide (add-before 'install 'install-ide
(lambda _ (lambda _
(let* ((ide #$output:ide) (let* ((ide #$output:ide)

View file

@ -18821,6 +18821,9 @@ Thus the per-base error rate is similar to the raw input reads.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
;; TODO: Once <https://issues.guix.gnu.org/47475> is fixed, ;; TODO: Once <https://issues.guix.gnu.org/47475> is fixed,
;; consider uncommenting the following: ;; consider uncommenting the following:
;; ;;
@ -18841,6 +18844,7 @@ Thus the per-base error rate is similar to the raw input reads.")
(with-directory-excursion "tests" (with-directory-excursion "tests"
(setenv "XDG_RUNTIME_DIR" (getcwd)) (setenv "XDG_RUNTIME_DIR" (getcwd))
(invoke "./bandage_command_line_tests.sh"))))) (invoke "./bandage_command_line_tests.sh")))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (replace 'install
(lambda _ (lambda _
(install-file "Bandage" (string-append #$output "/bin"))))))) (install-file "Bandage" (string-append #$output "/bin")))))))

View file

@ -1809,11 +1809,17 @@ wrapper for disk usage querying and visualisation.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:tests? #f
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(system* "qmake" (string-append "INSTALL_PREFIX=" #$output)))) (system* "qmake" (string-append "INSTALL_PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'wrap (add-after 'install 'wrap
(lambda _ (lambda _
(wrap-program (string-append #$output (wrap-program (string-append #$output

View file

@ -405,6 +405,9 @@ accessing and converting various ebook file formats.")
#:tests? #f ; no test suite #:tests? #f ; no test suite
#:make-flags #:make-flags
#~(list (string-append "PREFIX=" #$output)) #~(list (string-append "PREFIX=" #$output))
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'prefix-opt (add-after 'unpack 'prefix-opt
@ -414,7 +417,9 @@ accessing and converting various ebook file formats.")
#$output)))) #$output))))
(replace 'configure (replace 'configure
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke (cons "qmake" make-flags))))))) (apply invoke (cons "qmake" make-flags))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (native-inputs
(list qtbase-5)) (list qtbase-5))
(synopsis "EBook reader") (synopsis "EBook reader")

View file

@ -514,6 +514,9 @@ specialized device.")
(arguments (arguments
(list (list
#:tests? #f ;no tests #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'set-initial-values (add-after 'unpack 'set-initial-values
@ -542,6 +545,7 @@ specialized device.")
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake" "OpenBoard.pro"))) (invoke "qmake" "OpenBoard.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (replace 'install
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let* ((share (string-append #$output "/share")) (let* ((share (string-append #$output "/share"))

View file

@ -873,13 +873,18 @@ emulate a serial nullmodem over TCP/IP.")
"1fal7a8y5g0rqqjrk795jh1l50ihz01ppjnrfjrk9vkjbd59szbp")))) "1fal7a8y5g0rqqjrk795jh1l50ihz01ppjnrfjrk9vkjbd59szbp"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" (assoc-ref outputs "out")) (string-append "PREFIX=" (assoc-ref outputs "out"))
"qtmips.pro"))) "qtmips.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(substitute* "tests/test.sh" (substitute* "tests/test.sh"

View file

@ -311,13 +311,17 @@ their devices.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:test-target "check" #:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(system* "qmake" (string-append "BOOST_DIR=" (system* "qmake" (string-append "BOOST_DIR="
#$(this-package-input "boost"))))) #$(this-package-input "boost")))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'check (assoc-ref gnu:%standard-phases 'check))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append #$output "/bin")) (let ((bin (string-append #$output "/bin"))
@ -906,6 +910,9 @@ required for Fritzing app.")
;; XXX: tests are built for the CMake build option but it seems to be ;; XXX: tests are built for the CMake build option but it seems to be
;; broken in 0.8.0. ;; broken in 0.8.0.
(list #:tests? #f (list #:tests? #f
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -913,7 +920,9 @@ required for Fritzing app.")
;; Patch hardcoded path before running qmake. ;; Patch hardcoded path before running qmake.
(substitute* "qelectrotech.pro" (substitute* "qelectrotech.pro"
(("\\/usr\\/local") #$output)) (("\\/usr\\/local") #$output))
(invoke "qmake")))))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (native-inputs
(list pkg-config qttools-5)) (list pkg-config qttools-5))
(inputs (inputs

View file

@ -1359,8 +1359,10 @@ agent.")
(inputs (list libzip qtsvg qtwebengine qt5compat)) (inputs (list libzip qtsvg qtwebengine qt5compat))
(arguments (arguments
(list #:tests? #f ; tests do not even build with Qt6 anymore (list #:tests? #f ; tests do not even build with Qt6 anymore
#:test-target "check"
#:qtbase qtbase ; use Qt6 #:qtbase qtbase ; use Qt6
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -1372,6 +1374,7 @@ agent.")
(substitute* "kitsasproject.pro" (substitute* "kitsasproject.pro"
((" *(unittest|testit).*") "") ((" *(unittest|testit).*") "")
(("\\\\") "")))) (("\\\\") ""))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (replace 'install
(lambda* _ (lambda* _
(install-file "kitsas/kitsas" (install-file "kitsas/kitsas"

View file

@ -1554,6 +1554,9 @@ practise.")
(arguments (arguments
(list (list
#:tests? #f ;no tests #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -1563,6 +1566,8 @@ practise.")
#$output)) #$output))
(invoke "qmake" "DoomRunner.pro" "-spec" "linux-g++" (invoke "qmake" "DoomRunner.pro" "-spec" "linux-g++"
"\"CONFIG+=release\""))) "\"CONFIG+=release\"")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'install-xdg (add-after 'install 'install-xdg
(lambda _ (lambda _
(with-directory-excursion "Install/XDG" (with-directory-excursion "Install/XDG"
@ -7183,6 +7188,9 @@ colors, pictures, and sounds.")
(arguments (arguments
(list (list
#:tests? #f ;no test suite #:tests? #f ;no test suite
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -7198,7 +7206,9 @@ colors, pictures, and sounds.")
((" h264bitstream.*\n") "") ((" h264bitstream.*\n") "")
((" app \\\\") " app") ((" app \\\\") " app")
(("app.depends") "INCLUDEPATH +=")) (("app.depends") "INCLUDEPATH +="))
(invoke "qmake" (string-append "PREFIX=" #$output))))))) (invoke "qmake" (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (list pkg-config qttools-5)) (native-inputs (list pkg-config qttools-5))
(inputs (list ffmpeg (inputs (list ffmpeg
h264bitstream h264bitstream
@ -11831,12 +11841,17 @@ can be downloaded from @url{https://zero.sjeng.org/best-network}.")
(arguments (arguments
(list (list
#:tests? #f #:tests? #f
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" #$output))))))) (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (list qtbase-5 qtsvg-5)) (inputs (list qtbase-5 qtsvg-5))
(home-page "https://portnov.github.io/qcheckers/") (home-page "https://portnov.github.io/qcheckers/")
(synopsis "Qt-based checkers boardgame") (synopsis "Qt-based checkers boardgame")
@ -12023,9 +12038,13 @@ and chess engines.")
(inputs (inputs
(list qtbase-5 qtmultimedia-5 qtspeech-5 qtsvg-5 zlib)) (list qtbase-5 qtmultimedia-5 qtspeech-5 qtsvg-5 zlib))
(arguments (arguments
`(#:tests? #f (list
#:tests? #f
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "chessx.pro" (substitute* "chessx.pro"
@ -12033,25 +12052,22 @@ and chess engines.")
(search-input-file inputs "/bin/lrelease"))))) (search-input-file inputs "/bin/lrelease")))))
(add-after 'fix-paths 'make-qt-deterministic (add-after 'fix-paths 'make-qt-deterministic
(lambda _ (lambda _
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")))
#t))
(add-after 'make-qt-deterministic 'disable-versioncheck (add-after 'make-qt-deterministic 'disable-versioncheck
(lambda _ (lambda _
(substitute* "src/database/settings.cpp" (substitute* "src/database/settings.cpp"
(("\"/General/onlineVersionCheck\", true") (("\"/General/onlineVersionCheck\", true")
"\"/General/onlineVersionCheck\", false")) "\"/General/onlineVersionCheck\", false"))))
#t))
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake") (invoke "qmake")))
#t)) (replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(install-file "release/chessx" (string-append out "/bin")) (install-file "release/chessx" (string-append out "/bin"))
(install-file "unix/chessx.desktop" (install-file "unix/chessx.desktop"
(string-append out "/share/applications"))) (string-append out "/share/applications"))))))))
#t)))))
(synopsis "Chess game database") (synopsis "Chess game database")
(description (description
"ChessX is a chess database. With ChessX you can operate on your "ChessX is a chess database. With ChessX you can operate on your
@ -12425,6 +12441,9 @@ game.") ;thanks to Debian for description
(arguments (arguments
(list (list
#:tests? #f ; No test suite #:tests? #f ; No test suite
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
@ -12447,7 +12466,9 @@ game.") ;thanks to Debian for description
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake" "pokerth.pro" "CONFIG+=client" (invoke "qmake" "pokerth.pro" "CONFIG+=client"
(string-append "PREFIX=" #$output))))))) (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(home-page "https://www.pokerth.net") (home-page "https://www.pokerth.net")
(synopsis "Texas holdem poker game") (synopsis "Texas holdem poker game")
(description (description

View file

@ -220,6 +220,9 @@ coordinates as well as partial support for adjustments in global coordinate syst
(list (list
#:qtbase qtbase #:qtbase qtbase
#:tests? #f ; no tests #:tests? #f ; no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
;; Use lrelease to convert TS translation files into QM files. ;; Use lrelease to convert TS translation files into QM files.
@ -227,7 +230,9 @@ coordinates as well as partial support for adjustments in global coordinate syst
(apply invoke "lrelease" (apply invoke "lrelease"
(find-files "lang" "\\.ts")) (find-files "lang" "\\.ts"))
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" #$output))))))) (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (list libxkbcommon qtbase qtpositioning qtserialport qtsvg)) (inputs (list libxkbcommon qtbase qtpositioning qtserialport qtsvg))
(native-inputs (list qttools)) (native-inputs (list qttools))
(home-page "https://www.gpxsee.org") (home-page "https://www.gpxsee.org")

View file

@ -1149,6 +1149,9 @@ technology, such as head mounted displays with built in head tracking.")
#:tests? #f ; doesn't have tests #:tests? #f ; doesn't have tests
#:make-flags #:make-flags
#~(list (string-append "INSTALL_ROOT=" #$output )) #~(list (string-append "INSTALL_ROOT=" #$output ))
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'unbundle (add-after 'unpack 'unbundle
@ -1167,7 +1170,9 @@ technology, such as head mounted displays with built in head tracking.")
"/bin/chmod"))))) "/bin/chmod")))))
;; Call qmake instead of configure to create a Makefile. ;; Call qmake instead of configure to create a Makefile.
(replace 'configure (replace 'configure
(lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro")))))) (lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (inputs
(list coreutils (list coreutils
hidapi hidapi

View file

@ -822,6 +822,9 @@ Poppler-Qt5 binding, PDF documents.")
(list (list
#:qtbase qtbase #:qtbase qtbase
#:tests? #f ; test code doesn't compile #:tests? #f ; test code doesn't compile
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -836,7 +839,9 @@ Poppler-Qt5 binding, PDF documents.")
(lambda _ (lambda _
(substitute* "src/qvaboutdialog.cpp" (substitute* "src/qvaboutdialog.cpp"
(("qvApp->checkUpdates\\(\\);") "") (("qvApp->checkUpdates\\(\\);") "")
(("updateText\\(\\);") ""))))))) (("updateText\\(\\);") ""))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (native-inputs
(list qttools)) (list qttools))
(inputs (inputs

View file

@ -402,11 +402,15 @@ This package is part of the KDE administration module.")
(arguments (arguments
(list #:qtbase qtbase (list #:qtbase qtbase
#:tests? #f ;no tests #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake" (string-append "PREFIX=" #$output)))) (invoke "qmake" (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (replace 'install
(lambda _ (lambda _
(install-file "spectacle-ocr-screenshot" (install-file "spectacle-ocr-screenshot"

View file

@ -8249,13 +8249,19 @@ Renoise, VCV Rack, or SuperCollider.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list #:tests? #f ;no tests (list #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(substitute* "samplebrain.pro" (substitute* "samplebrain.pro"
(("\\/usr") (("\\/usr")
#$output)) #$output))
(invoke "qmake")))))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'check (assoc-ref gnu:%standard-phases 'check))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (list fftw liblo libsndfile portaudio)) (inputs (list fftw liblo libsndfile portaudio))
(home-page "https://thentrythis.org/projects/samplebrain/") (home-page "https://thentrythis.org/projects/samplebrain/")
(synopsis "Sample mashing synthesizer designed by Aphex Twin") (synopsis "Sample mashing synthesizer designed by Aphex Twin")

View file

@ -1079,7 +1079,9 @@ key URIs using the standard otpauth:// scheme.")
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
#:test-target "check" #:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -1088,9 +1090,12 @@ key URIs using the standard otpauth:// scheme.")
"QMAKE_LRELEASE=lrelease" "QMAKE_LRELEASE=lrelease"
"QMAKE_LUPDATE=lupdate" "QMAKE_LUPDATE=lupdate"
(string-append "PREFIX=" #$output)))) (string-append "PREFIX=" #$output))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'check (assoc-ref gnu:%standard-phases 'check))
(add-before 'check 'pre-check (add-before 'check 'pre-check
;; Fontconfig needs a writable cache. ;; Fontconfig needs a writable cache.
(lambda _ (setenv "HOME" "/tmp"))) (lambda _ (setenv "HOME" "/tmp")))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'install-auxilliary (add-after 'install 'install-auxilliary
;; Install man-page, icon and .desktop file. ;; Install man-page, icon and .desktop file.
(lambda _ (lambda _

View file

@ -1,40 +0,0 @@
Description: Fix building kiwix-desktop with libkiwix-12.1.0
Bug: https://github.com/kiwix/kiwix-desktop/issues/964
Origin: https://github.com/kiwix/kiwix-desktop/commit/1b322d8f01c787846546a6473f153cf1daa41e65
Applied-Upstream: https://github.com/kiwix/kiwix-desktop/commit/1b322d8f01c787846546a6473f153cf1daa41e65
---
From 1b322d8f01c787846546a6473f153cf1daa41e65 Mon Sep 17 00:00:00 2001
From: Matthieu Gautier <mgautier@kymeria.fr>
Date: Thu, 9 Feb 2023 09:47:47 +0100
Subject: [PATCH] With last version of libkiwix, Downloader now return
shared_ptr<Download>.
---
src/contentmanager.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/contentmanager.cpp b/src/contentmanager.cpp
index c2f4ff9..d4db50a 100644
--- a/src/contentmanager.cpp
+++ b/src/contentmanager.cpp
@@ -173,7 +173,7 @@ QStringList ContentManager::updateDownloadInfos(QString id, const QStringList &k
return values;
}
auto& b = mp_library->getBookById(id);
- kiwix::Download* d;
+ std::shared_ptr<kiwix::Download> d;
try {
d = mp_downloader->getDownload(b.getDownloadId());
} catch(...) {
@@ -270,7 +270,7 @@ QString ContentManager::downloadBook(const QString &id)
for (auto b : booksList)
if (b.toStdString() == book.getId())
return "";
- kiwix::Download *download;
+ std::shared_ptr<kiwix::Download> download;
try {
std::pair<std::string, std::string> downloadDir("dir", downloadPath.toStdString());
const std::vector<std::pair<std::string, std::string>> options = { downloadDir };
--
2.41.0

View file

@ -1066,13 +1066,18 @@ program capable of converting PDF into other formats.")
qtsvg-5)) qtsvg-5))
(arguments (arguments
(list #:tests? #f ; no tests (list #:tests? #f ; no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda _ (lambda _
(substitute* "qpdfview.pri" (substitute* "qpdfview.pri"
(("/usr") #$output)) (("/usr") #$output))
(invoke "qmake" "qpdfview.pro")))))) (invoke "qmake" "qpdfview.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(home-page "https://launchpad.net/qpdfview") (home-page "https://launchpad.net/qpdfview")
(synopsis "Tabbed document viewer") (synopsis "Tabbed document viewer")
(description "@command{qpdfview} is a document viewer for PDF, PS and DJVU (description "@command{qpdfview} is a document viewer for PDF, PS and DJVU
@ -1853,9 +1858,12 @@ Keywords: html2pdf, htmltopdf")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:tests? #f ; no tests
#:configure-flags #:configure-flags
#~(list (string-append "PREFIX=" #$output)) #~(list (string-append "PREFIX=" #$output))
#:test-target "check" #:modules '((guix build cmake-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths (add-after 'unpack 'patch-paths
@ -1868,7 +1876,9 @@ Keywords: html2pdf, htmltopdf")
(replace 'configure (replace 'configure
(lambda* (#:key configure-flags #:allow-other-keys) (lambda* (#:key configure-flags #:allow-other-keys)
(apply invoke "qmake" configure-flags))) (apply invoke "qmake" configure-flags)))
(add-after 'install 'instal-man-page (replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'install-man-page
(lambda _ (lambda _
(install-file "resources/sioyek.1" (install-file "resources/sioyek.1"
(string-append #$output "/share/man/man1"))))))) (string-append #$output "/share/man/man1")))))))

View file

@ -4132,6 +4132,9 @@ instances.")
(arguments (arguments
(list (list
#:qtbase qtbase #:qtbase qtbase
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-installation-prefix (add-after 'unpack 'fix-installation-prefix
@ -4146,6 +4149,7 @@ instances.")
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake"))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
@ -5241,6 +5245,9 @@ programming paradigm.")
(arguments (arguments
(list #:qtbase qtbase (list #:qtbase qtbase
#:tests? #f ;no tests #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; This project does not have any build rule but its demo has ;; This project does not have any build rule but its demo has
@ -5257,6 +5264,7 @@ programming paradigm.")
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake"))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
;; No install rule exists. ;; No install rule exists.
(replace 'install (replace 'install
(lambda _ (lambda _
@ -6119,6 +6127,9 @@ a secure way.")))
(inputs (list dbus glib libaccounts-glib)) (inputs (list dbus glib libaccounts-glib))
(arguments (arguments
(list #:tests? #f ; Figure out how to run tests (list #:tests? #f ; Figure out how to run tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -6141,7 +6152,9 @@ a secure way.")))
(string-append "PREFIX=" #$output) (string-append "PREFIX=" #$output)
(string-append "LIBDIR=" #$output "/lib") (string-append "LIBDIR=" #$output "/lib")
(string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath,"
#$output "/lib -Wl,-rpath,"))))))) #$output "/lib -Wl,-rpath,"))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(home-page "https://accounts-sso.gitlab.io/signond/index.html") (home-page "https://accounts-sso.gitlab.io/signond/index.html")
(synopsis "Perform user authentication over D-Bus") (synopsis "Perform user authentication over D-Bus")
(description "This package provides a D-Bus service which performs user (description "This package provides a D-Bus service which performs user
@ -6191,6 +6204,9 @@ authentication on behalf of its clients.")
(inputs (list signond)) (inputs (list signond))
(arguments (arguments
(list #:tests? #f ;no tests (list #:tests? #f ;no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
@ -6202,7 +6218,9 @@ authentication on behalf of its clients.")
(string-append "PREFIX=" #$output) (string-append "PREFIX=" #$output)
(string-append "LIBDIR=" #$output "/lib") (string-append "LIBDIR=" #$output "/lib")
(string-append "SIGNON_PLUGINS_DIR=" #$output (string-append "SIGNON_PLUGINS_DIR=" #$output
"/lib/signon"))))))) "/lib/signon"))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(synopsis "OAuth 2 plugin for signon") (synopsis "OAuth 2 plugin for signon")
(description (description
"This plugin for the Accounts-SSO SignOn daemon handles the OAuth "This plugin for the Accounts-SSO SignOn daemon handles the OAuth

View file

@ -2288,13 +2288,19 @@ NanoVNA vector network analyzers.")
qtbase-5 qtbase-5
v4l-utils)) v4l-utils))
(arguments (arguments
`(#:tests? #f ; No test suite. (list
#:tests? #f ; No test suite.
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" (assoc-ref outputs "out")))))))) (string-append "PREFIX=" (assoc-ref outputs "out")))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(home-page "http://users.telenet.be/on4qz/qsstv/") (home-page "http://users.telenet.be/on4qz/qsstv/")
(synopsis "Program for receiving and transmitting SSTV and HAMDRM") (synopsis "Program for receiving and transmitting SSTV and HAMDRM")
(description (description
@ -2650,9 +2656,13 @@ sinks and sources.")
speexdsp speexdsp
zlib)) zlib))
(arguments (arguments
`(#:tests? #f (list
#:tests? #f
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "dream.pro" (substitute* "dream.pro"
@ -2677,7 +2687,9 @@ sinks and sources.")
(search-input-file inputs "/include/neaacdec.h"))))) (search-input-file inputs "/include/neaacdec.h")))))
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake")))))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(home-page "https://sourceforge.net/projects/drm/") (home-page "https://sourceforge.net/projects/drm/")
(synopsis "Digital Radio Mondiale receiver") (synopsis "Digital Radio Mondiale receiver")
(description (description
@ -3166,6 +3178,9 @@ software-defined radio receivers.")
(arguments (arguments
(list (list
#:tests? #f ; No test suite. #:tests? #f ; No test suite.
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
@ -3190,7 +3205,9 @@ software-defined radio receivers.")
(chdir "build") (chdir "build")
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" #$output) (string-append "PREFIX=" #$output)
"../wfview.pro")))))) "../wfview.pro")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (inputs
(list eigen (list eigen
eudev eudev

View file

@ -888,6 +888,9 @@ an unprivileged user.")
(arguments (arguments
(list (list
#:tests? #f ;no test suite #:tests? #f ;no test suite
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths (add-after 'unpack 'patch-paths
@ -898,6 +901,8 @@ an unprivileged user.")
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "qmake"))) (invoke "qmake")))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'install-desktop-resources (add-after 'install 'install-desktop-resources
(lambda _ (lambda _
(let ((datadir (string-append #$output "/share"))) (let ((datadir (string-append #$output "/share")))

View file

@ -267,6 +267,9 @@ execution, and libreadline support.")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:modules '((guix build cmake-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-cmake-shell (add-after 'patch-source-shebangs 'patch-cmake-shell
@ -282,6 +285,10 @@ execution, and libreadline support.")
(substitute* "doc/man7/CMakeLists.txt" (substitute* "doc/man7/CMakeLists.txt"
(("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}") (("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}")
"${CMAKE_CURRENT_SOURCE_DIR}")))) "${CMAKE_CURRENT_SOURCE_DIR}"))))
(replace 'check
(lambda* (#:rest args)
(apply (assoc-ref gnu:%standard-phases 'check)
#:test-target "test" args)))
(add-after 'install 'install-completions (add-after 'install 'install-completions
(lambda _ (lambda _
(let ((bash-completion-install-dir (let ((bash-completion-install-dir

View file

@ -77468,9 +77468,13 @@ PDF documents.")
"1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx")))) "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
`(#:test-target "check" (list
#:tests? #f ; no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
;; Qt has its own configuration utility. ;; Qt has its own configuration utility.
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -77480,7 +77484,9 @@ PDF documents.")
(string-append "DESKTOPDIR=" out "/share/applications") (string-append "DESKTOPDIR=" out "/share/applications")
(string-append "ICONDIR=" out "/share/pixmaps") (string-append "ICONDIR=" out "/share/pixmaps")
(string-append "METAINFODIR=" out "/share/metainfo") (string-append "METAINFODIR=" out "/share/metainfo")
"texmaker.pro"))))))) "texmaker.pro"))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (inputs
(list poppler-qt5 qtbase-5 qtwayland-5 qtscript-5 zlib)) (list poppler-qt5 qtbase-5 qtwayland-5 qtscript-5 zlib))
(native-inputs (native-inputs

View file

@ -2833,9 +2833,14 @@ projects while introducing many more.")
(list #:tests? #false ; no tests (list #:tests? #false ; no tests
#:make-flags #~(list (string-append "PREFIX=" #$output) #:make-flags #~(list (string-append "PREFIX=" #$output)
(string-append "CC=" #+(cc-for-target))) (string-append "CC=" #+(cc-for-target)))
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install))
(add-after 'install 'wrap-executable (add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))

View file

@ -9602,7 +9602,7 @@ grepping the list.")
(define-public libzim (define-public libzim
(package (package
(name "libzim") (name "libzim")
(version "8.2.1") (version "9.3.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -9610,7 +9610,7 @@ grepping the list.")
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"1g735aqw0vlxqgyjv02lvq24dr5shydp4y8mqianf8720s5fs73f")) "1il1vc1hs954s3vnwhr337165dxbykvrldrvbilp5jxbkmwqb60d"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
@ -9636,7 +9636,7 @@ for ZIM files.")
(define-public kiwix-lib (define-public kiwix-lib
(package (package
(name "kiwix-lib") (name "kiwix-lib")
(version "13.0.0") (version "14.0.0")
(home-page "https://github.com/kiwix/kiwix-lib/") (home-page "https://github.com/kiwix/kiwix-lib/")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
@ -9645,7 +9645,7 @@ for ZIM files.")
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"0mvlppbj0mqn4ka3cfaaj1pvn062cxbgz01c0nq04x0mzq1xwh5w")) "099arjsx1wgz5jhvzn49859wh0v8n3ya33kmnqaw69h55mjvgza0"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
@ -9681,7 +9681,7 @@ It contains the code shared by all Kiwix ports.")
(define-public kiwix-desktop (define-public kiwix-desktop
(package (package
(name "kiwix-desktop") (name "kiwix-desktop")
(version "2.3.1") (version "2.4.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -9690,18 +9690,23 @@ It contains the code shared by all Kiwix ports.")
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0hlk05gcb3fmnxhwj6gan51v98rdq3iv2lklwbpmm1bazmz8i7br")) "1vkmk9j2jii7ri4lcayr0dr5b2w3dc24lyqmm3g4234834b1f4wl"))))
(patches (search-patches "kiwix-desktop-newer-libkiwix.patch"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
`(#:test-target "check" (list
#:tests? #f ; no tests
#:modules '((guix build qt-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" (string-append "PREFIX="
(assoc-ref outputs "out")))))))) (assoc-ref outputs "out")))))
(replace 'build (assoc-ref gnu:%standard-phases 'build))
(replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs (inputs
(list bash-minimal (list bash-minimal
curl curl
@ -9730,14 +9735,14 @@ offline (such as Wikipedia), without any access to Internet.")
(define-public kiwix-tools (define-public kiwix-tools
(package (package
(name "kiwix-tools") (name "kiwix-tools")
(version "3.5.0") (version "3.7.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.kiwix.org/release/" (uri (string-append "https://download.kiwix.org/release/"
"kiwix-tools/kiwix-tools-" version ".tar.xz")) "kiwix-tools/kiwix-tools-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0q6b7viy1jr212q0glqid2hqxnsd2mxsx5gzcalkc4gb0bzgj32d")))) "032lzzgn3hicai4lx701cs6h731cs29x1h59j9gggcgrp1n4wxks"))))
(build-system meson-build-system) (build-system meson-build-system)
(inputs (inputs
(list curl (list curl