Your message dated Fri, 28 Aug 2026 07:19:14 +0000
with message-id <[email protected]>
and subject line Bug#1145933: fixed in zeitgeist 1.0.4-7
has caused the Debian Bug report #1145933,
regarding zeitgeist: Xapian 2 compatibility
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1145933: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145933
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: zeitgeist
Version: 1.0.4-6
Severity: normal
Tags: patch

Xapian 2 was released back in March and I'm working towards a transition
to it in Debian.  There are packages in experimental (currently of
2.1.0).

The currently packaged version of zeitgeist isn't compatible, but the
changes required are small and I've prepared a patch (attached).

The patched version will also work with Xapian 1.4.x so the patch can be
applied now (no need to coordinate it to happen together with the
transition).

Cheers,
    Olly
--- a/extensions/fts++/indexer.cpp
+++ b/extensions/fts++/indexer.cpp
@@ -60,8 +60,8 @@
   {
     if (zeitgeist_utils_using_in_memory_database ())
     {
-      this->db = new Xapian::WritableDatabase;
-      this->db->add_database (Xapian::InMemory::open ());
+      this->db = new Xapian::WritableDatabase ("",
+                                               Xapian::DB_BACKEND_INMEMORY);
     }
     else
     {
@@ -112,10 +112,10 @@
         FILTER_PREFIX_SUBJECT_STORAGE);
     this->query_parser->add_prefix ("category", FILTER_PREFIX_XDG_CATEGORY);
 
-    this->query_parser->add_valuerangeprocessor (
-        new Xapian::NumberValueRangeProcessor (VALUE_EVENT_ID, "id"));
-    this->query_parser->add_valuerangeprocessor (
-        new Xapian::NumberValueRangeProcessor (VALUE_TIMESTAMP, "ms", false));
+    this->query_parser->add_rangeprocessor (
+        new Xapian::NumberRangeProcessor (VALUE_EVENT_ID, "id"));
+    this->query_parser->add_rangeprocessor (
+        new Xapian::NumberRangeProcessor (VALUE_TIMESTAMP, "ms", Xapian::RP_SUFFIX));
 
     this->query_parser->set_default_op (Xapian::Query::OP_AND);
     this->query_parser->set_database (*this->db);
@@ -215,8 +215,8 @@
 
     if (zeitgeist_utils_using_in_memory_database ())
     {
-      this->db = new Xapian::WritableDatabase;
-      this->db->add_database (Xapian::InMemory::open ());
+      this->db = new Xapian::WritableDatabase ("",
+                                               Xapian::DB_BACKEND_INMEMORY);
     }
     else
     {

--- End Message ---
--- Begin Message ---
Source: zeitgeist
Source-Version: 1.0.4-7
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
zeitgeist, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated zeitgeist package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 28 Aug 2026 08:57:10 +0200
Source: zeitgeist
Architecture: source
Version: 1.0.4-7
Distribution: unstable
Urgency: medium
Maintainer: Debian semweb Team <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1145933
Changes:
 zeitgeist (1.0.4-7) unstable; urgency=medium
 .
   * add patch 1004 to support xapian 2;
     closes: bug#1145933, thanks to Olly Betts
   * update watch file:
     + capitalize file format field label
     + limit to STABLE_VERSION
Checksums-Sha1:
 db37844bb5c81f04535c0c9bd60bbbf0b42a515a 3137 zeitgeist_1.0.4-7.dsc
 c7b2a4eef99e7820425e9da0b147765c9f415068 21012 zeitgeist_1.0.4-7.debian.tar.xz
 11d05caf5db2a055dcdd7773886aa01bcaa3ea24 18796 
zeitgeist_1.0.4-7_amd64.buildinfo
Checksums-Sha256:
 5813565e12bf2c89316ab836fab12a560fcfd449465e8aef8c5f2bc7a84c63ef 3137 
zeitgeist_1.0.4-7.dsc
 4589a46353f6d707bd5293cf991d7f47af91bfcd10431a281bb3cc5d6bd4699a 21012 
zeitgeist_1.0.4-7.debian.tar.xz
 5c64818ace6ab42e497fc7f312a6278219d9eb01b06a29b23835cfa174791ecf 18796 
zeitgeist_1.0.4-7_amd64.buildinfo
Files:
 f51f391383fb01b606e391276c55b13c 3137 utils optional zeitgeist_1.0.4-7.dsc
 591ebe94a77aebbb8e802e24cbb6f101 21012 utils optional 
zeitgeist_1.0.4-7.debian.tar.xz
 6f5dc1677022c160efb68886aa74d642 18796 utils optional 
zeitgeist_1.0.4-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmqRMbYMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhKsoP/1o1W7uXGhfsQjBKCaPrd9dFya/vSEc3Q5V/IkEU
nWKeQCwU0XTf1tfGidB9qX4Mlcld9wKr2mGYpNddaRB3YBDTEpXRg5gPfaGtn+T5
K8YufiqJZioBFV+xH4Z3pqnRH4qQcNzozpHvrgZ3hSKrWLsHHZtyqVLQmu7CZEZ6
Pu6FoEer2R5CzvR1q9V0hN06EX26DvzFZbCIV3oStbWjm7f1n/bIvk5Yu4ZHOU9Z
TIjtfY3qgG01HRmyv0mfyP/WwBoPj6477Qp7YqcZHH2bc1NC9/0jLCn7fvlJu5tn
emlSsAm3B5tZroh0cj+WRgYIOeSbhnk1QKbWQySEAxQuraohJwTHDfwI7Lj0Tu7j
QSOHYom5yW2bq2/SDceDMndBNOS8GZyHZGn5dOXJ2bHPNclKEEjSMAvehvCBHwRB
hzyNCtTDfXz36OM2NzqLcHCiL5DyCPO+eC63At3zYDuifZWu32+Y/+27k0BmVfKL
UslIrOuuDBFsld/xKwPeHl7tKZ8pQRW9xSR6R7JODhGIrl9aBdwK3Wu8OIWQfE4n
SZI7MzzA+bU2x4RYd+Gc5fnzy0FShb1eSnD3ShnyaZKa8BuXV3CAGr5QOtnIa2vE
INHVQnbzu9aNqHBaD2ubg4QZNNar7T5XkuCZmC4COByGeLgjc5HOhpd6tpZBA3CQ
sXUz
=e7M2
-----END PGP SIGNATURE-----

Attachment: pgp3JysbmDXN0.pgp
Description: PGP signature


--- End Message ---

Reply via email to