From 22c5b815cc4105228fd34cdaa2826dca70552a3e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 11 Sep 2023 07:26:39 +0000 Subject: treewide: favor Xapian (SWIG binding) over Search::Xapian The Xapian SWIG bindings are favored by Xapian upstream for ease-of-maintenance compared to the XS version. While Debian lags on this front, the SWIG bindings are widely available on all *BSDs. --- xt/create-many-inboxes.t | 2 +- xt/solver.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xt') diff --git a/xt/create-many-inboxes.t b/xt/create-many-inboxes.t index d22803e3..3d8932b7 100644 --- a/xt/create-many-inboxes.t +++ b/xt/create-many-inboxes.t @@ -19,7 +19,7 @@ mkpath($many_root); $many_root = abs_path($many_root); $many_root =~ m!\A\Q$cwd\E/! and BAIL_OUT "$many_root must not be in $cwd"; require_git 2.6; -require_mods(qw(DBD::SQLite Search::Xapian)); +require_mods(qw(DBD::SQLite Xapian)); use_ok 'PublicInbox::V2Writable'; my $nr_inbox = $ENV{NR_INBOX} // 10; my $nproc = $ENV{NPROC} || PublicInbox::IPC::detect_nproc() || 2; diff --git a/xt/solver.t b/xt/solver.t index 1f004bf5..06f5a493 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -5,7 +5,7 @@ use v5.12; use PublicInbox::TestCommon; use PublicInbox::Config; # this relies on PI_CONFIG // ~/.public-inbox/config my @psgi = qw(HTTP::Request::Common Plack::Test URI::Escape Plack::Builder); -require_mods(qw(DBD::SQLite Search::Xapian), @psgi); +require_mods(qw(DBD::SQLite Xapian), @psgi); use_ok($_) for @psgi; use_ok 'PublicInbox::WWW'; my $cfg = PublicInbox::Config->new; -- cgit v1.2.3-24-ge0c7