about summary refs log tree commit homepage
path: root/ci
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-11 07:26:39 +0000
committerEric Wong <e@80x24.org>2023-09-11 18:51:02 +0000
commit22c5b815cc4105228fd34cdaa2826dca70552a3e (patch)
treefb5fc859c7c18729d817a1664921db7b40917558 /ci
parentbdf6cb8ca93a6aec7065b4ba8f3f4b1f58f427b4 (diff)
downloadpublic-inbox-22c5b815cc4105228fd34cdaa2826dca70552a3e.tar.gz
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.
Diffstat (limited to 'ci')
-rwxr-xr-xci/deps.perl5
-rwxr-xr-xci/profiles.perl6
2 files changed, 6 insertions, 5 deletions
diff --git a/ci/deps.perl b/ci/deps.perl
index 6bc38735..3fa8f642 100755
--- a/ci/deps.perl
+++ b/ci/deps.perl
@@ -39,7 +39,7 @@ my $profiles = {
                 Plack
                 Plack::Test
                 Plack::Middleware::ReverseProxy
-                Search::Xapian
+                Xapian
                 Socket6
                 highlight.pm
                 xapian-tools
@@ -85,7 +85,8 @@ my $non_auto = {
                 deb => 'libplack-perl',
                 pkg => 'p5-Plack',
         },
-        'Search::Xapian' => {
+        'Xapian' => {
+                deb => 'libsearch-xapian-perl',
                 pkg => [qw(xapian-core p5-Xapian)],
                 pkg_add => [qw(xapian-core xapian-bindings-perl)],
                 pkgin => [qw(xapian p5-Xapian)],
diff --git a/ci/profiles.perl b/ci/profiles.perl
index 720cd24e..e18f01fa 100755
--- a/ci/profiles.perl
+++ b/ci/profiles.perl
@@ -70,7 +70,7 @@ my $PKG_FMT = do {
 # these package group names and '-' syntax are passed to ci/deps.perl
 my $TASKS = do {
         if ($ID =~ /\A(?:free|net|open)bsd\z/) { <<EOM
-all devtest Search::Xapian-
+all devtest Xapian-
 all devtest IO::KQueue-
 all devtest IO::KQueue
 all devtest Inline::C-
@@ -78,7 +78,7 @@ all devtest Inline::C
 EOM
         } elsif ($ID eq 'debian') { <<EOM
 all devtest
-all devtest Search::Xapian-
+all devtest Xapian-
 all devtest-
 v2essential
 essential
@@ -87,7 +87,7 @@ EOM
         } elsif ($ID eq 'centos') { <<EOM
 v2essential devtest
 essential devtest
-all Search::Xapian-
+all Xapian-
 EOM
         } else { die "TODO: support ID=$ID VERSION_ID=$VERSION_ID" }
 };