portage has version media-libs/freeimage-3.15.4-r1
Confirmed: portage version dates back to 2012. Could be great to bump it. http://freeimage.sourceforge.net/changeslog.html
...as a side note, with gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4), it does not even build.
I mean version in portage does not build. Updated should.
I attempted to build freeimage-3.18.0 on ~amd64 in my local overlay using the files from https://github.com/gentoo/gentoo/pull/10411 . Errors included type delarations prefixed with OPJ_, where upstream may be using unprefixed. Build log attached.
Created attachment 556080 [details] pr-10411-build.log Build errors when manually adding files from PR 10411 to local overlay on ~amd64
Created attachment 556082 [details] pr-10411-emerge-info.txt emerge --info for ~amd64 build errors on PR 10411.
Updated the pull request with 2 fixes: use openjp2 in pkg-config instead of openjpeg, and fix cflags for libwebp
Thanks, I was able to emerge media-libs/freeimage-3.18.0 with the updated PR.
Created attachment 558314 [details, diff] Raw patch for freeimage-3.18 Thanks, this also fixes compilation against media-libs/openexr-2.3.0! One issue remains: With +raw we need the "raw" patch again, which I attach in the correct form for 3.18.
Thanks guys! ...So we're all cleared now?
I have updated the merge request with the patch for raw.
any news on this ?
Might help us get rid of https://bugs.gentoo.org/show_bug.cgi?id=663614
Updates on this?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0e97797339cd968083a5da4829db5d6c81e619 commit 3b0e97797339cd968083a5da4829db5d6c81e619 Author: Patrick Nicolas <patricknicolas@laposte.net> AuthorDate: 2018-11-13 21:11:07 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-04-14 12:44:08 +0000 media-libs/freeimage: version bump to 3.18.0 Bug: https://bugs.gentoo.org/671106 Signed-off-by: Patrick Nicolas <patricknicolas@laposte.net> Package-Manager: Portage-2.3.51, Repoman-2.3.12 Closes: https://github.com/gentoo/gentoo/pull/10411 Signed-off-by: James Le Cuirot <chewi@gentoo.org> media-libs/freeimage/Manifest | 2 + .../files/freeimage-3.18.0-disable-plugin-G3.patch | 56 ++ .../freeimage/files/freeimage-3.18.0-raw.patch | 15 + .../freeimage-3.18.0-remove-jpeg-transform.patch | 82 +++ ...image-3.18.0-rename-jpeg_read_icc_profile.patch | 34 + .../files/freeimage-3.18.0-unbundling.patch | 724 +++++++++++++++++++++ media-libs/freeimage/freeimage-3.18.0.ebuild | 116 ++++ 7 files changed, 1029 insertions(+)
I've been told the unbundling patch from this bump is incomplete. If you link against freeimage then you get undefined references unless it was built with USE=-webp. I have verified this much for myself but haven't had a chance to look further. Would any of you be kind enough to provide a new patch?