Skip to content
Permalink
Browse files
Scripts and files used for the release of QGIS/Mac.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5534 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Jun 18, 2006
1 parent 0e484f5 commit 2b4fef5bddb81d6ebe1947635aa41a69d745761d
Showing with 777 additions and 0 deletions.
  1. +125 −0 mac/Read Me (Mac).rtf
  2. +96 −0 mac/install-extra.sh
  3. +72 −0 mac/release-check.sh
  4. +144 −0 mac/release-extra-qt.sh
  5. +252 −0 mac/release-extra.sh
  6. +88 −0 mac/release-strip.sh
@@ -0,0 +1,125 @@
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf380
\readonlydoc1{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fmodern\fcharset77 Courier;
\f3\fswiss\fcharset77 Helvetica-Oblique;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww11100\viewh8700\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc

\f0\b\fs24 \cf0 QGIS 0.8.0 Preview 1 Release Notes for Macintosh
\f1\b0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f0\b \cf0 Contents\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f1\b0 \cf0 \
1. Requirements\
2. Included Libraries\
3. Known limitations\
4. GRASS Plugin\
\
\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f0\b \cf0 1. Requirements\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f1\b0 \cf0 \
This release of QGIS requires Mac OS X 10.3.9 or 10.4. A PostgreSQL version 7 or 8 server with PostGIS extensions installed is required if using PostgreSQL features.\
\
\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f0\b \cf0 2. Included Libraries\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f1\b0 \cf0 \
The following libraries are included with this distribution of QGIS. If you have other versions of these libraries installed, QGIS will ignore your versions and use these.\
\
GDAL 1.3.2 (libgdal.1.10.0.dylib)\
GEOS 2.2.2 (libgeos.2.2.2.dylib)\
PROJ 4.4.9 (libproj.0.5.0.dylib)\
SQLITE3 3.3.6 (libsqlite3.0.8.6.dylib)\
Xerces-C++ 2.7.0 (libxerces-c.27.0.dylib)\
Qt/Mac 4.1.3 (various Qt frameworks)\
JPEG 6b (libjpeg.62.0.0.dylib)\
PNG 1.2.8 (libpng.3.1.2.8.dylib\
Expat 1.95.8 (libexpat.0.5.0.dylib)\
GSL 1.6 (libgsl.0.7.0.dylib, libgslcblas.0.0.0.dylib)\
PostgreSQL 8.1.4 (libpq.4.1.dylib) This client can also access a version 7 server.\
\
\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f0\b \cf0 3. Known limitations\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f1\b0 \cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\cf0 Some dialogs have cosmetic issues with buttons.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
If the International System Preferences Language is changed, it will not affect QGIS until the next login. To use a different language without relogging in, start QGIS from a Terminal session. For example:\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f2 \cf0 qgis.app/Contents/MacOS/qgis --lang it\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f1 \cf0 \
\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural

\f0\b \cf0 4. GRASS Plugin\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f1\b0 \cf0 \
The GRASS Plugin included in this release is configured to work with the Mac OS X GRASS6 distribution provided by Lorenzo Moretti at http://wwwamb.bologna.enea.it/forgrass/\
\
If GRASS6 is correctly installed, the GRASS plugin will appear in the list when you open the QGIS Plugin Manager. This release of QGIS no longer requires any symbolic links to be changed in order to activate the GRASS plugin.\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\cf0 \
To use all the functions of the GRASS plugin, QGIS should be launched from inside GRASS. This can be done in two ways.\
\
One method is to launch QGIS from the GRASS command-line prompt:\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f2 \cf0 /Applications/qgis-0.8.0pre1/qgis.app/Contents/MacOS/qgis\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f1 \cf0 \
Another method is to add a menu item for QGIS to the GRASS menu bar. To do this, open the file\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f2 \cf0 /Applications/Grass/grass60.app/Contents/Resources/grass-6.0.0/etc/dm/menu.tcl\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f1 \cf0 using a text editor and add the following three lines just before the line beginning with "&Help" which should be line 500. (The second line is very long and is probably displayed here on more than one line. It begins with "\{command" and ends with "\} \}".)\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f2 \cf0 "&Ext" all options $tmenu \{\
\{command "Open QGIS" \{\} "open QGIS (Quantum GIS) with Grass support enabled" \{\} -command \{ exec $env(GRASS_HTML_BROWSER) "/Applications/qgis-0.8.0pre1/qgis.app" & \} \}\
\}\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f1 \cf0 \
After making this edit and launching GRASS, you can select "Open QGIS" from the new Ext (external application) menu.\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f3\i \cf0 Thanks to Lorenzo Moretti for providing the GRASS menu information.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\f1\i0 \cf0 \
\
If you try to use the GRASS plugin while not running GRASS, you will be able to open GRASS files but not use GRASS tools. If you have not previously run QGIS with GRASS, you may be prompted for the location of the GRASS directory GISBASE. Because this directory is inside the GRASS application bundle and cannot be directly selected, you should choose Cancel and then run QGIS from inside GRASS. QGIS will remember the GISBASE directory for subsequent launches.\
}
@@ -0,0 +1,96 @@
#!/bin/sh
# Make all libs and plugins in qgis bundle relative to bundle
# This allows the bundle to be moved to another folder and still work

# Edit CONFIGPREFIX to match the value of ./configure --prefix
CONFIGPREFIX=$PWD

BUNDLE=qgis.app/Contents/MacOS
BUILDPREFIX=$CONFIGPREFIX/$BUNDLE

QLIBNAMES="composer core gui legend"

# Declare libqgis_* relative to bundle and update qgis app client
for NAME in $QLIBNAMES
do
install_name_tool -id @executable_path/lib/libqgis_$NAME.0.0.1.dylib \
$BUILDPREFIX/lib/libqgis_$NAME.0.0.1.dylib

install_name_tool -change $BUILDPREFIX/lib/libqgis_$NAME.0.dylib \
@executable_path/lib/libqgis_$NAME.0.dylib \
$BUILDPREFIX/qgis
done

# Declare libqgis_libqgis_raster relative to bundle and update qgis app client
# (libqgis_raster has different version than libqgis_*)
install_name_tool -id @executable_path/lib/libqgis_raster.0.0.0.dylib \
$BUILDPREFIX/lib/libqgis_raster.0.0.0.dylib

install_name_tool -change $BUILDPREFIX/lib/libqgis_raster.0.dylib \
@executable_path/lib/libqgis_raster.0.dylib \
$BUILDPREFIX/qgis

# Declare libqgsprojectionselector relative to bundle and update qgis app client
install_name_tool -id @executable_path/lib/qgis/libqgsprojectionselector.dylib \
$BUILDPREFIX/lib/qgis/libqgsprojectionselector.dylib

install_name_tool -change $BUILDPREFIX/lib/qgis/libqgsprojectionselector.dylib \
@executable_path/lib/qgis/libqgsprojectionselector.dylib \
$BUILDPREFIX/qgis

# Update libqgis_gui client of libqgis_*
for LIB in libqgis_composer.0.dylib libqgis_core.0.dylib libqgis_legend.0.dylib \
libqgis_raster.0.dylib qgis/libqgsprojectionselector.dylib
do
install_name_tool -change $BUILDPREFIX/lib/$LIB \
@executable_path/lib/$LIB \
$BUILDPREFIX/lib/libqgis_gui.0.0.1.dylib
done

# Update plugin and lib clients of libqgis_* and libqgsprojectionselector
for PLUGIN in \
qgis/copyrightlabelplugin.so \
qgis/delimitedtextplugin.so \
qgis/delimitedtextprovider.so \
qgis/georefplugin.so \
qgis/gpsimporterplugin.so \
qgis/gpxprovider.so \
qgis/grassplugin.so \
qgis/grassprovider.so \
qgis/gridmakerplugin.so \
qgis/libScaleBarplugin.so \
qgis/northarrowplugin.so \
qgis/ogrprovider.so \
qgis/pggeoprocessingplugin.so \
qgis/postgresprovider.so \
qgis/spitplugin.so \
qgis/wmsprovider.so \
qgis/libqgsprojectionselector.dylib \
libqgisgrass.0.0.1.dylib
do
for NAME in $QLIBNAMES raster
do
install_name_tool -change $BUILDPREFIX/lib/libqgis_$NAME.0.dylib \
@executable_path/lib/libqgis_$NAME.0.dylib \
$BUILDPREFIX/lib/$PLUGIN
done
install_name_tool -change $BUILDPREFIX/lib/qgis/libqgsprojectionselector.dylib \
@executable_path/lib/qgis/libqgsprojectionselector.dylib \
$BUILDPREFIX/lib/$PLUGIN
done

# Declare libqgisgrass relative to bundle
install_name_tool -id @executable_path/lib/libqgisgrass.0.0.1.dylib \
$BUILDPREFIX/lib/libqgisgrass.0.0.1.dylib

# Update plugin clients of libqgisgrass
for PLUGIN in qgis/grassplugin.so qgis/grassprovider.so
do
install_name_tool -change $BUILDPREFIX/lib/libqgisgrass.0.dylib \
@executable_path/lib/libqgisgrass.0.dylib \
$BUILDPREFIX/lib/$PLUGIN
done

# Declare libmsexport relative to bundle
install_name_tool -id @executable_path/lib/libmsexport.0.0.0.dylib \
$BUILDPREFIX/lib/libmsexport.0.0.0.dylib
@@ -0,0 +1,72 @@
#!/bin/sh
# Display all paths to supporting libraries
# Output should be visually inspected for paths which haven't been made relative (such as /usr/local)

PREFIX=qgis.app/Contents/MacOS

otool -L $PREFIX/qgis
otool -L $PREFIX/bin/qgis_help.app/Contents/MacOS/qgis_help
otool -L $PREFIX/bin/gridmaker
otool -L $PREFIX/bin/msexport
#otool -L $PREFIX/bin/omgui
otool -L $PREFIX/bin/qgis-config
otool -L $PREFIX/bin/spit

otool -L $PREFIX/lib/libmsexport.0.0.0.dylib
otool -L $PREFIX/lib/libqgis_composer.0.0.1.dylib
otool -L $PREFIX/lib/libqgis_core.0.0.1.dylib
otool -L $PREFIX/lib/libqgis_gui.0.0.1.dylib
otool -L $PREFIX/lib/libqgis_legend.0.0.1.dylib
otool -L $PREFIX/lib/libqgis_raster.0.0.0.dylib
otool -L $PREFIX/lib/libqgisgrass.0.0.1.dylib
otool -L $PREFIX/lib/qgis/copyrightlabelplugin.so
otool -L $PREFIX/lib/qgis/delimitedtextplugin.so
otool -L $PREFIX/lib/qgis/delimitedtextprovider.so
otool -L $PREFIX/lib/qgis/georefplugin.so
otool -L $PREFIX/lib/qgis/gpsimporterplugin.so
otool -L $PREFIX/lib/qgis/gpxprovider.so
otool -L $PREFIX/lib/qgis/grassplugin.so
otool -L $PREFIX/lib/qgis/grassprovider.so
otool -L $PREFIX/lib/qgis/gridmakerplugin.so
otool -L $PREFIX/lib/qgis/libScaleBarplugin.so
otool -L $PREFIX/lib/qgis/northarrowplugin.so
otool -L $PREFIX/lib/qgis/ogrprovider.so
otool -L $PREFIX/lib/qgis/pggeoprocessingplugin.so
otool -L $PREFIX/lib/qgis/postgresprovider.so
otool -L $PREFIX/lib/qgis/spitplugin.so
otool -L $PREFIX/lib/qgis/wmsprovider.so
otool -L $PREFIX/lib/qgis/libqgsprojectionselector.dylib
#otool -L $PREFIX/lib/qgis/libopenmodellerplugin.so

otool -L $PREFIX/lib/Qt3Support.framework/Versions/4.0/Qt3Support
otool -L $PREFIX/lib/QtCore.framework/Versions/4.0/QtCore
otool -L $PREFIX/lib/QtGui.framework/Versions/4.0/QtGui
otool -L $PREFIX/lib/QtNetwork.framework/Versions/4.0/QtNetwork
otool -L $PREFIX/lib/QtSql.framework/Versions/4.0/QtSql
otool -L $PREFIX/lib/QtSvg.framework/Versions/4.0/QtSvg
otool -L $PREFIX/lib/QtXml.framework/Versions/4.0/QtXml
otool -L $PREFIX/lib/libQtDesigner.4.1.3.dylib
otool -L $PREFIX/lib/libQtTest.4.1.3.dylib
otool -L $PREFIX/imageformats/libqjpeg.dylib

otool -L $PREFIX/lib/libgdal.1.10.0.dylib
otool -L $PREFIX/lib/gdalplugins/gdal_GRASS.so
otool -L $PREFIX/lib/gdalplugins/ogr_GRASS.so
otool -L $PREFIX/lib/libgeos.2.2.2.dylib
otool -L $PREFIX/lib/libproj.0.5.0.dylib
otool -L $PREFIX/lib/libsqlite3.0.8.6.dylib
otool -L $PREFIX/lib/libxerces-c.27.0.dylib
otool -L $PREFIX/lib/libjpeg.62.0.0.dylib
otool -L $PREFIX/lib/libpng.3.1.2.8.dylib
otool -L $PREFIX/lib/libexpat.0.5.0.dylib
otool -L $PREFIX/lib/libgsl.0.7.0.dylib
otool -L $PREFIX/lib/libgslcblas.0.0.0.dylib
#otool -L $PREFIX/lib/libopenmodeller.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libombioclim.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libombioclim_distance.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libomcsmbs.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libomdg_bs.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libomdistance_to_average.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libomminimum_distance.0.0.0.dylib
#otool -L $PREFIX/lib/openmodeller/libomoldgarp.0.0.0.dylib
otool -L $PREFIX/lib/libpq.4.1.dylib

0 comments on commit 2b4fef5

Please sign in to comment.