Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Q&D patch for the multilib fix on N41/F41#4733

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
1div0 wants to merge3 commits intoAcademySoftwareFoundation:main
base:main
Choose a base branch
Loading
from1div0:HEIF

Conversation

@1div0
Copy link
Contributor

@1div01div0 commentedMay 1, 2025
edited by lgritz
Loading

Description

This PR is intended to avoid the HEIF library version detection failure on the latest Nobara 41 and Fedora 41 as well as 42 distributions.

There must be a better distribution neutral way, so marking as draft.

Fixes#4732

Signed-off-by: Peter Kovář <peter.kovar@reflexion.tv>

find_path (LIBHEIF_INCLUDE_DIR
libheif/heif_version.h
libheif/heif_version-64.h
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
libheif/heif_version-64.h
NAMES libheif/heif_version.hlibheif/heif_version-64.h

According tocmake docs, you can give several names to try.


if (LIBHEIF_INCLUDE_DIR)
file(STRINGS"${LIBHEIF_INCLUDE_DIR}/libheif/heif_version.h" TMPREGEX"^#define LIBHEIF_VERSION[\t].*$")
file(STRINGS"${LIBHEIF_INCLUDE_DIR}/libheif/heif_version-64.h" TMPREGEX"^#define LIBHEIF_VERSION[\t].*$")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you'll want something like

    if (EXISTS name_choice_1)        set (heif_header name_choice_1)    else if (EXISTS name_choice_2)        set (heif_header name_choice_2)    endif ()    file(STRINGS ${heif_header_name} TMP REGEX "^#define LIBHEIF_VERSION[ \t].*$")

@lgritz
Copy link
Collaborator

Ping on this,@1div0

@lgritz
Copy link
Collaborator

@1div0 Re-ping

1div0 reacted with eyes emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lgritzlgritzlgritz left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] HEIF library impedance mismatch

2 participants

@1div0@lgritz

[8]ページ先頭

©2009-2025 Movatter.jp