Attached is a larger patch which builds a "bundle" on Mac OS X. A bundle usually contains all resources needed by an application, and optionally all non-standard shared libraries and frameworks. It appears as an application in the finder and can be lauched by double-clicking it. As usual, on OS X the application's name is "QLandkarte GT", not "qlandkartegt".

The patch also takes care of the localisation of the standard menus, shifting a few menu items (about, prefs, quit) to the standard menu for localised environments. Additionally, it shifts the .config stuff to the place where Mac OS X usually stores it (~/Library/Application Support).

The patch consists of a diff and a new folder which should go into the top-level directory (QLandkarteGT/MacOSX). The two files are a helper script for creating the localisation files for the standard items, and an icon bundle for the Finder (basically containing different scaled versions on the globe icon).

Best, Albrecht.


Mac OS X Patch details
----------------------
- src/IDlgConfig.ui: dialogue title should be "Preferences", not only "Dialog"
- src/CWptDB.cpp, src/CGarminIndex.cpp, src/CGarminTile.cpp, 
src/CMapSearchWidget.cpp: use proper config folder
- src/CMainWindow.cpp: don't translate standard items, so they get shifted
- src/CMegaMenu.cpp: fix too small tab width, and fix tracks menu containing only 
"Copy"
- src/CDeviceGarmin.cpp: load drivers from the bundle (still TODO for GarminDev)
- src/main.cpp: use proper config folder, get translations from bundle, set 
domain for preferences, really show splash screen
- src/CMakeLists.txt, CMakeLists.txt: definitions and rules for creating Mac OS 
X bundle
- INSTALL: short instructions for OS X
- config.h.cmake: pick up config folder

Attachment: QLGT-Build-Mac.diff.tar.gz
Description: application/compressed-tar

Attachment: pgpgz9ueqKMIi.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
QLandkarte-users mailing list
QLandkarte-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkarte-users

Reply via email to