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

Add patch for libheif #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add patch for libheif #6

wants to merge 1 commit into from

Conversation

L4cache
Copy link

@L4cache L4cache commented Dec 7, 2024

No description provided.

# TODO: how to do configure vvdec cleanly?
find_package(Threads REQUIRED)
- find_package(vvdec 2.3.0)
+ find_package(vvdec 3.0.0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering about this, but why do you need to bump the version number? Does it cause a configuration error?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vvdec cmake returns error if major version mismatch.
IIRC it does not make configuration fail, but the vvdec will not be linked.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your issue on libheif's repo. I'm not really sure where the blame lays, I guess vvdec is being really paranoid about major version changes.

endif()

- find_package(Brotli)
+ # find_package(Brotli)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because of the whole brotlicommon, brotlienc, and brotlidec linking order issues?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes...
Shall I add comment about that?
Or can you help to figure out a solution?❤

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc, I had a few issues regarding brotli and libjxl due to linking issues, may need to look at that to figure out more.

libheif/0001-Edit-CMakeLists.patch Outdated Show resolved Hide resolved
Comment on lines +72 to +52
-find_package(TIFF)
+# find_package(TIFF)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the error with this one? linking issues?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and there's also "built tiff" vs. "pacman tiff" situation.
"built tiff" causes configuration failure, "pacman tiff" has linking issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants