238a6cc
@@ -20,6 +20,7 @@
Requires: gtk3 >= 3.20
Requires: glib2 >= 2.48
Requires: gtksourceview4 >= 4.0
+ Requires: python3-gobject >= 3.30
Requires: python3-gobject-base >= 3.30
Requires: python3-cairo >= 1.15
Recommends: patch
The meld program will output following message while lacking the shared library which are provided by python3-gobject package
python3-gobject
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
$ rpm -ql python3-gobject ... /usr/lib64/python3.10/site-packages/gi/_gi_cairo.cpython-310-x86_64-linux-gnu.so
Where, _gi_cairo.cpython-310-x86_64-linux-gnu.so is needed. However, the packagepython3-gobject-base listed in spec file didn't seem to contain the required shared library.
_gi_cairo.cpython-310-x86_64-linux-gnu.so
python3-gobject-base
$ rpm -ql python3-gobject-base ... /usr/lib/python3.10/site-packages/gi /usr/lib/python3.10/site-packages/gi/overrides /usr/lib/python3.10/site-packages/gi/overrides/GIMarshallingTests.py /usr/lib/python3.10/site-packages/gi/overrides/GLib.py /usr/lib/python3.10/site-packages/gi/overrides/GObject.py /usr/lib/python3.10/site-packages/gi/overrides/Gdk.py /usr/lib/python3.10/site-packages/gi/overrides/GdkPixbuf.py /usr/lib/python3.10/site-packages/gi/overrides/Gio.py /usr/lib/python3.10/site-packages/gi/overrides/Gtk.py /usr/lib/python3.10/site-packages/gi/overrides/Pango.py /usr/lib/python3.10/site-packages/gi/overrides/__init__.py /usr/lib/python3.10/site-packages/gi/overrides/__pycache__ /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GLib.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GLib.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GObject.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GObject.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gdk.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gdk.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GdkPixbuf.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/GdkPixbuf.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gio.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gio.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gtk.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Gtk.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Pango.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/Pango.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/keysyms.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/overrides/__pycache__/keysyms.cpython-310.pyc /usr/lib/python3.10/site-packages/gi/overrides/keysyms.py /usr/lib/python3.10/site-packages/gi/repository /usr/lib/python3.10/site-packages/gi/repository/__init__.py /usr/lib/python3.10/site-packages/gi/repository/__pycache__ /usr/lib/python3.10/site-packages/gi/repository/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/gi/repository/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/pygtkcompat /usr/lib/python3.10/site-packages/pygtkcompat/__init__.py /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__ /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-310.pyc /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-310.pyc /usr/lib/python3.10/site-packages/pygtkcompat/generictreemodel.py /usr/lib/python3.10/site-packages/pygtkcompat/pygtkcompat.py /usr/lib64/python3.10/site-packages/PyGObject-3.42.0.egg-info /usr/lib64/python3.10/site-packages/gi /usr/lib64/python3.10/site-packages/gi/__init__.py /usr/lib64/python3.10/site-packages/gi/__pycache__ /usr/lib64/python3.10/site-packages/gi/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/__init__.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_constants.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_constants.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_error.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_error.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_gtktemplate.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_gtktemplate.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_option.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_option.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_ossighelper.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_ossighelper.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_propertyhelper.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_propertyhelper.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_signalhelper.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/_signalhelper.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/docstring.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/docstring.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/importer.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/importer.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/module.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/module.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/pygtkcompat.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/pygtkcompat.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/types.cpython-310.opt-1.pyc /usr/lib64/python3.10/site-packages/gi/__pycache__/types.cpython-310.pyc /usr/lib64/python3.10/site-packages/gi/_constants.py /usr/lib64/python3.10/site-packages/gi/_error.py /usr/lib64/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so /usr/lib64/python3.10/site-packages/gi/_gtktemplate.py /usr/lib64/python3.10/site-packages/gi/_option.py /usr/lib64/python3.10/site-packages/gi/_ossighelper.py /usr/lib64/python3.10/site-packages/gi/_propertyhelper.py /usr/lib64/python3.10/site-packages/gi/_signalhelper.py /usr/lib64/python3.10/site-packages/gi/docstring.py /usr/lib64/python3.10/site-packages/gi/importer.py /usr/lib64/python3.10/site-packages/gi/module.py /usr/lib64/python3.10/site-packages/gi/pygtkcompat.py /usr/lib64/python3.10/site-packages/gi/types.py /usr/share/doc/python3-gobject-base /usr/share/doc/python3-gobject-base/NEWS /usr/share/licenses/python3-gobject-base /usr/share/licenses/python3-gobject-base/COPYIN
I hope adding the dependency could solve the problem.
rebased onto f3e02f7
rebased onto 238a6cc
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2142342
Pull-Request has been merged by dmaphy
The meld program will output following message while lacking the shared library which are provided by
python3-gobject
packageWhere,
_gi_cairo.cpython-310-x86_64-linux-gnu.so
is needed. However, the packagepython3-gobject-base
listed in spec file didn't seem to contain the required shared library.I hope adding the dependency could solve the problem.