[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, July 3, 2020 @ 09:28:45 Author: felixonmars Revision: 657578 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 657577, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 657577, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 657577, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 657577, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-07-03 09:28:45 UTC (rev 657578) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=11 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 657577, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-07-03 09:28:45 UTC (rev 657578) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl M
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, June 21, 2020 @ 16:16:28 Author: felixonmars Revision: 649713 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 649711, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 649711, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 649711, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 649711, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-06-21 16:16:28 UTC (rev 649713) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=10 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 649711, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-06-21 16:16:28 UTC (rev 649713) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, May 1, 2020 @ 10:30:54 Author: felixonmars Revision: 623727 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 623726, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 623726, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 623726, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 623726, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-05-01 10:30:54 UTC (rev 623727) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=9 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 623726, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-05-01 10:30:54 UTC (rev 623727) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl Mak
[arch-commits] Commit in gdal/repos (4 files)
Date: Monday, April 27, 2020 @ 10:56:07 Author: foutrelis Revision: 621827 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 621826, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 621826, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 621826, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 621826, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-27 10:56:07 UTC (rev 621827) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=8 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 621826, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-04-27 10:56:07 UTC (rev 621827) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl Ma
[arch-commits] Commit in gdal/repos (4 files)
Date: Saturday, April 25, 2020 @ 14:09:23 Author: foutrelis Revision: 620717 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 620716, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 620716, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 620716, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 620716, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-25 14:09:23 UTC (rev 620717) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=7 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 620716, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-04-25 14:09:23 UTC (rev 620717) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl
[arch-commits] Commit in gdal/repos (4 files)
Date: Saturday, April 11, 2020 @ 09:45:54 Author: arojas Revision: 613326 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 613325, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 613325, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 613325, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 613325, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-11 09:45:54 UTC (rev 613326) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=6 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 613325, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-04-11 09:45:54 UTC (rev 613326) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl Mak
[arch-commits] Commit in gdal/repos (4 files)
Date: Monday, March 30, 2020 @ 10:36:40 Author: foutrelis Revision: 606737 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 606736, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 606736, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 606736, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 606736, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-03-30 10:36:40 UTC (rev 606737) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=5 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 606736, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-03-30 10:36:40 UTC (rev 606737) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl Ma
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, March 1, 2020 @ 08:54:56 Author: foutrelis Revision: 587386 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 587385, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 587385, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 587385, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 587385, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-03-01 08:54:56 UTC (rev 587386) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +pkgrel=3 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 587385, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-03-01 08:54:56 UTC (rev 587386) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- perl Mak
[arch-commits] Commit in gdal/repos (4 files)
Date: Thursday, January 30, 2020 @ 17:49:47 Author: felixonmars Revision: 560130 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 560129, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 560129, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 560129, gdal/trunk/gdal.changelog) + PKGBUILD | 83 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 120 +++ 3 files changed, 221 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 560129, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-30 17:49:47 UTC (rev 560130) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.4 +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' 'boost') +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) +sha256sums=('5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 560129, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-01-30 17:49:47 UTC (rev 560130) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +- p
[arch-commits] Commit in gdal/repos (4 files)
Date: Tuesday, January 7, 2020 @ 21:49:31 Author: felixonmars Revision: 550115 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 550114, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 550114, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 550114, gdal/trunk/gdal.changelog) + PKGBUILD | 91 + gdal-perl-vendor.patch | 18 +++ gdal.changelog | 114 +++ 3 files changed, 223 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 550114, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-07 21:49:31 UTC (rev 550115) @@ -0,0 +1,91 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.2 +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' 'boost') +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.83a.patch::"https://github.com/OSGeo/gdal/commit/1f8fa16f.patch"; + gdal-poppler-0.83b.patch::"https://github.com/OSGeo/gdal/commit/7318576f.patch";) +sha256sums=('c3765371ce391715c8f28bd6defbc70b57aa43341f6e94605f04fe3c92468983' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed' +'65c0afb5346b15eba31826589772cab3be92113986ce79fe81df45559c8d8b26' +'e01e602ec81f73cd5af5f5773d2668cfa6cb53b1e8975203b4010191bb1818e6') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch + +# Fix build with poppler 0.83 + patch -p2 -i ../gdal-poppler-0.83a.patch + patch -p2 -i ../gdal-poppler-0.83b.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 550114, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2020-01-07 21:49:31 UTC (rev 550115) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrma
[arch-commits] Commit in gdal/repos (4 files)
Date: Wednesday, November 27, 2019 @ 21:36:09 Author: jlichtblau Revision: 534213 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 534212, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 534212, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 534212, gdal/trunk/gdal.changelog) + PKGBUILD | 83 ++ gdal-perl-vendor.patch | 18 +++ gdal.changelog | 114 +++ 3 files changed, 215 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 534212, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-27 21:36:09 UTC (rev 534213) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.2 +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' 'boost') +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) +sha256sums=('c3765371ce391715c8f28bd6defbc70b57aa43341f6e94605f04fe3c92468983' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 534212, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2019-11-27 21:36:09 UTC (rev 534213) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +-
[arch-commits] Commit in gdal/repos (4 files)
Date: Saturday, October 26, 2019 @ 17:01:34 Author: felixonmars Revision: 520431 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 520430, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 520430, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 520430, gdal/trunk/gdal.changelog) + PKGBUILD | 83 +++ gdal-perl-vendor.patch | 18 +++ gdal.changelog | 111 +++ 3 files changed, 212 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 520430, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-26 17:01:34 UTC (rev 520431) @@ -0,0 +1,83 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal') +pkgver=3.0.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' 'boost') +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) +sha256sums=('45b4ae25dbd87282d589eca76481c426f72132d7a599556470d5c38263b09266' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + 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 + +# 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 +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 520430, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2019-10-26 17:01:34 UTC (rev 520431) @@ -0,0 +1,18 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann + +--- swig/perl/Makefile.orig2018-12-14 22:34:20.0 +0100 swig/perl/Makefile 2018-12-25 17:52:06.053358428 +0100 +@@ -10 +10 @@ +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- swig/perl/GNUmakefile.orig 2018-12-14 22:34:20.0 +0100 swig/perl/GNUmakefile 2018-12-25 17:52:28.636748048 +0100 +@@ -31 +31 @@ +-
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, August 23, 2019 @ 07:20:35 Author: foutrelis Revision: 501012 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 501011, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 501011, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 501011, gdal/trunk/gdal.changelog) + PKGBUILD | 104 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 111 +++ 3 files changed, 233 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 501011, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-08-23 07:20:35 UTC (rev 501012) @@ -0,0 +1,104 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=3.0.0 +pkgrel=3 +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) +sha256sums=('ad316fa052d94d9606e90b20a514b92b2dd64e3142dfdbd8f10981a5fcd5c43e' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + +# 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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 501011, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-per
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, June 30, 2019 @ 10:18:25 Author: felixonmars Revision: 486247 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 486246, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 486246, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 486246, gdal/trunk/gdal.changelog) + PKGBUILD | 104 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 111 +++ 3 files changed, 233 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 486246, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-30 10:18:25 UTC (rev 486247) @@ -0,0 +1,104 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=3.0.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' '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) +sha256sums=('ad316fa052d94d9606e90b20a514b92b2dd64e3142dfdbd8f10981a5fcd5c43e' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + +# 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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 486246, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-per
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, June 16, 2019 @ 17:45:57 Author: jlichtblau Revision: 481871 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 481870, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 481870, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 481870, gdal/trunk/gdal.changelog) + PKGBUILD | 104 gdal-perl-vendor.patch | 18 +++ gdal.changelog | 111 +++ 3 files changed, 233 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 481870, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-16 17:45:57 UTC (rev 481871) @@ -0,0 +1,104 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=('gdal' 'python-gdal' 'python2-gdal') +pkgver=3.0.0 +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) +sha256sums=('ad316fa052d94d9606e90b20a514b92b2dd64e3142dfdbd8f10981a5fcd5c43e' +'2103b98f2f15954f042d5620658b30d703125927bde2e5eb671c5facb6c2f5ed') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure + +# Fix Perl bindings installation path + patch -Np0 -i "${srcdir}"/gdal-perl-vendor.patch +} + +build() { + cd "${srcdir}"/$pkgbase-$pkgver + + ./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 + +# 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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 481870, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, March 17, 2019 @ 14:33:58 Author: archange Revision: 442387 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 442386, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 442386, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 442386, gdal/trunk/gdal.changelog) + PKGBUILD | 123 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 256 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 442386, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-17 14:33:58 UTC (rev 442387) @@ -0,0 +1,123 @@ +# 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=10 +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) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') +
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, February 8, 2019 @ 22:11:37 Author: foutrelis Revision: 430747 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 430746, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 430746, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 430746, gdal/trunk/gdal.changelog) + PKGBUILD | 123 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 256 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 430746, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-02-08 22:11:37 UTC (rev 430747) @@ -0,0 +1,123 @@ +# 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=9 +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) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') +
[arch-commits] Commit in gdal/repos (4 files)
Date: Saturday, January 19, 2019 @ 12:53:40 Author: foutrelis Revision: 424606 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 424605, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 424605, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 424605, gdal/trunk/gdal.changelog) + PKGBUILD | 123 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 256 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 424605, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-01-19 12:53:40 UTC (rev 424606) @@ -0,0 +1,123 @@ +# 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=8 +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) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy')
[arch-commits] Commit in gdal/repos (4 files)
Date: Wednesday, January 16, 2019 @ 14:27:03 Author: felixonmars Revision: 423512 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 423511, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 423511, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 423511, gdal/trunk/gdal.changelog) + PKGBUILD | 121 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 254 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 423511, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-01-16 14:27:03 UTC (rev 423512) @@ -0,0 +1,121 @@ +# 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=7 +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) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samp
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, December 14, 2018 @ 20:07:43 Author: felixonmars Revision: 416289 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 416288, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 416288, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 416288, gdal/trunk/gdal.changelog) + PKGBUILD | 121 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 254 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 416288, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-14 20:07:43 UTC (rev 416289) @@ -0,0 +1,121 @@ +# 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=6 +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-poppler-0.69.0.patch::https://github.com/OSGeo/gdal/commit/69e0701253.patch +gdal-perl-vendor.patch) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,sa
[arch-commits] Commit in gdal/repos (4 files)
Date: Thursday, November 1, 2018 @ 22:07:44 Author: felixonmars Revision: 401162 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 401161, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 401161, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 401161, gdal/trunk/gdal.changelog) + PKGBUILD | 121 +++ gdal-perl-vendor.patch | 28 ++ gdal.changelog | 105 3 files changed, 254 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 401161, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-01 22:07:44 UTC (rev 401162) @@ -0,0 +1,121 @@ +# 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=5 +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-poppler-0.69.0.patch::https://github.com/OSGeo/gdal/commit/69e0701253.patch +gdal-perl-vendor.patch) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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.71 + find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -i + +# 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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do
[arch-commits] Commit in gdal/repos (4 files)
Date: Monday, October 22, 2018 @ 21:10:07 Author: felixonmars Revision: 398516 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 398515, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 398515, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 398515, gdal/trunk/gdal.changelog) + PKGBUILD | 119 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 105 + 3 files changed, 252 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 398515, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-22 21:10:07 UTC (rev 398516) @@ -0,0 +1,119 @@ +# 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=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-poppler-0.69.0.patch::https://github.com/OSGeo/gdal/commit/69e0701253.patch +gdal-perl-vendor.patch) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'cc63ee56e2c62c994a65723d4124171ce9b4e3499c0958be710c04bf82fd4cf5' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +prepare() { + cd "${srcdir}"/$pkgbase-$pkgver + +# Fix build with poppler >= 0.69.0 + patch -Np2 -i ../gdal-poppler-0.69.0.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 "${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" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root=
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, September 30, 2018 @ 12:58:16 Author: jlichtblau Revision: 388469 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 388468, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 388468, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 388468, gdal/trunk/gdal.changelog) + PKGBUILD | 111 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 105 3 files changed, 244 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 388468, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-09-30 12:58:16 UTC (rev 388469) @@ -0,0 +1,111 @@ +# 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=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' '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) +sha256sums=('3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from r
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, August 31, 2018 @ 18:41:26 Author: arojas Revision: 375894 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 375893, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 375893, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 375893, gdal/trunk/gdal.changelog) + PKGBUILD | 112 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 102 ++ 3 files changed, 242 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 375893, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-31 18:41:26 UTC (rev 375894) @@ -0,0 +1,112 @@ +# $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.1 +pkgrel=5 +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) +sha256sums=('9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 375
[arch-commits] Commit in gdal/repos (4 files)
Date: Monday, August 6, 2018 @ 17:03:09 Author: foutrelis Revision: 369849 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 369848, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 369848, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 369848, gdal/trunk/gdal.changelog) + PKGBUILD | 112 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 102 ++ 3 files changed, 242 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 369848, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-06 17:03:09 UTC (rev 369849) @@ -0,0 +1,112 @@ +# $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.1 +pkgrel=4 +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) +sha256sums=('9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 3
[arch-commits] Commit in gdal/repos (4 files)
Date: Wednesday, August 1, 2018 @ 12:19:44 Author: felixonmars Revision: 366741 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 366740, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 366740, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 366740, gdal/trunk/gdal.changelog) + PKGBUILD | 112 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 102 ++ 3 files changed, 242 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 366740, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-01 12:19:44 UTC (rev 366741) @@ -0,0 +1,112 @@ +# $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.1 +pkgrel=3 +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) +sha256sums=('9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from r
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, July 13, 2018 @ 20:09:46 Author: foutrelis Revision: 358821 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 358820, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 358820, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 358820, gdal/trunk/gdal.changelog) + PKGBUILD | 112 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 102 ++ 3 files changed, 242 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 358820, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-13 20:09:46 UTC (rev 358821) @@ -0,0 +1,112 @@ +# $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.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' '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) +sha256sums=('9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a' +'a41a0129a878a0d09b8ecf24b8a0b473856d929d52f535afdf4dca95ddd347d3') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 35
[arch-commits] Commit in gdal/repos (4 files)
Date: Tuesday, April 17, 2018 @ 14:59:31 Author: bgyorgy Revision: 316750 archrelease: copy trunk to community-testing-x86_64 Added: gdal/repos/community-testing-x86_64/ gdal/repos/community-testing-x86_64/PKGBUILD (from rev 316749, gdal/trunk/PKGBUILD) gdal/repos/community-testing-x86_64/gdal-perl-vendor.patch (from rev 316749, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-testing-x86_64/gdal.changelog (from rev 316749, gdal/trunk/gdal.changelog) + PKGBUILD | 112 +++ gdal-perl-vendor.patch | 28 +++ gdal.changelog | 93 +++ 3 files changed, 233 insertions(+) Copied: gdal/repos/community-testing-x86_64/PKGBUILD (from rev 316749, gdal/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-04-17 14:59:31 UTC (rev 316750) @@ -0,0 +1,112 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgbase=gdal +pkgname=(gdal python-gdal python2-gdal) +pkgver=2.2.4 +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' 'libmariadbclient' 'postgresql-libs' 'xerces-c' 'json-c') +makedepends=('perl' 'swig' 'chrpath' 'doxygen' 'python' 'python2') +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) +sha256sums=('441eb1d1acb35238ca43a1a0a649493fc91fdcbab231d0747e9d462eea192278' +'20989e5fa499206b42c92280ce084fdf7b2f661a4233fc349611cc57102fe114') + +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 +} + +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 "${pkgdir}"/usr/share/licenses/$pkgname +} + +package_python2-gdal () { + pkgdesc="Python 2 bindings for GDAL" + depends=("gdal=$pkgver" 'python2-numpy') + optdepends=() + + cd "${srcdir}"/$pkgbase-$pkgver/swig/python + +# python2 fixes + for file in {,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm755 -t "${pkgdir}"/usr/bin scripts/*.py + for file in "${pkgdir}"/usr/bin/*; do mv "${file}" "${file%.py}2.py"; done + + install -dm755 "${pkgdir}"/usr/share/licenses + ln -s $pkgbase "${pkgdir}"/usr/share/licenses/$pkgname +} Copied: gdal/repos/community-testing-x86_64/gdal-perl-vendor.patch (from rev 316749, gdal/trunk/
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, November 12, 2017 @ 14:53:33 Author: foutrelis Revision: 266385 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 266384, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 266384, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 266384, gdal/trunk/gdal.changelog) + PKGBUILD | 80 + gdal-perl-vendor.patch | 28 ++ gdal.changelog | 90 +++ 3 files changed, 198 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 266384, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-12 14:53:33 UTC (rev 266385) @@ -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=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 +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-x86_64/gdal-perl-vendor.patch (from rev 266384, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2017-11-12 14:53:33 UTC (rev 266385) @@ -0,0 +1,28 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann +Last-Update: 2014-07-08 + +--- a/swig/perl/Makefile b/swig/perl/Makefile +@@ -7,7 +7,7 @@ build: Makefile_Geo__GDAL + $(MAKE) -f Makefile_Geo__OSR + + Makefile_Geo__GDAL: +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- a/swig/perl/GNUmakefile b/swig/perl/GNUmakefile +@@ -30,7 +30,7 @@ build: gdal_wrap.cc Makefile_Geo__GDAL + gdal_wrap.cc: generate + + Ma
[arch-commits] Commit in gdal/repos (4 files)
Date: Thursday, November 9, 2017 @ 09:25:05 Author: foutrelis Revision: 265855 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 265854, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-perl-vendor.patch (from rev 265854, gdal/trunk/gdal-perl-vendor.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 265854, gdal/trunk/gdal.changelog) + PKGBUILD | 80 + gdal-perl-vendor.patch | 28 ++ gdal.changelog | 90 +++ 3 files changed, 198 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 265854, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-09 09:25:05 UTC (rev 265855) @@ -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=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 +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-x86_64/gdal-perl-vendor.patch (from rev 265854, gdal/trunk/gdal-perl-vendor.patch) === --- community-staging-x86_64/gdal-perl-vendor.patch (rev 0) +++ community-staging-x86_64/gdal-perl-vendor.patch 2017-11-09 09:25:05 UTC (rev 265855) @@ -0,0 +1,28 @@ +Description: pass INSTALLDIRS=vendor to Makefile.PL to get stuff into the right place +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann +Last-Update: 2014-07-08 + +--- a/swig/perl/Makefile b/swig/perl/Makefile +@@ -7,7 +7,7 @@ build: Makefile_Geo__GDAL + $(MAKE) -f Makefile_Geo__OSR + + Makefile_Geo__GDAL: +- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX) ++ perl Makefile.PL INSTALLDIRS=vendor + + test: build + $(MAKE) -f Makefile_Geo__GDAL test +--- a/swig/perl/GNUmakefile b/swig/perl/GNUmakefile +@@ -30,7 +30,7 @@ build: gdal_wrap.cc Makefile_Geo__GDAL + gdal_wrap.cc: generate + + M
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, June 28, 2015 @ 00:45:12 Author: jlichtblau Revision: 135929 archrelease: copy trunk to community-staging-i686 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 135928, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-python-install.patch (from rev 135928, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 135928, gdal/trunk/gdal.changelog) ---+ PKGBUILD | 76 gdal-python-install.patch | 10 + gdal.changelog| 53 ++ 3 files changed, 139 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 135928, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-06-27 22:45:12 UTC (rev 135929) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.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' '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=('53761563ff53c5bf27bff7c4d6cab8bb1634baccefda05348e0f3b7acaf4c9e6' +'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 135928, gdal/trunk/gdal-python-install.patch) === --- community-staging-i686/gdal-python-install.patch (rev 0) +++ community-staging-i686/gdal-python-install.patch2015-06-27 22:45:12 UTC (rev 135929) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2015-06-14 21:06:33.0 +0200 swig/python/GNUmakefile2015-06-27 22:02:07.805035411 +0200 +@@ -70,5 +70,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON) setup.py install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 135928, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog (rev 0) +
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, June 28, 2015 @ 00:10:14 Author: jlichtblau Revision: 135928 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 135927, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-python-install.patch (from rev 135927, gdal/trunk/gdal-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 135927, gdal/trunk/gdal.changelog) ---+ PKGBUILD | 76 gdal-python-install.patch | 10 + gdal.changelog| 53 ++ 3 files changed, 139 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 135927, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-06-27 22:10:14 UTC (rev 135928) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=2.0.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' '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=('53761563ff53c5bf27bff7c4d6cab8bb1634baccefda05348e0f3b7acaf4c9e6' +'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-x86_64/gdal-python-install.patch (from rev 135927, gdal/trunk/gdal-python-install.patch) === --- community-staging-x86_64/gdal-python-install.patch (rev 0) +++ community-staging-x86_64/gdal-python-install.patch 2015-06-27 22:10:14 UTC (rev 135928) @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2015-06-14 21:06:33.0 +0200 swig/python/GNUmakefile2015-06-27 22:02:07.805035411 +0200 +@@ -70,5 +70,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON) setup.py install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-x86_64/gdal.changelog (from rev 135927, gdal/trunk/gdal.changelog) === --- community-staging-x86_64/gdal.changelog
[arch-commits] Commit in gdal/repos (4 files)
Date: Tuesday, November 25, 2014 @ 18:26:36 Author: jlichtblau Revision: 123109 archrelease: copy trunk to community-staging-i686 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 123108, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 123108, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 123108, gdal/trunk/gdal.changelog) -+ PKGBUILD| 74 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 35 + 3 files changed, 119 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 123108, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-11-25 17:26:36 UTC (rev 123109) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' '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 123108, 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-25 17:26:36 UTC (rev 123109) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 123108, gdal/trunk/gdal.changelog) === --- community-staging-i686/gdal.changelog
[arch-commits] Commit in gdal/repos (4 files)
Date: Tuesday, November 25, 2014 @ 18:00:48 Author: jlichtblau Revision: 123106 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 123105, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 123105, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 123105, gdal/trunk/gdal.changelog) -+ PKGBUILD| 74 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 35 + 3 files changed, 119 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 123105, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-11-25 17:00:48 UTC (rev 123106) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' '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-x86_64/gdal-1.5.1-python-install.patch (from rev 123105, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-x86_64/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-x86_64/gdal-1.5.1-python-install.patch2014-11-25 17:00:48 UTC (rev 123106) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-x86_64/gdal.changelog (from rev 123105, gdal/trunk/gdal.changelog) === --- community-staging-x86_64/gda
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, October 3, 2014 @ 10:29:55 Author: jlichtblau Revision: 120089 archrelease: copy trunk to community-staging-i686 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 120088, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 120088, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 120088, gdal/trunk/gdal.changelog) -+ PKGBUILD| 75 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 32 3 files changed, 117 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 120088, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-10-03 08:29:55 UTC (rev 120089) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' +'swig: 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 120088, 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-10-03 08:29:55 UTC (rev 120089) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 120088, gdal/trunk/gdal.changelog) === --- commu
[arch-commits] Commit in gdal/repos (4 files)
Date: Friday, October 3, 2014 @ 09:56:40 Author: jlichtblau Revision: 120088 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 120087, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 120087, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 120087, gdal/trunk/gdal.changelog) -+ PKGBUILD| 75 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 32 3 files changed, 117 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 120087, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-10-03 07:56:40 UTC (rev 120088) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' +'swig: 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-x86_64/gdal-1.5.1-python-install.patch (from rev 120087, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-x86_64/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-x86_64/gdal-1.5.1-python-install.patch2014-10-03 07:56:40 UTC (rev 120088) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-x86_64/gdal.changelog (from rev 120087, gdal/trunk/gdal.changelog) =
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, April 27, 2014 @ 21:50:09 Author: jlichtblau Revision: 110253 archrelease: copy trunk to community-staging-i686 Added: gdal/repos/community-staging-i686/ gdal/repos/community-staging-i686/PKGBUILD (from rev 110252, gdal/trunk/PKGBUILD) gdal/repos/community-staging-i686/gdal-1.5.1-python-install.patch (from rev 110252, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-i686/gdal.changelog (from rev 110252, gdal/trunk/gdal.changelog) -+ PKGBUILD| 75 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 23 +++ 3 files changed, 108 insertions(+) Copied: gdal/repos/community-staging-i686/PKGBUILD (from rev 110252, gdal/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-04-27 19:50:09 UTC (rev 110253) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' '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 +gdal-1.5.1-python-install.patch) +sha256sums=('989db33ff411e2c888348e71edec5ad06c74ed68781ebfbc4e85179b9d65aafe' +'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 110252, 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-04-27 19:50:09 UTC (rev 110253) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-i686/gdal.changelog (from rev 110252, gdal/trunk/gdal.changelog) === --- community-st
[arch-commits] Commit in gdal/repos (4 files)
Date: Sunday, April 27, 2014 @ 21:27:01 Author: jlichtblau Revision: 110244 archrelease: copy trunk to community-staging-x86_64 Added: gdal/repos/community-staging-x86_64/ gdal/repos/community-staging-x86_64/PKGBUILD (from rev 110243, gdal/trunk/PKGBUILD) gdal/repos/community-staging-x86_64/gdal-1.5.1-python-install.patch (from rev 110243, gdal/trunk/gdal-1.5.1-python-install.patch) gdal/repos/community-staging-x86_64/gdal.changelog (from rev 110243, gdal/trunk/gdal.changelog) -+ PKGBUILD| 75 ++ gdal-1.5.1-python-install.patch | 10 + gdal.changelog | 23 +++ 3 files changed, 108 insertions(+) Copied: gdal/repos/community-staging-x86_64/PKGBUILD (from rev 110243, gdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-04-27 19:27:01 UTC (rev 110244) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gdal +pkgver=1.11.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' '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 +gdal-1.5.1-python-install.patch) +sha256sums=('989db33ff411e2c888348e71edec5ad06c74ed68781ebfbc4e85179b9d65aafe' +'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-x86_64/gdal-1.5.1-python-install.patch (from rev 110243, gdal/trunk/gdal-1.5.1-python-install.patch) === --- community-staging-x86_64/gdal-1.5.1-python-install.patch (rev 0) +++ community-staging-x86_64/gdal-1.5.1-python-install.patch2014-04-27 19:27:01 UTC (rev 110244) @@ -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 install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif Copied: gdal/repos/community-staging-x86_64/gdal.changelog (from rev 110243, gdal/trunk/gdal.changelog) ===