summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm116
1 files changed, 91 insertions, 25 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index cb4d032084..a24bef9b63 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -76,6 +76,7 @@
;;; Copyright © 2025 Daniel Khodabakhsh <d@niel.khodabakh.sh>
;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
+;;; Copyright © 2025 Philippe Swartvagher <phil.swart@gmx.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1710,12 +1711,27 @@ current version of any major web browser.")
(delete-file-recursively "bin/jsonchecker")))))
(build-system cmake-build-system)
(arguments
- '(#:phases
+ '(#:configure-flags (list "-DCMAKE_CXX_FLAGS=-Wno-free-nonheap-object")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-march=native
(lambda _
(substitute* "CMakeLists.txt"
- (("-m[^-]*=native") "")))))))
+ (("-m[^-]*=native") ""))))
+ (add-after 'fix-march=native 'skip-deleted-tests
+ (lambda _
+ (substitute* "test/unittest/CMakeLists.txt"
+ (("jsoncheckertest.cpp") ""))))
+ (add-after 'fix-march=native 'fix-dependencies
+ (lambda _
+ (substitute* "test/CMakeLists.txt"
+ (("^find_package\\(GTestSrc\\)")
+ "find_package(GTest REQUIRED)")
+ ((".*GTEST_SOURCE_DIR.*") "")
+ (("GTESTSRC_FOUND)")
+ "GTest_FOUND)")))))))
+ (native-inputs (list valgrind/pinned))
+ (inputs (list googletest))
(home-page "https://github.com/Tencent/rapidjson")
(synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
(description
@@ -1764,7 +1780,8 @@ C.")
(search-patches "yajl-CVE-2023-33460.patch"))))
(build-system cmake-build-system)
(arguments
- '(#:phases
+ '(#:tests? #f
+ #:phases
(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-tests
(lambda _
@@ -1851,8 +1868,10 @@ for efficient socket-like bidirectional reliable communication channels.")
(list
;; Tests on non-x86_64 architectures are not well supported upstream.
#:tests? (target-x86-64?)
- #:test-target "run-tests"
#:configure-flags '(list "-DUSE_SYSTEM_GTEST=ON")
+ #:modules '((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
+ (guix build utils))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'use-gcc
@@ -1860,7 +1879,11 @@ for efficient socket-like bidirectional reliable communication channels.")
;; XXX This is the only test that fails.
(add-after 'unpack 'delete-broken-test
(lambda _
- (delete-file "test/wasm2c/spec/memory_init.txt"))))))
+ (delete-file "test/wasm2c/spec/memory_init.txt")))
+ (replace 'check
+ (lambda* (#:rest args)
+ (apply (assoc-ref gnu:%standard-phases 'check)
+ #:test-target "run-tests" args))))))
(native-inputs (list python googletest))
(home-page "https://github.com/WebAssembly/wabt")
(synopsis "WebAssembly Binary Toolkit")
@@ -1988,7 +2011,8 @@ features.")
(patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
(build-system cmake-build-system)
(inputs (list boost openssl))
- (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
+ (arguments '(#:parallel-tests? #f
+ #:configure-flags '("-DBUILD_TESTS=ON")
#:phases
(modify-phases %standard-phases
(add-after 'install 'remove-tests
@@ -6046,7 +6070,7 @@ NetSurf project.")
(define-public iter-vitae
(package
(name "iter-vitae")
- (version "0.3.32")
+ (version "0.3.35")
(source
(origin
(method git-fetch)
@@ -6055,7 +6079,7 @@ NetSurf project.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0r7zvavjflyl8wzysadgh7zmyamvdkicac7652qckgi1aaqh33nw"))))
+ (base32 "0sxdidz1j6bd5s5b3d0p91kd69i6hf9mg4iqppsf5gg31gf2y4d7"))))
(arguments
`(#:source-directory "src"
#:phases (modify-phases %standard-phases
@@ -7623,6 +7647,7 @@ protocols.")
(build-system cmake-build-system)
(arguments
(list
+ #:tests? #f
#:configure-flags
#~(list "-DBUILD_SHARED_LIBS=ON"
"-DCIVETWEB_ENABLE_CXX=ON"
@@ -9028,6 +9053,7 @@ HTTrack is fully configurable, and has an integrated help system.")
(build-system cmake-build-system)
(arguments
(list
+ #:tests? #f
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'use-system-googletest
@@ -9536,10 +9562,45 @@ HTTP. It can proxy to any domain in order to facilitate linking to the rest
of Geminispace, but it defaults to a specific domain.")
(license license:gpl3+)))
+(define-public maildir-rank-addr
+ (package
+ (name "maildir-rank-addr")
+ (version "1.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ferdinandyb/maildir-rank-addr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19dhlfb5d8sqayfyv3pj3rnrw3gbkq9vzj7gwcj2g3whx1ayy86y"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/ferdinandyb/maildir-rank-addr"))
+ (native-inputs
+ (list go-github-com-emersion-go-message
+ go-github-com-emersion-go-mbox
+ go-github-com-mitchellh-go-homedir
+ go-github-com-spf13-pflag
+ go-github-com-spf13-viper
+ go-github-com-stretchr-testify
+ go-golang-org-x-text))
+ (home-page "https://github.com/ferdinandyb/maildir-rank-addr")
+ (synopsis "Generate an addressbook from locally available email")
+ (description
+ "This package implements a functionality to generate a ranked addressbook
+from your locally available email. It can be used in MUA's like
+@url{http://aerc-mail.org, aerc} or @url{http://www.mutt.org/,mutt} by
+grepping the list.")
+ (license license:expat)))
+
(define-public libzim
(package
(name "libzim")
- (version "8.2.1")
+ (version "9.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -9547,7 +9608,7 @@ of Geminispace, but it defaults to a specific domain.")
(commit version)))
(sha256
(base32
- "1g735aqw0vlxqgyjv02lvq24dr5shydp4y8mqianf8720s5fs73f"))
+ "1il1vc1hs954s3vnwhr337165dxbykvrldrvbilp5jxbkmwqb60d"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
(arguments
@@ -9573,7 +9634,7 @@ for ZIM files.")
(define-public kiwix-lib
(package
(name "kiwix-lib")
- (version "13.0.0")
+ (version "14.0.0")
(home-page "https://github.com/kiwix/kiwix-lib/")
(source (origin
(method git-fetch)
@@ -9582,7 +9643,7 @@ for ZIM files.")
(commit version)))
(sha256
(base32
- "0mvlppbj0mqn4ka3cfaaj1pvn062cxbgz01c0nq04x0mzq1xwh5w"))
+ "099arjsx1wgz5jhvzn49859wh0v8n3ya33kmnqaw69h55mjvgza0"))
(file-name (git-file-name name version))))
(build-system meson-build-system)
(arguments
@@ -9618,7 +9679,7 @@ It contains the code shared by all Kiwix ports.")
(define-public kiwix-desktop
(package
(name "kiwix-desktop")
- (version "2.3.1")
+ (version "2.4.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -9627,18 +9688,23 @@ It contains the code shared by all Kiwix ports.")
".tar.gz"))
(sha256
(base32
- "0hlk05gcb3fmnxhwj6gan51v98rdq3iv2lklwbpmm1bazmz8i7br"))
- (patches (search-patches "kiwix-desktop-newer-libkiwix.patch"))))
+ "1vkmk9j2jii7ri4lcayr0dr5b2w3dc24lyqmm3g4234834b1f4wl"))))
(build-system qt-build-system)
(arguments
- `(#:test-target "check"
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "qmake"
- (string-append "PREFIX="
- (assoc-ref outputs "out"))))))))
+ (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
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "qmake"
+ (string-append "PREFIX="
+ (assoc-ref outputs "out")))))
+ (replace 'build (assoc-ref gnu:%standard-phases 'build))
+ (replace 'install (assoc-ref gnu:%standard-phases 'install)))))
(inputs
(list bash-minimal
curl
@@ -9667,14 +9733,14 @@ offline (such as Wikipedia), without any access to Internet.")
(define-public kiwix-tools
(package
(name "kiwix-tools")
- (version "3.5.0")
+ (version "3.7.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.kiwix.org/release/"
"kiwix-tools/kiwix-tools-" version ".tar.xz"))
(sha256
(base32
- "0q6b7viy1jr212q0glqid2hqxnsd2mxsx5gzcalkc4gb0bzgj32d"))))
+ "032lzzgn3hicai4lx701cs6h731cs29x1h59j9gggcgrp1n4wxks"))))
(build-system meson-build-system)
(inputs
(list curl