[arch-commits] Commit in pdal/repos (3 files)
Date: Friday, September 11, 2020 @ 22:24:01 Author: svenstaro Revision: 702888 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 702887, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 702887, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 42 +++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 +++ 2 files changed, 91 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 702887, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-11 22:24:01 UTC (rev 702888) @@ -0,0 +1,42 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=2.2.0 +pkgrel=1 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'ninja') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz";) +sha512sums=('c54770973de714473bf6cfe6a69e2c880d516abcf71cce755495304093acb41471b4264cb84f11973a482f3de80a8922d7d8b54994fb91c6b012a6894a8bdac5') + +build() { +cd "PDAL-$pkgver-src/" + +cmake \ +-B build \ +-GNinja \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +ninja -C build +} + +package() { +cd "PDAL-$pkgver-src" + +DESTDIR="$pkgdir/" ninja -C build install + +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 702887, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2020-09-11 22:24:01 UTC (rev 702888) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + ss << d; +
[arch-commits] Commit in pdal/repos (3 files)
Date: Thursday, April 30, 2020 @ 12:21:51 Author: svenstaro Revision: 623302 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 623301, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 623301, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 42 +++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 +++ 2 files changed, 91 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 623301, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-30 12:21:51 UTC (rev 623302) @@ -0,0 +1,42 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=2.1.0 +pkgrel=1 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'ninja') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz";) +sha512sums=('273e43bc02039ef56e22d6496d74c645c947dec7961024f419232b3f70ad5de030d5ee9fb74f44649016da67ff39179b06fa0d85f17a3b7db5fcce3cd0e35ac5') + +build() { +cd "PDAL-$pkgver-src/" + +cmake \ +-B build \ +-GNinja \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +ninja -C build +} + +package() { +cd "PDAL-$pkgver-src" + +DESTDIR="$pkgdir/" ninja -C build install + +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 623301, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2020-04-30 12:21:51 UTC (rev 623302) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + ss << d; +
[arch-commits] Commit in pdal/repos (3 files)
Date: Saturday, October 26, 2019 @ 17:13:18 Author: foutrelis Revision: 520442 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 520441, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 520441, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 47 ++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 +++ 2 files changed, 96 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 520441, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-26 17:13:18 UTC (rev 520442) @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=2.0.1 +pkgrel=2 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz";) +sha512sums=('6b33d957d6948a73d0db1b3b47e6b3fa0c3d6efd89e997bfd78a1f801118c68bace4efd5f7e696c9b16d6fb3ebe01d78314c3c92543f28bbc5d46a3a7d1930b4') + +prepare() { +cd "PDAL-$pkgver-src" +mkdir build +} + +build() { +cd "PDAL-$pkgver-src/build" + +cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DBUILD_PLUGIN_HEXBIN=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +make +} + +package() { +cd "PDAL-$pkgver-src/build" + +make DESTDIR="$pkgdir/" install + +cd "$srcdir/PDAL-$pkgver-src" +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 520441, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2019-10-26 17:13:18 UTC (rev 520442) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + ss << d; +
[arch-commits] Commit in pdal/repos (3 files)
Date: Sunday, September 1, 2019 @ 15:17:12 Author: svenstaro Revision: 506315 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 506314, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 506314, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 47 ++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 +++ 2 files changed, 96 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 506314, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-09-01 15:17:12 UTC (rev 506315) @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=2.0.1 +pkgrel=1 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz";) +sha512sums=('6b33d957d6948a73d0db1b3b47e6b3fa0c3d6efd89e997bfd78a1f801118c68bace4efd5f7e696c9b16d6fb3ebe01d78314c3c92543f28bbc5d46a3a7d1930b4') + +prepare() { +cd "PDAL-$pkgver-src" +mkdir build +} + +build() { +cd "PDAL-$pkgver-src/build" + +cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DBUILD_PLUGIN_HEXBIN=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +make +} + +package() { +cd "PDAL-$pkgver-src/build" + +make DESTDIR="$pkgdir/" install + +cd "$srcdir/PDAL-$pkgver-src" +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 506314, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2019-09-01 15:17:12 UTC (rev 506315) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + ss << d; +
[arch-commits] Commit in pdal/repos (3 files)
Date: Monday, June 17, 2019 @ 12:33:32 Author: svenstaro Revision: 481959 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 481958, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 481958, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 47 ++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 +++ 2 files changed, 96 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 481958, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-17 12:33:32 UTC (rev 481959) @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=1.9.1 +pkgrel=2 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz";) +sha512sums=('539150332c9136c1ebb19c5a7109b95a88480d66a4742d647fd1785a18d85248b03db4c1bf7a86039d98fbd131ed3c20e29e6df8d34237af838159e1512f') + +prepare() { +cd "PDAL-$pkgver-src" +mkdir build +} + +build() { +cd "PDAL-$pkgver-src/build" + +cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DBUILD_PLUGIN_HEXBIN=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +make +} + +package() { +cd "PDAL-$pkgver-src/build" + +make DESTDIR="$pkgdir/" install + +cd "$srcdir/PDAL-$pkgver-src" +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 481958, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2019-06-17 12:33:32 UTC (rev 481959) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + ss << d; +
[arch-commits] Commit in pdal/repos (3 files)
Date: Tuesday, July 24, 2018 @ 14:43:15 Author: svenstaro Revision: 363296 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 363295, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 363295, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) + PKGBUILD | 52 +++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch | 49 + 2 files changed, 101 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 363295, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-24 14:43:15 UTC (rev 363296) @@ -0,0 +1,52 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=1.7.2 +pkgrel=3 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf') +optdepends=('python-numpy: for the Python plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("http://download.osgeo.org/pdal/PDAL-$pkgver-src.tar.gz"; +ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) +sha512sums=('0996b32176f158517db89109afab2ff41c8eaaa0991d3486f036bdf9de91d8829d879f06b8ffd36ada5db2f272bcd69a9043dd683c7dc0e169a074de1896b90b' + '0b4793a292819ee3dcac5da252e0064e75a06a9c28be0d76cf38e2ebc9742b03a208f7f722a299ceab42417f39e05f56a3f2fbb9b7170fc184cd2c830d12e320') + +prepare() { +cd "PDAL-$pkgver-src" + +patch -Np1 -i "$srcdir"/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch + +[[ -d build ]] || mkdir build +} + +build() { +cd "PDAL-$pkgver-src/build" + +cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DBUILD_PLUGIN_HEXBIN=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +make +} + +package() { +cd "PDAL-$pkgver-src/build" + +make DESTDIR="$pkgdir/" install + +cd "$srcdir/PDAL-$pkgver-src" +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 363295, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch) === --- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (rev 0) +++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 2018-07-24 14:43:15 UTC (rev 363296) @@ -0,0 +1,49 @@ +From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001 +From: Andrew Bell +Date: Tue, 24 Jul 2018 08:49:40 -0400 +Subject: [PATCH] Constify python strings. Close #2099 + +--- + plugins/python/plang/Environment.cpp | 12 ++-- + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +index 19f5c1ae7..0bbcf2d70 100644 +--- a/plugins/python/plang/Environment.cpp b/plugins/python/plang/Environment.cpp +@@ -190,9 +190,9 @@ std::string getTraceback() + throw pdal::pdal_error("unable to get repr in getTraceback"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -208,9 +208,9 @@ std::string getTraceback() + throw pdal::pdal_error("couldn't make string representation of traceback value"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsString(r); + #endif + mssg << d; + } +@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const std::string& key) + throw pdal::pdal_error("unable to get repr in readPythonString"); + #if PY_MAJOR_VERSION >= 3 + Py_ssize_t size; +-char *d = PyUnicode_AsUTF8AndSize(r, &size); ++const char *d = PyUnicode_AsUTF8AndSize(r, &size); + #else +-char *d = PyString_AsString(r); ++const char *d = PyString_AsS
[arch-commits] Commit in pdal/repos (3 files)
Date: Sunday, January 28, 2018 @ 02:07:11 Author: svenstaro Revision: 287565 archrelease: copy trunk to community-staging-x86_64 Added: pdal/repos/community-staging-x86_64/ pdal/repos/community-staging-x86_64/PKGBUILD (from rev 287564, pdal/trunk/PKGBUILD) pdal/repos/community-staging-x86_64/gcc.patch (from rev 287564, pdal/trunk/gcc.patch) ---+ PKGBUILD | 53 + gcc.patch | 47 +++ 2 files changed, 100 insertions(+) Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 287564, pdal/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-01-28 02:07:11 UTC (rev 287565) @@ -0,0 +1,53 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: SaultDon +pkgname=pdal +pkgver=1.6.0 +pkgrel=3 +pkgdesc="A C++ library for translating and manipulating point cloud data" +arch=('x86_64') +url="http://www.pdal.io"; +license=('BSD') +depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp') +makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'hexer-hobu') +optdepends=('python-numpy: for the Python plugin' +'hexer-hobu: for the hexbin plugin' +'sqlite: for the sqlite plugin' +'postgresql-libs: for the postgresql plugin') +provides=('pdal') +source=("http://download.osgeo.org/pdal/PDAL-$pkgver-src.tar.gz"; +gcc.patch) +sha512sums=('2e3bb90033d2248277bae241e4c9387f175e31abfeb3951d9ccaddca8d8f4cf58606d9a6c1730c69a5a0814f708366a271a38f80359d1f0db4572f45e102bc32' + '4f71629c8ade61ca8266911b1d4ed6dd740bdf32a27e08f3a87d1c7d184036702deb61dc500ca41f734af8025285d9c9c59055a21044c9b3248632aa50ef5f95') + +prepare() { +cd "PDAL-$pkgver-src" + +patch -Np1 < $srcdir/gcc.patch + +[[ -d build ]] || mkdir build +} + +build() { +cd "PDAL-$pkgver-src/build" + +cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_PLUGIN_PYTHON=ON \ +-DBUILD_PLUGIN_PGPOINTCLOUD=ON \ +-DBUILD_PLUGIN_SQLITE=ON \ +-DBUILD_PLUGIN_HEXBIN=ON \ +-DWITH_LAZPERF=ON \ +-DWITH_LASZIP=ON \ +-DWITH_COMPLETION=ON + +make +} + +package() { +cd "PDAL-$pkgver-src/build" + +make DESTDIR="$pkgdir/" install + +cd "$srcdir/PDAL-$pkgver-src" +install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: pdal/repos/community-staging-x86_64/gcc.patch (from rev 287564, pdal/trunk/gcc.patch) === --- community-staging-x86_64/gcc.patch (rev 0) +++ community-staging-x86_64/gcc.patch 2018-01-28 02:07:11 UTC (rev 287565) @@ -0,0 +1,47 @@ +diff --git a/dimbuilder/DimBuilder.cpp b/dimbuilder/DimBuilder.cpp +index dd2f4a4c7..96b978a67 100644 +--- a/dimbuilder/DimBuilder.cpp b/dimbuilder/DimBuilder.cpp +@@ -174,9 +174,11 @@ bool DimBuilder::execute() + void DimBuilder::extractDim(Json::Value& dim) + { + DimSpec d; ++Json::Value empty; + + // Get dimension name. +-Json::Value name = dim.removeMember("name"); ++Json::Value name = dim.get("name", empty); ++dim.removeMember("name"); + if (name.isNull()) + throw dimbuilder_error("Dimension missing name."); + if (!name.isString()) +@@ -185,7 +187,8 @@ void DimBuilder::extractDim(Json::Value& dim) + validateDimension(d.m_name); + + // Get dimension description. +-Json::Value description = dim.removeMember("description"); ++Json::Value description = dim.get("description", empty); ++dim.removeMember("description"); + if (description.isNull()) + { + std::ostringstream oss; +@@ -204,7 +207,8 @@ void DimBuilder::extractDim(Json::Value& dim) + d.m_description = description.asString(); + + // Get dimension type +-Json::Value type = dim.removeMember("type"); ++Json::Value type = dim.get("type", empty); ++dim.removeMember("type"); + if (type.isNull()) + { + std::ostringstream oss; +@@ -222,7 +226,8 @@ void DimBuilder::extractDim(Json::Value& dim) + throw dimbuilder_error(oss.str()); + } + +-Json::Value altNames = dim.removeMember("alt_names"); ++Json::Value altNames = dim.get("alt_names", empty); ++dim.removeMember("alt_names"); + if (!altNames.isNull()) + { + if (!altNames.isString())