-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
puredata: upgrade to 0.54-0 and enable darwin #230569
Conversation
Looks great, thank you for this nice work. Could you please add this changelog url to the meta section? https://msp.puredata.info/Pd_documentation/x5.htm#s1 |
@onny thanks! Think this is ready to go now. Seems to work fine in sandboxed Darwin at least, in manual testing. I could manually test on x86 Linux (NixOS desktop) if needed too. |
Any action needed on my part to get this in? |
For anyone on macOS wanting to run Pure Data, feel free to use
in the meantime. |
ca42668
to
7cabc5d
Compare
Result of 1 package marked as broken and skipped:
2 packages failed to build:
6 packages built:
|
Breaks |
Thanks @wegank! When I'm running
on aarch64-darwin so I guess this is particularly about linux. I'll check it out on another machine. |
7cabc5d
to
a23abab
Compare
cyclone cannot compile because it's using private functions from puredata: pure-data/pure-data#2043 |
And gem is having
|
67d4de3
to
c5a5c7d
Compare
Until porres/pd-cyclone#627 is resolved and a patch release exists, I think it's best to mark cyclone as broken since it doesn't compile. Regardless, it would be nice to get out an updated Pure Data version to have it work on Macs. Thoughts? |
Cyclone has been fixed in their master branch. { lib, stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
pname = "cyclone";
version = "unstable-2023-09-12";
src = fetchFromGitHub {
owner = "porres";
repo = "pd-cyclone";
rev = "7c470fb03db66057a2198843b635ac3f1abde84d";
sha256 = "sha256-ixfnmeoRzV0qEOOIxCV1361t3d59fwxjHWhz9uXQ2ps=";
};
buildInputs = [ puredata ];
makeFlags = [
"pdincludepath=${puredata}/include/pd"
"prefix=$(out)"
];
postInstall = ''
mv "$out/lib/pd-externals/cyclone" "$out/"
rm -rf $out/lib
'';
meta = {
description = "A library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments";
homepage = "http://puredata.info/downloads/cyclone";
license = lib.licenses.tcltk;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
};
} |
Great news @magnetophon! |
So should we merge this now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 230569
run on x86_64-linux 1
10 packages built:
- cyclone
- gem
- helmholtz
- magnetophonDSP.VoiceOfFaust
- maxlib
- mrpeach
- puredata
- puremapping
- timbreid
- zexy
Seemed fine, until I tried to test my most important pd patch, the one inside Voice Of Faust.
I got:
verbose(0): osc/packOSC
verbose(1): ... couldn't create
verbose(0): net/udpsend
verbose(1): ... couldn't create
fiddle version 1.1 TEST4
error: /nix/store/6gxvrxaql2kmf4vqmlnjwp0abr8w1nvr-VoiceOfFaust-1.1.4/PureData/helmholtz~.pd_linux:libstdc++.so.6: cannot open shared object file: No such file or directory
verbose(0): helmholtz~
verbose(1): ... couldn't create
verbose(0): net/udpreceive 5511
verbose(1): ... couldn't create
verbose(0): osc/unpackOSC
verbose(1): ... couldn't create
verbose(0): osc/pipelist
verbose(1): ... couldn't create
verbose(0): osc/routeOSC /VoiceOfFaust/OSC/max_pitch /VoiceOfFaust/OSC/min_pitch
verbose(1): ... couldn't create
Terminated
Not sure what causes that, I haven't had time to investigate.
Hmm, on a skim it looks like there's a newer version of C++ assumed, since |
Should we merge this anyway or let it sit? |
Sorry for the late reply. AFAIK this is good to merge. |
I tried the following shell with this branch (
starting |
Thanks @raboof! I'll look into test running and fixing this when I get to a Linux workstation.
Hoping it's just a matter of adding libndi to buildInputs. |
Co-authored-by: Weijia Wang <[email protected]>
f3db539
to
6e8611a
Compare
Result of 1 package built:
|
Actually the NDI warning was just that, a warning. It seems something changed with the expected values passed to |
Description of changes
Upgrade Pure Data to latest and fix Darwin support.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)