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:
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version('MyPaint', '1.5')
>>> gi.require_version('MyPaint', '1.6')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 132, in require_version
raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace MyPaint not available for version 1.6
% dpkg -L gir1.2-mypaint-1.5
/usr/lib/x86_64-linux-gnu/girepository-1.0/MyPaint-1.5.typelib
[...]
However this version string still follows the major.minor scheme, showing similar issues like what we discussed in #174 . This iscaused by
|
--nsversion="$(LIBMYPAINT_API_PLATFORM_VERSION)" \ |
and
|
m4_define([libmypaint_api_platform_version], |
|
[libmypaint_api_major.libmypaint_api_minor]) |
.
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.
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.minorscheme, 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.2release 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.