summaryrefslogtreecommitdiff
path: root/dev-db/postgis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-20 06:42:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-20 06:42:03 +0000
commitcd57012a0ef40d302cf7d5a92dd2f3dfae285d2f (patch)
tree901ae45158f35951dbc249ac7e62a2a5b78da25c /dev-db/postgis
parentb2ec252cbc0a7476fb6892f96130c8cdc35591ac (diff)
gentoo auto-resync : 20:01:2025 - 06:42:03
Diffstat (limited to 'dev-db/postgis')
-rw-r--r--dev-db/postgis/Manifest2
-rw-r--r--dev-db/postgis/postgis-3.5.2.ebuild137
2 files changed, 139 insertions, 0 deletions
diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest
index 4a52cf485557..06f2d9a9b3ce 100644
--- a/dev-db/postgis/Manifest
+++ b/dev-db/postgis/Manifest
@@ -7,10 +7,12 @@ DIST postgis-3.4.3.tar.gz 14957514 BLAKE2B 2c472a66d6063c70a2a5b7d42953233c9d24e
DIST postgis-3.4.4.tar.gz 14960460 BLAKE2B bf0a8f905dfde7023f48340dfc812ffd5651d9d909a684d445ed6401db7afa18a13045a3e8341946b8fc2ee302fe4b60afb52092d653705995346279cafc32cc SHA512 e561fba5d4eb3a8fb96d9e517a04de007aa1780990d1ba78a2ed25ea27245f46e60257280b3d0fb1ba4164beea798db8858c24193bb2925619cf5f024f8043dc
DIST postgis-3.5.0.tar.gz 15031829 BLAKE2B a641eaa7b0407108e332bf6f244fef0d22d21ed34c16c2f3cb718f49acf9a0bb3b1bf8b1ec3d7eb4f731beeb652f37f666ff4b8d44c5a66db7da4a9a555caa38 SHA512 baf81b9133db34c87ecb5e019497df89fba9faf293ae2f2e4fa5578dbe608ff5310b5ca718a7bf94e76af51bf7b8ec4b1f69fad91412017d70cdcd70492ae9e5
DIST postgis-3.5.1.tar.gz 15044755 BLAKE2B 98c56eaab63f000bc74500c36b923196d54183237b726117add1f13f0aec37926506bcdc5233d87427d948a3edea081e84327ad9eeec3e6b87d5b5bbb20359b2 SHA512 72d60b9cbb9652555f70e86b18d32a578799f4dff8749bfc91f91c2d32142b7c85bf2d50a1ea5effbc25f84b1cbdcaf4586400af89b5ab37e5c03a87e0d20a6c
+DIST postgis-3.5.2.tar.gz 15045553 BLAKE2B 48a43c483a3a36decd3c3bb1b482f0079daacc030788fc58de17ffa91ecd46286de1112604230e0a594e44ba4c6bfa00a31a0241e0c07ce8f52cdd8fd94883d7 SHA512 fcad74289d03bfe9d6eb6f0f5682c9cb03a90ba9c377e39727df85f5d66fa8f51ddb9a9bc7302612d13576cca92bff3717ed965d513ededfe8cf1627c1e2f92d
EBUILD postgis-3.3.7-r1.ebuild 3359 BLAKE2B 8da9966c9ba7ac89cca4433789bfc4f688e1eaeb10420099ae1ce0861e87a4605fd6a671391468e3b8c7ff8c3508679a55cf2aa36ac1e5bf505f6fbc9b61498b SHA512 5da987d8b77958a7691e7ef4a6985efe902b4aaa785e89ab6b39098fa1cbcb59787c7e4381baa22ac9632ef90ddf71ff0acc1d19cc573ea21f908dd6ed466607
EBUILD postgis-3.3.8.ebuild 3361 BLAKE2B 0d4834acb8c9d7a7193f8ae520543c240e1a135aaee704f45ab8e589aeae980fbc17fa114c4d0972a9df907bb2ddabf01b18dede0165ea3aedb4f44e1d97b576 SHA512 3d1cba1fcfe8c25c10d9cb85f62241ec6831bc219239063a841576519a79ddbfa53006645ad281a447903b26e01435bf21fb0b0a6b1c2eeff6298da633117c68
EBUILD postgis-3.4.3-r1.ebuild 3488 BLAKE2B 310e350b28326a97de239e67f27e74f671976b589793186891e588f582eb8c14c0cd81ca5ca0cec44f3910327e994e17c772787a34c20e6cdce430099ac3c2f6 SHA512 6dbfd7ca11f73a27971ca90997ada88ece7ebe8c86cb477337a4b786724537a995da6503b5ce93911ad5669e4c7be7d5fe2704a37ce3b07cfed7a88238feb768
EBUILD postgis-3.4.4.ebuild 3488 BLAKE2B 310e350b28326a97de239e67f27e74f671976b589793186891e588f582eb8c14c0cd81ca5ca0cec44f3910327e994e17c772787a34c20e6cdce430099ac3c2f6 SHA512 6dbfd7ca11f73a27971ca90997ada88ece7ebe8c86cb477337a4b786724537a995da6503b5ce93911ad5669e4c7be7d5fe2704a37ce3b07cfed7a88238feb768
EBUILD postgis-3.5.0-r1.ebuild 3311 BLAKE2B 11230c62f2f51508b4de36ce5669f9821a0bf92b87ec032557adc93a04338c9a146e11c6eb851a18b08b6ebc1363a2edb18ef23cd0b70c9c940e795e98860d61 SHA512 834eb1e461bade89bc0de3122d2a96272ea89ec418ee042c4c99b7a033b20305b3a6c89fd0b114bb58a13a4782adb7aa556e4be7785d460ff4233682068e39ef
EBUILD postgis-3.5.1.ebuild 3313 BLAKE2B 4febe29a6c803ca272fd64a937ecbd1419d14d92be64cf39a369407dcf897c12a4faa736e58256093a92e1b79db498967d80b8f988f4782148e7cc7232bdd2bc SHA512 ae94efb65c5d23c8afb4372630106321a614cc940e7a96699dafe81efaf60bbae4fa8c1d70f13732d1654cfbffc16f502c49af59e52134f3d925c56781c2921a
+EBUILD postgis-3.5.2.ebuild 3313 BLAKE2B c673b59e69706def3bc4f66388057dfb7e33b02295438b0a21b797e3bd57d9756467dd536e6d2a1915d2e3d3b3f30ab94958614b66cfab21601194cf9e499404 SHA512 518cd9548d0bd1c126a75e7d144f5008f44fa311098d6ff8d25f308ab8079e5f72f821b32a1b8147a5162507e4cf0728adadb997da63602c7ac16db4134027f1
MISC metadata.xml 818 BLAKE2B 1f49aad6ae27cc838c1eb0908eaec3eda84400174b0ef20a7afd828a3212b0215761e3c6d8dcdb2b62cbb8c7bda7266854d93b02f121c253ae8618cb917e39ce SHA512 c344b128ea11c07a098bb5cf6f6cdf67677a43a6d40222e74258b26951774cf59ec9ad61b515cc6f5abaf5eb99593b38c66fbeabe3f7fafa52e16e055cb7f119
diff --git a/dev-db/postgis/postgis-3.5.2.ebuild b/dev-db/postgis/postgis-3.5.2.ebuild
new file mode 100644
index 000000000000..32c7b3420d1e
--- /dev/null
+++ b/dev-db/postgis/postgis-3.5.2.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+POSTGRES_COMPAT=( {12..17} )
+POSTGRES_USEDEP="server"
+inherit autotools postgres-multi toolchain-funcs
+
+MY_P="${PN}-$(ver_rs 3 '')"
+
+if [[ ${PV} = *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
+else
+ PGIS="$(ver_cut 1-2)"
+ SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Geographic Objects for PostgreSQL"
+HOMEPAGE="https://postgis.net"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="address-standardizer doc gtk static-libs topology"
+
+REQUIRED_USE="${POSTGRES_REQ_USE}"
+
+# Needs a running psql instance, doesn't work out of the box
+RESTRICT="test"
+
+RDEPEND="${POSTGRES_DEP}
+ dev-libs/json-c:=
+ dev-libs/libxml2:2
+ dev-libs/protobuf-c:=
+ >=sci-libs/geos-3.9.0
+ >=sci-libs/proj-6.1.0:=
+ >=sci-libs/gdal-1.10.0:=
+ address-standardizer? ( dev-libs/libpcre2 )
+ gtk? ( x11-libs/gtk+:2 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ app-text/docbook-xsl-stylesheets
+ app-text/docbook-xml-dtd:4.5
+ dev-libs/libxslt
+ virtual/imagemagick-tools[png]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
+)
+
+src_prepare() {
+ default
+
+ if [[ ${PV} = *9999* ]] ; then
+ source "${S}"/Version.config
+ PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
+ fi
+
+ # These modules are built using the same *FLAGS that were used to build
+ # dev-db/postgresql. The right thing to do is to ignore the current
+ # *FLAGS settings.
+ QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
+
+ # bug #775968
+ touch build-aux/ar-lib || die
+
+ # eautoheader MUST be disabled as upstream manually modify its output
+ # rather than using it directly. The version at runtime at least is
+ # broken otherwise. See bug #912275.
+ AT_M4DIR="macros" AT_NOEAUTOHEADER="yes" eautoreconf
+
+ postgres-multi_src_prepare
+}
+
+src_configure() {
+ export CPP=$(tc-getCPP)
+
+ local myeconfargs=(
+ $(use_with address-standardizer)
+ $(use_with gtk gui)
+ $(use_with topology)
+ )
+ postgres-multi_foreach econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ postgres-multi_foreach emake
+ postgres-multi_foreach emake -C topology
+
+ if use doc ; then
+ postgres-multi_foreach emake comments
+ postgres-multi_forbest emake cheatsheets
+ postgres-multi_forbest emake -C doc html
+ fi
+}
+
+src_install() {
+ postgres-multi_foreach emake DESTDIR="${D}" install
+ postgres-multi_foreach emake -C topology DESTDIR="${D}" install
+ postgres-multi_forbest dobin ./utils/postgis_restore.pl
+
+ dodoc CREDITS TODO loader/README.* doc/*txt
+
+ docinto topology
+ dodoc topology/{TODO,README}
+
+ if use doc ; then
+ postgres-multi_foreach emake DESTDIR="${D}" comments-install
+ postgres-multi_forbest emake DESTDIR="${D}" -C doc cheatsheet-install html-install html-assets-install
+ fi
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+}
+
+pkg_postinst() {
+ ebegin "Refreshing PostgreSQL symlinks"
+ postgresql-config update
+ eend $?
+
+ local base_uri="https://postgis.net/docs/manual-"
+ if [[ ${PV} = *9999* ]] ; then
+ base_uri+="dev"
+ else
+ base_uri+="${PGIS}"
+ fi
+
+ elog "To finish installing PostGIS, follow the directions detailed at:"
+ elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
+}