-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
liquid-dsp: fix license #4093
liquid-dsp: fix license #4093
Conversation
Notifying maintainers: |
liquid-dsp does indeed use the MIT license. Like, forever. Not sure how I missed that, but thanks for that fix! CubicSDR is correct at GPLv2; whew! So is CubicSDR not distributable when liquid-dsp uses the GPLv3 as its license? I thought since GPLv3 is (for all practical purposes) a superset of GPLv2, it would allow binary distribution in various forms that must include the license and maybe some other files. The MIT license is pretty much totally open, which would definitely allow for binary to be distributable regardless of the project license ... yes? Thanks for the PR & for clarifying! |
this is from
and I don't have the knowledge to evaluate if it is correct.
MIT, for what I know, it is similar to 2-BSD (has something more on selling and on code management like sub-licensing) so it permits to distribuite the binary without restrictions and this is also valid for packages that use it. |
Travis Build #6006 Failed. Lint results
Port CubicSDR success on xcode10.2. Log |
the failure on xcode8.3/7.3 should be caused by cjcliffe/CubicSDR#723 and it is quite important because touch macOS 10.12 and 10.11. |
Interesting about the license. I'm good with both changes since 'port' is LOL. |
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.
LGTM
Ops. I preferred to avoid merge and fix the build problem but it is ok, we will add a new revision.
I see also this on trac but the solution is quite different. |
errors sent upstream |
Merged. As for the build issue: On my OSX 10.10 boot, CubicSDR fails as expected, so I can replicate the issue. I'm trying what you note as a possible CXXFLAGS addition, which would be a nice simple fix. More soon. |
Yes that tweak works:
CubicSDR builds on both 10.10 and 10.14 for me. It worked before on 10.14, but failed on 10.10 ... so I think this change does no harm at least for newer OSX. I haven't tried it on anything older yet; still updating ports & need to reboot to get those OSX versions. I'm trying on OSX 10.5 PPC using GCC6; probably won't work but who knows? |
Just rebooted into OSX 10.6. Trying first without this tweak. I'll try with it (regardless of whether it fails without it). Probably will end up being Monday before I can get back to this. Just about at end of workday & all of my build-bot computers are at work, without remote access (yet; one of these days ...). |
maybe you can commit that macro |
# from documentation
if {${os.platform} eq "darwin" && ${os.major} < 13} {
pre-fetch {
ui_error "${subport} @${version} requires OS X 10.9 or newer"
return -code error "unsupported Mac OS X version"
}
} |
Yes I found that out the hard way LOL. I couldn't even get SoapySDR to build on OSX 10.5 PPC. Then CubicSDR failed on 10.6. I was about to try 10.7, then ran out of time at the same time as I came upon that piece of code. I'll try 10.9 Monday, but I went ahead and committed the fix: a03b49f . |
;-) |
ops..you need to bump up revision... |
Nope! Here's a little history: Rev-bumps are mostly reserved for anything that changes the ABI (binaries: applications, libraries, plugins) or API (data: headers, docs, related data such as images) or MP-internals (such as dependencies). We don't generally rev-bump for changes to *FLAGS, as those don't generally change anything on the install side; doing the rev-bump here is a call that has to be made by the maintainer. So doing a rev-bump after changing the license is OK as that's MP-internals. The change here just fixes the build for certain OSX versions by clarifying where to find a specific API; it doesn't otherwise impact the OSX where it's currently working & hence no rev-bump needed. Tradition is if the build is broken right now && the fix doesn't require a rev-bump (per the above), then we put in the fix but don't rev-bump. IMHO doing a rev-bump doesn't hurt, and I would prefer to do so for "small" builds such as this one; I think doing this helps keep track of even minor changes. But it's not tradition & not required, and for "large" builds doing so would result in tedious and often unnecessary rebuilding -- so, I bow to this tradition && I get why. Hope this is useful! |
Thank you for your enlightenment. In this case, I though to rev-bump to trigger the package builder. I remember this from another discussion. is this reasonable? |
Triggering the package builder can be done in other ways IIRC. I also tend to believe that the CubicSDR folks will push more changes soon enough (to fix this issue, or some other issue, or add new features etc), and so we'll be updating the port soon enough. That said, if you truly want the rev-bump I'll push it ... you are a port maintainer after all, so your opinion matters! |
Was just a question to understand the best-practice/limits ;-) |
I believe that this is true: For people with a login to the package builder, they can trigger a package rebuild via the web interface. I might be mistaken. It's not something I do, even if I did have access (which I might). |
ok. thank you! |
Description
port_binary_distributable.tcl
)Type(s)
Tested on
macOS 10.14.4 18E226
Xcode 10.2.1 10E1001
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?