Navigation Menu

Skip to content

Commit

Permalink
Update Mac release scripts for 0.9.1.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@7713 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Dec 5, 2007
1 parent bf85ce9 commit 297803c
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 36 deletions.
33 changes: 19 additions & 14 deletions mac/Read Me (Mac).rtf
@@ -1,11 +1,11 @@
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440
\readonlydoc1{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fmodern\fcharset77 Courier;
}
{\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.9.0 Release Notes for Macintosh
\f0\b\fs24 \cf0 QGIS 0.9.1 Release Notes for Macintosh
\f1\b0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
Expand All @@ -29,7 +29,7 @@
\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.\
This release of QGIS requires Mac OS X 10.3.9 or later. A PostgreSQL version 7 or 8 server with PostGIS extensions installed is required if using PostgreSQL features.\
\
\
\
Expand All @@ -41,10 +41,10 @@ This release of QGIS requires Mac OS X 10.3.9 or 10.4. A PostgreSQL version 7 or
\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.4.2 (libgdal.1.11.2.dylib)\
GDAL 1.4.4 (libgdal.1.11.4.dylib)\
GEOS 2.2.3 (libgeos.2.2.3.dylib)\
PROJ 4.5.0 (libproj.0.5.2.dylib)\
SQLITE3 3.4.2 (libsqlite3.0.8.6.dylib)\
SQLITE3 3.5.2 (libsqlite3.0.8.6.dylib)\
Xerces-C++ 2.8.0 (libxerces-c.28.0.dylib)\
Qt/Mac 4.3.2 (various Qt frameworks)\
GIF 4.1.4 (libgif.4.1.4.dylib)\
Expand All @@ -53,12 +53,12 @@ PNG 1.2.8 (libpng.3.1.2.8.dylib)\
TIFF 3.8.2 (libtiff.3.dylib)\
GeoTIFF 1.2.3 (libgeotiff.1.2.3.dylib)\
JasPer 1.701.0.GEO (libjasper-1.701.1.0.0.dylib)\
Expat 2.0.0 (libexpat.1.5.0.dylib)\
Expat 2.0.1 (libexpat.1.5.2.dylib)\
GSL 1.8 (libgsl.0.9.0.dylib, libgslcblas.0.0.0.dylib)\
PostgreSQL 8.2.5 (libpq.5.0.dylib) This client can also access a version 7 server.\
GRASS 6.2.2 (libgrass_*.6.2.2.dylib)\
SIP 4.5.2\
PyQt4 4.1.1\
GRASS 6.3.0RC3 (libgrass_*.6.3.0RC3.dylib)\
SIP 4.7.1 (sip.so)\
PyQt4 4.3.1 (Qt*.so)\
\
\
\
Expand All @@ -70,9 +70,11 @@ PyQt4 4.1.1\
\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.\
\
Maps will not be redrawn correctly if the main window is resized after opening a WMS layer. Therefore adjust the window size first.\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
To use QGIS with a language other than English, you must change both the Language and Format settings in the International System Preferences. The QGIS application menu uses the Language preference while all other QGIS menus use the Format preference to select the language.\
\cf0 To use QGIS with a language other than English, you must change both the Language and Format settings in the International System Preferences. The QGIS application menu uses the Language preference while all other QGIS menus use the Format preference to select the language.\
\
\
\
Expand Down Expand Up @@ -108,13 +110,16 @@ or add the folder containing GPSBabel to your search path:\
\f1\b0 \cf0 \
\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. Some GRASS distributions provide a GRASS menu item to launch QGIS. If GRASS does not contain a QGIS menu item, launch QGIS from the GRASS command-line prompt:\
\cf0 To enable all the functions of the GRASS plugin, a GRASS mapset must be opened first or else QGIS should be launched from inside GRASS. Some GRASS distributions provide a GRASS menu item to launch QGIS. If GRASS does not contain a QGIS menu item, 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.9.0/qgis0.9.0.app/Contents/MacOS/qgis\
\f2 \cf0 /Applications/qgis-0.9.1/qgis0.9.1.app/Contents/MacOS/qgis\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f1 \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.\
If you have not previously run QGIS with GRASS, you may be prompted for the location of the GRASS directory GISBASE. On a Mac, this directory is usually somewhere inside the GRASS bundle (GRASS.app). Select the folder containing a
\f2 bin
\f1 folder containing many files beginning with "d."\
(d dot).\
}
2 changes: 1 addition & 1 deletion mac/install-extra.sh
Expand Up @@ -5,7 +5,7 @@
# Edit INSTALLPREFIX to match the value of cmake INSTALL_PREFIX
INSTALLPREFIX=$PWD

BUNDLE=qgis0.9.0.app/Contents/MacOS
BUNDLE=qgis0.9.1.app/Contents/MacOS
BUILDPREFIX=$INSTALLPREFIX/$BUNDLE

QLIBNAMES="core gui"
Expand Down
10 changes: 5 additions & 5 deletions mac/release-check.sh
Expand Up @@ -2,7 +2,7 @@
# Display all paths to supporting libraries
# Output should be visually inspected for paths which haven't been made relative (such as /usr/local)

PREFIX=qgis0.9.0.app/Contents/MacOS
PREFIX=qgis0.9.1.app/Contents/MacOS

otool -L $PREFIX/qgis
otool -L $PREFIX/bin/qgis_help.app/Contents/MacOS/qgis_help
Expand Down Expand Up @@ -41,7 +41,7 @@ otool -L $PREFIX/lib/QtSvg.framework/Versions/4/QtSvg
otool -L $PREFIX/lib/QtXml.framework/Versions/4/QtXml
otool -L $PREFIX/../plugins/imageformats/libqjpeg.dylib

otool -L $PREFIX/lib/libgdal.1.11.2.dylib
otool -L $PREFIX/lib/libgdal.1.11.4.dylib
otool -L $PREFIX/lib/gdalplugins/gdal_GRASS.so
otool -L $PREFIX/lib/gdalplugins/ogr_GRASS.so
otool -L $PREFIX/lib/libgeos.2.2.3.dylib
Expand All @@ -55,7 +55,7 @@ otool -L $PREFIX/lib/libpng.3.1.2.8.dylib
otool -L $PREFIX/lib/libtiff.3.dylib
otool -L $PREFIX/lib/libgeotiff.1.2.3.dylib
otool -L $PREFIX/lib/libjasper-1.701.1.0.0.dylib
otool -L $PREFIX/lib/libexpat.1.5.0.dylib
otool -L $PREFIX/lib/libexpat.1.5.2.dylib
otool -L $PREFIX/lib/libgsl.0.9.0.dylib
otool -L $PREFIX/lib/libgslcblas.0.0.0.dylib
#otool -L $PREFIX/lib/libopenmodeller.0.0.0.dylib
Expand All @@ -70,13 +70,13 @@ otool -L $PREFIX/lib/libpq.5.0.dylib

for LIBGRASS in datetime dbmibase dbmiclient dgl dig2 form gis gmath gproj I linkm rtree shape vask vect
do
otool -L $PREFIX/lib/grass/libgrass_$LIBGRASS.6.2.2.dylib
otool -L $PREFIX/lib/grass/libgrass_$LIBGRASS.6.3.0RC3.dylib
done

otool -L $PREFIX/share/qgis/python/qgis/core.so
otool -L $PREFIX/share/qgis/python/qgis/gui.so
otool -L $PREFIX/share/qgis/python/sip.so
for LIBPYQT4 in QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtOpenGL QtTest
for LIBPYQT4 in Qt QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtDesigner QtOpenGL QtScript QtTest
do
otool -L $PREFIX/share/qgis/python/PyQt4/$LIBPYQT4.so
done
6 changes: 3 additions & 3 deletions mac/release-extra-grass.sh
Expand Up @@ -2,12 +2,12 @@
# Copy GRASS supporting libraries to qgis bundle
# and make search paths for them relative to bundle

PREFIX=qgis0.9.0.app/Contents/MacOS
PREFIX=qgis0.9.1.app/Contents/MacOS

# Edit version when any library is upgraded
LNKGDAL=libgdal.1.dylib
LNKPROJ=libproj.0.dylib
GRASSVER=6.2.2
GRASSVER=6.3.0RC3
GRASSLIB=/usr/local/grass-$GRASSVER/lib

cd $PREFIX/lib
Expand All @@ -29,7 +29,7 @@ fi
install_name_tool -change $GRASSLIB/libgrass_datetime.dylib \
@executable_path/lib/grass/libgrass_datetime.dylib \
grass/libgrass_gis.$GRASSVER.dylib
for LIBGRASS in dbmibase dbmiclient dig2 form gmath gproj I
for LIBGRASS in dbmibase dbmiclient dig2 form gmath gproj I vask
do
install_name_tool -change $GRASSLIB/libgrass_datetime.dylib \
@executable_path/lib/grass/libgrass_datetime.dylib \
Expand Down
17 changes: 14 additions & 3 deletions mac/release-extra-py.sh
Expand Up @@ -5,18 +5,20 @@
# Edit INSTALLPREFIX to match the value of cmake INSTALL_PREFIX
INSTALLPREFIX=$PWD

BUNDLE=qgis0.9.0.app/Contents/MacOS
BUNDLE=qgis0.9.1.app/Contents/MacOS
SITEPKG=/Library/Python/2.3/site-packages

LNKGDAL=libgdal.1.dylib

# Copy supporting libraries to application bundle
cd $BUNDLE/share/qgis/python
if test ! -f sip.so; then
cp $SITEPKG/sip.so sip.so
cp $SITEPKG/sipconfig.py sipconfig.py
fi
if test ! -d PyQt4; then
cp -r $SITEPKG/PyQt4 .
for LIBPYQT4 in QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtOpenGL QtTest
cp -R $SITEPKG/PyQt4 .
for LIBPYQT4 in Qt QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtDesigner QtOpenGL QtScript QtTest
do
cp $SITEPKG/PyQt4/$LIBPYQT4.so PyQt4/$LIBPYQT4.so
# Update path to supporting libraries
Expand All @@ -36,6 +38,12 @@ if test ! -d PyQt4; then
install_name_tool -change QtNetwork.framework/Versions/4/QtNetwork \
@executable_path/lib/QtNetwork.framework/Versions/4/QtNetwork \
PyQt4/QtAssistant.so
install_name_tool -change QtScript.framework/Versions/4/QtScript \
@executable_path/lib/QtScript.framework/Versions/4/QtScript \
PyQt4/QtDesigner.so
install_name_tool -change QtXml.framework/Versions/4/QtXml \
@executable_path/lib/QtXml.framework/Versions/4/QtXml \
PyQt4/QtDesigner.so
fi

# Update path to supporting libraries
Expand All @@ -47,6 +55,9 @@ do
install_name_tool -change $INSTALLPREFIX/src/core/libqgis_core.dylib \
@executable_path/lib/libqgis_core.dylib \
qgis/$LIBQGIS.so
install_name_tool -change /usr/local/lib/$LNKGDAL \
@executable_path/lib/$LNKGDAL \
qgis/$LIBQGIS.so
for FRAMEWORK in QtCore QtGui QtNetwork QtSql QtSvg QtXml Qt3Support
do
install_name_tool -change $FRAMEWORK.framework/Versions/4/$FRAMEWORK \
Expand Down
2 changes: 1 addition & 1 deletion mac/release-extra-qt.sh
Expand Up @@ -2,7 +2,7 @@
# Copy Qt frameworks to qgis bundle
# and make search paths for them relative to bundle

PREFIX=qgis0.9.0.app/Contents/MacOS
PREFIX=qgis0.9.1.app/Contents/MacOS

# Edit version when any library is upgraded
LIBJPEG=libjpeg.62.0.0.dylib
Expand Down
8 changes: 4 additions & 4 deletions mac/release-extra.sh
Expand Up @@ -2,14 +2,14 @@
# Copy supporting libraries (except Qt) to qgis bundle
# and make search paths for them relative to bundle

PREFIX=qgis0.9.0.app/Contents/MacOS
PREFIX=qgis0.9.1.app/Contents/MacOS

HELPPREFIX=$PREFIX/bin/qgis_help.app/Contents/MacOS
MSEXPORTPREFIX=$PREFIX/bin/msexport.app/Contents/MacOS
PREFIXBACKTRACK=../../../..

# Edit version when any library is upgraded
LIBGDAL=libgdal.1.11.2.dylib
LIBGDAL=libgdal.1.11.4.dylib
LNKGDAL=libgdal.1.dylib
LIBGEOS=libgeos.2.2.3.dylib
LNKGEOS=libgeos.2.dylib
Expand Down Expand Up @@ -37,13 +37,13 @@ LIBGSL=libgsl.0.9.0.dylib
LNKGSL=libgsl.0.dylib
LIBGSLCBLAS=libgslcblas.0.0.0.dylib
LNKGSLCBLAS=libgslcblas.0.dylib
LIBEXPAT=libexpat.1.5.0.dylib
LIBEXPAT=libexpat.1.5.2.dylib
LNKEXPAT=libexpat.1.dylib
#LIBOPENMODELLER=libopenmodeller.0.0.0.dylib
#LNKOPENMODELLER=libopenmodeller.0.dylib
LIBPQ=libpq.5.0.dylib
LNKPQ=libpq.5.dylib
GRASSLIB=/usr/local/grass-6.2.2/lib
GRASSLIB=/usr/local/grass-6.3.0RC3/lib

# Copy supporting libraries to application bundle
cd $PREFIX/lib
Expand Down
10 changes: 5 additions & 5 deletions mac/release-strip.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Strip all non-global symbols

PREFIX=qgis0.9.0.app/Contents/MacOS
PREFIX=qgis0.9.1.app/Contents/MacOS

strip -x $PREFIX/qgis
strip -x $PREFIX/bin/qgis_help.app/Contents/MacOS/qgis_help
Expand Down Expand Up @@ -40,7 +40,7 @@ strip -x $PREFIX/lib/QtSvg.framework/Versions/4/QtSvg
strip -x $PREFIX/lib/QtXml.framework/Versions/4/QtXml
strip -x $PREFIX/../plugins/imageformats/libqjpeg.dylib

strip -x $PREFIX/lib/libgdal.1.11.2.dylib
strip -x $PREFIX/lib/libgdal.1.11.4.dylib
strip -x $PREFIX/lib/gdalplugins/gdal_GRASS.so
strip -x $PREFIX/lib/gdalplugins/ogr_GRASS.so
strip -x $PREFIX/lib/libgeos.2.2.3.dylib
Expand All @@ -54,7 +54,7 @@ strip -x $PREFIX/lib/libpng.3.1.2.8.dylib
strip -x $PREFIX/lib/libtiff.3.dylib
strip -x $PREFIX/lib/libgeotiff.1.2.3.dylib
strip -x $PREFIX/lib/libjasper-1.701.1.0.0.dylib
strip -x $PREFIX/lib/libexpat.1.5.0.dylib
strip -x $PREFIX/lib/libexpat.1.5.2.dylib
strip -x $PREFIX/lib/libgsl.0.9.0.dylib
strip -x $PREFIX/lib/libgslcblas.0.0.0.dylib
#strip -x $PREFIX/lib/libopenmodeller.0.0.0.dylib
Expand All @@ -69,13 +69,13 @@ strip -x $PREFIX/lib/libpq.5.0.dylib

for LIBGRASS in datetime dbmibase dbmiclient dgl dig2 form gis gmath gproj I linkm rtree shape vask vect
do
strip -x $PREFIX/lib/grass/libgrass_$LIBGRASS.6.2.2.dylib
strip -x $PREFIX/lib/grass/libgrass_$LIBGRASS.6.3.0RC3.dylib
done

strip -x $PREFIX/share/qgis/python/qgis/core.so
strip -x $PREFIX/share/qgis/python/qgis/gui.so
strip -x $PREFIX/share/qgis/python/sip.so
for LIBPYQT4 in QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtOpenGL QtTest
for LIBPYQT4 in Qt QtCore QtGui QtNetwork QtSql QtSvg QtXml QtAssistant QtDesigner QtOpenGL QtScript QtTest
do
strip -x $PREFIX/share/qgis/python/PyQt4/$LIBPYQT4.so
done
3 changes: 3 additions & 0 deletions src/mac/Contents/Info.plist.in
Expand Up @@ -184,14 +184,17 @@
<string>id</string>
<string>it</string>
<string>ja</string>
<string>lt</string>
<string>lv</string>
<string>mn</string>
<string>nl</string>
<string>pl_PL</string>
<string>pt_BR</string>
<string>ro</string>
<string>ru</string>
<string>sk</string>
<string>sv</string>
<string>tr</string>
<string>vi</string>
<string>zh_CN</string>
</array>
Expand Down

0 comments on commit 297803c

Please sign in to comment.