Update of /cvsroot/fink/experimental/babayoshihiko/finkinfo
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8210

Modified Files:
        qgis-mac.info 
Log Message:
qgis read env vars

Index: qgis-mac.info
===================================================================
RCS file: /cvsroot/fink/experimental/babayoshihiko/finkinfo/qgis-mac.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- qgis-mac.info       26 Aug 2010 02:18:02 -0000      1.5
+++ qgis-mac.info       19 Sep 2010 06:35:06 -0000      1.6
@@ -9,7 +9,7 @@
 
 
 Version: 1.5.0
-Revision: 1
+Revision: 1.1
 Description: User friendly Open Source GIS
 License: GPL
 Homepage: http://qgis.org
@@ -144,6 +144,15 @@
        pushd build
        make install CMAKE_INSTALL_PREFIX=%i SIP_MAC_PATH=%p/bin
        popd
+       
+       # Tell qgis to read environmental variables
+       pushd %i/Applications/qgis%v.app/Contents
+       perl -pi -e "s|<string>qgis</string>|<string>qgis.sh</string>|" 
Info.plist
+       echo '#!/bin/sh' >MacOS/qgis.sh
+       echo '. /sw/bin/init.sh && ./qgis' >>MacOS/qgis.sh
+       popd
+       
+       
        pushd %i/Applications/qgis%v.app/Contents/MacOS/lib
         install_name_tool -id 
"%p/Applications/qgis%v.app/Contents/MacOS/lib/libqgis_core.%v.dylib" 
libqgis_core.%v.dylib
         install_name_tool -id 
"%p/Applications/qgis%v.app/Contents/MacOS/lib/libqgis_analysis.%v.dylib" 
libqgis_analysis.%v.dylib


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to