PR using this approach at https://github.com/sagemath/sage/pull/36731
On Thursday, November 16, 2023 at 8:35:53 PM UTC-8 Matthias Koeppe wrote: > Or we just let pillow use a system libjpeg if it finds one. > > On Thursday, November 16, 2023 at 2:38:07 PM UTC-8 Dima Pasechnik wrote: > >> >> >> On 16 November 2023 19:33:45 GMT, Michael Orlitzky <mic...@orlitzky.com> >> wrote: >> >On Thu, 2023-11-16 at 06:48 -0800, Eric Gourgoulhon wrote: >> >> >> >> If we agree to restore jpeg support in Pillow, I have prepared a >> branch >> >> that does this for Sage 10.2 (simply suppressing the option >> "jpeg=disable"): >> >> https://github.com/egourgoulhon/sage/tree/pillow_jpeg >> >> and I am happy to submit a PR for this. >> >> >> > >> >That makes pillow link to libjpeg, so we'd also need to package some >> >incarnation of libjpeg, make it a standard package, write the spkg- >> >configure script, etc. >> > >> >AFAIK the "best" libjpeg is https://libjpeg-turbo.org/, but then we >> >would also need to package an assembler (nasm or yasm) to build it... >> >> let's not make libjpeg a real package. >> Make it a dummy package, so that libjpeg may be advertised as something >> to be installed. >> >> IIRC the difficulty in packaging jpeg was one of yhe reasons it never >> made it to a package. >> >> > >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/bba4f666-9c92-41a4-bd6b-58b9d16f3435n%40googlegroups.com.