#46474: Make self-contained Mac app bundle Open Date: 2023-01-07 04:05 Last Update: 2023-01-26 03:55 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46474 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46474 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-01-26 03:55 Updated by: cazfi Comment: Reply To ddeanbrown I don't get this error when building with normal homebrew, only with homebrew in the app bundle, but I can't think of how that could make a difference. Configure finding different things, and in some cases enabling features as a result (basically any configure options defaulting to "try to get this to work", and not explicit "enable" or "disable") Compare fc_config.h of those builds to see what features they have differently (I suspect nls, but of course the compile should still work on both cases) --------------------------------------------------------------------- Ticket Status: Reporter: ddeanbrown Owner: (None) Type: Tasks Status: Open Priority: 5 - Medium MileStone: 3.1.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Spun off from #46342 It looks like it is possible to build a self-contained Mac app bundle with meson, using static libraries. This would allow an end user to download a zip file, un-zip it, put freeciv.app in their Applications folder, and run it without having to install homebrew and the homebrew packages. Would need a script to build it, and a MacAppREADME.txt file to include in the zip file. The main issue is that meson.build needs to replace (at least some) calls to c_compiler.find_library() with calls to dependency(). -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/46474 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46474