[Qgis-developer] Shipping SAGA with QGIS

Paolo Cavallini cavallini at faunalia.it
Mon Feb 25 06:25:07 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 25/02/2013 04:36, William Kyngesburye ha scritto:

>>> If saga_cmd loads command libraries by relative path (ie ../lib/saga, as they are installed), this would work simply without any environment settings.
>>>
>>> But if saga loads them by absolute path (ie the configured --prefix), and there is no env setting to set a different path, this would be bad since it would lock down the whole QGIS app to the build path (a Mac app should work if the user moves or renames it, though it is kindof discouraged since it confuses installers).  I could try an easy test outside of sextante/qgis by renaming my saga install folder and trying to run a simple command.
>>
>> Does it look like something worth creating as a framework? Having the
>> commandline saga might be useful for some if it is not nontrivial.
>>
> Well, the OS X build wiki page says you can package it as an app, which makes sense, though it's not part of the standard make install.  The saga_gui program is what gets launched in that case.

IMHO the Good Way would be to split saga_gui and saga_cmd packages, and include only
the latter. We have been discussing about this in the saga ML, and my understanding
is that this is feasible, but may require some work upstream.
Bringing wxpy requirement in qgis package is likely to create some trouble so bettar
avoiding it if possible.
All the best.

- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlErdEMACgkQ/NedwLUzIr5kAQCdGxnIuz7sMDALqwO8L1RcgRvb
PHUAn0s2VPWp8Snt8BNPIS1IVuFGVlXq
=hhqm
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list