159.1. proj-9.9.0
Cartographic projection and coordinate transformation library
9.9.0-1 · MIT · 3.1 SBU · 17.6 MiB, 67 files · 41_system, 342 of 1047 · ports/core/gis/proj
Homepage: https://proj.org/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/gis.txt:
The high-accuracy datum grids are a CDN download and that path is dead here, so transformations fall back to the coarse analytic method: metres, not kilometres, and
projinfosays which pipeline it chose.
Depends on: cmake, ninja, sqlite, libtiff, nlohmann-json.
Required by (8): gdal, libgeotiff, libspatialite, pdal, qgis, qmapshack, vtk, xastir.
Sources: proj-9.9.0.tar.gz (5.8 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
-DENABLE_CURL=OFF, line 16: curl
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install proj'
build.sh:
mkdir -p build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_CURL=OFF -DENABLE_TIFF=ON -DBUILD_PROJSYNC=OFF \
-DNLOHMANN_JSON_ORIGIN=external \
-DBUILD_TESTING=OFF -DBUILD_APPS=ON
ninja
DESTDIR=$PKG ninja install
rm -f "$PKG/usr/share/man/man1/projsync.1"
Programs: cct, cs2cs, geod, gie, invgeod, invproj, proj, projinfo.
Libraries: libproj.so.
Directories: /usr/include/proj, /usr/lib/cmake/proj, /usr/lib/cmake/proj4, /usr/share/doc/proj, /usr/share/licenses/proj, /usr/share/proj.