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?

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)

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: libvips / libjpeg-turbo

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