[Debian-science-sagemath] name of arb library in Debian and adjustments needed
Dima Pasechnik
dimpase at gmail.com
Mon Jul 15 22:00:08 BST 2019
I've implemented the latter, please review
https://trac.sagemath.org/ticket/27270
Hopefully it will allow to get rid of
https://salsa.debian.org/science-team/sagemath/blob/master/debian/patches/d0-arb.patch
On Mon, Jul 15, 2019 at 1:49 PM Dima Pasechnik <dimpase at gmail.com> wrote:
>
> On Fri, Jul 12, 2019 at 11:58 AM Jerome BENOIT <calculus at rezozer.net> wrote:
> >
> >
> >
> > On 12/07/2019 14:39, Dima Pasechnik wrote:
> > > On Fri, Jul 12, 2019 at 11:36 AM Jerome BENOIT <calculus at rezozer.net> wrote:
> > >>
> > >>
> > >>
> > >> On 12/07/2019 10:31, Dima Pasechnik wrote:
> > >>> I've run into the fact that Debian ships an unusally named arb library
> > >>> (libflint-arb.so rather than libarb.so)
> > >>> on https://trac.sagemath.org/ticket/27270
> > >>> and I wonder how to adjust the rest of Sage to use it.
> > >>>
> > >>> Could you point me at the corresponding patch(es)?
> > >>
> > >> This choice is made to avoid name collision.
> > >> I am not so sure of what you want.
> > >> The patches are applied as Debian patches (read debian centric patches).
> > >>
> > >> Ideally arb would come with a pkg-config meta data file.
> > >
> > > I agree - there is https://github.com/fredrik-johansson/arb/issues/272
> > > to deal with this. Probably we need to ping Fredrik (in CC) on this.
> >
> > It must be kept in mind that arb is the end of a long chain of libraries that do not come with pc meta data files,
> > the first of the chain being GMP. A more practical idea is to write a m4 file. You can write your own m4 file
> > without waiting for upstream work.
>
> A quick way would be to create src/sage/env.py.in, with a template for, say,
> `aliases["ARB_LIBRARIES"]` in `cython_aliases`
> filled in by a call to AC_CONFIG_FILES.
>
> This would be setting a precedent for sagelib (there are so far no
> Python files treated this way).
>
> I wonder whether this might create extra issues for packaging.
>
> Dima
>
>
>
>
>
>
> >
> > Jerome
> >
> > >
> > > Dima
> > >
> > >>
> > >> hth,
> > >> Jerome
> > >>
> > >>
> > >>>
> > >>> Thanks,
> > >>> Dima
> > >>>
> > >>> _______________________________________________
> > >>> 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
> > >>>
> > >>
> > >> --
> > >> Jerome BENOIT | calculus+at-rezozer^dot*net
> > >> https://qa.debian.org/developer.php?login=calculus@rezozer.net
> > >> AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
> > >>
> > >> _______________________________________________
> > >> 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
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> > --
> > Jerome BENOIT | calculus+at-rezozer^dot*net
> > https://qa.debian.org/developer.php?login=calculus@rezozer.net
> > AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
> >
> > _______________________________________________
> > 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