Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR replaces the python package py3exiv2 by package gexiv2. This is done since py3exiv2 has quite a few issues/disadvantages:
ImportError: libboost_python310.so.1.76.0: cannot open shared object file: No such file or directory
Besides that, we have the already known issues mentioned in e.g. #214
From the developers of exiv2 I learned about gexiv2 as an adequate replacement to py3exiv2.
Advantages/Disadvantages gexiv2:
+
Seems to provide everything py3exiv2 provides+
The code in metadata handler gets simplified to using some convenience function+
Is backed by GNOME and therefore in the official Arch repo (and possibly also repos of other distributions)+
gets more regularly updated and maintainer is also active in exiv2 community-
Installation is a bit more involved (compared topip install py3exiv2
)python-gobject
,libgexiv2
-
Overhead due to GObject?This PR is meant as a proof-of-concept and to raise a discussion concerning py3exiv2.
I did not yet manage to install gexiv2 in the venv using tox. So it is required to be installed system-wide, and then .venv needs to be regenerated to integrate system packages.