#46474: Make self-contained Mac app bundle Open Date: 2023-01-07 04:05 Last Update: 2023-01-10 06:01 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-10 06:01 Updated by: cazfi Comment: For the lib)iconv namespace problem I think we could provide a wrapper function. Lack of static libraries for some components would necessitate building them ourselves, and maybe that's more involved process than we want to do now? But can you remind me what was the original reason it was necessary to do the static linking route instead of just including the libraries in the installer package? I'm guessing they had some unacceptable paths hardcoded to them? Does the reason apply also to those components that are available only as shared libraries? --------------------------------------------------------------------- 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