[arch-commits] Commit in gdal/repos (6 files)
Date: Saturday, May 25, 2019 @ 12:25:55 Author: foutrelis Revision: 470672 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 470671, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 470671, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.75.patch (from rev 470671, gdal/trunk/gdal-poppler-0.75.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.76.patch (from rev 470671, gdal/trunk/gdal-poppler-0.76.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 470671, gdal/trunk/gdal.changelog) -+ PKGBUILD| 115 ++ gdal-perl-vendor.patch | 28 +++ gdal-poppler-0.75.patch | 22 gdal-poppler-0.76.patch | 34 + gdal.changelog | 105 ++ 5 files changed, 304 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 470671, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-25 12:25:55 UTC (rev 470672) @@ -0,0 +1,115 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=2.4.1 +pkgrel=2 +pkgdesc="A translator library for raster geospatial data formats" +arch=('x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'cfitsio' 'sqlite' 'mariadb-libs' 'postgresql-libs' 'xerces-c' 'json-c') +makedepends=('perl' 'swig' 'chrpath' 'doxygen' 'python-numpy' 'python2-numpy') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgbase.changelog +source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz +gdal-perl-vendor.patch gdal-poppler-0.75.patch gdal-poppler-0.76.patch) +sha256sums=('fd51b4900b2fc49b98d8714f55fc8a78ebfd07218357f93fb796791115a5a1ad' +'9aae00cdb8804dabc0d5d1921e874377daa2fc16677d743845e7b96f2901c1ea' +'adb5a5918a986beb5b506180619c63f2655e99d3561b94f998248419d612fd51' +'43a5967fdb56c726a4865032c1d9e5771f7b21b4867e0ec05e37a259811fbca5') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix build with poppler 0.75 + patch -p2 -i ../gdal-poppler-0.75.patch +# Fix build with poppler 0.76 + patch -p2 -i ../gdal-poppler-0.76.patch + +# 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}"/$pkgbase-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --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 + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python2 setup.py build + python3 setup.py build +} + +package_gdal () { + cd "${srcdir}"/$pkgbase-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgbase/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 +} + +package_python-gdal () { + pkgdesc="Python bindings for GDAL" + depends=("gdal=$pkgver" 'python-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python3 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" +
[arch-commits] Commit in gdal/repos (6 files)
Date: Wednesday, May 22, 2019 @ 17:20:08 Author: arojas Revision: 468618 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 468617, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 468617, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.75.patch (from rev 468617, gdal/trunk/gdal-poppler-0.75.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.76.patch (from rev 468617, gdal/trunk/gdal-poppler-0.76.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 468617, gdal/trunk/gdal.changelog) -+ PKGBUILD| 115 ++ gdal-perl-vendor.patch | 28 +++ gdal-poppler-0.75.patch | 22 gdal-poppler-0.76.patch | 34 + gdal.changelog | 105 ++ 5 files changed, 304 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 468617, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-22 17:20:08 UTC (rev 468618) @@ -0,0 +1,115 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=2.4.1 +pkgrel=1 +pkgdesc="A translator library for raster geospatial data formats" +arch=('x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'cfitsio' 'sqlite' 'mariadb-libs' 'postgresql-libs' 'xerces-c' 'json-c') +makedepends=('perl' 'swig' 'chrpath' 'doxygen' 'python-numpy' 'python2-numpy') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgbase.changelog +source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz +gdal-perl-vendor.patch gdal-poppler-0.75.patch gdal-poppler-0.76.patch) +sha256sums=('fd51b4900b2fc49b98d8714f55fc8a78ebfd07218357f93fb796791115a5a1ad' +'9aae00cdb8804dabc0d5d1921e874377daa2fc16677d743845e7b96f2901c1ea' +'adb5a5918a986beb5b506180619c63f2655e99d3561b94f998248419d612fd51' +'43a5967fdb56c726a4865032c1d9e5771f7b21b4867e0ec05e37a259811fbca5') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix build with poppler 0.75 + patch -p2 -i ../gdal-poppler-0.75.patch +# Fix build with poppler 0.76 + patch -p2 -i ../gdal-poppler-0.76.patch + +# 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}"/$pkgbase-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --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 + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python2 setup.py build + python3 setup.py build +} + +package_gdal () { + cd "${srcdir}"/$pkgbase-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgbase/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 +} + +package_python-gdal () { + pkgdesc="Python bindings for GDAL" + depends=("gdal=$pkgver" 'python-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python3 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" +
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, April 23, 2019 @ 22:03:34 Author: felixonmars Revision: 453250 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 453249, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 453249, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.75.patch (from rev 453249, gdal/trunk/gdal-poppler-0.75.patch) gdal/repos/community-staging-x86_64/gdal-poppler-0.76.patch (from rev 453249, gdal/trunk/gdal-poppler-0.76.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 453249, gdal/trunk/gdal.changelog) -+ PKGBUILD| 131 ++ gdal-perl-vendor.patch | 28 + gdal-poppler-0.75.patch | 22 +++ gdal-poppler-0.76.patch | 34 +++ gdal.changelog | 105 5 files changed, 320 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 453249, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-23 22:03:34 UTC (rev 453250) @@ -0,0 +1,131 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=2.3.2 +pkgrel=13 +pkgdesc="A translator library for raster geospatial data formats" +arch=('x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'cfitsio' 'sqlite' 'mariadb-libs' 'postgresql-libs' 'xerces-c' 'json-c') +makedepends=('perl' 'swig' 'chrpath' 'doxygen' 'python-numpy' 'python2-numpy') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgbase.changelog +source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz + gdal-poppler-0.69.0.patch::https://github.com/OSGeo/gdal/commit/69e0701253.patch +gdal-perl-vendor.patch +gdal-poppler-0.75.patch +gdal-poppler-0.76.patch) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3' +'099c95f63863cc8b2c606f146fb145f14599e9f4525fb62d965a5b9bc174a0a2' +'5dcf665ba33d6d7880be3ab3371f2fd916a70f49f711b06da3c67e3eb3541d9a') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix build with poppler >= 0.69.0 + patch -Np2 -i ../gdal-poppler-0.69.0.patch +# Fix build with poppler 0.72 + find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -e 's|getCString|c_str|g' -i +# Fix build with poppler 0.73 + sed -e 's|#include |typedef unsigned char Guchar;|' -i frmts/pdf/pdfsdk_headers.h +# Fix build with poppler 0.75 + patch -p2 -i ../gdal-poppler-0.75.patch +# Fix build with poppler 0.76 + patch -p2 -i ../gdal-poppler-0.76.patch + +# 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}"/$pkgbase-$pkgver + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# Ignore const-related errors (remove once fixed upstream) + CXXFLAGS+=' -fpermissive' + +# bug #23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + --with-mysql --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 + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python2 setup.py build + python3 setup.py build +} + +package_gdal () { + cd "${srcdir}"/$pkgbase-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgbase/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
[arch-commits] Commit in gdal/repos (6 files)
Date: Wednesday, June 6, 2018 @ 07:08:21 Author: jelle Revision: 340862 db-move: moved gdal from [community-staging] to [community-testing] (x86_64) Added: gdal/repos/community-testing-x86_64/ gdal/repos/community-testing-x86_64/PKGBUILD (from rev 340861, gdal/repos/community-staging-x86_64/PKGBUILD) gdal/repos/community-testing-x86_64/gdal-perl-vendor.patch (from rev 340861, gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch) gdal/repos/community-testing-x86_64/gdal-poppler-0.64.patch (from rev 340861, gdal/repos/community-staging-x86_64/gdal-poppler-0.64.patch) gdal/repos/community-testing-x86_64/gdal.changelog (from rev 340861, gdal/repos/community-staging-x86_64/gdal.changelog) Deleted: gdal/repos/community-staging-x86_64/ -+ PKGBUILD| 115 ++ gdal-perl-vendor.patch | 28 +++ gdal-poppler-0.64.patch | 13 + gdal.changelog | 99 +++ 4 files changed, 255 insertions(+) Copied: gdal/repos/community-testing-x86_64/PKGBUILD (from rev 340861, gdal/repos/community-staging-x86_64/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-06-06 07:08:21 UTC (rev 340862) @@ -0,0 +1,115 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=(gdal python-gdal python2-gdal) +pkgver=2.3.0 +pkgrel=2 +pkgdesc="A translator library for raster geospatial data formats" +arch=('x86_64') +url="http://www.gdal.org/; +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg-turbo' 'libpng' 'libspatialite' 'libtiff' 'netcdf' + 'openjpeg2' 'poppler' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs' 'xerces-c' 'json-c') +makedepends=('perl' 'swig' 'chrpath' 'doxygen' 'python-numpy' 'python2-numpy') +optdepends=('postgresql: postgresql database support' +'mariadb: mariadb database support' +'perl: perl binding support') +options=('!emptydirs') +changelog=$pkgbase.changelog +source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz +gdal-perl-vendor.patch gdal-poppler-0.64.patch) +sha512sums=('7eb5abd9e61fca2ac8c7022029b2492b98f56873ffd277e15ced23d3742e26fd29eb5f8ed7c916b096c3caeed9efc03d0c022390fa0bf762d0c6cb5c04e70ec7' + '16334ff8d208da6549228ae709c2a34e1adea19e93141bcab258805cbcdc3b4243c9d3bf0cecbf0d5ea89e2e65351d6a990efbdf7ceab4ce7a970deb15cd7894' + '26af0e8c8217b11816a44d62d438b0b5b1a94a36de827a7f6bb6d38d8c4899a20e3df7a979af2c81445c0c4359d9cd6c3f479e4c0558e6d36fde313546acabe7') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np1 -i ../gdal-perl-vendor.patch +# Fix build with poppler 0.64 + patch -p2 -i ../gdal-poppler-0.64.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$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-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 + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python2 setup.py build + python3 setup.py build +} + +package_gdal () { + cd "${srcdir}"/$pkgbase-$pkgver + + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man + +# install license + install -Dm644 LICENSE.TXT "${pkgdir}"/usr/share/licenses/$pkgbase/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 +} + +package_python-gdal () { + pkgdesc="Python bindings for GDAL" + depends=("gdal=$pkgver" 'python-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + python3 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase
[arch-commits] Commit in gdal/repos (6 files)
Date: Saturday, August 26, 2017 @ 14:50:23 Author: felixonmars Revision: 254137 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 254136, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 254136, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 254136, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 254136, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 73 + community-staging-i686/gdal.changelog | 87 ++ community-staging-x86_64/PKGBUILD | 73 + community-staging-x86_64/gdal.changelog | 87 ++ 4 files changed, 320 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 254136, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-26 14:50:23 UTC (rev 254137) @@ -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=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.xz) +sha256sums=('927098d54083ac919a497f787b835b099e9a194f2e5444dbff901f7426b86066') + +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.1 + 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 + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GNM/GNM.so +} Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 254136, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-08-26 14:50:23 UTC (rev 254137) @@ -0,0 +1,87 @@ +2017-08-06 Jaroslav Lichtblau + * gdal 2.2.1-1 + +2017-07-10 Jaroslav Lichtblau + * gdal 2.2.0-1 + * hdf5 1.10.1 rebuild + +2017-01-22 Jaroslav Lichtblau + * gdal 2.1.2-1 + +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau
[arch-commits] Commit in gdal/repos (6 files)
Date: Friday, August 25, 2017 @ 18:42:13 Author: foutrelis Revision: 253409 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 253408, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 253408, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 253408, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 253408, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 73 + community-staging-i686/gdal.changelog | 87 ++ community-staging-x86_64/PKGBUILD | 73 + community-staging-x86_64/gdal.changelog | 87 ++ 4 files changed, 320 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 253408, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-25 18:42:13 UTC (rev 253409) @@ -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=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=('927098d54083ac919a497f787b835b099e9a194f2e5444dbff901f7426b86066') + +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.1 + 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 + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GNM/GNM.so +} Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 253408, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-08-25 18:42:13 UTC (rev 253409) @@ -0,0 +1,87 @@ +2017-08-06 Jaroslav Lichtblau + * gdal 2.2.1-1 + +2017-07-10 Jaroslav Lichtblau + * gdal 2.2.0-1 + * hdf5 1.10.1 rebuild + +2017-01-22 Jaroslav Lichtblau + * gdal 2.1.2-1 + +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau
[arch-commits] Commit in gdal/repos (6 files)
Date: Thursday, August 3, 2017 @ 14:47:39 Author: foutrelis Revision: 247802 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 247801, gdal/trunk/PKGBUILD) gdal/repos/community-testing-i686/gdal.changelog (from rev 247801, gdal/trunk/gdal.changelog) gdal/repos/community-testing-x86_64/ gdal/repos/community-testing-x86_64/PKGBUILD (from rev 247801, gdal/trunk/PKGBUILD) gdal/repos/community-testing-x86_64/gdal.changelog (from rev 247801, gdal/trunk/gdal.changelog) -+ community-testing-i686/PKGBUILD | 76 +++ community-testing-i686/gdal.changelog | 84 ++ community-testing-x86_64/PKGBUILD | 76 +++ community-testing-x86_64/gdal.changelog | 84 ++ 4 files changed, 320 insertions(+) Copied: gdal/repos/community-testing-i686/PKGBUILD (from rev 247801, gdal/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-08-03 14:47:39 UTC (rev 247802) @@ -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=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-testing-i686/gdal.changelog (from rev 247801, gdal/trunk/gdal.changelog) === --- community-testing-i686/gdal.changelog (rev 0) +++ community-testing-i686/gdal.changelog 2017-08-03 14:47:39 UTC (rev 247802) @@ -0,0 +1,84 @@ +2017-07-10 Jaroslav Lichtblau + * gdal 2.2.0-1 + * hdf5 1.10.1 rebuild + +2017-01-22 Jaroslav Lichtblau + * gdal 2.1.2-1 + +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, August 1, 2017 @ 16:44:08 Author: foutrelis Revision: 247351 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 247350, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 247350, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 247350, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 247350, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 76 +++ community-staging-i686/gdal.changelog | 84 ++ community-staging-x86_64/PKGBUILD | 76 +++ community-staging-x86_64/gdal.changelog | 84 ++ 4 files changed, 320 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 247350, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-01 16:44:08 UTC (rev 247351) @@ -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=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-staging-i686/gdal.changelog (from rev 247350, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-08-01 16:44:08 UTC (rev 247351) @@ -0,0 +1,84 @@ +2017-07-10 Jaroslav Lichtblau + * gdal 2.2.0-1 + * hdf5 1.10.1 rebuild + +2017-01-22 Jaroslav Lichtblau + * gdal 2.1.2-1 + +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, July 11, 2017 @ 04:51:16 Author: jlichtblau Revision: 243837 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 243836, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 243836, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 243836, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 243836, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 76 +++ community-staging-i686/gdal.changelog | 84 ++ community-staging-x86_64/PKGBUILD | 76 +++ community-staging-x86_64/gdal.changelog | 84 ++ 4 files changed, 320 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 243836, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-11 04:51:16 UTC (rev 243837) @@ -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=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=('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-staging-i686/gdal.changelog (from rev 243836, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-07-11 04:51:16 UTC (rev 243837) @@ -0,0 +1,84 @@ +2017-07-10 Jaroslav Lichtblau + * gdal 2.2.0-1 + * hdf5 1.10.1 rebuild + +2017-01-22 Jaroslav Lichtblau + * gdal 2.1.2-1 + +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler
[arch-commits] Commit in gdal/repos (6 files)
Date: Thursday, May 25, 2017 @ 21:58:36 Author: foutrelis Revision: 230300 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 230299, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 230299, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 230299, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 230299, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 230299, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-05-25 21:58:36 UTC (rev 230300) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.1.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' 'libmariadb' '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=('b597f36bd29a2b4368998ddd32b28c8cdf3c8192237a81b99af83cc17d7fa374') + +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.changelog (from rev 230299, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-05-25 21:58:36 UTC (rev 230300) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12 Jaroslav
[arch-commits] Commit in gdal/repos (6 files)
Date: Thursday, April 27, 2017 @ 01:13:17 Author: foutrelis Revision: 225806 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 225804, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 225804, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 225804, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 225804, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 225804, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-27 01:13:17 UTC (rev 225806) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.1.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) +sha256sums=('b597f36bd29a2b4368998ddd32b28c8cdf3c8192237a81b99af83cc17d7fa374') + +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.changelog (from rev 225804, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-04-27 01:13:17 UTC (rev 225806) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, March 21, 2017 @ 11:00:54 Author: jelle Revision: 218146 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 218145, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 218145, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 218145, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 218145, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 218145, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-03-21 11:00:54 UTC (rev 218146) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.1.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) +sha256sums=('b597f36bd29a2b4368998ddd32b28c8cdf3c8192237a81b99af83cc17d7fa374') + +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.changelog (from rev 218145, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2017-03-21 11:00:54 UTC (rev 218146) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12 Jaroslav
[arch-commits] Commit in gdal/repos (6 files)
Date: Friday, December 16, 2016 @ 17:18:43 Author: foutrelis Revision: 199881 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 199880, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 199880, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 199880, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 199880, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 199880, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-12-16 17:18:43 UTC (rev 199881) @@ -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=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=('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-staging-i686/gdal.changelog (from rev 199880, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2016-12-16 17:18:43 UTC (rev 199881) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12
[arch-commits] Commit in gdal/repos (6 files)
Date: Saturday, November 26, 2016 @ 19:42:57 Author: foutrelis Revision: 196950 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 196948, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 196948, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 196948, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 196948, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 196948, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-11-26 19:42:57 UTC (rev 196950) @@ -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=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.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-staging-i686/gdal.changelog (from rev 196948, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2016-11-26 19:42:57 UTC (rev 196950) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, August 2, 2016 @ 17:21:13 Author: jlichtblau Revision: 184872 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 184871, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal.changelog (from rev 184871, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 184871, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 184871, gdal/trunk/gdal.changelog) -+ community-staging-i686/PKGBUILD | 77 ++ community-staging-i686/gdal.changelog | 77 ++ community-staging-x86_64/PKGBUILD | 77 ++ community-staging-x86_64/gdal.changelog | 77 ++ 4 files changed, 308 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 184871, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-08-02 17:21:13 UTC (rev 184872) @@ -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=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-staging-i686/gdal.changelog (from rev 184871, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +++ community-staging-i686/gdal.changelog 2016-08-02 17:21:13 UTC (rev 184872) @@ -0,0 +1,77 @@ +2016-08-02 Jaroslav Lichtblau + * gdal 2.1.1-1 glew 2.0.0 / poppler 0.46.0 rebuilds rebuild + +2016-06-05 Jaroslav Lichtblau + * gdal 2.1.0-2 cfitsio 3.390 rebuild + +2016-05-22 Jaroslav Lichtblau + * gdal 2.1.0-1 + +2016-04-12
[arch-commits] Commit in gdal/repos (6 files)
Date: Tuesday, July 29, 2014 @ 19:27:13 Author: jlichtblau Revision: 116543 archrelease: copy trunk to community-staging-i686 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 116542, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/fix_json_012.patch (from rev 116542, gdal/trunk/fix_json_012.patch) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 116542, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 116542, gdal/trunk/gdal.changelog) gdal/repos/community-staging-i686/giflib51.patch (from rev 116542, gdal/trunk/giflib51.patch) -+ PKGBUILD| 84 ++ fix_json_012.patch | 84 ++ gdal-1.5.1-python-install.patch | 10 ++ gdal.changelog | 29 +++ giflib51.patch | 139 ++ 5 files changed, 346 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 116542, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-07-29 17:27:13 UTC (rev 116543) @@ -0,0 +1,84 @@ +# $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.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' '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' +'swig: perl binding support') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +fix_json_012.patch +gdal-1.5.1-python-install.patch +giflib51.patch) +sha256sums=('989db33ff411e2c888348e71edec5ad06c74ed68781ebfbc4e85179b9d65aafe' +'0ef2a20e9a0e86f85eab9a4a1e5caf7364f1d547deed6f2249fe542d4d2881f4' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6' +'99bb57b514101a53fda4f163efffb0d9859423c9bd51766bbf99313f1eb0cafc') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + + # Fix compilation failure related to recent json-c changes. FS#40584 + patch -Np0 -i ${srcdir}/fix_json_012.patch + + patch -Np0 -i ../giflib51.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/fix_json_012.patch (from rev 116542, gdal/trunk/fix_json_012.patch) === --- community-staging-i686/fix_json_012.patch (rev 0) +++ community-staging-i686/fix_json_012.patch 2014-07-29 17:27:13 UTC (rev
[arch-commits] Commit in gdal/repos (6 files)
Date: Monday, July 28, 2014 @ 23:09:45 Author: jlichtblau Revision: 116499 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 116498, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/fix_json_012.patch (from rev 116498, gdal/trunk/fix_json_012.patch) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 116498, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 116498, gdal/trunk/gdal.changelog) gdal/repos/community-staging-x86_64/giflib51.patch (from rev 116498, gdal/trunk/giflib51.patch) -+ PKGBUILD| 84 ++ fix_json_012.patch | 84 ++ gdal-1.5.1-python-install.patch | 10 ++ gdal.changelog | 29 +++ giflib51.patch | 139 ++ 5 files changed, 346 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 116498, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-07-28 21:09:45 UTC (rev 116499) @@ -0,0 +1,84 @@ +# $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.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' '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' +'swig: perl binding support') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz +fix_json_012.patch +gdal-1.5.1-python-install.patch +giflib51.patch) +sha256sums=('989db33ff411e2c888348e71edec5ad06c74ed68781ebfbc4e85179b9d65aafe' +'0ef2a20e9a0e86f85eab9a4a1e5caf7364f1d547deed6f2249fe542d4d2881f4' +'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6' +'99bb57b514101a53fda4f163efffb0d9859423c9bd51766bbf99313f1eb0cafc') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + + # Fix compilation failure related to recent json-c changes. FS#40584 + patch -Np0 -i ${srcdir}/fix_json_012.patch + + patch -Np0 -i ../giflib51.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-x86_64/fix_json_012.patch (from rev 116498, gdal/trunk/fix_json_012.patch) === --- community-staging-x86_64/fix_json_012.patch (rev 0) +++ community-staging-x86_64/fix_json_012.patch 2014-07-28