-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fails to build with metadata-extractor 2.10.1 #13
Comments
Thanks for letting me know about this. In that case, if GpsPrune has to be compatible with version 2.10 (which I assume it must), then GpsPrune must also lose its ability to read the thumbnail images, which is a shame. Would it make sense for me to provide a GpsPrune 18.7 with just this little patch in it (or you could even patch it yourself, taking out the thumbnail section too)? This would provide a quick fix to let you get things into unstable. Or alternatively the patch could become part of GpsPrune 19, but that may take a little while longer to finish the testing. Which would you prefer? |
The issue speaks of TIFF images, for which other classes exist to read the thumbnail. It does look like metadata-extractor chose to break its API again without caring about its wider userbase, as it's infamous for. For the Debian package I'll apply Markus' patch and comment out the |
I asked the libmetadata-extractor project for help with this, and it looks like with version 2.10 it's really not going to be possible without writing (duplicating) additional code to re-parse the exif data blobs after the libmetadata-extractor has finished. And that doesn't seem the right way to do it. Rewind to when gpsprune was introduced to Debian, and it was dapal who persuaded me to add this dependency rather than just integrate the relevant bits of the code into the GpsPrune.jar. But for non-Debian users, I didn't want to add this extra dependency, so GpsPrune has since come in two versions, with an "internal" or an "external" Exif-handling capability. I'm not sure who would be able to decide whether GpsPrune could now be "allowed" to include its internal Exif-handling capability in Debian, but I feel that that would be the best solution to this problem. All you'd have to do is remove the "_debian" from the source filename. I think that would be the best way to avoid losing the thumbnail-reading abilities. |
While using embedded copy copies is greatly discouraged, the Debian package for JOSM has switched to using the embedded copy of metadata-extractor too, because the transitions it triggers are so unpleasant and it allows for much easier backports of JOSM for Debian stable releases. Adding another package that embeds metadata-extractor is far from great, but makes our lives much easier. I think we can be a bit more lenient on this point once more. |
I noticed that the regular source tarball also doesn't have the files in the If you can switch the |
I'd say that this issue can be closed with the release of version 19 of GpsPrune. |
Yes, this issue can be closed. gpsprune (19-1) has been uploaded to Debian unstable. The metadata-extractor related changes can be found in the git repository for the package: https://salsa.debian.org/debian-gis-team/gpsprune/commit/0105b1489818fc359b8174f4c1a8dab620c6beb9 |
As reported by Markus Koschany in Debian Bug #866762:
metadata-extractor-2.10.1.patch
The text was updated successfully, but these errors were encountered: