Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.8 breaks build of Inkscape in CentOS 7.5 64-bit #1176

Closed
AliceWonderMiscreations opened this issue Jun 17, 2018 · 3 comments
Closed

7.0.8 breaks build of Inkscape in CentOS 7.5 64-bit #1176

AliceWonderMiscreations opened this issue Jun 17, 2018 · 3 comments

Comments

@AliceWonderMiscreations

Description

On CentOS 7 (64 bit) Inkscape builds against ImageMagick 7.0.7 patch 22

Today I tried against 7.0.8 patch 1 and Inkscape will not build

Steps to Reproduce

During build of colorize.cpp.o:

/home/alice/rpmbuild/BUILD/inkscape-0.92.3/src/extension/internal/bitmap/channel.cpp: In member function 'virtual void Inkscape::Extension::Internal::Bitmap::Channel::applyEffect(Magick::Image*)':
/home/alice/rpmbuild/BUILD/inkscape-0.92.3/src/extension/internal/bitmap/channel.cpp:31:58: error: 'MatteChannel' is not a member of 'Magick'

Then during build of contrast.cpp.o

make[2]: *** [src/CMakeFiles/inkscape_base.dir/extension/internal/bitmap/channel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory /home/alice/rpmbuild/BUILD/inkscape-0.92.3' make[1]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2 make[1]: Leaving directory /home/alice/rpmbuild/BUILD/inkscape-0.92.3'
make: *** [all] Error 2

System Configuration

CentOS 7.5 with ImageMagick built using the spec file I have here:

https://git.domblogger.net/awel-libre.git/blob/master/SPECS/ImageMagick.spec

No patches to ImageMagick, all build dependencies it is built against are stock CentOS 7 libraries.

-=-

Thank you for your product.

@AliceWonderMiscreations
Copy link
Author

Okay based on issue #236 I decided to try changing two references from Magick::MatteChannel to Magick::AlphaChannel in the inkscape src.

I do not know if that is correct thing to do or not, but did get the build past that point to another error.

So it looks like there are some API changes that Inkscape needs to catch up on?

@AliceWonderMiscreations
Copy link
Author

Okay same issue is happening with 7.0.7 patch 22 so something has changed in the CentOS 7 build environment between 7.4 and 7.5 that breaks the build of Inkscape against newer than ImageMagick 6 (what CentOS 7 uses).

Now to try and figure out what that is - but I don't think it is an ImageMagick issue so I'm closing.

@AliceWonderMiscreations
Copy link
Author

Oh I feel like such an idiot, there's a inkscape patch I forgot to apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant