Update of /cvsroot/fink/experimental/babayoshihiko/finkinfo In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2298
Modified Files: grass64.info grass64.patch Log Message: brings back dkacm's changes; still python errors Index: grass64.info =================================================================== RCS file: /cvsroot/fink/experimental/babayoshihiko/finkinfo/grass64.info,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- grass64.info 30 Dec 2012 03:03:30 -0000 1.16 +++ grass64.info 3 Jan 2013 00:14:52 -0000 1.17 @@ -1,9 +1,9 @@ Info2: << Package: grass64%type_pkg[gui] Type: gui (-mac -x11) -Distribution: (%type_raw[gui] = -mac) 10.7, (%type_raw[gui] = -mac) 10.6 +Distribution: (%type_raw[gui] = -x11) 10.4, (%type_raw[gui] = -x11) 10.5, (%type_raw[gui] = -x11) 10.6, (%type_raw[gui] = -mac) 10.6, (%type_raw[gui] = -x11) 10.7, (%type_raw[gui] = -mac) 10.7, (%type_raw[gui] = -x11) 10.8, (%type_raw[gui] = -mac) 10.8 Version: 6.4.2 -Revision: 2 +Revision: 1.1 Conflicts: grass64, grass64-mac, grass64-x11 Replaces: grass64, grass64-mac, grass64-x11 @@ -27,48 +27,63 @@ Just type double click GRASS-6.4.app in %p/Applications. << +DescPackaging: << + dmacks added fix for building with make-3.82. See: + http://lists.osgeo.org/pipermail/grass-dev/2012-May/058634.html +<< + # Dependencies. Depends: << - %n-shlibs (=%v-%r) + %n-shlibs (=%v-%r) << BuildDepends: << - fink (>= 0.28), - libncurses5-dev, - libiconv-dev, readline5, libgettext8-dev, gettext-tools, - fftw3, - unixodbc2 | unixodbc2-nox, - gdal-dev, - libjpeg8, libpng14, libtiff, - szip, xerces-c31-dev, libogdi3, - postgresql90-dev, - python27, - sqlite3-dev + fink (>= 0.28), + freetype219, + libncurses5-dev, + libiconv-dev, readline5, libgettext8-dev, gettext-tools, + fftw3, + gdal-dev, + libjpeg8, libpng14, libtiff, + unixodbc2 | unixodbc2-nox, + szip, xerces-c31-dev, libogdi3, + postgresql90-dev, + proj, proj-bin, + python27, + sqlite3-dev, + (%type_pkg[gui] = -x11) tcltk-dev +<< +# hdf5-18-bin | hdf5-bin, +# (%type_raw[gui] = -mac) wxmac28 + +# avoid seeing older pg*-dev exposed in %p (newer desired ones buried +# in %p/opt/) +BuildConflicts: << + postgresql80-dev, postgresql80-ssl-dev, postgresql81-dev, postgresql82-dev, postgresql83-dev << -# hdf5-18-bin | hdf5-bin, -# (%type_raw[gui] = -mac) wxmac28, Source: http://grass.osgeo.org/grass64/source/grass-%v.tar.gz Source-MD5: d3398d6b1e3a2ef19cfb6e39a5ae9919 # Patch Phase. PatchFile: grass64.patch -PatchFile-MD5: a6699ed4c208d0cb6737d157d2908b72 +PatchFile-MD5: ed318c92e82880b96cbe934832f2071e PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 # Compile Phase. SetCFLAGS: -I%p/include SetLDFLAGS: -L%p/lib -lcurses -ConfigureParams: --with-curses --with-freetype --with-freetype-includes=%p/lib/freetype219/include/freetype2 --with-freetype-libs=%p/lib/freetype219/lib --with-gdal=%p/bin/gdal-config --with-proj --with-proj-includes=%p/include --with-proj-libs=%p/lib --with-proj-share=%p/share/proj --with-jpeg-includes=%p/include --with-jpeg-libs=%p/lib --with-png-includes=%p/include --with-png-libs=%p/lib --with-tiff-includes=%p/include --with-tiff-libs=%p/lib --without-mysql --without-odbc --with-sqlite --with-sqlite-libs=%p/lib --with-sqlite-includes=%p/include --with-fftw-includes=%p/include --with-fftw-libs=%p/lib --with-cxx --without-motif --without-glw --without-readline --with-python=%p/bin/python2.7-config --prefix=%p/Applications --enable-macosx-app --with-odbc +ConfigureParams: --with-curses --with-freetype --with-freetype-includes=%p/lib/freetype219/include/freetype2 --with-freetype-libs=%p/lib/freetype219/lib --with-gdal=%p/bin/gdal-config --with-proj --with-proj-includes=%p/include --with-proj-libs=%p/lib --with-proj-share=%p/share/proj --with-jpeg-includes=%p/include --with-jpeg-libs=%p/lib --with-png-includes=%p/include --with-png-libs=%p/lib --with-tiff-includes=%p/include --with-tiff-libs=%p/lib --without-mysql --with-odbc --with-sqlite --with-sqlite-libs=%p/lib --with-sqlite-includes=%p/include --with-fftw-includes=%p/include --with-fftw-libs=%p/lib --with-cxx --without-motif --without-glw --without-readline --with-python=%p/bin/python2.7-config --prefix=%p/Applications --enable-macosx-app + CompileScript: << #!/bin/bash -xe - + PGSQLPARAM=" --with-postgres --with-postgres-includes=%p/opt/postgresql-9.0/include --with-postgres-libs=%p/opt/postgresql-9.0/lib " if [ "%type_raw[gui]" == "-mac" ]; then - ./configure %c $PGSQLPARAM --without-x --without-wxwidgets --with-opengl=aqua '--with-opengl-includes=/System/Library/Frameworks/OpenGL.framework/Headers /System/Library/Frameworks/GLUT.framework/Headers /System/Library/Frameworks/AGL.framework/Headers' + ./configure %c $PGSQLPARAM --without-x '--with-tcltk-includes=/System/Library/Frameworks/Tcl.framework/Headers /System/Library/Frameworks/Tk.framework/Headers /System/Library/Frameworks/Tk.framework/PrivateHeaders' --with-tcltk-libs=/usr/lib --with-opengl=aqua '--with-opengl-includes=/System/Library/Frameworks/OpenGL.framework/Headers /System/Library/Frameworks/GLUT.framework/Headers /System/Library/Frameworks/AGL.framework/Headers' # --with-wxwidgets=%p/lib/wx/config/mac-ansi-release-2.8 perl -pi -e "s|^TCLINCDIR|TCLINCDIR = -I/System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/Frameworks/Tk.framework/PrivateHeaders #|" include/Make/Platform.make perl -pi -e "s|^TKINCDIR|TKINCDIR = -I/System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/Frameworks/Tk.framework/PrivateHeaders #|" include/Make/Platform.make @@ -85,44 +100,41 @@ if [ "%type_raw[gui]" == "-mac" ]; then perl -pi -e "s|MACORX11|/usr|g" %b/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh - # Recompile python scripts to fix path - %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/ - %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/ - - %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/ - %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/ - else perl -pi -e "s|MACORX11|%p|g" %b/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh fi + + # Recompile python scripts to fix path (because 'make install' is + # called with path to staging directory that masks runtime location) + %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/ + %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/ + %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/ + %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/ + %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/script %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/script/ + %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/script %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/script/ + %p/bin/python2.7 %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib/ + %p/bin/python2.7 -O %p/lib/python2.7/compileall.py -f -d %p/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib/ + << + + # Install Phase. InstallScript: << -#!/bin/sh -xe - # rm -f Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/*.pyc - rm -f Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib/*.py? - # rm -f Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/script/*.pyc - - # Fix install names in libs and modules - pushd Applications/GRASS-6.4.app/Contents/MacOS/lib/ - LIBS="arraystats bitmap btree cdhc cluster datetime dbmibase dbmiclient dbmidriver dbstubs - dgl dig2 display driver dspf edit form g3d gis gmath gpde gproj interpdata interpfl - lidar linkm lrs neta nviz ogsf pngdriver psdriver qtree raster rli - rowio rtree segment shape sim sites sqlp stats symb trans vask vect - vedit I Iortho arraystats" - for LIB in $LIBS; - do - if [ -e libgrass_$LIB.dylib ]; then - install_name_tool -id %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_$LIB.dylib libgrass_$LIB.dylib - fi - done - popd +#!/bin/sh -xe + echo "Nothing " << AppBundles: Applications/GRASS-6.4.app DocFiles: + + + + + + + # Additional Phase. SplitOff: << Package: %N-dev @@ -135,23 +147,31 @@ DocFiles: << + + + + + SplitOff2: << Package: %N-shlibs Description: GRASS Shared Libraries Conflicts: grass64-shlibs, grass64-mac-shlibs, grass64-x11-shlibs Replaces: grass64-shlibs, grass64-mac-shlibs, grass64-x11-shlibs Depends: << + freetype219-shlibs, libncurses5-shlibs, + libiconv, fftw3-shlibs, - unixodbc2-shlibs | unixodbc2-nox-shlibs, gdal-shlibs, libgettext8-shlibs, libjpeg8-shlibs, libpng14-shlibs, libtiff-shlibs, - proj-shlibs, + xerces-c31-shlibs, postgresql90-shlibs, python27-shlibs, - sqlite3-shlibs + sqlite3-shlibs, + unixodbc2-shlibs | unixodbc2-nox-shlibs, + (%type_pkg[gui] = -x11) tcltk-shlibs << -# (%type_raw[gui] = -mac) wxmac28-shlibs, + # (%type_raw[gui] = -mac) wxmac28-shlibs Files: Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_*.dylib Shlibs: << @@ -184,7 +204,6 @@ !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_lidar.%v.dylib !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_linkm.%v.dylib !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_lrs.%v.dylib - !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_neta.%v.dylib (%type_raw[gui] = -mac) !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_nviz.%v.dylib (%type_raw[gui] = -mac) !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_ogsf.%v.dylib !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_pngdriver.%v.dylib @@ -205,7 +224,7 @@ !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_vask.%v.dylib !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_vect.%v.dylib !%p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_vedit.%v.dylib - %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_I.dylib 6.4.0 %n (>= 6.4.0-1) 32 + %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_I.dylib 6.4.0 %n (>= 6.4.0-1) (%type_raw[gui] = -x11) %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_Iortho.dylib 6.4.0 %n (>= 6.4.0-1) %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_arraystats.dylib 6.4.0 %n (>= 6.4.0-1) %p/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_bitmap.dylib 6.4.0 %n (>= 6.4.0-1) @@ -234,7 +253,6 @@ %p/Applications/GRASS-6.4.app/Contents/MacOS/lib libgrass_bitmap.dylib 6.4.0 %n (>= 6.4.0-1) 1) .0 %n (>= 6.4.0-1) ib %b/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/grass/lib/ ipt/ ateHeaders #|" include/Make/Platform.make ib --with-opengl=aqua '--with-opengl-includes=/System/Library/Frameworks/OpenGL.framework/Headers /System/Library/Frameworks/GLUT.framework/Headers /System/Library/Frameworks/AGL.framework/Headers' =%p/lib --without-mysql --with-odbc --with-sqlite --with-sqlite-libs=%p/lib --with-sqlite-includes=%p/include --with-fftw-includes=%p/include --with-fftw-libs=%p/lib --with-cxx --without-motif --without-glw --without-readline --with-python=%p/bin/python2.7-config --prefix=%p/Applications --enable-macosx-app p --with-odbc J K M N O P zXÆÿ pzXÆÿ Hu¡ÑÃ* àrXÆÿ "ÎÐÃ* @ÎÐÃ* zXÆÿ 0ïNÒÃ* u*ÎÐÃ* ëÑÃ* ©~ÑÃ* àNÒÃ* ØäNÒÃ* ¨éNÒÃ* JÏÐÃ* Hu¡ÑÃ* àrXÆÿ qXÆÿ k@ÎÐÃ* 8u¡ÑÃ* àrXÆÿ PqXÆÿ k@ÎÐÃ* (u¡ÑÃ* àrXÆÿ qXÆÿ k@ÎÐÃ* u¡ÑÃ* àrXÆÿ °qXÆÿ k@ÎÐÃ* ¨îNÒÃ* u*ÎÐÃ* ¨éNÒÃ* 0lXÆÿ ø~ÑÃ* e)ÎÐÃ* ØäNÒÃ* PrXÆÿ yø~ÑÃ* e)ÎÐÃ* àNÒÃ* rXÆÿ Zø~ÑÃ* e)ÎÐÃ* ؤ~ÑÃ* ëÑÃ* ©~ÑÃ* àNÒÃ* ØëÑÃ* ØäNÒÃ* ¨éNÒÃ* JÏÐÃ* 8KïÐÃ* mJÑÃ* pzXÆÿ p;~ÑÃ* 0tXÆÿ sXÆÿ k@ÎÐÃ* 5 6 7 8 : <