giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.41k stars 462 forks source link

MacOS Version #1493

Open alfador1 opened 3 years ago

alfador1 commented 3 years ago

Hello, I'm a huge fan of cherrytree. I've used other note programs, but nothing is compared to it for me. Please make a MacOs Version.

xypron commented 3 years ago

Do you have a problem with https://github.com/giuspen/cherrytree#building-cherrytree-on-macos?

giuspen commented 3 years ago

The first step will be to try and add cherrytree to homebrew so that the users won't have to build it but a binary with all the dependencies will be installed. Subsequently I may try and package but only for the latest, so Big Sur

gagarine commented 3 years ago

Their is a homebrew package now. Could we have a macOS Application Bundle?

I tried to install it with https://ports.macports.org/port/cherrytree/summary but it failed. I'm trying to install homebrew but it take ages (they seem to clone the full repository on my machine) and mess-up my system :/.

EDIT: I gave up homebrew. I will wait for either macports to fix the issue or preferably for a macOS application bundle. I would be happy to test a macOS bundle, ping me if needed.

kencu commented 3 years ago

I fixed that issue with py27-pygtksourceview installing on BigSur that was holding you up; it's an issue with libtool, where libtool never considered a macOS version starting with 11.x.

So the python version of cherrytree is now working on MacPorts BigSur (arm as well). That makes it working on 10.4 PPC to 11.5 arm64, which is pretty good system coverage for that.

The c++ version of cherrytree on MacPorts needs a newer version of glib2 than MacPorts currently provides.

MacPorts tries to support all macOS systems from 10.4 up, and I'm still working on getting the newest versions of glib2 to pass the full test suite on Tiger and Leopard. We might selectively upgrade glib2 on only newer systems soon if I can't sort that out in a reasonable length of time.

kencu commented 3 years ago

I updated the MacPorts version to the current c++ version.

Using MacPorts robust support for older systems, it builds and runs properly on 10.6 SnowLeopard and up, and has a GUI launcher as usual for us.

I haven't tested it yet on 10.4 and 10.5. If the c++ version doesn't work there, I'll re-enable the python27 version for those systems.

MacPorts has two variations for gtk software, an x11 implementation and a quartz implementation. You get the x11 implementation by default.

sudo port install cherrytree

If you want the quartz implementation, you install it like this:

sudo port install cherrytree +quartz
giuspen commented 3 years ago

Great job thanks @kencu , I'll link from the cherrytree homepage