Ticket #44399

MacOS .app build script

Open Date: 2022-04-16 17:29 Last Update: 2022-05-04 04:43

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

Working with Dean to create a script for building freeciv .app for MacOS using homebrew. So far discussed on freeciv-dev mailing list.

Ticket History (3/6 Histories)

2022-04-16 17:29 Updated by: cazfi
  • New Ticket "MacOS .app build script" created
2022-04-16 17:30 Updated by: cazfi
  • Details Updated
2022-04-16 23:27 Updated by: cazfi
  • Milestone Update from (None) to 3.1.0
Comment

It's quite clear that the initial commit won't be stable version quality. Targeting this to S3_1 & master only. The intention still is to backport the feature to S3_0 once it has matured a bit.

The patch I'm working on at the moment will add two scripts: 'macOS/homebrew/hbinstall.sh' and 'macOS/homebrew/macapp.sh'.

Usually one does not need to directly run hbinstall.sh, but ability to do so can be handy in the testing phase. It takes one parameter; the location to install to, e.g. "./hbinstall.sh /Applications/freeciv-3.2.app".

macapp.sh has a rudimentary support both for "full builds" and more iterative approach. This is currently determined solely from the prior existence of the target directory; if the directory does not exist, build includes the ./hbinstall.sh step, otherwise not. The target directory is "/Applications/freeciv-<version>.app" by default, but can be given as a command-line parameter.

2022-04-17 11:09 Updated by: cazfi
Comment

Split hbinstall.sh part -> #44400

So it can be made available (for testing) sooner. Like in a couple of minutes from now.

2022-04-18 14:38 Updated by: cazfi
Comment

I still haven't got Qt6-client build part to work. Requires at least #44412 first.

2022-05-04 04:43 Updated by: cazfi
Comment

With ddeanbrown's changed plans about the macOS packaging, this is now on hold. Likely to get dropped completely.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login