Opened 4 years ago
Closed 3 years ago
#61658 closed update (fixed)
audio/pianod 343 update from upstream
Reported by: | perette (Perette Barella) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch maintainer | Cc: | |
Port: | pianod |
Description (last modified by perette (Perette Barella))
Update port from version 175 to 343, reflecting the latest upstream version.
Attachments (3)
Change History (11)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 4 years ago by perette (Perette Barella)
Attachment: | pianod-329-port-patches.2.diff added |
---|
patchfile for pianod portfile, 175 to 329, revised with requests per Ryan
comment:2 Changed 4 years ago by perette (Perette Barella)
Why are ffmpeg and libao only used on Darwin 8 and 9?
These are needed for Snow Leopard (darwin 10) and earlier. AVFoundation, introduced in Lion, is used in later releases.
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
I tried installing the port on macOS 10.13 and it ends up linking with a lot more things than you declared dependencies on:
$ otool -L /opt/local/bin/pianod /opt/local/bin/pianod: /opt/local/lib/libtag.1.dylib (compatibility version 1.0.0, current version 1.17.0) /opt/local/lib/libgstreamer-1.0.0.dylib (compatibility version 1603.0.0, current version 1603.0.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.255.0) /opt/local/lib/libgnutls.30.dylib (compatibility version 59.0.0, current version 59.1.0) /usr/lib/libpam.2.dylib (compatibility version 3.0.0, current version 3.0.0) /opt/local/lib/libcurl.4.dylib (compatibility version 12.0.0, current version 12.0.0) /opt/local/lib/libwrap.7.dylib (compatibility version 7.0.0, current version 7.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
comment:4 Changed 4 years ago by perette (Perette Barella)
configure
assesses what is installed and chooses audio support and other features based on that. Should the Portfile be forcing its choices?
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port builds must be deterministic. You removed the gnutls dependency, but I already had gnutls installed and the port linked with gnutls. The port must therefore either declare a dependency on gnutls or ensure that gnutls will not be used even if it is already installed. Same for all of the other libraries.
comment:6 Changed 4 years ago by perette (Perette Barella)
I tried setting up the Portfile to run configure with various options to get it to build a certain way. It didn't work, and given limited time in my life, I recognize this isn't a technology battle I'm interested in winning.
Given the age of the existing port, and software rot issues (changing keys on Pandora and such) that I think mean it's broken as installed, I recommend the removal of this port. Is it possible to do that?
Changed 4 years ago by perette (Perette Barella)
Attachment: | pianod-329-port-patches.diff added |
---|
Revised patch 175->329 providing configure options to ensure no unexpected linking.
comment:7 Changed 4 years ago by perette (Perette Barella)
Description: | modified (diff) |
---|---|
Summary: | audio/pianod 329 update from upstream → audio/pianod 343 update from upstream |
Changed 4 years ago by perette (Perette Barella)
Attachment: | pianod-343-port-patches.diff added |
---|
Further revised patch to straight from 175 to 343.
comment:8 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
A
revision 0
line should remain here.This should instead be
distname piano2-${version}
.size
should be added as a third checksum type.Why are ffmpeg and libao only used on Darwin 8 and 9?
To avoid duplicating code, these two blocks should be combined into one.
You should append to your existing depends_lib rather than overwriting it.