cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

Provide a MacOS app bundle

Open gagarine opened this issue 3 years ago ā€¢ 9 comments

Today cherrytree can only be installed by command line package manager such as brew or MacPort.

This is not the traditional way to install app on MacOS. Most people don't know how to use a CLI. It's also very fragile and may crash on update.

Describe the solution you'd like Provide app bundle inside a .dmg archive. So user can install the app like most app on MacOS: download the archive and install the app by copying it in the /Applications folder.

This may help: https://stackoverflow.com/questions/1596945/building-osx-app-bundle https://github.com/auriamg/macdylibbundler/

gagarine avatar Sep 09 '21 12:09 gagarine

I tried in the past and gave up, I'll try again

giuspen avatar Sep 09 '21 20:09 giuspen

Hi giuspen, It would be really nice if a solution like this could be found. I use it on windows and linux without any problems. We would be very happy if this solution is brought in Mac osx. Cherrytree is a really good application and it is constantly updated. Thank you very much for your effort. Have a good day.

secfb avatar Oct 15 '21 08:10 secfb

It is in my mind, the fact that it requires a good amount of time and a way to run on mac exists even if not straightforward made me put this to lower priority, still I have to admit I haven't looked yet at https://github.com/auriamg/macdylibbundler/ which I will try to follow

giuspen avatar Oct 16 '21 16:10 giuspen

would love to see a native app package

phillips321 avatar Oct 31 '21 08:10 phillips321

@giuspen I can build a native macOS app for Cherrytree if you're interested, building and packaging GTK apps for macOS is my specialty. You can take my work for Zim (https://gitlab.com/dehesselle/zim_macos) as a reference of how that will look like.

dehesselle avatar Oct 14 '22 23:10 dehesselle

@giuspen I can build a native macOS app for Cherrytree if you're interested, building and packaging GTK apps for macOS is my specialty. You can take my work for Zim (https://gitlab.com/dehesselle/zim_macos) as a reference of how that will look like.

Iā€™m sure many people will be pleased if you are capable?

phillips321 avatar Oct 15 '22 04:10 phillips321

@dehesselle that would surely be appreciated. I had a quick look to your build system for zim and I noticed that you are rebuilding everything including the libraries. Is there a reason to not try and bundle the built libraries/binaries from homebrew which is what I wanted to try in the first place?

giuspen avatar Oct 15 '22 12:10 giuspen

I don't want to discourage you from trying to use Homebrew, it's just not what I'm offering to do. I'm looking to use my build stack to bring more GTK based apps to macOS. That way a project gets an app and I can further mature my build stack.

I also have technical reasons, but they might not carry as much weight for you as they do for me:

  • When I started building GTK for macOS, I decided against Homebrew/MacPorts/... and to go as native as possible, i.e. build GTK how GNOME/GTK people themselves are doing it, so I won't have any problems in case I need support ("This is a GTK problem, talk to them!" - "This is a Homebrew-based build, talk to them!").
  • Both Homebrew and MacPorts follow the rolling release model and do not support selecting and sticking to specific versions of software. That's a big "no-no" if you want to create reliable and reproducible builds or just need to be picky to circumvent bugs and/or regressions.
  • Supporting older macOS versions can range from "cumbersome" to "impossible" depending on age.

dehesselle avatar Oct 15 '22 17:10 dehesselle

@dehesselle I'm happy with your approach and to eventually link your result and/or use your scripts (which one you prefer) for the benefit of the users

giuspen avatar Oct 15 '22 17:10 giuspen

The first release is ready for testing.

  • project page: https://gitlab.com/dehesselle/cherrytree_macos
  • downloads: https://gitlab.com/dehesselle/cherrytree_macos/-/releases
  • I have not tested the arm version.
  • macOS Ventura is to be considered not supported at this time; it runs but many UI items don't react to mouse events (upstream issue)

Questions:

  • Is the t in Cherrytree supposed to be upper or lower case?
  • The menu bar is not integrated with the macOS menu bar (and that's not specific to my packaging), correct?

dehesselle avatar Nov 04 '22 13:11 dehesselle

Many thanks for your work @dehesselle I'm going to link your releases page from https://www.giuspen.net/cherrytree/#downl It is not really important but personally I prefer either all lowercase (cherrytree) or camelcase (CherryTree)

giuspen avatar Nov 11 '22 16:11 giuspen

Thanks for the info, I'm going to change a few places to camelcase (it's also camelcase in the title bar).

You can ping me when you release a new version/bugfix/... and I'll create the app for it.

dehesselle avatar Nov 11 '22 17:11 dehesselle

Ho @dehesselle I issued a new version 0.99.52 would be useful if you try and upgrade your installer when you have time, thanks!

giuspen avatar Nov 25 '22 15:11 giuspen

@giuspen I'll have it ready in a few hours.

dehesselle avatar Nov 25 '22 16:11 dehesselle

@giuspen Done.

dehesselle avatar Nov 25 '22 20:11 dehesselle

Thank you very much @dehesselle

giuspen avatar Nov 26 '22 13:11 giuspen

Shall we close this issue?

dehesselle avatar Nov 26 '22 17:11 dehesselle

Could we ask for 1.0.0 app bundle ? :)

mmajchrowicz-afine avatar Jul 25 '23 08:07 mmajchrowicz-afine

@mmajchrowicz-afine Done.

dehesselle avatar Jul 26 '23 18:07 dehesselle

@dehesselle Thanks works awesome. Also a lot of (Mac OS X 10.13 specific) bugs fixed šŸ˜„ Good job šŸ‘

sectroyer avatar Jul 26 '23 19:07 sectroyer

@mmajchrowicz-afine Done.

Is this via brew or a standalone app? If so where is the app? Thanks

phillips321 avatar Jul 26 '23 19:07 phillips321

@phillips321 It's available here: https://gitlab.com/dehesselle/cherrytree_macos/-/releases

@dehesselle works great.

mmajchrowicz-afine avatar Jul 26 '23 19:07 mmajchrowicz-afine

@phillips321 It's available here: https://gitlab.com/dehesselle/cherrytree_macos/-/releases

@dehesselle works great.

Can we link this on the main repo Readme?

phillips321 avatar Jul 26 '23 20:07 phillips321

Ok @phillips321 I will mention also in https://github.com/giuspen/cherrytree/blob/master/README.md ( currently only in https://www.giuspen.net/cherrytree/#downl )

giuspen avatar Aug 11 '23 17:08 giuspen