Code Monkey home page Code Monkey logo

Comments (7)

draekko avatar draekko commented on July 17, 2024 3

Quick and dirty patch to get this compiling, tested with the latest GIMP git pull (2.99.15 as of this morning). Set the GIMP check to 2.99.12 as i saw some issues on gmic_qt or gmic forget which that listed that there for the first version with that issue though i might be misremembering.

Here's the gist i made for it.

https://gist.github.com/draekko/8f5782a3cff5989d6464ae5415792a95

from gmic-qt.

dtschump avatar dtschump commented on July 17, 2024 1

b616829

from gmic-qt.

hfiguiere avatar hfiguiere commented on July 17, 2024 1

The commit above fixes this.

from gmic-qt.

jtojnar avatar jtojnar commented on July 17, 2024

GIMP now supports selecting multiple layers so the API was deprecated as described in #114 (comment) and #104 (comment) and GIMP 2.99.12 removed the deprecated functions altogether.

The plug-in will need to be updated to use gimp_image_list_selected_layers() instead of gimp_image_get_active_layer().

from gmic-qt.

zyy-2022-zyy avatar zyy-2022-zyy commented on July 17, 2024

Looking forward to fixing this bug.

from gmic-qt.

gstalnaker avatar gstalnaker commented on July 17, 2024

Coming late to this party - may I humbly suggest that information about this API deprecation issue that affects the gmic_gimp_qt plugin be put on the primary GMIC QT plugin download page? Please. I just spent TWO DAYS trying to figure out why the plugin worked in GIMP 2.99.8 but did not work in 2.99.12 before I found this issue here that clearly and unambiguously says why it does not work. Yes, I know 2.99.12 is not a stable release, but 3.00 will be and this issue will remain in all future non 2.10.x versions of GIMP until the QT plugin is updated to use the new API (however far into the future that update may be).

from gmic-qt.

dtschump avatar dtschump commented on July 17, 2024

@gstalnaker : GIMP 2.99.x is known to be a development version, so it is expected that features can be broken or changing at a fast pace (that is indeed the case for the plug-in API of future GIMP 3.0).
So to say, we do not suggest using the development version of GIMP if you require sth stable over time, particularly if you use third-party plug-ins (I doubt that many existing 3rd-party plug-ins continue to work with current dev version of GIMP).

When GIMP 3.0 will be out, as a stable version, we'll probably try to make the G'MIC code compatible with the GIMP 3.0 plug-in API, but until then, we won't try to follow the API changes in GIMP 2.99, as things could break and break again until the stable release.
If someone wants to do this job for G'MIC, and has the time to so do, then of course he's welcome.

from gmic-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.