Hi Oliver: Unfortunately I have to tell you that there is a small glitch in the sources, regarding the location of the Garmin drivers in the OS X bundle. I had left-overs in /usr/local, so this one only appeared when I tried to install the bundle on a second ppc box... The trivial fix is attached. Do you want to push it into the svn, so the package can get a "regular" version number (like "0.17.0-svn19xx")? Sorry, for the confusion, my fault!
Am 26.01.10 20:40 schrieb(en) Oliver Eichler: > Anyway. Looking forward to OSX binaries. Will be interesting to monitor the > download quota and to get feedback. Apart from the fix above, I have the libs and the QLandkarteGT package ready for PPC/Tiger. The Libs package (gdal, proj, exif, dmtx, jasper, including development files and applications) is ~8.5MB, the QLandkarteGT bundle including the Qt framework is ~19M. How can I send them to you, once I finalised the build? The Intel/Leopard box I can access is actually my wife's laptop, so I will probably build them over the weekend. Hope you can wait that long... > Concerning the packages: I am not sure if Mac users appreciate that split. I > might be wrong, but I have the impression that Mac users are even more > unwilling to press more than one button installing a software than Windows > users. Yes, that's true... ;-) > On the other hand side it's more efficient to split. Is there a way to test > for the lib package and to download/install it when missing? Sure. I can even check for the existence of single files. I now check for the four libs (libdmtx.0.dylib, libexif.12.dylib, libgdal.1.dylib, libproj.0.dylib), so the user has the choice to either install them h(im|er)self in /usr/local, or to install the pre-packaged bundle. I guess most will take the latter option, but they are free to build e.g. gdal with special options. I cannot detect a broken install in this case, though (e.g. libs installed, but not the apps QL-GT fork'n'execs). When trying to install if *any* of the needed libs is missing, the installer displays a message that the helper package must be installed first and refuses to continue. Not sure about automatic downloading, or bundeling them together but only installing the needed parts. Have to check that. For the time being, I suggest to have two packages (dmg files), plus a note on the home page. Best, Albrecht.
Index: src/CDlgConfig.cpp =================================================================== --- src/CDlgConfig.cpp (Revision 1916) +++ src/CDlgConfig.cpp (Arbeitskopie) @@ -212,7 +212,13 @@ void CDlgConfig::fillTypeCombo() QRegExp regex("lib(.*)\\" XSTR(SHARED_LIB_EXT)); QString file; QStringList files; +#if defined(Q_WS_MAC) + // MacOS X: plug-ins are stored in the bundle folder + QDir inst_dir(QCoreApplication::applicationDirPath() + .replace(QRegExp("MacOS$"), "Resources/Drivers")); +#else QDir inst_dir(XSTR(PLUGINDIR)); +#endif files = inst_dir.entryList(QString("*" XSTR(SHARED_LIB_EXT)).split(',')); foreach(file,files) { @@ -223,7 +229,13 @@ void CDlgConfig::fillTypeCombo() comboDevType->setCurrentIndex(comboDevType->findText(resources.m_devType)); if(files.isEmpty()) { +#if defined(Q_WS_MAC) + labelMessage->setText(tr("No plugins found. I expect them in: %1") + .arg(QCoreApplication::applicationDirPath() + .replace(QRegExp("MacOS$"), "Resources/Drivers"))); +#else labelMessage->setText(tr("No plugins found. I expect them in: %1").arg(XSTR(PLUGINDIR))); +#endif } else { labelMessage->setText("");
pgpL7tRvqaRDh.pgp
Description: PGP signature
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ QLandkarte-users mailing list QLandkarte-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qlandkarte-users