From owner-svn-ports-all@freebsd.org Tue Sep 26 19:16:04 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C5A4E1642A; Tue, 26 Sep 2017 19:16:04 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7651072492; Tue, 26 Sep 2017 19:16:04 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8QJG34T005874; Tue, 26 Sep 2017 19:16:03 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8QJG3tH005866; Tue, 26 Sep 2017 19:16:03 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201709261916.v8QJG3tH005866@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Tue, 26 Sep 2017 19:16:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450695 - in head/devel: . libght libght/files X-SVN-Group: ports-head X-SVN-Commit-Author: girgen X-SVN-Commit-Paths: in head/devel: . libght libght/files X-SVN-Commit-Revision: 450695 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 19:16:04 -0000 Author: girgen Date: Tue Sep 26 19:16:02 2017 New Revision: 450695 URL: https://svnweb.freebsd.org/changeset/ports/450695 Log: Add libght to the ports tree PR: 221577 Added: head/devel/libght/ head/devel/libght/Makefile (contents, props changed) head/devel/libght/distinfo (contents, props changed) head/devel/libght/files/ head/devel/libght/files/patch-CMakeLists.txt (contents, props changed) head/devel/libght/files/patch-src_ght__hash.c (contents, props changed) head/devel/libght/pkg-descr (contents, props changed) head/devel/libght/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Sep 26 19:13:49 2017 (r450694) +++ head/devel/Makefile Tue Sep 26 19:16:02 2017 (r450695) @@ -1398,6 +1398,7 @@ SUBDIR += libgee SUBDIR += libgee06 SUBDIR += libgetline + SUBDIR += libght SUBDIR += libghthash SUBDIR += libgit2 SUBDIR += libgit2-glib Added: head/devel/libght/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/Makefile Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,26 @@ +# Created by: lbartoletti +# $FreeBSD$ + +PORTNAME= libght +PORTVERSION= 0.1.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel geography + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= GeoHashTree library for storing and accessing multi-dimensional point clouds + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +LIB_DEPENDS= libproj.so:graphics/proj \ + liblas.so:devel/liblas \ + libcunit.so:devel/cunit + +USES= cmake +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= pramsey + +.include Added: head/devel/libght/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/distinfo Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,3 @@ +TIMESTAMP = 1502917817 +SHA256 (pramsey-libght-v0.1.0_GH0.tar.gz) = 3af40719bcb59785a2927ff95524ef9c961304c3b6522172036b66a1991164db +SIZE (pramsey-libght-v0.1.0_GH0.tar.gz) = 57017 Added: head/devel/libght/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/files/patch-CMakeLists.txt Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2013-07-11 17:41:23 UTC ++++ CMakeLists.txt +@@ -53,6 +53,7 @@ find_package (LibXml2 REQUIRED) + mark_as_advanced (CLEAR LIBXML2_INCLUDE_DIR) + mark_as_advanced (CLEAR LIBXML2_LIBRARIES) + include_directories (${LIBXML2_INCLUDE_DIR}) ++link_directories (${CMAKE_INSTALL_PREFIX}/lib) + + #------------------------------------------------------------------------------ + # need libLAS and Proj4 for file translation tools Added: head/devel/libght/files/patch-src_ght__hash.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/files/patch-src_ght__hash.c Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,10 @@ +--- src/ght_hash.c.orig 2013-07-11 17:41:23 UTC ++++ src/ght_hash.c +@@ -7,6 +7,7 @@ + ******************************************************************************/ + + #include "ght_internal.h" ++#include + + #define MAX_HASH_LENGTH 22 + Added: head/devel/libght/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/pkg-descr Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,19 @@ +A file format and library for storing and rapidly accessing point cloud data, in + particular LIDAR data. + +GeoHashTree organizes points into a tree structure for fast spatial access. The +tree structure itself encodes the significant bits of at each node, so child nod +es can omit them. The result is a smaller file than if all the points were store +d with full precision. Each node includes statistical information about the chil +dren below (e.g. average/median Z value) permitting fast overview generation. Ad +ditional attributes are attached to the tree at parent nodes, below which all ch +ildren share the attribute value. This reduces duplicate data storage further. + +The advantage of a GeoHashTree file over a LAS file is fast access and filtering +, since the tree encodes useful information at each node to speed searches over +the full set of points in the file. LASZ zipped files can be smaller, but will b +e less efficient at overviews, searching and sub-setting. GHT is a good working +format for applications that will be filtering and querying large sets of LIDAR +data. + +WWW: https://github.com/pramsey/libght Added: head/devel/libght/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libght/pkg-plist Tue Sep 26 19:16:02 2017 (r450695) @@ -0,0 +1,6 @@ +bin/las2ght +include/ght.h +include/ght_core.h +lib/libght.a +lib/libght.so +lib/libght.so.0.1.0