Ticket #44399

MacOS .app build script

Date d'ouverture: 2022-04-16 17:29 Dernière mise à jour: 2024-02-23 08:07

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

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/7 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
Commentaire

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
Commentaire

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
Commentaire

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

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

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

2024-02-23 08:07 Updated by: cazfi

Attachment File List

No attachments

Modifier

Please login to add comment to this ticket » Connexion