Currently only the openexr USE flag is required for media-libs/vigra, but it seems that tiff is required even when not using TIFF format in hugin. I belive tiff is default for media-libs/vigra but if the user has -tiff in make.conf a USE flag change will not be required for media-libs/vigra when installing media-gfx/hugin, when it should, otherwise hugin does not work even when not using TIFF at all. # Steps to reproduce 0. Emerge media-gfx/hugin with default USE flags and -tiff in make.conf 1. Open Hugin UI 2. Click "Load Images", select JPEG images 3. Click "Align" 4. Click "Create Panorama", select JPEG as LDR format (unselect TIFF) # Expected result Batch job completes without errors and JPEG panorama is saved. # Actual result Batch job finishes with error: Precondition violation! did not find a matching codec for the given file extension (/var/tmp/portage/media-libs/vigra-1.11.1-r9/work/vigra-1.11.1/src/impex/codecmanager.cxx:270) # Proposed solution Re-emerging media-libs/vigra with tiff USE flag solves the issue (repeat steps to reproduce above after re-emerging and the outcome is as expected). Since tiff USE flag is required even when not working with TIFF, I believe it should be required by default. I don't know if there is an issue in Hugin itself that it's using TIFF at some point even when JPEG is selected as the LDR format for JPEG inputs, but, anyhow, it fails today on Gentoo.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6882ffa9a5d78c4820114ce56da803edc8f9b9 commit 3e6882ffa9a5d78c4820114ce56da803edc8f9b9 Author: Markus Meier <maekke@gentoo.org> AuthorDate: 2024-10-31 20:47:22 +0000 Commit: Markus Meier <maekke@gentoo.org> CommitDate: 2024-10-31 20:47:22 +0000 media-gfx/hugin: version bump Bug: https://bugs.gentoo.org/938945 Signed-off-by: Markus Meier <maekke@gentoo.org> media-gfx/hugin/Manifest | 2 +- .../hugin/{hugin-2024.0_beta1.ebuild => hugin-2024.0_rc1.ebuild} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Apparently, yes, so let me close this for you?