[arch-commits] Commit in hexer-hobu/repos (6 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed May 17 04:04:54 UTC 2017


    Date: Wednesday, May 17, 2017 @ 04:04:53
  Author: svenstaro
Revision: 228352

archrelease: copy trunk to community-i686, community-x86_64

Added:
  hexer-hobu/repos/community-i686/
  hexer-hobu/repos/community-i686/1c528390ec47588661c86e773dcef771787fc564.patch
    (from rev 228351, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
  hexer-hobu/repos/community-i686/PKGBUILD
    (from rev 228351, hexer-hobu/trunk/PKGBUILD)
  hexer-hobu/repos/community-x86_64/
  hexer-hobu/repos/community-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch
    (from rev 228351, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
  hexer-hobu/repos/community-x86_64/PKGBUILD
    (from rev 228351, hexer-hobu/trunk/PKGBUILD)

-----------------------------------------------------------------+
 community-i686/1c528390ec47588661c86e773dcef771787fc564.patch   |   47 ++++++++++
 community-i686/PKGBUILD                                         |   36 +++++++
 community-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch |   47 ++++++++++
 community-x86_64/PKGBUILD                                       |   36 +++++++
 4 files changed, 166 insertions(+)

Copied: hexer-hobu/repos/community-i686/1c528390ec47588661c86e773dcef771787fc564.patch (from rev 228351, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
===================================================================
--- community-i686/1c528390ec47588661c86e773dcef771787fc564.patch	                        (rev 0)
+++ community-i686/1c528390ec47588661c86e773dcef771787fc564.patch	2017-05-17 04:04:53 UTC (rev 228352)
@@ -0,0 +1,47 @@
+From 427f770374ec2a583426aa371105f8c0780a729b Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:00 +0000
+Subject: [PATCH 1/2] Add cmath and limits headers to utils
+
+---
+ include/hexer/Utils.hpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/include/hexer/Utils.hpp b/include/hexer/Utils.hpp
+index 8c26fd3..fd7ed30 100644
+--- a/include/hexer/Utils.hpp
++++ b/include/hexer/Utils.hpp
+@@ -15,6 +15,9 @@
+ 
+ #pragma once
+ 
++#include <cmath>
++#include <limits>
++
+ namespace hexer
+ {
+ 
+
+From e06d361eec613ed046592d378a01bf0a0694a6f8 Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:24 +0000
+Subject: [PATCH 2/2] Link with dl for curse on non-win32
+
+---
+ apps/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
+index 3ce66d7..11f5d02 100644
+--- a/apps/CMakeLists.txt
++++ b/apps/CMakeLists.txt
+@@ -17,6 +17,9 @@ endif()
+ if(CURSE)
+     add_executable(${CURSE} curse.cpp lasfile.hpp las.hpp las.cpp OGR.hpp OGR.cpp mmaplib.hpp pdal_util_export.hpp ProgramArgs.hpp Utils.cpp Utils.hpp )
+     target_link_libraries(${CURSE} ${HEXER_LIB_NAME} ${HEXERBOOST_LIB_NAME})
++    if(NOT WIN32)
++        target_link_libraries(${CURSE} dl)
++    endif()
+ endif()
+ 
+ install(TARGETS ${HEXER_UTILITIES}

Copied: hexer-hobu/repos/community-i686/PKGBUILD (from rev 228351, hexer-hobu/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-05-17 04:04:53 UTC (rev 228352)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=hexer-hobu
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="LAS and OGR hexagonal density and boundary surface generation"
+arch=('i686' 'x86_64')
+url="https://github.com/hobu/hexer"
+license=(LGPL)
+depends=(gdal)
+makedepends=(cmake)
+source=("https://github.com/hobu/hexer/archive/${pkgver}.tar.gz"
+        1c528390ec47588661c86e773dcef771787fc564.patch)
+sha512sums=('4db94af7fe0a2cc3cd26202c4ec88fadd88408c92d14e11ac117af51ee267aa87cd82aa18b29867f318d272f644be60a826e7fb3c72908baba4124499f39579c'
+            'a79efd591f97913e1e32a8dfc7dd7247203a0992196d9f095a16a8a110175190e527cf943d6329eafa65ec5dded88c283f017605368ee521fe28caba3802ccf8')
+
+prepare() {
+  cd hexer-${pkgver}
+
+  patch -Np1 < ${srcdir}/1c528390ec47588661c86e773dcef771787fc564.patch
+}
+
+build() {
+  mkdir -p hexer-${pkgver}/build
+  cd hexer-${pkgver}/build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+  make
+}
+
+package() {
+  cd hexer-${pkgver}/build
+
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: hexer-hobu/repos/community-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch (from rev 228351, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
===================================================================
--- community-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch	                        (rev 0)
+++ community-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch	2017-05-17 04:04:53 UTC (rev 228352)
@@ -0,0 +1,47 @@
+From 427f770374ec2a583426aa371105f8c0780a729b Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:00 +0000
+Subject: [PATCH 1/2] Add cmath and limits headers to utils
+
+---
+ include/hexer/Utils.hpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/include/hexer/Utils.hpp b/include/hexer/Utils.hpp
+index 8c26fd3..fd7ed30 100644
+--- a/include/hexer/Utils.hpp
++++ b/include/hexer/Utils.hpp
+@@ -15,6 +15,9 @@
+ 
+ #pragma once
+ 
++#include <cmath>
++#include <limits>
++
+ namespace hexer
+ {
+ 
+
+From e06d361eec613ed046592d378a01bf0a0694a6f8 Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:24 +0000
+Subject: [PATCH 2/2] Link with dl for curse on non-win32
+
+---
+ apps/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
+index 3ce66d7..11f5d02 100644
+--- a/apps/CMakeLists.txt
++++ b/apps/CMakeLists.txt
+@@ -17,6 +17,9 @@ endif()
+ if(CURSE)
+     add_executable(${CURSE} curse.cpp lasfile.hpp las.hpp las.cpp OGR.hpp OGR.cpp mmaplib.hpp pdal_util_export.hpp ProgramArgs.hpp Utils.cpp Utils.hpp )
+     target_link_libraries(${CURSE} ${HEXER_LIB_NAME} ${HEXERBOOST_LIB_NAME})
++    if(NOT WIN32)
++        target_link_libraries(${CURSE} dl)
++    endif()
+ endif()
+ 
+ install(TARGETS ${HEXER_UTILITIES}

Copied: hexer-hobu/repos/community-x86_64/PKGBUILD (from rev 228351, hexer-hobu/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-05-17 04:04:53 UTC (rev 228352)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=hexer-hobu
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="LAS and OGR hexagonal density and boundary surface generation"
+arch=('i686' 'x86_64')
+url="https://github.com/hobu/hexer"
+license=(LGPL)
+depends=(gdal)
+makedepends=(cmake)
+source=("https://github.com/hobu/hexer/archive/${pkgver}.tar.gz"
+        1c528390ec47588661c86e773dcef771787fc564.patch)
+sha512sums=('4db94af7fe0a2cc3cd26202c4ec88fadd88408c92d14e11ac117af51ee267aa87cd82aa18b29867f318d272f644be60a826e7fb3c72908baba4124499f39579c'
+            'a79efd591f97913e1e32a8dfc7dd7247203a0992196d9f095a16a8a110175190e527cf943d6329eafa65ec5dded88c283f017605368ee521fe28caba3802ccf8')
+
+prepare() {
+  cd hexer-${pkgver}
+
+  patch -Np1 < ${srcdir}/1c528390ec47588661c86e773dcef771787fc564.patch
+}
+
+build() {
+  mkdir -p hexer-${pkgver}/build
+  cd hexer-${pkgver}/build
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+  make
+}
+
+package() {
+  cd hexer-${pkgver}/build
+
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list