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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support compilation using system libgmic and CImg #157
Conversation
Co-authored-by: Antonio Rojas <arojas@archlinux.org>
oh i was planning to refresh my PR over the weekend. thank you for doing it :) |
We don't really get what is your goal with this PR. |
That's only available in the qmake toolchain, and is Linux only. Also cc @antonio-rojas and @darix for more context. |
Well, but why having to change all these files to make it work for other platforms than Linux?
that appears in most |
I see you want to remove the definition of |
Ha I guess, that's because you don't want |
@c-koi , maybe we can wait for @amyspark 's answer, but if so, the PR seems correct to me. |
The krita5 gmic plugin links against libgmic, We want to build with the header files and library provided by a gmic package and not do a in-source build in the gmic sources. |
Krita forked gmic-qt for their integration into krita. Due to the way gmic-qt was built it included the gmic.cpp file and as such it was recompiled over and over. in an ideal world a distro builds one gmic package. and gmic-qt is a separate package that links against the gmic-devel package. And then building krita's gmic integration becomes very simple without n compiled copies of gmic.cpp on a system. This discussion is related to this PR. You accepted all the needed fixes for this in gmic itself. just the cleanup of the gmic-qt side is still pending. |
I understand. |
馃憢
This PR upstreams the patches enabling building Krita's G'MIC-Qt using system libgmic and CImg. These were provided originally by @darix and @cryptomilk, with a recent bugfix by @antonio-rojas for G'MIC-Qt 3.1.4.
The attached commits are extensions of the below PRs, which will be closed as completed.
Closes #134
Closes #81
cc @dtschump @c-koi