Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22786/10.4/stable/main/finkinfo/sci
Added Files: qgis18-py.info Log Message: Fix sip issues; move to -py --- NEW FILE: qgis18-py.info --- Info2: << Package: qgis18-py%type_pkg[python] Type: python (2.7 2.6) Architecture: powerpc, i386, x86_64 Version: 1.8.0 Revision: 2 Description: User friendly Open Source GIS License: GPL Homepage: http://qgis.org Maintainer: BABA Yoshihiko <babayoshih...@mac.com> DescDetail: << Quantum GIS (QGIS) is a Geographic Information System (GIS) that runs on Linux, Unix, Mac OSX, and Windows. QGIS supports vector, raster, and database formats. QGIS is licensed under the GNU Public License. Some of the major features include: 1 Support for spatially enabled PostGIS tables 2 Support for shapefiles, ArcInfo coverages, Mapinfo, and other formats supported by OGR 3 Raster support for a large number of formats 4 Identify features 5 Display attribute tables 6 Select features 7 GRASS Digitizing 8 Feature labeling << DescUsage: << Just double click 'QGIS-py%type_pkg[python]-%v.app' in /Applications/Fink. << # Dependencies. Depends: qgis-plugin-installer-py%type_pkg[python], %n-shlibs (=%v-%r) BuildDepends: << fink (>= 0.28), cmake, bison (>= 2.4), gsl, qt4-base-mac (>= 4.4), sip-py%type_pkg[python]-bin (>= 4.13.3-1), xerces-c31-dev, libiconv-dev, giflib, libtiff, libjpeg8, libogdi3 (>= 3.1.5-1), libpng15, netcdf (>= 3.6.0-1002), cfitsio, unixodbc2-nox (>= 2.2.11-1010) | unixodbc2 (>= 2.2.11-1010), libgeos3.3.3 (>= 3.0), gdal-dev (>= 1.4) | gdal-pgsql-dev (>= 1.4), postgresql90-dev, grass64-x11-dev | grass64-mac-dev, proj (>= 4.4), qwt6-qt4-mac (>= 5.0), libspatialindex2, libspatialite5 (>= 3.0) << BuildConflicts: libspatialite1 # Unpack Phase. Source: http://qgis.org/downloads/qgis-%v.tar.bz2 Source-MD5: 1d60520f81d7763c026d0af887ac9a05 SourceDirectory: qgis-%v # Compile Phase. GCC: 4.0 SetCFLAGS: -fno-common SetLDFLAGS: -liconv CompileScript: << #!/bin/bash -ev # Find Fink's PyQt4 PY_VER=%type_raw[python] perl -pi -e 's|sys.path = |sys.path = \[\\\"%p/lib/qt4-mac/lib/python'${PY_VER}'/site-packages\\\", " + newpaths.join( "," ) + "] + sys.path" ); //|' src/python/qgspythonutilsimpl.cpp perl -pi -e 's|\.app|-py%type_pkg[python]-%v.app|' CMakeLists.txt export QTDIR=%p/lib/qt4-mac export PYTHONPATH=%p/lib/qt4-mac/lib/python$PY_VER/site-packages:$PYTHONPATH export PATH=%p/lib/qt4-mac/lib/python$PY_VER/bin:$PATH QGIS_DIR=Applications/QGIS-py%type_pkg[python]-%v.app/Contents # Lion if [[ $( sw_vers -productVersion ) > 10.7 ]]; then export CC=gcc-fsf-4.6 fi QGIS_OPTIONS=" -D CMAKE_C_COMPILER=gcc -D QGIS_APP_NAME=QGIS-py-%v -D CMAKE_PREFIX_PATH=%p -D EXECUTABLE_OUTPUT_PATH=%b/build/src/mac/Contents/MacOS -D CMAKE_INSTALL_PREFIX=%b/Applications -D GDAL_INCLUDE_DIR=%p/include/gdal1 -D GEOS_CONFIG=%p/opt/libgeos3.3.1/bin/geos-config -D QT_BINARY_DIR=%p/lib/qt4-mac/bin -D QT_INCLUDE_DIR=%p/lib/qt4-mac/include -D QT_QMAKE_EXECUTABLE=%p/lib/qt4-mac/bin/qmake -D PYTHON_INCLUDE_PATH=%p/include/python$PY_VER -D PYTHON_LIBRARY=%p/lib/python$PY_VER/config/libpython$PY_VER.dylib -D PYTHON_EXECUTABLE=%p/bin/python$PY_VER -D PYUIC4_PROGRAM=%p/lib/qt4-mac/lib/python$PY_VER/bin/pyuic4 -D SIP_INCLUDE_DIR=%p/include/python$PY_VER -D SIP_BINARY_PATH=%p/bin -D POSTGRES_CONFIG=%p/bin/pg_config -D GRASS_PREFIX=%p/Applications/GRASS-6.4.app/Contents/MacOS" QGIS_VERSION_OPTIONS="-D CMAKE_BUILD_TYPE=Release -D ENABLE_TESTS=FALSE -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_PYSPATIALITE=FALSE -D QWT_LIBRARY=%p/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt -D QWT_INCLUDE_DIR=%p/lib/qt4-mac/lib/qwt.framework/Versions/6/Headers/ -D BISON_EXECUTABLE=%p/bin/bison -D WITH_MAPSERVER=FALSE -D QGIS_FW_SUBDIR=%p/$QGIS_DIR/Frameworks -D QGIS_MACAPP_BUNDLE=0" # QTPREFIX, QGIS_*: to set install name, though they don't seem to be effective. # QGIS_MACAPP_BUNDLE # 0 = (default) fixup the library paths for all QGIS libraries if @loader_path # is available in the system (OS X 10.5+) # 1 = bundle Qt, PyQt and PyQwt # 2 = additionally, bundle libraries, but not frameworks mkdir build pushd build cmake $QGIS_OPTIONS $QGIS_VERSION_OPTIONS .. # 1.8.0 Fix hardcoded application name for filename in src/app/cmake_install.cmake src/app/CMakeFiles/QGIS.dir/build.make src/app/CMakeFiles/QGIS.dir/link.txt cmake_clean.cmake do perl -pi -e "s|QGIS.app|QGIS-py%type_pkg[python]-%v.app|g" $filename done mkdir -p output/bin/QGIS-py%type_pkg[python]-%v.app/Contents/MacOS # 1.8.0 Workaround from MacPorts echo "install_name_tool -change @executable_path/../Frameworks/qgis_core.framework/Versions/1.8/qgis_core @executable_path/../lib/qgis_core.framework/Versions/1.8/qgis_core ../../output/bin/crssync" >> src/crssync/CMakeFiles/crssync.dir/link.txt make VERBOSE=1 make install CMAKE_INSTALL_PREFIX=%b SIP_MAC_PATH=%p/bin popd # 1.7.0 Tell qgis to read Fink's environmental variables pushd $QGIS_DIR/MacOS mv QGIS QGIS.exe echo '#!/bin/sh' >QGIS echo 'export PYTHONPATH=%p/lib/qt4-mac/lib/python$PY_VER/site-packages:$PYTHONPATH' >>QGIS echo 'export PATH=%p/lib/qt4-mac/lib/python$PY_VER/bin:$PATH' >>QGIS echo 'export QGIS_PLUGINPATH=%p/share/qgis/python/plugins' >>QGIS echo ". %p/bin/init.sh && %p/$QGIS_DIR/MacOS/QGIS.exe" >>QGIS chmod 555 QGIS # 1.8.0 install_name_tool -id %p/$QGIS_DIR/MacOS/QGIS.exe QGIS.exe for loadable in qgis_analysis qgis_core qgis_gui do install_name_tool -change @executable_path/../Frameworks/$loadable.framework/$loadable %p/$QGIS_DIR/Frameworks/$loadable.framework/Versions/1.8/$loadable QGIS.exe done popd # 1.6.0 Recompile python scripts to fix path %p/bin/python$PY_VER %p/lib/python$PY_VER/compileall.py -f -d %p/$QGIS_DIR/Resources/python/qgis %b/$QGIS_DIR/Resources/python/qgis %p/bin/python$PY_VER -O %p/lib/python$PY_VER/compileall.py -f -d %p/$QGIS_DIR/Resources/python/qgis %b/$QGIS_DIR/Resources/python/qgis # 1.6.0 Plugins are now managed by their own package (e.g. qgis-plugin-ftools) rm -rf %b/$QGIS_DIR/Resources/python/plugins ln -s %p/share/qgis/python%type_pkg[python]/plugins %b/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Resources/python/plugins # 1.6.0 Workaround to SJIS problem mkdir -p %b/$QGIS_DIR/PlugIns ln -s %p/lib/qt4-mac/plugins/codecs %b/$QGIS_DIR/PlugIns/codecs # 1.8.0 Fix install name for Fink's policy pushd $QGIS_DIR/MacOS/lib for libname in libqgispython.1.8.0.dylib do install_name_tool -id %p/$QGIS_DIR/MacOS/lib/$libname $libname for loadable in qgis_core do install_name_tool -change @loader_path/../../Frameworks/$loadable.framework/$loadable %p/$QGIS_DIR/Frameworks/$loadable.framework/Versions/1.8/$loadable $libname done done popd pushd $QGIS_DIR/Frameworks for libname in qgis_analysis qgis_core qgis_gui qgis_networkanalysis qgisgrass qgissqlanyconnection do install_name_tool -id %p/$QGIS_DIR/Frameworks/$libname.framework/Versions/1.8/$libname $libname.framework/Versions/1.8/$libname for loadable in qgis_analysis qgis_core qgis_gui do install_name_tool -change @loader_path/../../../$loadable.framework/$loadable %p/$QGIS_DIR/Frameworks/$loadable.framework/Versions/1.8/$loadable $libname.framework/Versions/1.8/$libname done done popd pushd $QGIS_DIR/Resources/python/qgis for libname in analysis.so core.so gui.so do install_name_tool -id %p/$QGIS_DIR/Resources/python/qgis/$libname $libname for loadable in qgis_analysis qgis_core qgis_gui do install_name_tool -change @loader_path/../../../MacOS/../Frameworks/$loadable.framework/$loadable %p/$QGIS_DIR/Frameworks/$loadable.framework/Versions/1.8/$loadable $libname done done popd pushd $QGIS_DIR/MacOS/lib/qgis install_name_tool -change @executable_path/../lib/qgis_core.framework/Versions/1.8/qgis_core %p/$QGIS_DIR/Frameworks/qgis_core.framework/Versions/1.8/qgis_core crssync popd pushd $QGIS_DIR/MacOS/bin/qbrowser.app/Contents/MacOS install_name_tool -change @executable_path/../Frameworks/qgis_core.framework/qgis_core %p/$QGIS_DIR/Frameworks/qgis_core.framework/Versions/1.8/qgis_core qbrowser install_name_tool -change @executable_path/../Frameworks/qgis_gui.framework/qgis_gui %p/$QGIS_DIR/Frameworks/qgis_core.framework/Versions/1.8/qgis_gui qbrowser popd pushd $QGIS_DIR/MacOS/bin/qgis_help.app/Contents/MacOS install_name_tool -change @executable_path/../Frameworks/qgis_core.framework/qgis_core %p/$QGIS_DIR/Frameworks/qgis_core.framework/Versions/1.8/qgis_core qgis_help popd pushd $QGIS_DIR/PlugIns/qgis for libname in libcoordinatecaptureplugin.so libgpsimporterplugin.so libmssqlprovider.so libspatialiteprovider.so \ libdelimitedtextplugin.so libgpxprovider.so libofflineeditingplugin.so libspatialqueryplugin.so \ libdelimitedtextprovider.so libgrassplugin.so libogrprovider.so libspitplugin.so \ libdiagramoverlay.so libgrassprovider.so liboracleplugin.so libsqlanywhereplugin.so \ libdxf2shpconverterplugin.so libgrassrasterprovider.so libosmprovider.so libsqlanywhereprovider.so \ libevis.so libheatmapplugin.so libpostgresprovider.so libwfsprovider.so \ libgdalprovider.so libinterpolationplugin.so librasterterrainplugin.so libwmsprovider.so \ libgeorefplugin.so libmemoryprovider.so libroadgraphplugin.so libzonalstatisticsplugin.so do install_name_tool -id %p/$QGIS_DIR/PlugIns/qgis/$libname $libname for loadable in qgis_analysis qgis_core qgis_gui do install_name_tool -change @loader_path/../../MacOS/../Frameworks/$loadable.framework/$loadable %p/$QGIS_DIR/Frameworks/$loadable.framework/Versions/1.8/$loadable $libname done done popd # 1.8.0 Creates Info.plist sed -e 's|\${QGIS_APP_NAME}|QGIS|g' \ -e 's|\${COMPLETE_VERSION}|%v|g' \ -e 's|\${RELEASE_NAME}|Lisboa|g' \ -e 's|\${REVISION}|Fink|g' \ mac/app.info.plist.in > $QGIS_DIR/Info.plist << InstallScript: << #!/bin/bash -ev # Uses AppBundles which copies files from the build directory. echo "Completed the building process..." << AppBundles: Applications/QGIS-py%type_pkg[python]-%v.app SplitOff: << Package: %N-shlibs Description: Shared libraries for QGIS Depends: << qt4-base-mac-qtcore-shlibs (>= 4.4), python%type_pkg[python], sip-py%type_pkg[python] (>= 4.13.3-1), pyqt4-mac-py%type_pkg[python], gsl-shlibs, xerces-c31-shlibs, libgeos3.3.3-shlibs (>= 3.0), gdal-shlibs (>= 1.4) | gdal-pgsql-shlibs (>= 1.4), grass64-x11-shlibs | grass64-mac-shlibs, libspatialite5-shlibs, proj-shlibs (>= 4.4), qwt6-qt4-mac-shlibs (>= 5.0), libspatialindex2-shlibs, libspatialite5-shlibs (>= 3.0) << Files: << Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_analysis.framework/Versions/1.8/qgis_analysis Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_core.framework/Versions/1.8/qgis_core Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_gui.framework/Versions/1.8/qgis_gui Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_networkanalysis.framework/Versions/1.8/qgis_networkanalysis Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgisgrass.framework/Versions/1.8/qgisgrass Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgissqlanyconnection.framework/Versions/1.8/qgissqlanyconnection Applications/QGIS-py%type_pkg[python]-%v.app/Contents/MacOS/lib/libqgispython.1.8.0.dylib Applications/QGIS-py%type_pkg[python]-%v.app/Contents/MacOS/lib/qgis/crssync Applications/QGIS-py%type_pkg[python]-%v.app/Contents/PlugIns/qgis/*.so << Shlibs: << %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_analysis.framework/Versions/1.8/qgis_analysis 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_core.framework/Versions/1.8/qgis_core 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_gui.framework/Versions/1.8/qgis_gui 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_networkanalysis.framework/Versions/1.8/qgis_networkanalysis 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgisgrass.framework/Versions/1.8/qgisgrass 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgissqlanyconnection.framework/Versions/1.8/qgissqlanyconnection 1.8.0 %n (>= 1.8.0-1) %p/Applications/QGIS-py%type_pkg[python]-%v.app/Contents/MacOS/lib/libqgispython.1.8.0.dylib 1.8.0 %n (>= 1.8.0-1) << # End of SplitOff << SplitOff2: << Package: %N-dev Description: Header files for QGIS Files: << Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_analysis.framework/Versions/Current Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_core.framework/Versions/Current Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_gui.framework/Versions/Current Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_networkanalysis.framework/Versions/Current Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgisgrass.framework/Versions/Current Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_analysis.framework/qgis_analysis Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_core.framework/qgis_core Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_gui.framework/qgis_gui Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgis_networkanalysis.framework/qgis_networkanalysis Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgisgrass.framework/qgisgrass Applications/QGIS-py%type_pkg[python]-%v.app/Contents/Frameworks/qgissqlanyconnection.framework/qgissqlanyconnection Applications/QGIS-py%type_pkg[python]-%v.app/Contents/MacOS/lib/libqgispython.dylib << # End of SplitOff << DescPackaging: << Since 1.7.0, 1. qgis has Python variants, e.g. qgis17-py31 and qgis17-py27. 2. separates all the python plugins as independent packages. For consistency, qgis and relevant packages are strongly recommended to depend on the latest stable versions, e.g.: postgresql90, grass64, libgeos3.3.3, libjpeg8, libogdi3, libpng15 << DescPort: << See INSTALL See http://wiki.qgis.org/qgiswiki/BuildingFromSource << # End of Info2 << ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs