[arch-commits] Commit in gdal/repos (8 files)
Date: Thursday, November 2, 2017 @ 08:14:37 Author: arojas Revision: 265087 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 265086, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-perl-vendor.patch (from rev 265086, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 265086, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 265086, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 265086, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 265086, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 80 +++ community-staging-i686/gdal-perl-vendor.patch | 28 ++ community-staging-i686/gdal.changelog | 90 ++ community-staging-x86_64/PKGBUILD | 80 +++ community-staging-x86_64/gdal-perl-vendor.patch | 28 ++ community-staging-x86_64/gdal.changelog | 90 ++ 6 files changed, 396 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 265086, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-11-02 08:14:37 UTC (rev 265087) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.2.2 +pkgrel=2 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz +gdal-perl-vendor.patch) +sha256sums=('eb25d6ee85f4f5ac1d5581958f8c6eed9b1d50746f82866fe92e507541def35b' +'20989e5fa499206b42c92280ce084fdf7b2f661a4233fc349611cc57102fe114') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np1 -i ../gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks - still present in 2.2.1 + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + +# Remove RPATH + eval local $(perl -V:vendorarch) + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GDAL/Const/Const.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GNM/GNM.so +} Copied: gdal/repos/community-staging-i686/gdal-perl-vendor.patch (from rev 265086, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-i686/gdal-perl-vendor.patch (rev 0) +++ community-staging-i686/gdal-perl-vendor.patch 2017-11-02 08:14:37 UTC
[arch-commits] Commit in gdal/repos (8 files)
Date: Saturday, October 21, 2017 @ 12:45:34 Author: jlichtblau Revision: 263824 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: gdal/repos/community-testing-i686/ gdal/repos/community-testing-i686/PKGBUILD (from rev 263823, gdal/trunk/PKGBUILD) gdal/repos/community-testing-i686/gdal-perl-vendor.patch (from rev 263823, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-testing-i686/gdal.changelog (from rev 263823, gdal/trunk/gdal.changelog) gdal/repos/community-testing-x86_64/ gdal/repos/community-testing-x86_64/PKGBUILD (from rev 263823, gdal/trunk/PKGBUILD) gdal/repos/community-testing-x86_64/gdal-perl-vendor.patch (from rev 263823, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-testing-x86_64/gdal.changelog (from rev 263823, gdal/trunk/gdal.changelog) -+ community-testing-i686/PKGBUILD | 84 community-testing-i686/gdal-perl-vendor.patch | 28 ++ community-testing-i686/gdal.changelog | 90 ++ community-testing-x86_64/PKGBUILD | 84 community-testing-x86_64/gdal-perl-vendor.patch | 28 ++ community-testing-x86_64/gdal.changelog | 90 ++ 6 files changed, 404 insertions(+) Copied: gdal/repos/community-testing-i686/PKGBUILD (from rev 263823, gdal/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-10-21 12:45:34 UTC (rev 263824) @@ -0,0 +1,84 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.2.2 +pkgrel=1 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz +gdal-perl-vendor.patch) +sha256sums=('eb25d6ee85f4f5ac1d5581958f8c6eed9b1d50746f82866fe92e507541def35b' +'20989e5fa499206b42c92280ce084fdf7b2f661a4233fc349611cc57102fe114') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np1 -i ../gdal-perl-vendor.patch + +# poppler 0.58.x API change +# https://trac.osgeo.org/gdal/changeset/40036 +# patch -Np4 -i ../gdal-2.2-poppler-0.58.patch +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks - still present in 2.2.1 + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + +# Remove RPATH + eval local $(perl -V:vendorarch) + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GDAL/Const/Const.so + chrpath --delete "${pkgdir}"${vendorarch}/auto/Geo/GNM/GNM.so +} Copied: gdal/repos/community-testing-i686/gdal-perl-vendor.patch (from rev 263823, gdal/trunk/gdal-perl-vendor.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Sunday, August 6, 2017 @ 15:53:09 Author: jlichtblau Revision: 249040 archrelease: copy trunk to community-i686, community-x86_64 Added: gdal/repos/community-i686/PKGBUILD (from rev 249039, gdal/trunk/PKGBUILD) gdal/repos/community-i686/gdal.changelog (from rev 249039, gdal/trunk/gdal.changelog) gdal/repos/community-x86_64/PKGBUILD (from rev 249039, gdal/trunk/PKGBUILD) gdal/repos/community-x86_64/gdal.changelog (from rev 249039, gdal/trunk/gdal.changelog) Deleted: gdal/repos/community-i686/PKGBUILD gdal/repos/community-i686/gdal.changelog gdal/repos/community-x86_64/PKGBUILD gdal/repos/community-x86_64/gdal.changelog -+ /PKGBUILD | 146 +++ /gdal.changelog | 174 ++ community-i686/PKGBUILD | 76 community-i686/gdal.changelog | 84 -- community-x86_64/PKGBUILD | 76 community-x86_64/gdal.changelog | 84 -- 6 files changed, 320 insertions(+), 320 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-08-06 15:52:46 UTC (rev 249039) +++ community-i686/PKGBUILD 2017-08-06 15:53:09 UTC (rev 249040) @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor: William Rea - -pkgname=gdal -pkgver=2.2.0 -pkgrel=4 -pkgdesc="A translator library for raster geospatial data formats" -arch=('i686' 'x86_64') -url="http://www.gdal.org/; -license=('custom') -depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' - 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') -makedepends=('perl' 'swig' 'chrpath' 'doxygen') -optdepends=('postgresql: postgresql database support' -'mariadb: mariadb database support' -'perl: perl binding support') -options=('!emptydirs') -changelog=$pkgname.changelog -source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('0d4c326862e0f118e17418c042c2bcd037b25abd3fb198e1fc5d40b11a9fc8ea') - -prepare() { - cd "${srcdir}"/$pkgname-$pkgver - -# python2 fixes - sed -i 's_python python1.5_python2 python python1.5_' configure - for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - done - -# Fix mandir - sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - export CFLAGS="$CFLAGS -fno-strict-aliasing" - -# bug #23654 - export LDFLAGS="$LDFLAGS -Wl,--as-needed" - - ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ - --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ - --with-png --with-poppler --with-spatialite --with-openjpeg - -# workaround for bug #13646 - sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt - sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile - - make - make man -} - -package () { - cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install - make DESTDIR="${pkgdir}" install-man - -# install license - install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE - -#FS15477 clean up junks - still present in 2.2.0 - rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 -#FS#46581 no better way found yet - still present in 2.2.0 - mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man - rm -rf "${pkgdir}"/usr/man - -# Remove RPATH - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GNM/GNM.so -} Copied: gdal/repos/community-i686/PKGBUILD (from rev 249039, gdal/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-08-06 15:53:09 UTC (rev 249040) @@ -0,0 +1,73 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.2.1 +pkgrel=1 +pkgdesc="A translator library for raster geospatial data formats"
[arch-commits] Commit in gdal/repos (8 files)
Date: Thursday, August 3, 2017 @ 14:33:19 Author: foutrelis Revision: 247786 archrelease: copy trunk to community-i686, community-x86_64 Added: gdal/repos/community-i686/PKGBUILD (from rev 247785, gdal/trunk/PKGBUILD) gdal/repos/community-i686/gdal.changelog (from rev 247785, gdal/trunk/gdal.changelog) gdal/repos/community-x86_64/PKGBUILD (from rev 247785, gdal/trunk/PKGBUILD) gdal/repos/community-x86_64/gdal.changelog (from rev 247785, gdal/trunk/gdal.changelog) Deleted: gdal/repos/community-i686/PKGBUILD gdal/repos/community-i686/gdal.changelog gdal/repos/community-x86_64/PKGBUILD gdal/repos/community-x86_64/gdal.changelog -+ /PKGBUILD | 152 ++ /gdal.changelog | 168 ++ community-i686/PKGBUILD | 76 - community-i686/gdal.changelog | 84 --- community-x86_64/PKGBUILD | 76 - community-x86_64/gdal.changelog | 84 --- 6 files changed, 320 insertions(+), 320 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-08-03 14:33:07 UTC (rev 247785) +++ community-i686/PKGBUILD 2017-08-03 14:33:19 UTC (rev 247786) @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor: William Rea - -pkgname=gdal -pkgver=2.2.0 -pkgrel=2 -pkgdesc="A translator library for raster geospatial data formats" -arch=('i686' 'x86_64') -url="http://www.gdal.org/; -license=('custom') -depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' - 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') -makedepends=('perl' 'swig' 'chrpath' 'doxygen') -optdepends=('postgresql: postgresql database support' -'mariadb: mariadb database support' -'perl: perl binding support') -options=('!emptydirs') -changelog=$pkgname.changelog -source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('0d4c326862e0f118e17418c042c2bcd037b25abd3fb198e1fc5d40b11a9fc8ea') - -prepare() { - cd "${srcdir}"/$pkgname-$pkgver - -# python2 fixes - sed -i 's_python python1.5_python2 python python1.5_' configure - for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - done - -# Fix mandir - sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - export CFLAGS="$CFLAGS -fno-strict-aliasing" - -# bug #23654 - export LDFLAGS="$LDFLAGS -Wl,--as-needed" - - ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ - --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ - --with-png --with-poppler --with-spatialite --with-openjpeg - -# workaround for bug #13646 - sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt - sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile - - make - make man -} - -package () { - cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install - make DESTDIR="${pkgdir}" install-man - -# install license - install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE - -#FS15477 clean up junks - still present in 2.2.0 - rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 -#FS#46581 no better way found yet - still present in 2.2.0 - mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man - rm -rf "${pkgdir}"/usr/man - -# Remove RPATH - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GNM/GNM.so -} Copied: gdal/repos/community-i686/PKGBUILD (from rev 247785, gdal/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-08-03 14:33:19 UTC (rev 247786) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.2.0 +pkgrel=3 +pkgdesc="A translator library for raster geospatial data
[arch-commits] Commit in gdal/repos (8 files)
Date: Friday, October 21, 2016 @ 13:33:26 Author: ronald Revision: 192868 archrelease: copy trunk to community-i686, community-x86_64 Added: gdal/repos/community-i686/PKGBUILD (from rev 192867, gdal/trunk/PKGBUILD) gdal/repos/community-i686/gdal.changelog (from rev 192867, gdal/trunk/gdal.changelog) gdal/repos/community-x86_64/PKGBUILD (from rev 192867, gdal/trunk/PKGBUILD) gdal/repos/community-x86_64/gdal.changelog (from rev 192867, gdal/trunk/gdal.changelog) Deleted: gdal/repos/community-i686/PKGBUILD gdal/repos/community-i686/gdal.changelog gdal/repos/community-x86_64/PKGBUILD gdal/repos/community-x86_64/gdal.changelog -+ /PKGBUILD | 154 ++ /gdal.changelog | 154 ++ community-i686/PKGBUILD | 77 --- community-i686/gdal.changelog | 77 --- community-x86_64/PKGBUILD | 77 --- community-x86_64/gdal.changelog | 77 --- 6 files changed, 308 insertions(+), 308 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2016-10-21 13:33:12 UTC (rev 192867) +++ community-i686/PKGBUILD 2016-10-21 13:33:26 UTC (rev 192868) @@ -1,77 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor: William Rea - -pkgname=gdal -pkgver=2.1.1 -pkgrel=1 -pkgdesc="A translator library for raster geospatial data formats" -arch=('i686' 'x86_64') -url="http://www.gdal.org/; -license=('custom') -depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' - 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') -makedepends=('perl' 'swig' 'chrpath' 'doxygen') -optdepends=('postgresql: postgresql database support' -'mariadb: mariadb database support' -'perl: perl binding support') -options=('!emptydirs') -changelog=$pkgname.changelog -source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('87ce516ce757ad1edf1e21f007fbe232ed2e932af422e9893f40199711c41f92') - -prepare() { - cd "${srcdir}"/$pkgname-$pkgver - -# python2 fixes - sed -i 's_python python1.5_python2 python python1.5_' configure - for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - done - -# Fix mandir - sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - export CFLAGS="$CFLAGS -fno-strict-aliasing" - -# bug #23654 - export LDFLAGS="$LDFLAGS -Wl,--as-needed" - - ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ - --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ - --with-png --with-poppler --with-spatialite --with-openjpeg - -# workaround for bug #13646 - sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt - sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile - - make - make man -} - -package () { - cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install - make DESTDIR="${pkgdir}" install-man - -# install license - install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE - -#FS15477 clean up junks - rm -f "${pkgdir}"/usr/bin/*.dox - rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 - rm -f "${pkgdir}"/usr/share/man/man1/_home_rouault_dist_wrk_gdal_apps_.1 -#FS#46581 no better way found yet - mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man - rm -rf "${pkgdir}"/usr/man - -# Remove RPATH - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so - chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so -} Copied: gdal/repos/community-i686/PKGBUILD (from rev 192867, gdal/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-10-21 13:33:26 UTC (rev 192868) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.1.1 +pkgrel=2 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64')
[arch-commits] Commit in gdal/repos (8 files)
Date: Sunday, June 5, 2016 @ 13:19:38 Author: jlichtblau Revision: 177891 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 177890, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 177890, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 177890, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 177890, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 177890, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 177890, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 74 + community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 74 + 6 files changed, 326 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 177890, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-06-05 11:19:38 UTC (rev 177891) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +#delete obsolete .patch file from svn + +pkgname=gdal +pkgver=2.1.0 +pkgrel=2 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('568b43441955b306364fcf97fb47d4c1512ac6f2f5f76b2ec39a890d2418ee03') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + rm -f "${pkgdir}"/usr/share/man/man1/_home_rouault_dist_wrk_gdal_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 177890, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch
[arch-commits] Commit in gdal/repos (8 files)
Date: Wednesday, April 20, 2016 @ 13:14:13 Author: ronald Revision: 171433 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 171432, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 171432, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 171432, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 171432, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 171432, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 171432, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 68 community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 68 6 files changed, 314 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 171432, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-20 11:14:13 UTC (rev 171433) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.2 +pkgrel=5 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 171432, gdal/trunk/gdal-python-install.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Wednesday, April 13, 2016 @ 18:20:23 Author: jlichtblau Revision: 170828 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 170827, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 170827, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 170827, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 170827, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 170827, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 170827, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 68 community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 68 6 files changed, 314 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 170827, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-13 16:20:23 UTC (rev 170828) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.2 +pkgrel=5 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 170827, gdal/trunk/gdal-python-install.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Sunday, April 3, 2016 @ 00:50:49 Author: fyan Revision: 169292 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 169291, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 169291, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 169291, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 169291, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 169291, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 169291, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 64 +++ community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 64 +++ 6 files changed, 306 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 169291, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-02 22:50:49 UTC (rev 169292) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.2 +pkgrel=4 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 169291, gdal/trunk/gdal-python-install.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Friday, March 4, 2016 @ 11:26:03 Author: bpiotrowski Revision: 164687 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 164686, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 164686, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 164686, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 164686, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 164686, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 164686, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 64 +++ community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 64 +++ 6 files changed, 306 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 164686, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-04 10:26:03 UTC (rev 164687) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.2 +pkgrel=3 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 164686, gdal/trunk/gdal-python-install.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Saturday, January 23, 2016 @ 16:42:27 Author: jlichtblau Revision: 158694 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: gdal/repos/community-testing-i686/ gdal/repos/community-testing-i686/PKGBUILD (from rev 158693, gdal/trunk/PKGBUILD) gdal/repos/community-testing-i686/gdal-python-install.patch (from rev 158693, gdal/trunk/gdal-python-install.patch) gdal/repos/community-testing-i686/gdal.changelog (from rev 158693, gdal/trunk/gdal.changelog) gdal/repos/community-testing-x86_64/ gdal/repos/community-testing-x86_64/PKGBUILD (from rev 158693, gdal/trunk/PKGBUILD) gdal/repos/community-testing-x86_64/gdal-python-install.patch (from rev 158693, gdal/trunk/gdal-python-install.patch) gdal/repos/community-testing-x86_64/gdal.changelog (from rev 158693, gdal/trunk/gdal.changelog) + community-testing-i686/PKGBUILD| 79 +++ community-testing-i686/gdal-python-install.patch | 10 ++ community-testing-i686/gdal.changelog | 61 ++ community-testing-x86_64/PKGBUILD | 79 +++ community-testing-x86_64/gdal-python-install.patch | 10 ++ community-testing-x86_64/gdal.changelog| 61 ++ 6 files changed, 300 insertions(+) Copied: gdal/repos/community-testing-i686/PKGBUILD (from rev 158693, gdal/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-01-23 15:42:27 UTC (rev 158694) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=7 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --with-python --with-curl --with-hdf5 --with-perl --with-geos \ + --with-png --with-poppler --with-spatialite --with-openjpeg + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-testing-i686/gdal-python-install.patch (from rev 158693, gdal/trunk/gdal-python-install.patch) === ---
[arch-commits] Commit in gdal/repos (8 files)
Date: Friday, December 18, 2015 @ 19:20:19 Author: fyan Revision: 153683 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 153682, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 153682, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 153682, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 153682, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 153682, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 153682, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 56 + community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 56 + 6 files changed, 290 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 153682, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-18 18:20:19 UTC (rev 153683) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=6 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl --with-hdf5 \ + --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 153682, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch
[arch-commits] Commit in gdal/repos (8 files)
Date: Monday, December 7, 2015 @ 09:48:42 Author: fyan Revision: 149767 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 149766, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 149766, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 149766, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 149766, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 149766, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 149766, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 56 + community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 56 + 6 files changed, 290 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 149766, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 08:48:42 UTC (rev 149767) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=5 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl --with-hdf5 \ + --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 149766, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch
[arch-commits] Commit in gdal/repos (8 files)
Date: Sunday, November 1, 2015 @ 14:04:56 Author: foutrelis Revision: 145439 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 145438, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 145438, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 145438, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 145438, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 145438, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 145438, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 56 + community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 56 + 6 files changed, 290 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 145438, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-11-01 13:04:56 UTC (rev 145439) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=4 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl --with-hdf5 \ + --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 145438, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch
[arch-commits] Commit in gdal/repos (8 files)
Date: Wednesday, October 28, 2015 @ 03:08:15 Author: foutrelis Revision: 145152 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 145151, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 145151, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 145151, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 145151, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 145151, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 145151, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 79 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 56 + community-staging-x86_64/PKGBUILD | 79 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 56 + 6 files changed, 290 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 145151, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-10-28 02:08:15 UTC (rev 145152) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=3 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl --with-hdf5 \ + --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 +#FS#46581 no better way found yet + mv "${pkgdir}"/usr/man/man3 "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/man + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 145151, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch
[arch-commits] Commit in gdal/repos (8 files)
Date: Tuesday, September 29, 2015 @ 07:43:03 Author: fyan Revision: 142196 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 142195, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 142195, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 142195, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 142195, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 142195, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 142195, gdal/trunk/gdal.changelog) + community-staging-i686/PKGBUILD| 76 +++ community-staging-i686/gdal-python-install.patch | 10 ++ community-staging-i686/gdal.changelog | 53 + community-staging-x86_64/PKGBUILD | 76 +++ community-staging-x86_64/gdal-python-install.patch | 10 ++ community-staging-x86_64/gdal.changelog| 53 + 6 files changed, 278 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 142195, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-09-29 05:43:03 UTC (rev 142196) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.1 +pkgrel=1 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-python-install.patch) +sha256sums=('b55f794768e104a2fd0304eaa61bb8bda3dc7c4e14f2c9d0913baca3e55b83ab' +'823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver + patch -Np0 -i "${srcdir}"/gdal-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}"/$pkgname-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl --with-hdf5 \ + --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + +#FS15477 clean up junks + rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + +# Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 142195, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch (rev 0) +++ community-staging-i686/gdal-python-install.patch2015-09-29 05:43:03 UTC (rev 142196) @@ -0,0
[arch-commits] Commit in gdal/repos (8 files)
Date: Saturday, December 20, 2014 @ 08:20:14 Author: foutrelis Revision: 124153 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 124152, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 124152, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 124152, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 124152, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 124152, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 124152, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 74 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 38 ++ community-staging-x86_64/PKGBUILD| 74 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 38 ++ 6 files changed, 244 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 124152, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-12-20 07:20:14 UTC (rev 124153) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.11.1 +pkgrel=4 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libspatialite' 'libtiff' 'netcdf' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +sha256sums=('f46b5944a8cabc8516673f231f466131cdfd2cdc6677dbee5d96ec7fc58a3340' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i s|^mandir=.*|mandir='\${prefix}/share/man'| configure +} + +build() { + cd ${srcdir}/$pkgname-$pkgver + export CFLAGS=$CFLAGS -fno-strict-aliasing + +# bug #23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install + make DESTDIR=${pkgdir} install-man + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + rm -f ${pkgdir}/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + +# Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 124152, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2014-12-20 07:20:14 UTC
[arch-commits] Commit in gdal/repos (8 files)
Date: Saturday, November 8, 2014 @ 17:56:59 Author: bpiotrowski Revision: 122251 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 122250, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 122250, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 122250, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 122250, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 122250, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 122250, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 74 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 32 + community-staging-x86_64/PKGBUILD| 74 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 32 + 6 files changed, 232 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 122250, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-11-08 16:56:59 UTC (rev 122251) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.11.1 +pkgrel=2 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libspatialite' 'libtiff' 'netcdf' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +sha256sums=('f46b5944a8cabc8516673f231f466131cdfd2cdc6677dbee5d96ec7fc58a3340' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + +# Fix mandir + sed -i s|^mandir=.*|mandir='\${prefix}/share/man'| configure +} + +build() { + cd ${srcdir}/$pkgname-$pkgver + export CFLAGS=$CFLAGS -fno-strict-aliasing + +# bug #23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png --with-poppler --with-spatialite + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make + make man +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install + make DESTDIR=${pkgdir} install-man + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + rm -f ${pkgdir}/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 + +# Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 122250, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2014-11-08 16:56:59 UTC (rev
[arch-commits] Commit in gdal/repos (8 files)
Date: Saturday, September 14, 2013 @ 21:47:57 Author: bpiotrowski Revision: 97163 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 97162, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 97162, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 97162, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 97162, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 97162, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 97162, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 68 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 14 ++ community-staging-x86_64/PKGBUILD| 68 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 14 ++ 6 files changed, 184 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 97162, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-09-14 19:47:57 UTC (rev 97163) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.10.0 +pkgrel=3 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support' +'swig: perl binding support') +options=('!libtool') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +sha256sums=('1a9ca12bcc3a55f66bcd6654d5ff12eeddb3a26b622dd7c8872febb4f5a97487' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6') + +build() { + export CFLAGS=$CFLAGS -fno-strict-aliasing + +# bug 23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + +# Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 97162, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2013-09-14 19:47:57 UTC (rev 97163) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.0 +0200 swig/python/GNUmakefile2010-05-05 19:14:58.0 +0200 +@@ -72,5 +72,5 @@ + ifeq
[arch-commits] Commit in gdal/repos (8 files)
Date: Tuesday, July 30, 2013 @ 10:46:54 Author: bpiotrowski Revision: 94766 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 94765, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 94765, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 94765, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 94765, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 94765, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 94765, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 68 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 14 ++ community-staging-x86_64/PKGBUILD| 68 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 14 ++ 6 files changed, 184 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 94765, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-07-30 08:46:54 UTC (rev 94766) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.10.0 +pkgrel=2 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support' +'swig: perl binding support') +options=('!libtool') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +sha256sums=('1a9ca12bcc3a55f66bcd6654d5ff12eeddb3a26b622dd7c8872febb4f5a97487' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6') + +build() { + export CFLAGS=$CFLAGS -fno-strict-aliasing + +# bug 23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + +# Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 94765, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2013-07-30 08:46:54 UTC (rev 94766) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.0 +0200 swig/python/GNUmakefile2010-05-05 19:14:58.0 +0200 +@@ -72,5 +72,5 @@ + ifeq
[arch-commits] Commit in gdal/repos (8 files)
Date: Tuesday, April 30, 2013 @ 10:46:44 Author: bpiotrowski Revision: 89592 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 89591, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 89591, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 89591, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 89591, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 89591, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 89591, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 68 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 11 ++ community-staging-x86_64/PKGBUILD| 68 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 11 ++ 6 files changed, 178 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 89591, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-04-30 08:46:44 UTC (rev 89592) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.9.2 +pkgrel=2 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support' +'swig: perl binding support') +options=('!libtool') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +md5sums=('3f39db89f4710269b3a8bf94178e07aa' + '81afc1c26d29cee84aadb6924fe33861') + +build() { + export CFLAGS=$CFLAGS -fno-strict-aliasing + + # bug 23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + + # Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 89591, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2013-04-30 08:46:44 UTC (rev 89592) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.0 +0200 swig/python/GNUmakefile2010-05-05 19:14:58.0 +0200 +@@ -72,5 +72,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON)
[arch-commits] Commit in gdal/repos (8 files)
Date: Thursday, March 7, 2013 @ 09:04:03 Author: andrea Revision: 85787 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 85786, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 85786, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 85786, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 85786, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 85786, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 85786, gdal/trunk/gdal.changelog) --+ community-staging-i686/PKGBUILD | 69 + community-staging-i686/gdal-1.5.1-python-install.patch | 10 + community-staging-i686/gdal.changelog| 11 ++ community-staging-x86_64/PKGBUILD| 69 + community-staging-x86_64/gdal-1.5.1-python-install.patch | 10 + community-staging-x86_64/gdal.changelog | 11 ++ 6 files changed, 180 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 85786, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-03-07 08:04:03 UTC (rev 85787) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau dragonl...@aur.archlinux.org +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea sillywi...@gmail.com + +pkgname=gdal +pkgver=1.9.2 +pkgrel=1 +pkgdesc=A translator library for raster geospatial data formats +arch=('i686' 'x86_64') +url=http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath') +optdepends=('postgresql: postgresql database support' +'mariadb: mariab database support' +'perl: perl binding support' +'swig: perl binding support') +options=('!libtool') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz +gdal-1.5.1-python-install.patch) +md5sums=('3f39db89f4710269b3a8bf94178e07aa' + '81afc1c26d29cee84aadb6924fe33861') + +build() { + export CFLAGS=$CFLAGS -fno-strict-aliasing + + # bug 23654 + export LDFLAGS=$LDFLAGS -Wl,--as-needed + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox + + # Remove RPATH + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete ${pkgdir}/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so +} Copied: gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 85786, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-i686/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-i686/gdal-1.5.1-python-install.patch 2013-03-07 08:04:03 UTC (rev 85787) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.0 +0200 swig/python/GNUmakefile2010-05-05 19:14:58.0 +0200 +@@ -72,5 +72,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON) setup.py