1 (edited by KleisAuke 2018-12-16 21:54:13)

Topic: libvips / libjpeg-turbo

Hi Remi,

I would like to try out the latest version of libjpeg-turbo (v2.0.1) in combination with libvips, because the version of libjpeg-turbo provided by CentOS is still on 1.2.90 (released on February 4, 2013 - which is almost 6 years ago).

Fortunately, libjpeg-turbo provides official releases via its own YUM repository. See: https://libjpeg-turbo.org/Downloads/YUM

But it seems the spec file of libvips has a "hard dependency" on libjpeg-turbo-devel from the OS. See: https://git.remirepo.net/cgit/rpms/lib/ … s.spec#n61

Could this be changed to `BuildRequires: pkgconfig(libjpeg)`? This would allow me to use the official/latest releases of libjpeg-turbo (the latest versions have new MMX/SSE2/SIMD accelerations that I would like to use).

Thanks for all the great work!

By the way,
I noticed that spec file urls are still on github.com/jcupitt/libvips. Could this be changed to github.com/libvips/libvips, now that libvips has moved to its own GitHub organization?

Edit:
Changed `BuildRequires: pkgconfig(libturbojpeg)` to `BuildRequires: pkgconfig(libjpeg)`, otherwise it's installing `turbojpeg-devel` (the higher-level API) instead than `libjpeg-turbo-devel`. Nowadays libjpeg-turbo is used everywhere (for e.g. `yum install "pkgconfig(libjpeg)"` will install `libjpeg-turbo-devel`).

Re: libvips / libjpeg-turbo

Fixed in https://git.remirepo.net/cgit/rpms/lib/ … 641b185dce


BTW, see https://git.remirepo.net/cgit/?p=about   (ie: patch welcome)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: libvips / libjpeg-turbo

Thanks Remi! From now on I will send patches by e-mail.