https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/1373/commits https://gitlab.gnome.org/GNOME/gimp/-/commit/42171503d4793612ca35919c517f057c68e35bcd#34fa2d7dbfd7cbacf575045ce385c0ea4df2b492 "data, plug-ins: logo images moved to gimp-data repository." causes sed: can't read data/images/meson.build: No such file or directory * ERROR: media-gfx/gimp-9999::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 3953: Called die * The specific snippet of code: * sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die The line was added to the live ebuild in https://github.com/gentoo/gentoo/commit/ea8ed037f7557a6871719a0a09859c3377802945 Bug 905586
I experienced this problem and I successfully temporarily worked around it by doing editing line 142 of /var/db/repos/gentoo/media-gfx/gimp/gimp-9999.ebuild to have "gimp-data" instead of "data" and then i enabled the vector-icons USE flag and now gimp-9999 built successfully for me after doing both of those things.
@jospezial Thanks for report!
(In reply to tacokoneko from comment #1) > I experienced this problem and I successfully temporarily worked around it > by doing editing line 142 of > /var/db/repos/gentoo/media-gfx/gimp/gimp-9999.ebuild to have "gimp-data" > instead of "data" and then i enabled the vector-icons USE flag and now > gimp-9999 built successfully for me after doing both of those things. @tacokoneko, Thanks for tip. Actually there should be replacement of "data/images/meson.build" with "gimp-data/images/logo/meson.build" to avoid QA notice about wrong installation path and to install symlink into proper place.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6dc1d7623523c4e9ba7d062521db041834164aa commit f6dc1d7623523c4e9ba7d062521db041834164aa Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2024-04-13 06:34:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-14 00:42:01 +0000 media-gfx/gimp: 9999, fix moving data in new directory Closes: https://bugs.gentoo.org/928557 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/gimp/gimp-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)