[Debian-science-sagemath] plans to package primecount (the C++ library)

Dima Pasechnik dimpase at gmail.com
Fri Nov 19 15:02:04 GMT 2021


On Fri, Nov 19, 2021 at 2:51 PM Julien Puydt <julien.puydt at gmail.com> wrote:
>
> Le vendredi 19 novembre 2021 à 15:39 +0100, Julien Puydt a écrit :
> > Le vendredi 19 novembre 2021 à 13:10 +0000, Dima Pasechnik a écrit :
> > > Several distros package primecount:
> > > https://repology.org/project/primecount/versions
> > > - and SageMath is about to update it and make standard.
> > > https://trac.sagemath.org/ticket/25009
> > >
> > > Any plans for packaging it in Debian? It only needs a standard C++
> > > toolchain and cmake.
> > > (I can have a go at it, if someone provides some onboarding etc).
> >
> >
> > I had only checked the wanted packages -- but we have primesieve
> > already:
> >
> > https://tracker.debian.org/pkg/primesieve
> >
> > isn't it the one?

primesieve (i.e. libprimesieve) is used by primecount (which in turn uses
libprimecount).

Installing primecount  (git repo) from source gives one libraries
libprime[sieve,count], and
executable primecount

I have not looked into ways to unvendor libprimesieve from primecount.
I guess if it's done, then it's done "cmake way" - cmake has its own
concept of (source?) packages IMHO.

HTH
Dima


>
> Ah, but the same upstream has:
>
> - primesieve, which is packaged ;
>
> - primecount, which might not be, but looks like it provides a
> libprimesieve too.
>
> What does sagemath need exactly? If it's the lib, we might already have
> it... or not!
>
> I have to admit I'm a bit confused.
>
> Cheers,
>
> J.Puydt
>
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath



More information about the Debian-science-sagemath mailing list