#46474: Make self-contained Mac app bundle Open Date: 2023-01-06 21:05 Last Update: 2023-01-22 21:14 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-22 21:14 Updated by: ddeanbrown Comment: I now think you are correct about shared libraries making the overall size smaller. I also tried your way of adding the needed stuff instead of removing the un-needed stuff and that's working well. The macos installation environment build scripts you did were useful to get me started. The only problem I now have is the meson build of the qt client fails because meson can't find the qt frameworks when they live in the app bundle, which I think is a meson bug. I have opened a ticket for it - https://github.com/mesonbuild/meson/issues/11302 Will try to get autotools build of the qt client working next. Question - I'm seeing a warning msg reported - ... Gtk-WARNING **: 20:53:50.510: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg. This may indicate that pixbuf loaders or the mime database could not be found. But I see nothing wrong with the display. Is this an ignorable warning? or is there something I need to add back in? I tried adding the adwaita-icon-theme package but that didn't help. --------------------------------------------------------------------- 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