Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942766 - media-libs/libheif-1.18.2 automagically depends on media-libs/libwebp
Summary: media-libs/libheif-1.18.2 automagically depends on media-libs/libwebp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 943171
  Show dependency tree
 
Reported: 2024-11-02 15:57 UTC by Takuya Wakazono
Modified: 2024-11-10 11:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Takuya Wakazono 2024-11-02 15:57:13 UTC
When installing the package from gentoobinhost (https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64), I see that it's linked against libsharpyuv.so.0, but media-libs/libwebp doesn't get installed.

# lddtree /usr/lib64/libheif.so
libheif.so => /usr/lib64/libheif.so (interpreter => none)
    libde265.so.0 => /usr/lib64/libde265.so.0
    libaom.so.3 => /usr/lib64/libaom.so.3
    libjpeg.so.62 => /usr/lib64/libjpeg.so.62
    libsharpyuv.so.0 => not found
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libstdc++.so.6
    libm.so.6 => /usr/lib64/libm.so.6
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgcc_s.so.1
    libc.so.6 => /usr/lib64/libc.so.6
    ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2

https://github.com/strukturag/libheif/blob/v1.18.2/CMakeLists.txt#L338
Comment 1 Ștefan Talpalaru 2024-11-02 16:27:44 UTC
I have been maintaining media-libs/libheif in my overlay since July 21st and it had proper dependencies from the start: https://github.com/stefantalpalaru/gentoo-overlay

I recently packaged libheif-1.19.1.
Comment 2 Takuya Wakazono 2024-11-02 16:43:28 UTC
Maybe you could make a PR to the Gentoo repo? It would be helpful since this is a maintainer-needed package.
[+] Comment 3 Ștefan Talpalaru 2024-11-02 16:46:51 UTC Comment hidden (spam)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-10 11:44:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591c186a97f0f9153d5850fdc39eae6390755106

commit 591c186a97f0f9153d5850fdc39eae6390755106
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-10 11:41:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-10 11:44:32 +0000

    media-libs/libheif: Add IUSE webp
    
    Closes: https://bugs.gentoo.org/942766
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/libheif/libheif-1.18.2-r1.ebuild | 102 ++++++++++++++++++++++++++++
 media-libs/libheif/libheif-9999.ebuild      |   8 ++-
 media-libs/libheif/metadata.xml             |   1 +
 3 files changed, 108 insertions(+), 3 deletions(-)