Summary: | multimedia/pipewire: drop dependency on devel/ncurses | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | arrowd, bapt, fluffy, grahamperrin, rhurlin, swills | ||||||
Priority: | --- | Keywords: | patch | ||||||
Version: | Latest | Flags: | arrowd:
maintainer-feedback+
|
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Jan Beich
2021-12-17 19:28:00 UTC
Created attachment 230206 [details]
v1.1
Drop -ltinfow from fake ncursesw.pc. On FreeBSD < 14 it's part of -lncursesw and garbage-collected by Meson via default -Wl,--as-needed (unless -Db_asneeded=false).
Better is push it for all consumers via ncurses.mk 'cause not only pipewire affected. I don't have a strong opinion on this. Jan, do you want to hack ncurses.mk, or let's just push this fix for pipewire only? (In reply to Gleb Popov from comment #3) > Jan, do you want to hack ncurses.mk, No. None of my ~226 ports have USES=ncurses:port. Everything else is not my problem. Then feel free to push this patch, thanks. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f6e6d2b9a7ff48699785d10be10a67732a20622 commit 4f6e6d2b9a7ff48699785d10be10a67732a20622 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-12-17 19:09:33 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-12-23 10:04:53 +0000 multimedia/pipewire: drop dependency on devel/ncurses Keep USES=ncurses to ensure consistency but don't require ncurses package as it overrides in-base version for all ports built after. PR: 260501 Approved by: arrowd (maintainer, previous version) multimedia/pipewire/Makefile | 14 ++++++-------- multimedia/pipewire/files/ncursesw.pc (new) | 10 ++++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) Landed with minor changes: Always define USES=ncurses to support transparent dependency on devel/ncurses for users who have it *already installed* (similar to USES=ssl + security/openssl). For example, clean build vs. dirty build with preinstalled ncurses (tested via Makefile.local): $ poudriere testport -j 122amd64 multimedia/pipewire [...] -Run-time dependency ncursesw found: YES 5.9.20140222 +Run-time dependency ncursesw found: YES 6.3.20211021 [...] - 0x0000000000000001 NEEDED Shared library: [libncursesw.so.8] + 0x0000000000000001 NEEDED Shared library: [libncurses.so.6] + 0x0000000000000001 NEEDED Shared library: [libtinfo.so.6] |