MacPorts
2018-11-19 12:33:12 UTC
#57643: pulseaudio: Examine gtk3 dependency
------------------------+------------------------
Reporter: ryandesign | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: pulseaudio
------------------------+------------------------
pulseaudio declares a library dependency on gtk3 (unless the minimal
variant is used). Is this really necessary? I see that it is using gtk3
headers at build time, but it does not appear to link to gtk3 libraries.
Would a build dependency be sufficient, or does it somehow still use gtk3
files at runtime?
I ask because pulseaudio's gtk3 dependency is the only remaining reason
why wine eventually depends on harfbuzz. wine must build universal, and as
of version 2, for the moment
[https://github.com/harfbuzz/harfbuzz/issues/1308 harfbuzz cannot build
universal anymore]. So at present I cannot update harfbuzz in MacPorts to
version 2 without making wine unbuildable. If pulseaudio didn't really
require gtk3 libraries at runtime, then pulseaudio could use
`depends_skip_archcheck-append gtk3` so that gtk3 and its dependencies
would not need to be installed universal.
------------------------+------------------------
Reporter: ryandesign | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: pulseaudio
------------------------+------------------------
pulseaudio declares a library dependency on gtk3 (unless the minimal
variant is used). Is this really necessary? I see that it is using gtk3
headers at build time, but it does not appear to link to gtk3 libraries.
Would a build dependency be sufficient, or does it somehow still use gtk3
files at runtime?
I ask because pulseaudio's gtk3 dependency is the only remaining reason
why wine eventually depends on harfbuzz. wine must build universal, and as
of version 2, for the moment
[https://github.com/harfbuzz/harfbuzz/issues/1308 harfbuzz cannot build
universal anymore]. So at present I cannot update harfbuzz in MacPorts to
version 2 without making wine unbuildable. If pulseaudio didn't really
require gtk3 libraries at runtime, then pulseaudio could use
`depends_skip_archcheck-append gtk3` so that gtk3 and its dependencies
would not need to be installed universal.
--
Ticket URL: <https://trac.macports.org/ticket/57643>
MacPorts <https://www.macports.org/>
Ports system for macOS
Ticket URL: <https://trac.macports.org/ticket/57643>
MacPorts <https://www.macports.org/>
Ports system for macOS