unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* newer xapian and git packages for CentOS7
@ 2021-04-21 15:13 Konstantin Ryabitsev
  2021-04-23  6:02 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2021-04-21 15:13 UTC (permalink / raw)
  To: meta

Sending a quick note here since this can be of interest to others.

If you want to run public-inbox on CentOS-7 with newer git and xapian, you can
use the following packages I am maintaining:

https://copr.fedorainfracloud.org/coprs/icon/lfit/packages/

To enable on your system:

yum install yum-plugin-copr
yum copr enable icon/lfit

# if you don't already have git and xapian installed:
yum install git231-core xapian14-core

# if you already do, you'll need yum-plugin-replace from ius:
# https://ius.io/setup#rhelcentos-7
yum replace git --replace-with git231
yum replace xapian-core --replace-with xapian14-core

-K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newer xapian and git packages for CentOS7
  2021-04-21 15:13 newer xapian and git packages for CentOS7 Konstantin Ryabitsev
@ 2021-04-23  6:02 ` Eric Wong
  2021-04-23 19:12   ` Konstantin Ryabitsev
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Wong @ 2021-04-23  6:02 UTC (permalink / raw)
  To: meta

Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
> Sending a quick note here since this can be of interest to others.

Thanks.  I'll update INSTALL with a link to this message/thread

> If you want to run public-inbox on CentOS-7 with newer git and xapian, you can
> use the following packages I am maintaining:
> 
> https://copr.fedorainfracloud.org/coprs/icon/lfit/packages/

Btw, I noticed xapian14-bindings isn't packaged.  If it were, it
would include the better-maintained Xapian.pm (SWIG) binding.
Getting Search::Xapian (XS) from CPAN would no longer be
necessary.

The SWIG binding lagged behind the XS one for many years, but
it's been good since Xapian 1.4.16 (2020-06-08) and I've been
testing it regularly on FreeBSD.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newer xapian and git packages for CentOS7
  2021-04-23  6:02 ` Eric Wong
@ 2021-04-23 19:12   ` Konstantin Ryabitsev
  2021-04-23 19:18     ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2021-04-23 19:12 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

On Fri, Apr 23, 2021 at 02:02:24AM -0400, Eric Wong wrote:
> > If you want to run public-inbox on CentOS-7 with newer git and xapian, you can
> > use the following packages I am maintaining:
> > 
> > https://copr.fedorainfracloud.org/coprs/icon/lfit/packages/
> 
> Btw, I noticed xapian14-bindings isn't packaged.  If it were, it
> would include the better-maintained Xapian.pm (SWIG) binding.
> Getting Search::Xapian (XS) from CPAN would no longer be
> necessary.

Hmm... I mostly haven't because cross-package dependencies with copr is a bit
hairy (and looking at the SPEC file, I'm not sure it will work with the
ancient Ruby package in EL7). I'll give it a try, but if there is no great
benefit of using Xapian.pm as opposed to Search::Xapian, then I may not try
too hard. :)

-K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newer xapian and git packages for CentOS7
  2021-04-23 19:12   ` Konstantin Ryabitsev
@ 2021-04-23 19:18     ` Eric Wong
  2021-04-23 19:51       ` Konstantin Ryabitsev
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Wong @ 2021-04-23 19:18 UTC (permalink / raw)
  To: meta

Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
> On Fri, Apr 23, 2021 at 02:02:24AM -0400, Eric Wong wrote:
> > > If you want to run public-inbox on CentOS-7 with newer git and xapian, you can
> > > use the following packages I am maintaining:
> > > 
> > > https://copr.fedorainfracloud.org/coprs/icon/lfit/packages/
> > 
> > Btw, I noticed xapian14-bindings isn't packaged.  If it were, it
> > would include the better-maintained Xapian.pm (SWIG) binding.
> > Getting Search::Xapian (XS) from CPAN would no longer be
> > necessary.
> 
> Hmm... I mostly haven't because cross-package dependencies with copr is a bit
> hairy (and looking at the SPEC file, I'm not sure it will work with the
> ancient Ruby package in EL7). I'll give it a try, but if there is no great
> benefit of using Xapian.pm as opposed to Search::Xapian, then I may not try
> too hard. :)

Ah, no worries.  public-inbox isn't currently using features
exclusive to Xapian.pm, but may start doing so for query parser
customizations (or just-ahead-of-time C++).  Search::Xapian
remains the only option within Debian packages, atm...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newer xapian and git packages for CentOS7
  2021-04-23 19:18     ` Eric Wong
@ 2021-04-23 19:51       ` Konstantin Ryabitsev
  0 siblings, 0 replies; 5+ messages in thread
From: Konstantin Ryabitsev @ 2021-04-23 19:51 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

On Fri, Apr 23, 2021 at 07:18:49PM +0000, Eric Wong wrote:
> > > Btw, I noticed xapian14-bindings isn't packaged.  If it were, it
> > > would include the better-maintained Xapian.pm (SWIG) binding.
> > > Getting Search::Xapian (XS) from CPAN would no longer be
> > > necessary.
> > 
> > Hmm... I mostly haven't because cross-package dependencies with copr is a bit
> > hairy (and looking at the SPEC file, I'm not sure it will work with the
> > ancient Ruby package in EL7). I'll give it a try, but if there is no great
> > benefit of using Xapian.pm as opposed to Search::Xapian, then I may not try
> > too hard. :)
> 
> Ah, no worries.  public-inbox isn't currently using features
> exclusive to Xapian.pm, but may start doing so for query parser
> customizations (or just-ahead-of-time C++).  Search::Xapian
> remains the only option within Debian packages, atm...

It was actually less hairy than I'd anticipated. I build
xapian14-bindings-perl and it seems to work find as a drop-in replacement for
Search::Xapian. The package is in the same copr repository as xapian14-core.

Thanks for the suggestion.

-K

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-23 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 15:13 newer xapian and git packages for CentOS7 Konstantin Ryabitsev
2021-04-23  6:02 ` Eric Wong
2021-04-23 19:12   ` Konstantin Ryabitsev
2021-04-23 19:18     ` Eric Wong
2021-04-23 19:51       ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).