Bundled copies of the Porter stemmer library

Toshio Kuratomi a.badger at gmail.com
Fri Apr 19 08:20:10 UTC 2013


On Apr 18, 2013 7:33 AM, "Petr Pisar" <ppisar at redhat.com> wrote:
>
> On 2013-04-17, Florian Weimer <fweimer at redhat.com> wrote:
> > Ugh, hit "Send" too soon.
> >
> > I found some packages which embed copies of the Porter stemmer library
> > (PostgreSQL, tracker, pl, etc.).  Should I file bugs once I have the
> > full list, or should I apply for a bundling exception?
> >
> > I don't know if the existing copies are patched in significant ways.
>
> The SWI Prologue (pl package) modifies the code and modifes the old
> Relase 1 (current Porter's release is
> 2 <http://tartarus.org/martin/PorterStemmer/c.txt>). I worry unbundling
> will not be easy because upstream does not provide a library but
> a simple C code (no headers, no interface) and because pl changes some
> prototypes to fit better to the pl and of course adds the binding
> helpers. Unified diff has 980 lines of 383 upstream lines now.
>

Yeah, if upstream isn't shipping this as a proper library i'd try to get
this in as either a copylib (guidelines for that already exist) or as a
code snippet (guidelines for that don't yet exist but the fpc has recently
granted several exceptions based on the concept.)

It still needs to go through fpc to grant the exception for two reasons: 1)
confirm that it is in fact a copylib or code snippet 2) to assign it a
virtual provide so packages that bundle it can be notified in case a severe
bug is discovered in the porter stemmer upstream on which these are based.

-Toshio

> -- Petr
>
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130419/d085ff4c/attachment.html>


More information about the devel mailing list