#46474: Make self-contained Mac app bundle Open Date: 2023-01-06 21:05 Last Update: 2023-01-09 22:32 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-09 22:32 Updated by: ddeanbrown * Status Update from Open to Closed Comment: I tried, I failed. Now convinced this is not possible after all. At least 2 killer problems - there is no static lib for gtk3, nor gtk4. Also the "the 'iconv_' vs 'libiconv_' namespaces macro magic" rears its ugly head - just one example, libSDL2.a has _iconv_close and libiconv.a has _libiconv_close. Closing this ticket, not sure whether Rejected or Invalid is better. --------------------------------------------------------------------- Ticket Status: Reporter: ddeanbrown Owner: (None) Type: Tasks Status: Closed 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