[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2024-02-28 Thread Sam James
commit: aa92fe230950fbd19ca6d9a432d914117c6ae51d
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 29 02:39:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 02:39:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa92fe23

sci-geosciences/liblas: filter LTO

Reported the aliasing violation upstream.

Bug: https://github.com/libLAS/libLAS/issues/224
Closes: https://bugs.gentoo.org/862585
Signed-off-by: Sam James  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 7c9fd5b2fea8..8865b0241ae5 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
 HOMEPAGE="https://github.com/libLAS/libLAS/;
@@ -49,6 +49,10 @@ src_prepare() {
 }
 
 src_configure() {
+   # Aliasing violations (bug #862585)
+   filter-lto
+   append-flags -fno-strict-aliasing
+
local mycmakeargs=(
-DLIBLAS_LIB_SUBDIR=$(get_libdir)
-DWITH_GDAL=$(usex gdal)



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2024-02-28 Thread Sam James
commit: 9839b4a88baecc21469f0ed65a8f831c72135b50
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 29 02:40:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 02:40:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9839b4a8

sci-geosciences/liblas: style tweak (VariableOrderWrong)

Signed-off-by: Sam James  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 8865b0241ae5..1c896bcd74f1 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -8,9 +8,10 @@ inherit cmake flag-o-matic
 DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
 HOMEPAGE="https://github.com/libLAS/libLAS/;
 SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/libLAS-${PV}"
 
-SLOT="0"
 LICENSE="BSD"
+SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE="gdal"
 
@@ -25,8 +26,6 @@ RDEPEND="${DEPEND}"
 # tests known to fail due to LD_LIBRARY_PATH issue
 RESTRICT="test"
 
-S="${WORKDIR}/libLAS-${PV}"
-
 PATCHES=(
"${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
"${FILESDIR}"/${P}-fix-overload-call.patch # bug 661654



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2023-12-09 Thread Arthur Zamarin
commit: fac1181e0cf0a4e048c83a7b5e0d8fd09b86d39e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  9 16:52:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  9 17:00:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac1181e

sci-geosciences/liblas: unkeyword 1.8.1-r3 for ~ia64

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 0dfb99fd44f4..7c9fd5b2fea8 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2023-06-26 Thread Sam James
commit: d2942549c6d450b5e4c4f6b4abe94f7af3c35d40
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 26 16:48:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 26 16:48:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2942549

sci-geosciences/liblas: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sci-geosciences/liblas/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-geosciences/liblas/metadata.xml 
b/sci-geosciences/liblas/metadata.xml
index b2aca9b4f32b..b134a755b5b1 100644
--- a/sci-geosciences/liblas/metadata.xml
+++ b/sci-geosciences/liblas/metadata.xml
@@ -9,4 +9,7 @@
Add support for the sci-libs/gdal 
geospatial
raster library
 
+
+   libLAS/libLAS
+
 



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/files/, sci-geosciences/liblas/

2021-05-25 Thread Sam James
commit: 3220d7fbcf7eee75e057450836646ee69628c19d
Author: Sam James  gentoo  org>
AuthorDate: Tue May 25 11:50:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 25 11:54:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3220d7fb

sci-geosciences/liblas: fix GCC 11 build

Closes: https://bugs.gentoo.org/789732
Signed-off-by: Sam James  gentoo.org>

 .../liblas/files/liblas-1.8.1-gcc11.patch  | 34 ++
 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild  |  1 +
 2 files changed, 35 insertions(+)

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-gcc11.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-gcc11.patch
new file mode 100644
index 000..b279eb40f4c
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-gcc11.patch
@@ -0,0 +1,34 @@
+https://github.com/libLAS/libLAS/commit/8c4985384453a2df7254f05688b83706723bad7b.patch
+https://bugs.gentoo.org/789732
+
+From 8c4985384453a2df7254f05688b83706723bad7b Mon Sep 17 00:00:00 2001
+From: FX Coudert 
+Date: Wed, 4 Oct 2017 11:51:23 +0200
+Subject: [PATCH] fix pointer comparison
+
+---
+ src/gt_citation.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/gt_citation.cpp b/src/gt_citation.cpp
+index 65fce31a..8d3966bc 100644
+--- a/src/gt_citation.cpp
 b/src/gt_citation.cpp
+@@ -155,7 +155,7 @@ char* ImagineCitationTranslation(char* psCitation, 
geokey_t keyID)
+ if(p1[0] == '\0' || p1[0] == '\n' || p1[0] == ' ')
+   p1 --;
+ p2 = p1 - 1;
+-while( p2>0 && (p2[0] == ' ' || p2[0] == '\0' || p2[0] == '\n') )
++while( p2 && (p2[0] == ' ' || p2[0] == '\0' || p2[0] == '\n') )
+   p2--;
+ if(p2 != p1 - 1)
+   p1 = p2;
+@@ -198,7 +198,7 @@ char* ImagineCitationTranslation(char* psCitation, 
geokey_t keyID)
+ if(p1[0] == '\0' || p1[0] == '\n' || p1[0] == ' ')
+   p1 --;
+ char* p2 = p1 - 1;
+-while( p2>0 && (p2[0] == ' ' || p2[0] == '\0' || p2[0] == '\n') )
++while( p2 && (p2[0] == ' ' || p2[0] == '\0' || p2[0] == '\n') )
+   p2--;
+ if(p2 != p1 - 1)
+   p1 = p2;

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 0714f93b9b9..575896dad15 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
"${FILESDIR}"/${P}-CVE-2018-20540-fixup.patch # bug 698846
"${FILESDIR}"/${P}-fix-debug.patch # bug 668778
"${FILESDIR}"/${P}-boost-1.73.patch # bug 722878
+   "${FILESDIR}"/${P}-gcc11.patch # bug 789732
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2021-04-23 Thread Sam James
commit: 4051e2c33bc8e1f69a63a52dc4fa99eb1a47ca3a
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 23 13:46:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 23 13:46:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4051e2c3

sci-geosciences/liblas: Keyword 1.8.1-r3 arm64, #776763

Signed-off-by: Sam James  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 43a6cfd4a5f..0714f93b9b9 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2021-03-28 Thread Sam James
commit: 5ca04b2293805f00508172587cc66291b2cca9d8
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 07:11:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 07:11:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca04b22

sci-geosciences/liblas: Keyword 1.8.1-r3 arm, #776763

Signed-off-by: Sam James  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index cee50e9a545..43a6cfd4a5f 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/files/, sci-geosciences/liblas/

2020-06-15 Thread David Seifert
commit: cdb09fb67044e74063938f4b8091d602da75146c
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jun 15 09:53:48 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jun 15 09:53:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb09fb6

sci-geosciences/liblas: Fix building against boost 1.73

Closes: https://bugs.gentoo.org/722878
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Suggested-by: Attila Tóth  atoth.sote.hu>
Signed-off-by: David Seifert  gentoo.org>

 .../liblas/files/liblas-1.8.1-boost-1.73.patch | 55 ++
 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild  |  1 +
 2 files changed, 56 insertions(+)

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-boost-1.73.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-boost-1.73.patch
new file mode 100644
index 000..288f207737b
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-boost-1.73.patch
@@ -0,0 +1,55 @@
+diff --git a/include/liblas/detail/binary.hpp 
b/include/liblas/detail/binary.hpp
+index d3116a1..ab20e06 100644
+--- a/include/liblas/detail/binary.hpp
 b/include/liblas/detail/binary.hpp
+@@ -17,6 +17,8 @@
+ #ifndef LIBLAS_DETAIL_BINARY_HPP_INCLUDED
+ #define LIBLAS_DETAIL_BINARY_HPP_INCLUDED
+ 
++#include 
++
+ #include 
+ #include 
+ #include 
+@@ -25,7 +27,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ #include 
+ 
+ #if CHAR_BIT != 8
+@@ -43,7 +44,7 @@ namespace detail { namespace binary {
+ struct big_endian_tag {};
+ struct little_endian_tag {};
+ 
+-#ifdef BOOST_BIG_ENDIAN
++#ifdef LIBLAS_BIG_ENDIAN
+ typedef big_endian_tag native_endian_tag;
+ #else
+ typedef little_endian_tag native_endian_tag;
+diff --git a/src/c_api.cpp b/src/c_api.cpp
+index a70fe74..e8be785 100644
+--- a/src/c_api.cpp
 b/src/c_api.cpp
+@@ -96,6 +96,7 @@ using namespace liblas;
+ #endif
+ 
+ #include 
++#include 
+ 
+ bool IsReprojectionTransform(liblas::TransformPtr const& p)
+ {
+diff --git a/src/header.cpp b/src/header.cpp
+index 9987ce1..a5c8f7d 100644
+--- a/src/header.cpp
 b/src/header.cpp
+@@ -54,7 +54,7 @@
+ // boost
+ #include 
+ #include 
+-
++#include 
+ //std
+ #include 
+ #include 

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 46930174cab..cee50e9a545 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${P}-CVE-2018-20540.patch # bug 678482
"${FILESDIR}"/${P}-CVE-2018-20540-fixup.patch # bug 698846
"${FILESDIR}"/${P}-fix-debug.patch # bug 668778
+   "${FILESDIR}"/${P}-boost-1.73.patch # bug 722878
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2020-03-08 Thread Andreas Sturmlechner
commit: 803867c67fd65907ce18865eb1a3c9292e65f5f1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 19:57:09 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 19:57:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803867c6

sci-geosciences/liblas: Drop 1.8.1-r2

Closes: https://bugs.gentoo.org/698846
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild | 50 ---
 1 file changed, 50 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
deleted file mode 100644
index 949af96ab07..000
--- a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
-HOMEPAGE="https://github.com/libLAS/libLAS/;
-SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
-IUSE="gdal"
-
-DEPEND="
-   dev-libs/boost:=
-   sci-geosciences/laszip
-   sci-libs/libgeotiff:=
-   gdal? ( sci-libs/gdal:= )
-"
-RDEPEND="${DEPEND}"
-
-# tests known to fail due to LD_LIBRARY_PATH issue
-RESTRICT="test"
-
-S="${WORKDIR}/libLAS-${PV}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
-   "${FILESDIR}"/${P}-fix-overload-call.patch # bug 661654
-   "${FILESDIR}"/${P}-CVE-2018-20540.patch # bug 678482
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   # add missing linkage
-   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
-   -i "${S}/apps/CMakeLists.txt" || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
-   -DWITH_GDAL=$(usex gdal)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2020-03-02 Thread Sergei Trofimovich
commit: 5b443c22044d5d7188eb941ef0b95c3a38f92e51
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar  2 11:32:09 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar  2 11:32:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b443c22

sci-geosciences/liblas: stable 1.8.1-r3 for ppc64, bug #708826

Package-Manager: Portage-2.3.88, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 1d46491ab2a..46930174cab 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2020-03-02 Thread Sergei Trofimovich
commit: 12230a6038bead98bb0c12eca0b19eddffe0f71b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar  2 11:18:07 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar  2 11:18:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12230a60

sci-geosciences/liblas: stable 1.8.1-r3 for ppc, bug #708826

Package-Manager: Portage-2.3.88, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index c8f1fb5c1aa..1d46491ab2a 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ia64 ppc ~ppc64 x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2020-02-28 Thread Agostino Sarubbo
commit: dc92b165602b931f3e2b7aab73569ea8a526b6a0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 28 17:49:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 28 17:49:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc92b165

sci-geosciences/liblas: x86 stable wrt bug #708826

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 8c1a928bc89..c8f1fb5c1aa 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2020-02-27 Thread Agostino Sarubbo
commit: 4d0d98383c8ae0c0f71fbce16eb49f4e319c69ac
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 27 09:48:22 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 27 09:48:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0d9838

sci-geosciences/liblas: amd64 stable wrt bug #708826

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 30ac4893834..8c1a928bc89 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/, sci-geosciences/liblas/files/

2020-02-26 Thread Andreas Sturmlechner
commit: e46f6618ca90e250deecbe59263fa144f6aa5a30
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Feb 26 16:52:26 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb 26 16:56:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e46f6618

sci-geosciences/liblas: fix >=GDAL-2.5.0, USE debug, missing return val

Closes: https://bugs.gentoo.org/698846
Closes: https://bugs.gentoo.org/668778
Closes: https://bugs.gentoo.org/707706
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/liblas-1.8.1-CVE-2018-20540-fixup.patch  | 24 ++
 .../liblas/files/liblas-1.8.1-fix-debug.patch  | 18 +++
 .../liblas/files/liblas-1.8.1-gdal-2.5.0.patch | 34 +
 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild  | 55 ++
 4 files changed, 131 insertions(+)

diff --git 
a/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540-fixup.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540-fixup.patch
new file mode 100644
index 000..6f0c132b5c5
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540-fixup.patch
@@ -0,0 +1,24 @@
+From 6a666b9101293b13fde4e4eb1d2c627f7613515e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felipe=20M=2E=20L=C3=B3pez?= 
+Date: Fri, 19 Jul 2019 08:26:44 +0200
+Subject: [PATCH] Always return NULL when Open() is used (#168)
+
+Attempt to open LAS file using standard stream, without
+Boost supports built in, always failed with
+"Cannot open sample.las for read.  Exiting..."
+---
+ include/liblas/liblas.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/liblas/liblas.hpp b/include/liblas/liblas.hpp
+index 325de3ff..5c950ce0 100644
+--- a/include/liblas/liblas.hpp
 b/include/liblas/liblas.hpp
+@@ -138,6 +138,7 @@ inline std::istream* Open(std::string const& filename, 
std::ios::openmode mode)
+ ifs = new std::ifstream();
+ ifs->open(filename.c_str(), mode);
+ if (ifs->is_open() == false) return NULL;
++return ifs;
+ }
+ catch (...)
+ {

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-fix-debug.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-fix-debug.patch
new file mode 100644
index 000..0c3b8ceec26
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-fix-debug.patch
@@ -0,0 +1,18 @@
+Description: Fix compilation with -DDEBUG and GDAL >= 2
+Author: Even Rouault 
+Origin: 
https://github.com/libLAS/libLAS/commit/72f7709bf1dfd3473b64cdba0259363d3beea3c3
+
+--- a/src/gt_wkt_srs.cpp
 b/src/gt_wkt_srs.cpp
+@@ -90,7 +90,11 @@ static const char *papszDatumEquiv[] =
+ /*   LibgeotiffOneTimeInit()*/
+ //
+ 
++#if GDAL_VERSION_MAJOR >= 2
++static CPLMutex* hMutex = NULL;
++#else
+ static void* hMutex = NULL;
++#endif
+ 
+ void LibgeotiffOneTimeInit() 
+ {

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-gdal-2.5.0.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-gdal-2.5.0.patch
new file mode 100644
index 000..0691c16c1b7
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-gdal-2.5.0.patch
@@ -0,0 +1,34 @@
+From 3a572ff7e684668da62c794b37bc169723de Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Wed, 26 Feb 2020 17:45:30 +0100
+Subject: [PATCH] Fix build against >=GDAL-2.5.0
+
+Signed-off-by: Andreas Sturmlechner 
+---
+ src/gt_wkt_srs.cpp | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/gt_wkt_srs.cpp b/src/gt_wkt_srs.cpp
+index 9871aa0..099972d 100755
+--- a/src/gt_wkt_srs.cpp
 b/src/gt_wkt_srs.cpp
+@@ -493,7 +493,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
+ {
+ char  *pszWKT;
+ oSRS.morphFromESRI();
+-oSRS.FixupOrdering();
+ if( oSRS.exportToWkt(  ) == OGRERR_NONE )
+ return pszWKT;
+ }
+@@ -1094,8 +1093,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
+ /*  */
+ char  *pszWKT;
+ 
+-oSRS.FixupOrdering();
+-
+ if( oSRS.exportToWkt(  ) == OGRERR_NONE )
+ return pszWKT;
+ else
+-- 
+2.25.1
+

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
new file mode 100644
index 000..30ac4893834
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="https://github.com/libLAS/libLAS/;
+SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"

[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-06-22 Thread Andreas Sturmlechner
commit: c4d375359074fc6b39f5b7a144da34fdda4cd590
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jun 22 19:03:50 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 22 19:38:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d37535

sci-geosciences/liblas: Cleanup vulnerable

Bug: https://bugs.gentoo.org/678482
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-geosciences/liblas/Manifest|  1 -
 sci-geosciences/liblas/liblas-1.8.1.ebuild | 48 --
 2 files changed, 49 deletions(-)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
index 3b20aa193d5..fcc9da773c4 100644
--- a/sci-geosciences/liblas/Manifest
+++ b/sci-geosciences/liblas/Manifest
@@ -1,2 +1 @@
-DIST libLAS-1.8.1.tar.bz2 3920203 BLAKE2B 
2ef8e822c5d1c07d929e788c59e6e5b942aba637fb764d37e1505d136c75cd4a28efc4702b022bcfee8063b684956b4466c9ec00e737d7024ca2719d7b11f341
 SHA512 
1cb39c557af0006c54f1100d0d409977fcc1886abd155c1b144d806c47f8675a9f2125d3a9aca16bae65d2aabba84d5e5e322b42085e7db312f3d53f92342acf
 DIST liblas-1.8.1.tar.gz 10734926 BLAKE2B 
dcd3dc043840857222e6b0a19dcb264ba34c09aa20cda9694ed182e040f9024c0b4a0e2359b1ba0da2337fa5b145aedb9a76a6dcea7ffd7cbcb125d0ae9af399
 SHA512 
0f8a0460e33c23c8a82eb42ab66ba69d4cc0680f6d320ce429653670f950f5724b88c5870800e0ab000e72cf0c08c55a4c468fe1b244140d867e2cb665f0f0b6

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
deleted file mode 100644
index 2b0d2893bd8..000
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
-HOMEPAGE="http://www.liblas.org;
-SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
-
-# tests known to fail due to LD_LIBRARY_PATH issue
-RESTRICT="test"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
-IUSE="gdal"
-
-RDEPEND="
-   dev-libs/boost:=
-   sci-geosciences/laszip
-   sci-libs/libgeotiff
-   gdal? ( sci-libs/gdal )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/libLAS-${PV}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
-)
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   # add missing linkage
-   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
-   -i "${S}/apps/CMakeLists.txt" || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   "-DWITH_GDAL=$(usex gdal)"
-   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-05-30 Thread Sergei Trofimovich
commit: 27b944ad649ea4e1a8526a1478401c9c93ec5aec
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:31:45 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:31:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b944ad

sci-geosciences/liblas: stable 1.8.1-r2 for ppc64, bug #678482

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
index 4e82a583f29..0380dffd2f3 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ppc ppc64 ~x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-05-30 Thread Sergei Trofimovich
commit: 9c810815f21ac8b2dda31cd2c350fc0dd499e2c9
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 30 20:27:40 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 30 20:27:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c810815

sci-geosciences/liblas: stable 1.8.1-r2 for ppc, bug #678482

Package-Manager: Portage-2.3.67, Repoman-2.3.13
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
index 56e59239e5f..4e82a583f29 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ppc ~ppc64 ~x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-05-27 Thread Agostino Sarubbo
commit: 4d5bc4944743b84e4e41b4561edacfc69a032438
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 27 17:26:48 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 27 17:26:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5bc494

sci-geosciences/liblas: amd64 stable wrt bug #678482

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
index 6153260346a..56e59239e5f 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE="gdal"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/, sci-geosciences/liblas/files/

2019-05-24 Thread Andreas Sturmlechner
commit: 876f39a654bd15c8fe2dbdfcf07bcee2b7d10bf6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri May 24 19:09:44 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri May 24 19:25:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876f39a6

sci-geosciences/liblas: Fix CVE-2018-20540

Bug: https://bugs.gentoo.org/678482
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../liblas/files/liblas-1.8.1-CVE-2018-20540.patch | 55 ++
 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild  |  1 +
 2 files changed, 56 insertions(+)

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540.patch
new file mode 100644
index 000..ab2174f04ff
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-CVE-2018-20540.patch
@@ -0,0 +1,55 @@
+From 09d45518776489508f34098f1c159f58b856f459 Mon Sep 17 00:00:00 2001
+From: Mateusz Loskot 
+Date: Sun, 20 Jan 2019 02:28:29 +0100
+Subject: [PATCH] Ensure stream is deallocated in case of exception (#162)
+
+Fixes #158
+---
+ include/liblas/liblas.hpp | 32 
+ 1 file changed, 24 insertions(+), 8 deletions(-)
+
+diff --git a/include/liblas/liblas.hpp b/include/liblas/liblas.hpp
+index f5ad44e1..325de3ff 100644
+--- a/include/liblas/liblas.hpp
 b/include/liblas/liblas.hpp
+@@ -119,16 +119,32 @@ inline std::istream* Open(std::string const& filename, 
std::ios::openmode mode)
+ {
+ #ifdef USE_BOOST_IO
+ namespace io = boost::iostreams;
+-io::stream* ifs = new io::stream();
+-ifs->open(filename.c_str(), mode);
+-if (ifs->is_open() == false) return NULL;
+-return ifs;
++io::stream* ifs = NULL;
++try
++{
++ifs = new io::stream();
++ifs->open(filename.c_str(), mode);
++if (ifs->is_open() == false) return NULL;
++return ifs;
++}
++catch (...)
++{
++delete ifs;
++}
+ #else
+-std::ifstream* ifs = new std::ifstream();
+-ifs->open(filename.c_str(), mode);
+-if (ifs->is_open() == false) return NULL;
+-return ifs;
++std::ifstream* ifs = NULL;
++try
++{
++ifs = new std::ifstream();
++ifs->open(filename.c_str(), mode);
++if (ifs->is_open() == false) return NULL;
++}
++catch (...)
++{
++delete ifs;
++}
+ #endif
++return NULL;
+ }
+ 
+ /// Create file and open to write in binary mode.

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
index 11e130b1404..6153260346a 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
@@ -30,6 +30,7 @@ S="${WORKDIR}/libLAS-${PV}"
 PATCHES=(
"${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
"${FILESDIR}"/${P}-fix-overload-call.patch # bug 661654
+   "${FILESDIR}"/${P}-CVE-2018-20540.patch # bug 678482
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-05-24 Thread Andreas Sturmlechner
commit: 0a0b83a051241dfce7d23401f5abe1436c014e74
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri May 24 19:07:21 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri May 24 19:25:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0b83a0

sci-geosciences/liblas: EAPI-7 bump, add missing slot ops

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r2.ebuild | 49 +++
 1 file changed, 49 insertions(+)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
new file mode 100644
index 000..11e130b1404
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.1-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="https://github.com/libLAS/libLAS/;
+SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="gdal"
+
+DEPEND="
+   dev-libs/boost:=
+   sci-geosciences/laszip
+   sci-libs/libgeotiff:=
+   gdal? ( sci-libs/gdal:= )
+"
+RDEPEND="${DEPEND}"
+
+# tests known to fail due to LD_LIBRARY_PATH issue
+RESTRICT="test"
+
+S="${WORKDIR}/libLAS-${PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
+   "${FILESDIR}"/${P}-fix-overload-call.patch # bug 661654
+)
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # add missing linkage
+   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
+   -i "${S}/apps/CMakeLists.txt" || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
+   -DWITH_GDAL=$(usex gdal)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2019-05-24 Thread Andreas Sturmlechner
commit: 9960d5e01368d6db2a8ed9c8b2962bbb89804f2f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri May 24 19:10:46 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri May 24 19:25:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9960d5e0

sci-geosciences/liblas: Drop 1.8.1-r1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r1.ebuild | 49 ---
 1 file changed, 49 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild
deleted file mode 100644
index 8e0dbdea857..000
--- a/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
-HOMEPAGE="https://github.com/libLAS/libLAS/;
-SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-# tests known to fail due to LD_LIBRARY_PATH issue
-RESTRICT="test"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="gdal"
-
-RDEPEND="
-   dev-libs/boost:=
-   sci-geosciences/laszip
-   sci-libs/libgeotiff
-   gdal? ( sci-libs/gdal )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/libLAS-${PV}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
-   "${FILESDIR}"/${P}-fix-overload-call.patch #bug 661654
-)
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   # add missing linkage
-   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
-   -i "${S}/apps/CMakeLists.txt" || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   "-DWITH_GDAL=$(usex gdal)"
-   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/files/, sci-geosciences/liblas/

2018-08-03 Thread Amy Liffey
commit: fa713994c59c7322c941e62b1bce588b0ee5
Author: Amy Liffey  gentoo  org>
AuthorDate: Fri Aug  3 11:46:26 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Fri Aug  3 11:53:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa713997

sci-geosciences/liblas: fix overloading calls

- Change SRC_URI and HOMEPAGE to github
- Add patch for overloaded calls

Closes: https://bugs.gentoo.org/661654
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-geosciences/liblas/Manifest|  1 +
 .../files/liblas-1.8.1-fix-overload-call.patch | 15 +++
 sci-geosciences/liblas/liblas-1.8.1-r1.ebuild  | 49 ++
 3 files changed, 65 insertions(+)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
index 118f37d5fa6..3b20aa193d5 100644
--- a/sci-geosciences/liblas/Manifest
+++ b/sci-geosciences/liblas/Manifest
@@ -1 +1,2 @@
 DIST libLAS-1.8.1.tar.bz2 3920203 BLAKE2B 
2ef8e822c5d1c07d929e788c59e6e5b942aba637fb764d37e1505d136c75cd4a28efc4702b022bcfee8063b684956b4466c9ec00e737d7024ca2719d7b11f341
 SHA512 
1cb39c557af0006c54f1100d0d409977fcc1886abd155c1b144d806c47f8675a9f2125d3a9aca16bae65d2aabba84d5e5e322b42085e7db312f3d53f92342acf
+DIST liblas-1.8.1.tar.gz 10734926 BLAKE2B 
dcd3dc043840857222e6b0a19dcb264ba34c09aa20cda9694ed182e040f9024c0b4a0e2359b1ba0da2337fa5b145aedb9a76a6dcea7ffd7cbcb125d0ae9af399
 SHA512 
0f8a0460e33c23c8a82eb42ab66ba69d4cc0680f6d320ce429653670f950f5724b88c5870800e0ab000e72cf0c08c55a4c468fe1b244140d867e2cb665f0f0b6

diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch 
b/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch
new file mode 100644
index 000..0b77da12148
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch
@@ -0,0 +1,15 @@
+--- a/src/gt_citation.cpp  2018-08-03 12:16:16.007831564 +0100
 b/src/gt_citation.cpp  2018-08-03 12:16:45.224830335 +0100
+@@ -387,10 +387,10 @@
+ osCitation += primemName;
+ bRewriteGeogCitation = TRUE;
+ 
+-double primemValue = poSRS->GetPrimeMeridian(NULL);
++double primemValue = poSRS->GetPrimeMeridian();
+ if(angUnitName && !EQUAL(angUnitName, "Degree"))
+ {
+-double aUnit = poSRS->GetAngularUnits(NULL);
++double aUnit = poSRS->GetAngularUnits();
+ primemValue *= aUnit;
+ }
+ GTIFKeySet( psGTIF, GeogPrimeMeridianLongGeoKey, TYPE_DOUBLE, 1, 

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild
new file mode 100644
index 000..8e0dbdea857
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="https://github.com/libLAS/libLAS/;
+SRC_URI="https://github.com/libLAS/libLAS/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+# tests known to fail due to LD_LIBRARY_PATH issue
+RESTRICT="test"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="gdal"
+
+RDEPEND="
+   dev-libs/boost:=
+   sci-geosciences/laszip
+   sci-libs/libgeotiff
+   gdal? ( sci-libs/gdal )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/libLAS-${PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
+   "${FILESDIR}"/${P}-fix-overload-call.patch #bug 661654
+)
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # add missing linkage
+   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
+   -i "${S}/apps/CMakeLists.txt" || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DWITH_GDAL=$(usex gdal)"
+   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2018-04-09 Thread Sam Jorna
commit: 767c5ceda291418747a3b7f9ac0bae611af80629
Author: Sam Jorna  gentoo  org>
AuthorDate: Tue Apr 10 01:08:03 2018 +
Commit: Sam Jorna  gentoo  org>
CommitDate: Tue Apr 10 01:18:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767c5ced

sci-geosciences/liblas: remove from maintainer

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-geosciences/liblas/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sci-geosciences/liblas/metadata.xml 
b/sci-geosciences/liblas/metadata.xml
index ed125b66579..38120b5c596 100644
--- a/sci-geosciences/liblas/metadata.xml
+++ b/sci-geosciences/liblas/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   wra...@gentoo.org
-   Sam Jorna
-
 
sci-geoscien...@gentoo.org
Gentoo Geosciences Project



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2018-03-11 Thread Matt Turner
commit: b658408ac117ef4973497ec88c0a20a6131c1dee
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Mar 12 04:27:14 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Mar 12 04:27:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b658408a

sci-geosciences/liblas-1.8.1: ppc64 stable, bug 649688

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index 083d66bcf08..2b0d2893bd8 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -14,7 +14,7 @@ RESTRICT="test"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
 IUSE="gdal"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2018-03-05 Thread Andreas Sturmlechner
commit: 794ef62567af5c84e721cf9f971070fab0ee727e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Mar  5 19:40:11 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Mar  5 22:13:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794ef625

sci-geosciences/liblas: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-geosciences/liblas/Manifest|  1 -
 sci-geosciences/liblas/liblas-1.8.0.ebuild | 39 --
 sci-geosciences/liblas/metadata.xml|  2 --
 3 files changed, 42 deletions(-)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
index abb0babd957..118f37d5fa6 100644
--- a/sci-geosciences/liblas/Manifest
+++ b/sci-geosciences/liblas/Manifest
@@ -1,2 +1 @@
-DIST libLAS-1.8.0.tar.bz2 3907684 BLAKE2B 
e7516aedb9f0f1df49cb9d4e669749ded5a0490bb6856fee1181ce65b7d2e36ba779c3fce2f34080bb2293d68f7d2e447ff2fca29f9d3b8ee9b8210b31f6
 SHA512 
1804149c7bcf04896a683a1098d372a65c000b7562795911fae697f81f370315aa373f34c12fa740d4607c07cd73e48354e34c9e26b032ffe679ecbfd4496a50
 DIST libLAS-1.8.1.tar.bz2 3920203 BLAKE2B 
2ef8e822c5d1c07d929e788c59e6e5b942aba637fb764d37e1505d136c75cd4a28efc4702b022bcfee8063b684956b4466c9ec00e737d7024ca2719d7b11f341
 SHA512 
1cb39c557af0006c54f1100d0d409977fcc1886abd155c1b144d806c47f8675a9f2125d3a9aca16bae65d2aabba84d5e5e322b42085e7db312f3d53f92342acf

diff --git a/sci-geosciences/liblas/liblas-1.8.0.ebuild 
b/sci-geosciences/liblas/liblas-1.8.0.ebuild
deleted file mode 100644
index 7db7d88088b..000
--- a/sci-geosciences/liblas/liblas-1.8.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-multilib multilib
-
-DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
-HOMEPAGE="http://www.liblas.org;
-SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="amd64 ~ppc64 x86"
-IUSE="gdal geotiff"
-REQUIRED_USE="gdal? ( geotiff )"
-
-RDEPEND="
-   dev-libs/boost:=
-   sci-geosciences/laszip
-   gdal? ( sci-libs/gdal )
-   geotiff? ( sci-libs/libgeotiff )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/libLAS-${PV}"
-
-PATCHES=(
-   "${FILESDIR}"/${P}_remove-std-c++98.patch
-)
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   $(cmake-utils_use_find_package gdal GDAL)
-   $(cmake-utils_use_find_package geotiff GeoTIFF)
-   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
-   )
-   cmake-utils_src_configure
-}

diff --git a/sci-geosciences/liblas/metadata.xml 
b/sci-geosciences/liblas/metadata.xml
index 5491d30c6e6..ed125b66579 100644
--- a/sci-geosciences/liblas/metadata.xml
+++ b/sci-geosciences/liblas/metadata.xml
@@ -12,8 +12,6 @@
 
Add support for the sci-libs/gdal 
geospatial
raster library
-   Add support for geo-tagged TIFF files with
-   sci-libs/libgeotiff
 
 
 A C/C++ library for reading and writing the very common LAS LiDAR format.



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2018-03-04 Thread Sergei Trofimovich
commit: bee786654b5564bf45f7bd30d405d06a864310f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar  4 22:29:20 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar  4 22:29:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bee78665

sci-geosciences/liblas: stable 1.8.1 for ppc, bug #631800

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index 5996bcb6aae..083d66bcf08 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -14,7 +14,7 @@ RESTRICT="test"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ia64 ppc ~ppc64 x86"
 IUSE="gdal"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2018-01-16 Thread Thomas Deutschmann
commit: eeb3dfa0380f422f908ef2d5e1c78061f3a8a650
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jan 17 04:57:12 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jan 17 04:57:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb3dfa0

sci-geosciences/liblas: x86 stable (bug #631800)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index 320e41108e0..5996bcb6aae 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ RESTRICT="test"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86"
 IUSE="gdal"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2017-10-15 Thread David Seifert
commit: 47373f4b4fc7da5947050c995156c2347952c6b2
Author: David Seifert  gentoo  org>
AuthorDate: Mon Oct 16 02:52:58 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Oct 16 02:52:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47373f4b

sci-geosciences/liblas: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index 4514d041a5d..c216cac1941 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -32,7 +32,7 @@ PATCHES=(
 )
 
 src_prepare() {
-   default
+   cmake-utils_src_prepare
 
# add missing linkage
sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2017-07-20 Thread Sergei Trofimovich
commit: c079149366a1451e48a0adf5c652e570639ed57b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jul 20 19:51:37 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul 20 20:57:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0791493

sci-geosciences/liblas: ia64 keyworded, bug #10

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index fe23045ca1c..4514d041a5d 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -14,7 +14,7 @@ RESTRICT="test"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE="gdal"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2017-05-24 Thread Michael Weber
commit: ecd5531dd2cd8c20b3c8eadcbbe3913c46108c0b
Author: Michael Weber  gentoo  org>
AuthorDate: Wed May 24 07:03:27 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed May 24 07:06:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd5531d

sci-geosciences/liblas: add ~ppc keyword (bug 563378)

Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 sci-geosciences/liblas/liblas-1.8.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
index d555ada6f8c..fe23045ca1c 100644
--- a/sci-geosciences/liblas/liblas-1.8.1.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ RESTRICT="test"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="gdal"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2016-11-29 Thread Pacho Ramos
commit: e248b8443587d226fee22fd0b469c6cb3b09c3a5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Nov 29 20:17:59 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Nov 29 20:17:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e248b844

sci-geosciences/liblas: amd64/x86 stable, bug #598844

Package-Manager: portage-2.3.2

 sci-geosciences/liblas/liblas-1.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.0.ebuild 
b/sci-geosciences/liblas/liblas-1.8.0.ebuild
index 7434d76..a2072de 100644
--- a/sci-geosciences/liblas/liblas-1.8.0.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
 IUSE="gdal geotiff"
 REQUIRED_USE="gdal? ( geotiff )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2016-11-24 Thread Sam Jorna
commit: 95e8bdc195f4c0e0b86e9cea6008ffe8030f924d
Author: Sam Jorna  gentoo  org>
AuthorDate: Fri Nov 25 02:59:33 2016 +
Commit: Sam Jorna  gentoo  org>
CommitDate: Fri Nov 25 03:01:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e8bdc1

sci-geosciences/liblas: bump to 1.8.1

Version bumped to 1.8.1. Multilib removed as builds were failing due to
non-multilib deps and nothing appears to depend on this being multilib.
Tests restricted as they were loading the installed version (if there,
otherwise nothing) rather than the built version. EAPI bumped to 6.

Package-Manager: portage-2.3.2

 sci-geosciences/liblas/Manifest|  1 +
 sci-geosciences/liblas/liblas-1.8.1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
index c07d365..8d92a84 100644
--- a/sci-geosciences/liblas/Manifest
+++ b/sci-geosciences/liblas/Manifest
@@ -1 +1,2 @@
 DIST libLAS-1.8.0.tar.bz2 3907684 SHA256 
17310082845e45e5c4cece78af98ee93aa5d992bf6d4ba9a6e9f477228738d7a SHA512 
1804149c7bcf04896a683a1098d372a65c000b7562795911fae697f81f370315aa373f34c12fa740d4607c07cd73e48354e34c9e26b032ffe679ecbfd4496a50
 WHIRLPOOL 
ee2400877fad72b1ab9e5b94e673c1ff858c4c3b129aebd8146aeeb7e01a56d6aad70147a55391e9c0bb02e354036aa27b077430a4aa88b13d182389f11b538d
+DIST libLAS-1.8.1.tar.bz2 3920203 SHA256 
9adb4a98c63b461ed2bc82e214ae522cbd809cff578f28511122efe6c7ea4e76 SHA512 
1cb39c557af0006c54f1100d0d409977fcc1886abd155c1b144d806c47f8675a9f2125d3a9aca16bae65d2aabba84d5e5e322b42085e7db312f3d53f92342acf
 WHIRLPOOL 
7f2d85437dc3fd4f414b40e031d67553d272c3cdbe945a4307f80f86b2be083f99b53227888978b112fdf50ec64eea298ccec3c0fe2fe1afbe95d57079f88e52

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
new file mode 100644
index ..974af92
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="http://www.liblas.org;
+SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
+
+# tests known to fail due to LD_LIBRARY_PATH issue
+RESTRICT="test"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="gdal"
+
+RDEPEND="
+   dev-libs/boost:=
+   sci-geosciences/laszip
+   sci-libs/libgeotiff
+   gdal? ( sci-libs/gdal )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/libLAS-${PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
+)
+
+src_prepare() {
+   default
+
+   # add missing linkage
+   sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
+   -i "${S}/apps/CMakeLists.txt" || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DWITH_GDAL=$(usex gdal)"
+   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2016-03-14 Thread Sam Jorna
commit: e4ea428fca4d0e2e596e82f1ab7e9feed6ce7efa
Author: Sam Jorna  gentoo  org>
AuthorDate: Mon Mar 14 23:34:57 2016 +
Commit: Sam Jorna  gentoo  org>
CommitDate: Mon Mar 14 23:34:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ea428f

sci-geosciences/liblas: update metadata

Package-Manager: portage-2.2.28

 sci-geosciences/liblas/metadata.xml | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sci-geosciences/liblas/metadata.xml 
b/sci-geosciences/liblas/metadata.xml
index 7c7a988..5491d30 100644
--- a/sci-geosciences/liblas/metadata.xml
+++ b/sci-geosciences/liblas/metadata.xml
@@ -2,18 +2,13 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
-   wra...@wraeth.id.au
+   wra...@gentoo.org
Sam Jorna
-   Proxy maintainer - assign bugs to him
 
 
sci-geoscien...@gentoo.org
Gentoo Geosciences Project
 
-
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-
 
Add support for the sci-libs/gdal 
geospatial
raster library



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/

2015-10-30 Thread Jeroen Roovers
commit: cf64bbfa2276254f7d6036fe989fdd82be113680
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct 30 06:15:14 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct 30 06:19:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf64bbfa

sci-geosciences/liblas: Mark ~ppc64 (bug #563378).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 sci-geosciences/liblas/liblas-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.0.ebuild 
b/sci-geosciences/liblas/liblas-1.8.0.ebuild
index 3c31b09..7434d76 100644
--- a/sci-geosciences/liblas/liblas-1.8.0.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="gdal geotiff"
 REQUIRED_USE="gdal? ( geotiff )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/files/, sci-geosciences/liblas/

2015-10-23 Thread Amy Winston
commit: 08e80b8aebc0f36a2fd0c07e32bad61fbc6d29eb
Author: Amy Winston  gentoo  org>
AuthorDate: Fri Oct 23 15:53:34 2015 +
Commit: Amy Winston  gentoo  org>
CommitDate: Fri Oct 23 15:54:53 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e80b8a

sci-geosciences/liblas: new ebuild

New ebuild initially written by SoapZaNet and committed
under proxy-maintainers herd with wraeth as maintainer.

Package-Manager: portage-2.2.20.1

 sci-geosciences/liblas/Manifest|  1 +
 .../files/liblas-1.8.0_remove-std-c++98.patch  | 30 
 sci-geosciences/liblas/liblas-1.8.0.ebuild | 40 ++
 sci-geosciences/liblas/metadata.xml| 20 +++
 4 files changed, 91 insertions(+)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
new file mode 100644
index 000..c07d365
--- /dev/null
+++ b/sci-geosciences/liblas/Manifest
@@ -0,0 +1 @@
+DIST libLAS-1.8.0.tar.bz2 3907684 SHA256 
17310082845e45e5c4cece78af98ee93aa5d992bf6d4ba9a6e9f477228738d7a SHA512 
1804149c7bcf04896a683a1098d372a65c000b7562795911fae697f81f370315aa373f34c12fa740d4607c07cd73e48354e34c9e26b032ffe679ecbfd4496a50
 WHIRLPOOL 
ee2400877fad72b1ab9e5b94e673c1ff858c4c3b129aebd8146aeeb7e01a56d6aad70147a55391e9c0bb02e354036aa27b077430a4aa88b13d182389f11b538d

diff --git a/sci-geosciences/liblas/files/liblas-1.8.0_remove-std-c++98.patch 
b/sci-geosciences/liblas/files/liblas-1.8.0_remove-std-c++98.patch
new file mode 100644
index 000..dc230da
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.0_remove-std-c++98.patch
@@ -0,0 +1,30 @@
+--- libLAS-1.8.0/CMakeLists.txt
 libLAS-1.8.0/CMakeLists.txt
+@@ -140,27 +140,6 @@
+   
+   set(CMAKE_INCLUDE_PATH c:/osgeo4w64/include;$ENV{CMAKE_INCLUDE_PATH})
+   set(CMAKE_LIBRARY_PATH c:/osgeo4w64/lib;$ENV{CMAKE_LIBRARY_PATH})
+-else()
+-
+-  # Recommended C++ compilation flags
+-  # -Weffc++
+-  #
+-  # Remove -pedandic which causes errors from boost (comma at end of
+-  # enum) 2012-09-05.  Remove -Wcast-qual -Wfloat-equal
+-  # -Wredundant-decls to suppress the multitude of warning messages.
+-  set(LIBLAS_COMMON_CXX_FLAGS
+-  " -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable 
-Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls 
-Wno-long-long")
+-
+-  if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
+-
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LIBLAS_COMMON_CXX_FLAGS}")
+-if (CMAKE_COMPILER_IS_GNUCXX)
+-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98 -ansi")
+-endif()
+-
+-  elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR 
"${CMAKE_CXX_COMPILER}" MATCHES "clang")
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LIBLAS_COMMON_CXX_FLAGS}")
+-  endif()
+ endif(WIN32)
+ 
+ if (APPLE)

diff --git a/sci-geosciences/liblas/liblas-1.8.0.ebuild 
b/sci-geosciences/liblas/liblas-1.8.0.ebuild
new file mode 100644
index 000..3c31b09
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-multilib multilib
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="http://www.liblas.org;
+SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2;
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+IUSE="gdal geotiff"
+REQUIRED_USE="gdal? ( geotiff )"
+
+RDEPEND="
+   dev-libs/boost:=
+   sci-geosciences/laszip
+   gdal? ( sci-libs/gdal )
+   geotiff? ( sci-libs/libgeotiff )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/libLAS-${PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}_remove-std-c++98.patch
+)
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   $(cmake-utils_use_find_package gdal GDAL)
+   $(cmake-utils_use_find_package geotiff GeoTIFF)
+   -DLIBLAS_LIB_SUBDIR=$(get_libdir)
+   )
+   cmake-utils_src_configure
+}

diff --git a/sci-geosciences/liblas/metadata.xml 
b/sci-geosciences/liblas/metadata.xml
new file mode 100644
index 000..96d8999
--- /dev/null
+++ b/sci-geosciences/liblas/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+sci-geosciences
+proxy-maintainers
+
+   wra...@wraeth.id.au
+   Sam Jorna
+   Proxy maintainer - assign bugs to him
+
+
+   Add support for the sci-libs/gdal 
geospatial
+   raster library
+   Add support for geo-tagged TIFF files with
+   sci-libs/libgeotiff
+
+
+A C/C++ library for reading and writing the very common LAS LiDAR format.
+
+