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

deprecations branch changes #106

Open
draekko opened this issue Jun 18, 2022 · 5 comments
Open

deprecations branch changes #106

draekko opened this issue Jun 18, 2022 · 5 comments

Comments

@draekko
Copy link

draekko commented Jun 18, 2022

FYI there were changes in gimp master that affect drawable.c from the deprecations branch

gimp_drawable_bpp -> gimp_drawable_get_bpp
gimp_drawable_width -> gimp_drawable_get_width
gimp_drawable_height -> gimp_drawable_get_height
gimp_drawable_offsets -> gimp_drawable_get_offsets

@bootchk
Copy link
Owner

bootchk commented Jun 18, 2022

Thanks. gimp master is the dev branch for 3.0. The deprecations branch anticipates gimp 3.0, but the deprecations branch is not usable with gimp master yet, without also using GimpFu v3. Not for everyday use, just for testing.

@draekko
Copy link
Author

draekko commented Jun 18, 2022

Welcome, figured i'd mention the changes sooner than later. I did the theme code, and themes for the prior version, and the original metadata editor, i have some ideas on how that kind of goes, lol.

Yeah i know that the plugins are still geared for the 2.x and the gui was removed. I was already doing some work on porting my NIK software plugins that i had for the older version of that as i learn about the new stuff was just looking at yours, got a barebones shell loading the plugin UI, was just looking at how to do the options. Trying to do it without gimpfu as i need some of that anyways for my own code. Tinkering with the heal with selection one right now.

@bootchk
Copy link
Owner

bootchk commented Jun 18, 2022

Glad to meet you. I recently contributed to GImp in the area of ScriptFu. The dialogs for plugins should be done by GimpProcedureDialog now, although it is far from complete. Briefly, each argument of a plugin is declared by. a property. GimpProcedureDialog creates a widget for each property that is an argument of the PDB procedure. Thats how it should work eventually. I will be glad to answer any questions that I can.

@draekko
Copy link
Author

draekko commented Jun 23, 2022

Howdy, thanks for the offer. I've managed to clean up my plugin under 2.99 and get it working though. Working on the old installer i had to get the wine stuff going for it as well the windows standalone part of the equation.

@draekko
Copy link
Author

draekko commented Jun 24, 2022

In case you're interested i'm done with my plugin to use NIK Collection on Gimp 2.10 and 2.99 on Ubuntu

https://github.com/draekko-rand/nik_for_gimp

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

No branches or pull requests

2 participants