On Fri, Jul 12, 2019 at 11:58 AM Jerome BENOIT <calcu...@rezozer.net> wrote:
>
>
>
> On 12/07/2019 14:39, Dima Pasechnik wrote:
> > On Fri, Jul 12, 2019 at 11:36 AM Jerome BENOIT <calcu...@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-sagem...@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=calcu...@rezozer.net
> >> AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
> >>
> >> _______________________________________________
> >> Debian-science-sagemath mailing list
> >> debian-science-sagem...@alioth-lists.debian.net
> >> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath
> >
> > _______________________________________________
> > Debian-science-sagemath mailing list
> > debian-science-sagem...@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=calcu...@rezozer.net
> AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
>
> _______________________________________________
> Debian-science-sagemath mailing list
> debian-science-sagem...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1-9nxh%3DTYgag1G0YJRxZL_MQJ0Wb0HB_HKE83FzSNmRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to