summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/gnome.scm2
-rw-r--r--gnu/packages/guile-xyz.scm2
-rw-r--r--gnu/packages/kde-pim.scm2
-rw-r--r--gnu/packages/search.scm41
4 files changed, 30 insertions, 17 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e01beb94e8c..97d99bf8c49 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -768,7 +768,7 @@ of known objects without needing a central registrar.")
768 telepathy-glib 768 telepathy-glib
769 python-wrapper 769 python-wrapper
770 python-rdflib 770 python-rdflib
771 xapian)) 771 xapian-1.4))
772 (propagated-inputs (list glib)) 772 (propagated-inputs (list glib))
773 (synopsis "Desktop Activity Logging") 773 (synopsis "Desktop Activity Logging")
774 (description "Zeitgeist is a service which logs the users’s activities and 774 (description "Zeitgeist is a service which logs the users’s activities and
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 528de9bed00..27dcf99eb03 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -6668,7 +6668,7 @@ over, or update a value in arbitrary data structures.")
6668 (arguments 6668 (arguments
6669 '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings 6669 '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
6670 (inputs 6670 (inputs
6671 (list guile-3.0 xapian zlib)) 6671 (list guile-3.0 xapian-1.4 zlib))
6672 (native-inputs 6672 (native-inputs
6673 (list pkg-config 6673 (list pkg-config
6674 lzip 6674 lzip
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 50a28c26dc1..c04e57aab3f 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -474,7 +474,7 @@ with emails through Akonadi easier.")
474 kxmlgui 474 kxmlgui
475 krunner 475 krunner
476 kwindowsystem 476 kwindowsystem
477 xapian)) 477 xapian-1.4))
478 (arguments 478 (arguments
479 (list 479 (list
480 #:qtbase qtbase 480 #:qtbase qtbase
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index a8daf853217..15c62d46687 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -18,6 +18,7 @@
18;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> 18;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
19;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> 19;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
20;;; Copyright © Zheng Junjie <z572@z572.online> 20;;; Copyright © Zheng Junjie <z572@z572.online>
21;;; Copyright © 2026 Marius Bakke <marius.andre.bakke@gmail.com>
21;;; 22;;;
22;;; This file is part of GNU Guix. 23;;; This file is part of GNU Guix.
23;;; 24;;;
@@ -91,7 +92,7 @@
91(define-public xapian 92(define-public xapian
92 (package 93 (package
93 (name "xapian") 94 (name "xapian")
94 (version "1.4.29") 95 (version "2.1.0")
95 ;; Note: When updating Xapian, remember to update omega and 96 ;; Note: When updating Xapian, remember to update omega and
96 ;; python-xapian-bindings below. 97 ;; python-xapian-bindings below.
97 (source (origin 98 (source (origin
@@ -99,25 +100,25 @@
99 (uri (string-append "https://oligarchy.co.uk/xapian/" version 100 (uri (string-append "https://oligarchy.co.uk/xapian/" version
100 "/xapian-core-" version ".tar.xz")) 101 "/xapian-core-" version ".tar.xz"))
101 (sha256 102 (sha256
102 (base32 "1g11wps45rgh7a7z0zmsvk6vg2i1ih4cmbwf44nfrlrsc749np65")))) 103 (base32 "1k5ap1qry8rwbimmchg52sxg442s33lp5xz1nl93sbildmc5j4lf"))))
103 (build-system gnu-build-system) 104 (build-system gnu-build-system)
104 (inputs (list zlib 105 (inputs (list zlib
105 `(,util-linux "lib"))) 106 `(,util-linux "lib")))
106 (arguments 107 (arguments
107 `(#:phases 108 `(#:phases
108 (modify-phases %standard-phases 109 (modify-phases %standard-phases
109 (replace 'check 110 (add-after 'unpack 'skip-remotetcp-tests
110 ;; As of Xapian 1.3.3, the TCP server implementation uses 111 ;; As of Xapian 1.3.3, the TCP server implementation uses
111 ;; getaddrinfo(). This does not work in the build environment, 112 ;; getaddrinfo(). This does not work in the build environment,
112 ;; so exclude those tests. See HACKING for the list of targets. 113 ;; so exclude those tests.
113 (lambda _ 114 (lambda _
114 (invoke "make" 115 (substitute* "tests/harness/testrunner.cc"
115 "check-inmemory" 116 (("do_tests_for_backend\\(BackendManagerRemoteTcp.*")
116 "check-remoteprog" 117 ""))))
117 ;"check-remotetcp" 118 (add-before 'check 'set-automated-testing-flag
118 "check-multi" 119 (lambda _
119 "check-glass" 120 ;; Skip timing-sensitive tests to avoid indeterministic failures.
120 "check-chert")))))) 121 (setenv "AUTOMATED_TESTING" "1"))))))
121 (synopsis "Search Engine Library") 122 (synopsis "Search Engine Library")
122 (description 123 (description
123 "Xapian is a highly adaptable toolkit which allows developers to easily 124 "Xapian is a highly adaptable toolkit which allows developers to easily
@@ -127,6 +128,18 @@ rich set of boolean query operators.")
127 (home-page "https://xapian.org/") 128 (home-page "https://xapian.org/")
128 (license (list license:gpl2+ license:bsd-3 license:x11)))) 129 (license (list license:gpl2+ license:bsd-3 license:x11))))
129 130
131(define-public xapian-1.4
132 (package
133 (inherit xapian)
134 (version "1.4.32")
135 (source (origin
136 (method url-fetch)
137 (uri (string-append "https://oligarchy.co.uk/xapian/" version
138 "/xapian-core-" version ".tar.xz"))
139 (sha256
140 (base32
141 "1kmfjxc1k5hcjg8fmi4ars2z4yaas5l94mzmmmb1fc9727l69zf4"))))))
142
130(define-public omega 143(define-public omega
131 (package 144 (package
132 (name "omega") 145 (name "omega")
@@ -138,7 +151,7 @@ rich set of boolean query operators.")
138 "/xapian-omega-" version ".tar.xz")) 151 "/xapian-omega-" version ".tar.xz"))
139 (sha256 152 (sha256
140 (base32 153 (base32
141 "0gpq1k1fanx2vpj0xrmkdafacn2r5qsf57201ax4skkb96flxfjg")))) 154 "1glpa00plrzfndn5dfph2i4s9acpjbzj81p9qcl0qyfbbydz5g73"))))
142 (build-system gnu-build-system) 155 (build-system gnu-build-system)
143 (native-inputs 156 (native-inputs
144 (list pkg-config)) 157 (list pkg-config))
@@ -168,7 +181,7 @@ a CGI web search frontend.")
168 "/xapian-bindings-" version ".tar.xz")) 181 "/xapian-bindings-" version ".tar.xz"))
169 (sha256 182 (sha256
170 (base32 183 (base32
171 "1kn8dw0zrlxvc417wmqmdkqz76kw3f5802wsv5kyyl38pckyjh0p")))) 184 "0p47wg5m9nhxj5mbw1n8kqdnbp9jpfafp9i5lrpackrvy64w2bpm"))))
172 (build-system gnu-build-system) 185 (build-system gnu-build-system)
173 (arguments 186 (arguments
174 (list #:configure-flags #~(list "--with-python3") 187 (list #:configure-flags #~(list "--with-python3")
@@ -205,7 +218,7 @@ a CGI web search frontend.")
205 (native-inputs 218 (native-inputs
206 (list perl-devel-leak)) 219 (list perl-devel-leak))
207 (inputs 220 (inputs
208 (list xapian)) 221 (list xapian-1.4))
209 (home-page "https://metacpan.org/release/Search-Xapian") 222 (home-page "https://metacpan.org/release/Search-Xapian")
210 (synopsis "Perl XS frontend to the Xapian C++ search library") 223 (synopsis "Perl XS frontend to the Xapian C++ search library")
211 (description 224 (description