Hi! As I noted in some other bug report somewhere, I noted Inkscape fails at build with Imagemagick 7.x or recent. However, the requirement of 6.x versions of that package (as a dependency for some packages, i.e. Inkscape), creates a conflict with other packages which require recent versions of Imagemagick. I have installed Octave 5.1.0, which requires 7.x or newer, but conflicts with Inkscape. Some suggestion would be slotting Imagemagick, patching packages which can't support recent versions, or create a compat package which provides libraries only. Because of all I mentioned before, I can't do an emerge @world, even if I pass the --exclude argument for packages who create conflict. Thanks. Reproducible: Always
grepping gentoo main tree reveals there are 4 packages and 6 ebuilds depending on <imagemagick-7. it's for a reason i guess. unless there is a working patch for inkscape to make it work with imagemagick-7, it simply cannot depend on imagemagick-7. the workaround is to set USE="-imagemagick graphicsmagick" for inkscape which works fine for me.
I didn't try that because I masked the _beta version for obvious reasons (it's a beta, duh), the error is with Inkscape 0.92.4. Also, as far as I know, Imagemagick and Graphicsmagick do not fit together unless you install the latter with -imagemagick. If there are more packages with the same problem, there are more reasons to create a some kind of compat package for Imagemagick, as done with ncurses. Archlinux did it, with 6.x version of Inkscape available as a library only.
(In reply to jorgicio from comment #2) > I didn't try that because I masked the _beta version for obvious reasons > (it's a beta, duh), the error is with Inkscape 0.92.4. Also, as far as I > know, Imagemagick and Graphicsmagick do not fit together unless you install > the latter with -imagemagick. > > If there are more packages with the same problem, there are more reasons to > create a some kind of compat package for Imagemagick, as done with ncurses. > Archlinux did it, with 6.x version of Inkscape available as a library only. My bad. Where it says "Inkscape available as a library only" it must say "Imagemagick available as library only". Thanks.
Finally, I uploaded a proposition of a imagemagick-compat package in my package. Feel free to take a look, clone it from my repo or do some modifications if needed. It's in my overlay, jorgicio. https://github.com/jorgicio/jorgicio-gentoo-overlay I hope it helps. The rest of the work may be done by anyone who maintain their dependencies.
(In reply to jorgicio from comment #4) > Finally, I uploaded a proposition of a imagemagick-compat package in my > package. > > Feel free to take a look, clone it from my repo or do some modifications if > needed. It's in my overlay, jorgicio. > > https://github.com/jorgicio/jorgicio-gentoo-overlay > > I hope it helps. The rest of the work may be done by anyone who maintain > their dependencies. Please, dismiss that. I rather created another repo to do that. Check https://github.com/jorgicio/magick6-compat
I have been doing the same thing as Miroslav on my machines : imagemagick-7 graphicsmagick[-imagemagick] and inkscape compiles and runs fine for me.
(In reply to cyrillic from comment #6) > I have been doing the same thing as Miroslav on my machines : > imagemagick-7 > graphicsmagick[-imagemagick] > and inkscape compiles and runs fine for me. Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be fixed for that version.
*** Bug 699888 has been marked as a duplicate of this bug. ***
(In reply to jorgicio from comment #7) > (In reply to cyrillic from comment #6) > > I have been doing the same thing as Miroslav on my machines : > > imagemagick-7 > > graphicsmagick[-imagemagick] > > and inkscape compiles and runs fine for me. > > Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be > fixed for that version. try bug #663468 comment 10 and 14
(In reply to Thomas Bettler from comment #9) > (In reply to jorgicio from comment #7) > > (In reply to cyrillic from comment #6) > > > I have been doing the same thing as Miroslav on my machines : > > > imagemagick-7 > > > graphicsmagick[-imagemagick] > > > and inkscape compiles and runs fine for me. > > > > Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be > > fixed for that version. > > try bug #663468 comment 10 and 14 Sounds good. The problem is that Inkscape is not the only package with this issue. That's why I created the magick6-compat overlay. So the fix may be applied for all those packages too.
jorgicio, how do you use your overlay? I installed the package imagemagick-compat, but inkscape and obs-studio still both require imagemagick to be installed (which is being blocked by imagemagick-compat). Thanks for your work on this.
Any chance this will get to official portage tree?
fixed in rc1