Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750245 - dev-db/postgis - Add sfcgal extension support
Summary: dev-db/postgis - Add sfcgal extension support
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on: 750242
Blocks:
  Show dependency tree
 
Reported: 2020-10-19 19:19 UTC by Arc Riley
Modified: 2024-12-02 03:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-db/postgis-3.0.2 (postgis-3.0.2.ebuild,3.18 KB, text/plain)
2020-10-19 19:19 UTC, Arc Riley
Details
postgis-3.5.0 ebuild patch to add sfcgal (postgis-3.5.0-add-sfcgal-use-and-dependency.patch,566 bytes, patch)
2024-12-02 03:00 UTC, Glenn Brauen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arc Riley 2020-10-19 19:19:44 UTC
Created attachment 667196 [details]
dev-db/postgis-3.0.2

I made a trivial update to dev-db/postgis-3.0.2 to support the sfcgal USE flag. I did not bump the revision because sfcgal is a new USE flag, any postgis user should see no change in their package unless this flag is turned on.

When this flag is enabled sci-mathematics/sfcgal (ticket 750242) and thus the updated sci-mathematics/cgal (ticket 750233) will be added as dependencies, and postgis will then build with the optional postgis_sfcgal extension.

No existing databases will be updated unless this extension is first enabled, however this extension is required by many GIS tools - especially those which render maps in 3d.
Comment 1 Lagu 2022-11-28 15:26:15 UTC
Yes, plis! add this extension!
Comment 2 Glenn Brauen 2024-12-02 03:00:30 UTC
Created attachment 913015 [details, diff]
postgis-3.5.0 ebuild patch to add sfcgal

Patch updated for postgis-3.5.0.ebuild, based on earlier postgis 3.0.2 ebuild. Tested along with updated sfcgal-1.5.2.ebuild posted at https://bugs.gentoo.org/750242. 

Postgis 3.5.0 compiles and runs with these additions.

# SELECT postgis_full_version();
--------------------------------
 POSTGIS="3.5.0 POSTGIS_REVISION" [EXTENSION] PGSQL="160" GEOS="3.12.1-CAPI-1.18.1" SFCGAL="SFCGAL 1.5.2, CGAL 5.6, BOOST 1.84.0" PROJ="9.4.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/var/lib/postgresql/.local/share/proj DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 9.12.1) LIBXML="2.12.8" LIBJSON="0.18" LIBPROTOBUF="1.5.0" WAGYU="0.5.0 (Internal)" (core procs from "3.5.0 d2c3ca4" need upgrade) (sfcgal procs from "3.5.0 d2c3ca4" need upgrade)
(1 row)