-
Notifications
You must be signed in to change notification settings - Fork 86
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
Gobject introspection file also bumps version string under major.minor versioning scheme #175
Comments
Yes, to my knowledge no project has ever used those bindings, and the new functions from 1.5 and onwards are mostly not exposed via the bindings (deliberately). I will look into how this should be handled some time later this week. Does creating an appropriately named symlink to the existing .typelib fix the import? |
Ok, so based on looking at: https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=names&keywords=gir1.2- the gir files/package should have been suffixed with The
Answer to that question is "no". A symlink fools the I think the thing to do here is to follow the convention of having not-so-meaningful minor versions in the gir names, i.e locking the naming to I think this is mostly academical though. Are there actually any reverse dependencies for any of the |
Yeah it's really some academical issues. I don't think any external project is using the connect introspection binding at this moment. That's also the reason I suggested that it might not be of high importance. However if such project is to exist in the future, maintaining a stable interface would be important then. |
I'm trying to use the libmypaint library in a python application but I'm having issues creating the bindings. Were you able to do it @hosiet ? @jplloyd any hint/help would be greatly appreciated. So far I have tried creating a .gir file using the command The content of the file generated is:
But then I'm stuck trying to use it in a python/pyside application. For reference, I'm looking at this port to Qt https://github.com/ethiccinema/qtmypaint , so this should be possible in theory with python bindings. |
This is a follow-up for #174 .
Actually libmypaint is also providing optional gobject introspection support. The problem is that using gobject introspection would require explicitly specifying the version. For example on my system:
However this version string still follows the
major.minor
scheme, showing similar issues like what we discussed in #174 . This iscaused bylibmypaint/Makefile.am
Line 16 in 2d1c974
libmypaint/configure.ac
Lines 42 to 43 in 2d1c974
I'm not suggesting to fix it soon with a
1.6.2
release or so since few other projects are using this gir binding and that I'm not familiar with gobject introspection conventions either. Maybe we need more investigation about how other libraries are handling it.The text was updated successfully, but these errors were encountered: