-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
README: add MacPorts instructions #329
Conversation
I'll pester @qballer who runs macOS just to be sure this is working, but this looks cool! |
I'm not a macports user, to be honest. how about @5c077m4n ? |
Sorry, I use homebrew too... @qballer |
I've got a Mac Pro, I'll see if I can spin it up to test it out in real quick. |
Alrighty, I got Macports installed, and setup, boy is it not the most straightforward thing compared to homebrew, especially on an older MacOS. I used MacOS High Sierra, and was able to install it with no issue with Macports, everything functioned as normal, and I wasn't able to get any issues in the process. Though notably, on a fresh install of Macports, installing Zellij will have you download quite a few dependencies. I'm not versed enough in Macports to know if that is just the typical Rust toolchain being built to compile it, or if its excessive. But all in all it works. 👍 |
Thank you for testing, @SaintFenix. I'm curious though; what were some of things that you felt weren't straightforward while setting up MacPorts? And dependencies will be downloaded only if a binary package of |
It's outside of this pull request, but, Homebrew is a one liner install, whereas Macports needs Xcode, which you have to download from the Mac App store. Not a huge issue, but if you are on the older version of the OS, you can't do it from the Mac App Store, you have to get (or already have) a developer account at apple to download an older version for your OS with the Command line pack seperate. So that's a bit of googling and setting up, and downloading. Once setup, you accept the licenses, and find the right package, install Macports, and then update the ports, and then you are ready to install. This took me around 10-15 minutes, whereas homebrews install is 2-3. It's not really a showstopper, but I'm just used to Homebrew's one line. That aside, I'm still quite happy that Zellij is being included in Macports. I appreciate your Pull Request on it. |
Thank you and much appreciated, @SaintFenix |
@SaintFenix According to https://docs.brew.sh/Installation#macos-requirements homebrew needs Xcode too |
Ah so that is the case, Macports gets a pass. |
@herbygillot thanks a lot for creating this. This seems very cool. I'm sorry I'm taking my time with merging this, but IMO the portfile currently poses some kind of a security threat as you aren't using the Now, I know very little about macports, if there is something I'm missing do let me know because the last thing I want to do is gatekeeping. |
No worries @qballer, that's a 100% valid concern, you're absolutely in the right to call that out. So to start, all software in MacPorts are ports that are defined by their Portfiles. A Portfile defines:
Note 1: Many of these options are implicit and/or default, so they aren't always going to be defined in a Portfile. Note 2: any downloadable source files defined are automatically uploaded to MacPorts mirrors so that the software can still be built even if the original upstream repo disappears. A Portfile by default wants to build things in the typical ./configure, make, make install way, but through the use of Portgoups (or by explicitly providing build commands), we support different packaging methods and programming languages. For
The You can see this here: Additionally, the SHA256 checksum you see there is the checksum of the crate exactly as it is downloaded from https://crates.io You can test this yourself: If you put together the URL pattern for After downloading the crate from that URL, its checksum should match what you see in
A Portfile has a maintainer, which is the typical model for most 3rd-party package repos (like the one for Archlinux or Ubuntu), and is responsible for updating the Portfile on software updates and and reviewing any changes proposed to the same. |
Sorry, that was a lot but: TLDR:
|
After discussing this with some of the maintainers of Zellijs and going through all the information your provided we decided we are going to do a community maintained packages area in our website docs where people can add links/instruction to all sorts of packages (nix, arch, MacPorts... etc) Adding this to the readme won't be possible at this time. If are willing to create another PR to our docs with this I will be more than happy to accept that. |
Sure, that's fine. If you can link me to the docs in question, I'll get a PR up at some point. |
https://github.com/zellij-org/zellij-org.github.io The install section isn't there yet though. |
@herbygillot, |
No description provided.