Github messages for voidlinux
 help / color / mirror / Atom feed
From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libspatialite
Date: Mon, 21 Feb 2022 20:38:44 +0100	[thread overview]
Message-ID: <20220221193844.PYBuHraJCRl4nkXOlhZSMQH38mvJkR0lohOS0BjYPEk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35722@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

There is an updated pull request by the-maldridge against master on the void-packages repository

https://github.com/the-maldridge/void-packages spatialite
https://github.com/void-linux/void-packages/pull/35722

New package: libspatialite
None

A patch file from https://github.com/void-linux/void-packages/pull/35722.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spatialite-35722.patch --]
[-- Type: text/x-diff, Size: 4267 bytes --]

From 64ae86806b72c8e90c809d0f4dcb75b45be24bcd Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Mon, 21 Feb 2022 00:26:10 -0600
Subject: [PATCH 1/2] New package: librttopo-1.1.0.

---
 common/shlibs              |  1 +
 srcpkgs/librttopo-devel    |  1 +
 srcpkgs/librttopo/template | 29 +++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/librttopo-devel
 create mode 100644 srcpkgs/librttopo/template

diff --git a/common/shlibs b/common/shlibs
index 2b1601d09596..d5cb64ee2bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4110,3 +4110,4 @@ libawt_xawt.so openjdk17-jre-17.0.1+12_1
 libjava.so openjdk17-jre-17.0.1+12_1
 libjli.so openjdk17-jre-17.0.1+12_1
 libjvm.so openjdk17-jre-17.0.1+12_1
+librttopo.so.1 librttopo-1.1.0_1
diff --git a/srcpkgs/librttopo-devel b/srcpkgs/librttopo-devel
new file mode 120000
index 000000000000..acf3607f5fec
--- /dev/null
+++ b/srcpkgs/librttopo-devel
@@ -0,0 +1 @@
+librttopo
\ No newline at end of file
diff --git a/srcpkgs/librttopo/template b/srcpkgs/librttopo/template
new file mode 100644
index 000000000000..a34a3ac5b625
--- /dev/null
+++ b/srcpkgs/librttopo/template
@@ -0,0 +1,29 @@
+# Template file for 'librttopo'
+pkgname=librttopo
+version=1.1.0
+revision=1
+wrksrc=$pkgname
+build_style=gnu-configure
+hostmakedepends="which autoconf automake libtool geos-devel"
+makedepends="geos-devel"
+short_desc="RT Topology Library"
+maintainer="Michael Aldridge <maldridge@voidlinux.org>"
+license="GPL-2.0-only"
+homepage="https://git.osgeo.org/gitea/rttopo/librttopo"
+distfiles="https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-$version.tar.gz"
+checksum=2e2fcabb48193a712a6c76ac9a9be2a53f82e32f91a2bc834d9f1b4fa9cd879f
+
+pre_configure() {
+	./autogen.sh
+}
+
+librttopo-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From b2517ba5c8e5e17d3589b3af911dbc3951148ce7 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Mon, 21 Feb 2022 00:10:41 -0600
Subject: [PATCH 2/2] New package: libspatialite-5.0.1.

---
 common/shlibs                  |  2 ++
 srcpkgs/libspatialite-devel    |  1 +
 srcpkgs/libspatialite/template | 27 +++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/libspatialite-devel
 create mode 100644 srcpkgs/libspatialite/template

diff --git a/common/shlibs b/common/shlibs
index d5cb64ee2bdc..1833dfe58dc8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4111,3 +4111,5 @@ libjava.so openjdk17-jre-17.0.1+12_1
 libjli.so openjdk17-jre-17.0.1+12_1
 libjvm.so openjdk17-jre-17.0.1+12_1
 librttopo.so.1 librttopo-1.1.0_1
+libspatialite.so.7 libspatialite-5.0.1_1
+mod_spatialite.so.7 libspatialite-5.0.1_1
diff --git a/srcpkgs/libspatialite-devel b/srcpkgs/libspatialite-devel
new file mode 120000
index 000000000000..588ba2ad7c00
--- /dev/null
+++ b/srcpkgs/libspatialite-devel
@@ -0,0 +1 @@
+libspatialite
\ No newline at end of file
diff --git a/srcpkgs/libspatialite/template b/srcpkgs/libspatialite/template
new file mode 100644
index 000000000000..220d78165517
--- /dev/null
+++ b/srcpkgs/libspatialite/template
@@ -0,0 +1,27 @@
+# Template file for 'libspatialite'
+pkgname=libspatialite
+version=5.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config geos-devel"
+makedepends="sqlite-devel zlib-devel proj-devel freexl-devel
+ geos-devel librttopo-devel libxml2-devel minizip-devel"
+short_desc="SQLite extension for Spatial SQL capabilities"
+maintainer="Michael Aldridge <maldridge@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="https://www.gaia-gis.it/fossil/libspatialite/index"
+distfiles="http://www.gaia-gis.it/gaia-sins/libspatialite-$version.tar.gz"
+checksum=eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98
+# Checks don't all pass for this release.
+make_check=no
+
+ibspatialite-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

  parent reply	other threads:[~2022-02-21 19:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21  6:42 [PR PATCH] " the-maldridge
2022-02-21  6:45 ` [PR PATCH] [Updated] " the-maldridge
2022-02-21  6:49 ` the-maldridge
2022-02-21  6:51 ` the-maldridge
2022-02-21  7:01 ` the-maldridge
2022-02-21  7:01 ` the-maldridge
2022-02-21 19:24 ` the-maldridge
2022-02-21 19:38 ` the-maldridge [this message]
2022-02-21 19:39 ` the-maldridge
2022-02-21 19:50 ` the-maldridge
2022-02-21 19:51 ` [PR PATCH] [Merged]: " the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220221193844.PYBuHraJCRl4nkXOlhZSMQH38mvJkR0lohOS0BjYPEk@z \
    --to=the-maldridge@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).