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`).