user/dev discussion of public-inbox itself
 help / color / mirror / code / 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

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ https://public-inbox.org/meta \
		meta@public-inbox.org
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.mail.public-inbox.meta
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.mail.public-inbox.meta
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.io/gmane.mail.public-inbox.general
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git