Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2017 19:16:03 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
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
Message-ID:  <201709261916.v8QJG3tH005866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <lbartoletti@tuxfamily.org>
+# $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 <bsd.port.mk>

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 <ctype.h>
+ 
+ #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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709261916.v8QJG3tH005866>