Skip to contentSkip to conversation

package/libgeos: new package

PATCH New Maxim Kochetkov 2 participants 2 messages Jan 12, 2021 – Jan 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libgeos: new package

GEOS (Geometry Engine - Open Source) is a C++ port of the ?JTS Topology Suite (JTS). It aims to contain the complete functionality of JTS in C++. This includes all the ?OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced functions.

https://trac.osgeo.org/geos

---
 package/Config.in            |  1 +
 package/libgeos/Config.in    | 13 +++++++++++++
 package/libgeos/libgeos.hash |  3 +++
 package/libgeos/libgeos.mk   | 15 +++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/libgeos/Config.in
 create mode 100644 package/libgeos/libgeos.hash
 create mode 100644 package/libgeos/libgeos.mk
package/Config.in +1 -0
index 5a16814ca8..670a5eb9a4 100644
@@ -1901,6 +1901,7 @@ menu "Other"
 	source "package/libevent/Config.in"
 	source "package/libffi/Config.in"
 	source "package/libgee/Config.in"
+	source "package/libgeos/Config.in"
 	source "package/libglib2/Config.in"
 	source "package/libglob/Config.in"
 	source "package/libical/Config.in"
package/libgeos/Config.in new file +13 -0
new file mode 100644
index 0000000000..404832f4db
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBGEOS
+	bool "libgeos"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  GEOS (Geometry Engine - Open Source) is a C++ port of the ?JTS Topology Suite (JTS).
+	  It aims to contain the complete functionality of JTS in C++. This includes all the
+	  ?OpenGIS Simple Features for SQL spatial predicate functions and spatial operators,
+	  as well as specific JTS enhanced functions.
+
+	  https://trac.osgeo.org/geos
+
+comment "libgeos needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
\ No newline at end of file
package/libgeos/libgeos.hash new file +3 -0
new file mode 100644
index 0000000000..5b5e44c7c5
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  bd8082cf12f45f27630193c78bdb5a3cba847b81e72b20268356c2a4fc065269  geos-3.9.0.tar.bz2
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
package/libgeos/libgeos.mk new file +15 -0
new file mode 100644
index 0000000000..7b4ace122d
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libgeos
+#
+################################################################################
+
+LIBGEOS_VERSION = 3.9.0
+LIBGEOS_SITE = http://download.osgeo.org/geos
+LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2
+LIBGEOS_LICENSE = LGPL-2.1
+LIBGEOS_LICENSE_FILES = COPYING
+LIBGEOS_INSTALL_STAGING = YES
+LIBGEOS_CONFIG_SCRIPTS = geos-config
+
+$(eval $(cmake-package))
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/libgeos: new package

Maxim, All,

On 2021-01-12 11:18 +0300, Maxim Kochetkov via buildroot spake thusly:

Quoted 4 lines

GEOS (Geometry Engine - Open Source) is a C++ port of the ?JTS Topology Suite (JTS). It aims to contain the complete functionality of JTS in C++. This includes all the ?OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced functions.

This commit log should be wrapped at ~72 chars, so I've rewrapped it.

Also, it contains "invisible characters" <200b>, presumably the "arrow-out-of-box" charaters in the Trac website. I've dropped those chars.

Ditto for both in the Config.in help text.

Quoted 3 lines

https://trac.osgeo.org/geos

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 79 lines
---
 package/Config.in            |  1 +
 package/libgeos/Config.in    | 13 +++++++++++++
 package/libgeos/libgeos.hash |  3 +++
 package/libgeos/libgeos.mk   | 15 +++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/libgeos/Config.in
 create mode 100644 package/libgeos/libgeos.hash
 create mode 100644 package/libgeos/libgeos.mk
package/Config.in +1 -0
index 5a16814ca8..670a5eb9a4 100644
@@ -1901,6 +1901,7 @@ menu "Other"
 	source "package/libevent/Config.in"
 	source "package/libffi/Config.in"
 	source "package/libgee/Config.in"
+	source "package/libgeos/Config.in"
 	source "package/libglib2/Config.in"
 	source "package/libglob/Config.in"
 	source "package/libical/Config.in"
package/libgeos/Config.in new file +13 -0
new file mode 100644
index 0000000000..404832f4db
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBGEOS
+	bool "libgeos"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  GEOS (Geometry Engine - Open Source) is a C++ port of the ?JTS Topology Suite (JTS).
+	  It aims to contain the complete functionality of JTS in C++. This includes all the
+	  ?OpenGIS Simple Features for SQL spatial predicate functions and spatial operators,
+	  as well as specific JTS enhanced functions.
+
+	  https://trac.osgeo.org/geos
+
+comment "libgeos needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
\ No newline at end of file
package/libgeos/libgeos.hash new file +3 -0
new file mode 100644
index 0000000000..5b5e44c7c5
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  bd8082cf12f45f27630193c78bdb5a3cba847b81e72b20268356c2a4fc065269  geos-3.9.0.tar.bz2
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
package/libgeos/libgeos.mk new file +15 -0
new file mode 100644
index 0000000000..7b4ace122d
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libgeos
+#
+################################################################################
+
+LIBGEOS_VERSION = 3.9.0
+LIBGEOS_SITE = http://download.osgeo.org/geos
+LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2
+LIBGEOS_LICENSE = LGPL-2.1
+LIBGEOS_LICENSE_FILES = COPYING
+LIBGEOS_INSTALL_STAGING = YES
+LIBGEOS_CONFIG_SCRIPTS = geos-config
+
+$(eval $(cmake-package))
Signature · 6 lines
2.29.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'