stable gimp complains: EGL-geglmodule.c-Message: Module '/usr/lib64/gegl-0.2/ff-load.so' load error: /usr/lib64/gegl-0.2/ff-load.so: undefined symbol: avcodec_alloc_frame This is because avcodec_alloc_frame has been rename to av_frame_alloc in late ffmpeg, this ebuild hack fixes it for me: sed -i 's/avcodec_alloc_frame/av_frame_alloc/' \ ${S}/operations/external/ff-load.c \ ${S}/operations/workshop/external/ff-save.c || die
You could add epatch_user when fixing too
the patch works for me, it has been fixed upstream with >=gegl-0.3.4
Created attachment 503100 [details, diff] gegl-0.2.0-ffmpeg.patch created a patch for convenience
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0217aa144b09b53ccd7da255559fe90edd91e81a commit 0217aa144b09b53ccd7da255559fe90edd91e81a Author: Bob Brooks <gitbugged@cool.fr.nf> AuthorDate: 2017-12-16 18:16:49 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2018-01-10 22:35:07 +0000 media-libs/gegl-0.2.0-r5: fix ffmpeg/libav support ffmpeg has renamed avcodec_alloc_frame to av_frame_alloc Closes: https://bugs.gentoo.org/636780 Closes: https://github.com/gentoo/gentoo/pull/6154 .../files/gegl-0.2.0-ffmpeg-av_frame_alloc.patch | 38 +++++ media-libs/gegl/gegl-0.2.0-r5.ebuild | 164 +++++++++++++++++++++ 2 files changed, 202 insertions(+)