Skip to content
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

libavif path #23

Open
totaam opened this issue Feb 13, 2022 · 2 comments
Open

libavif path #23

totaam opened this issue Feb 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@totaam
Copy link
Collaborator

totaam commented Feb 13, 2022

libavif was added in 5e8c135.

Problem is that the dylib id is wrong and requires tweaking after installing:

install_name_tool -id "$JHBUILD_PREFIX/lib/libavif.dylib" \
                                  "$JHBUILD_PREFIX/lib/libavif.dylib"

(somewhat similar to #19)

@totaam totaam added the bug Something isn't working label Feb 13, 2022
@totaam
Copy link
Collaborator Author

totaam commented Feb 20, 2023

libavif was updated to version 0.11.1 in 67e9966

Still a problem.

@totaam
Copy link
Collaborator Author

totaam commented Jan 29, 2024

Current version is 1.0.3

Based on:

I tried setting DCMAKE_INSTALL_NAME_DIR but that made no difference and cmake said:

CMake Warning:
  Manually-specified variables were not used by the project:

    DCMAKE_INSTALL_NAME_DIR

The next solution to try seems completely overkill: For libavif, since no one wrote a meson port for the WrapDB, it is "probably" possible to use meson's cmake module to configure libavif and parse the cmake debug tracing API, retrieve build definitions, and convert it to a meson AST then build it with meson. In case you're wondering, yes, that is exactly as hacky as it sounds.
I would rather add a patch to run ninja followed by our install_name_tool workaround... a single line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant