GIMP’s EBUILD state the dependency as >=media-gfx/mypaint-brushes-1.3.0, but that’s not enough: having media-gfx/mypaint-brushes-2.0.2 fails with “Error: missing dependency mypaint-brushes-1.0”. Reproducible: Always Steps to Reproduce: 1. Emerge =media-gfx/mypaint-brushes-2.0.2 2. Unmerge media-gfx/mypaint-brushes:2.0 3. Try to emerge media-gfx/gimp
Created attachment 655218 [details] emerge --info '=media-gfx/gimp-2.10.20::gentoo'
Created attachment 655220 [details] build.log
Second reproduce step should be, obviously, “Unmerge media-gfx/mypaint-brushes:1.0”, made a typo there.
Thank you for report. It's required to restrict dependency with mypaint-brushes:1.0 slot if gimp-2.10 isn't possible to be compatible with mypaint-brushes:2.0 slot.
*** Bug 737992 has been marked as a duplicate of this bug. ***
gimp-9999 obviously needs mypaint-brushes from both slots, that is 1.0 and 2.0. i did not test with other versions of gimp though.
here are the relevant lines from the configuration phase: # grep mypaint /var/tmp/portage/media-gfx/gimp-9999/temp/build.log checking for libmypaint >= 1.4.0... yes checking for mypaint-brushes-1.0... yes and these are the versions i have installed: # equery list mypaint-brushes * Searching for mypaint-brushes ... [IP-] [ ] media-gfx/mypaint-brushes-1.3.0-r1:1.0 [IP-] [ ] media-gfx/mypaint-brushes-2.0.2:2.0
(In reply to Miroslav Šulc from comment #6) > gimp-9999 obviously needs mypaint-brushes from both slots, that is 1.0 and > 2.0. i did not test with other versions of gimp though. I have to change gimp-9999 slot from :2 to :3 (or maybe :2.99) and set :2 restriction within gimp plugins as gimp-9999 already depends on gtk+-3 and python3. I.e. it's other branch of gimp, not the same as gimp-2.10.x.
(In reply to Sergey Torokhov from comment #8) > I have to change gimp-9999 slot from :2 to :3 (or maybe :2.99) and set :2 > restriction within gimp plugins as gimp-9999 already depends on gtk+-3 and > python3. I.e. it's other branch of gimp, not the same as gimp-2.10.x. yes, that makes sense. looking at the about window it reports to be 2.99.1 so maybe slot 2.99 would be a better choice until they change the version.
I currently test the gimp-2.10.20 ebuild with has_version "media-gfx/mypaint-brushes:2.0" condition with sed for configure.ac replacement of "mypaint-brushes-1.0" with "mypaint-brushes-2.0". As mentioned on https://github.com/mypaint/mypaint-brushes/releases for mypaint-brushes-2.0.0 > Mostly identical to 1.3 brushes with a few tweaks for some new inputs available in mypaint 2.x, such as viewzoom and viewrotation So I assume it should work too with gimp
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cf75f1ab2d3bcd808dee9d1b733fba4782baa3 commit a0cf75f1ab2d3bcd808dee9d1b733fba4782baa3 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2020-08-21 23:45:30 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-08-22 06:16:41 +0000 media-gfx/gimp: fix build and run with media-gfx/mypaint-brushes:2.0 Closes: https://bugs.gentoo.org/737794 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Michał Górny <mgorny@gentoo.org> media-gfx/gimp/gimp-2.10.18-r2.ebuild | 230 ++++++++++++++++++++++++++++++++++ media-gfx/gimp/gimp-2.10.20-r1.ebuild | 228 +++++++++++++++++++++++++++++++++ 2 files changed, 458 insertions(+)
(In reply to Sergey Torokhov from comment #10) > I currently test the gimp-2.10.20 ebuild with has_version > "media-gfx/mypaint-brushes:2.0" condition with sed for configure.ac > replacement of "mypaint-brushes-1.0" with "mypaint-brushes-2.0". As > mentioned on https://github.com/mypaint/mypaint-brushes/releases for > mypaint-brushes-2.0.0 > > > Mostly identical to 1.3 brushes with a few tweaks for some new inputs available in mypaint 2.x, such as viewzoom and viewrotation > > So I assume it should work too with gimp Thanks for fixing this, by the way. I was testing this myself after chatting with fordfrog, but a maintainer fix is even better. :)