Repository navigation
fix: link the system libheif and require the HEVC decoder plugin - #122
Open
hojjatabdollahi wants to merge 1 commit into
Open
hojjatabdollahi wants to merge 1 commit into
hojjatabdollahi wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The
embedded-libheiffeature of libheif-rs compiles a static libheif but emits a plain-lheif, so the final link picks whichever libheif the search path reaches first. In the Pop build chroot that is the system libheif.so, because libheif-dev is a build dependency. So the package depends on libheif1, but libheif1 only "Suggests" libheif-plugin-libde265, so clean installs have no HEVC decoder. Local builds behave differently again,which made this hard to see.I'm dropping the
embedded-libheiffeature and link the system libheif via pkg-config.libheif-rsrequires >= 1.17 and noble has 1.17.6 and resolute 1.21.2, so both should be good and addedlibheif-plugin-libde265as a dependency (shouldn't have a licensing issue).Note: the viewer still discards this error and falls back to the empty state. It should surface the issue, maybe even suggest installing the required plugin if it's missing.