summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/mapserver/Manifest1
-rw-r--r--sci-geosciences/mapserver/mapserver-8.2.2.ebuild223
-rw-r--r--sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild2
-rw-r--r--sci-geosciences/qgis/qgis-3.38.3.ebuild4
-rw-r--r--sci-geosciences/qgis/qgis-9999.ebuild4
-rw-r--r--sci-geosciences/qmapshack/qmapshack-1.17.1.ebuild2
-rw-r--r--sci-geosciences/qmapshack/qmapshack-1.17.1_p601.ebuild2
7 files changed, 231 insertions, 7 deletions
diff --git a/sci-geosciences/mapserver/Manifest b/sci-geosciences/mapserver/Manifest
index ec2e4a7fe117..b64deed3b962 100644
--- a/sci-geosciences/mapserver/Manifest
+++ b/sci-geosciences/mapserver/Manifest
@@ -1 +1,2 @@
DIST mapserver-8.0.2.tar.gz 2957172 BLAKE2B fe9587afb9b805858478faa3a0a558283db6a29e0b131a605c9e2a2f20f8b8addaa8f2170997468db83164add5887bb521219a868404e88e47e907253c17c9cc SHA512 fbd0a77ba67429bd42a3450335b7a600f21e5565f620c6a1a195a0a4fb37e4091dbddc531d623765008d780ab6094da5bd3f29d3e0ec44465c6ac155ada71752
+DIST mapserver-8.2.2.tar.gz 2966634 BLAKE2B d7de9089e7159bc2c4fc54bc7e87992b7287ca56db5c6c38b700d70acef10f36b213370ab1081e14d3b03f2f86e5df8062b64f1f3a2735c2a3f87d20cdc5956d SHA512 e91454c4f71931d6a6f8540191441cef0b7b9f5ad1d4ccf65ee504b1d84272cfe19900141846300f6bcaace2a70b919f1fd5b2a80158c38dfaef413b1ce01a22
diff --git a/sci-geosciences/mapserver/mapserver-8.2.2.ebuild b/sci-geosciences/mapserver/mapserver-8.2.2.ebuild
new file mode 100644
index 000000000000..bcfb04e9da81
--- /dev/null
+++ b/sci-geosciences/mapserver/mapserver-8.2.2.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+JAVA_PKG_WANT_SOURCE="11"
+JAVA_PKG_WANT_TARGET="11"
+
+WEBAPP_MANUAL_SLOT=yes
+WEBAPP_OPTIONAL=yes
+
+inherit cmake depend.apache java-pkg-opt-2 perl-functions python-r1 webapp
+
+DESCRIPTION="Development environment for building spatially enabled webapps"
+HOMEPAGE="https://mapserver.org/"
+SRC_URI="https://download.osgeo.org/mapserver/${P}.tar.gz"
+
+LICENSE="Boost-1.0 BSD BSD-2 ISC MIT tcltk"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# NOTE: opengl removed for now as no support for it in upstream CMake
+IUSE="apache bidi cairo geos java mysql oracle perl postgis python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/expat-2.2.8
+ dev-libs/libxml2:2=
+ dev-libs/libxslt[crypt]
+ >=dev-libs/protobuf-c-1.3.2:=
+ >=media-libs/freetype-2.9.1-r3
+ >=media-libs/gd-2.0.12:=[truetype,jpeg,png,zlib]
+ >=media-libs/giflib-5.2.1:=
+ media-libs/libjpeg-turbo
+ >=media-libs/libpng-1.6.37:=
+ >=net-misc/curl-7.69.1
+ >=sci-libs/gdal-3.0.4:=[oracle?]
+ >=sci-libs/proj-6.2.1:=
+ virtual/libiconv
+ >=x11-libs/agg-2.5-r3
+ apache? (
+ app-admin/webapp-config
+ dev-libs/fcgi
+ )
+ bidi? (
+ dev-libs/fribidi
+ media-libs/harfbuzz:=
+ )
+ cairo? ( x11-libs/cairo )
+ geos? ( sci-libs/geos )
+ mysql? ( dev-db/mysql-connector-c:= )
+ oracle? ( dev-db/oracle-instantclient:= )
+ perl? ( dev-lang/perl:= )
+ postgis? (
+ dev-db/postgis
+ dev-db/postgresql:=
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ java? (
+ virtual/jdk
+ >=dev-lang/swig-4.0
+ )
+ perl? ( >=dev-lang/swig-4.0 )
+ python? (
+ >=dev-lang/swig-4.0
+ >=dev-python/setuptools-44.1.0
+ )
+"
+
+want_apache2 apache
+
+pkg_setup() {
+ use apache && webapp_pkg_setup
+ use perl && perl_set_version
+
+ if use java ; then
+ QA_SONAME="usr/$(get_libdir)/libjavamapscript.so"
+ fi
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ use python && python_copy_sources
+}
+
+_generate_cmake_args() {
+ # Provides a simple, bare config for bindings to build upon
+ # Need WITH_WMS=ON or build fails
+ local args=(
+ "-DCMAKE_SKIP_RPATH=ON"
+ "-DINSTALL_LIB_DIR=/usr/$(get_libdir)"
+ "-DCMAKE_INSTALL_SYSCONFDIR=/usr/share/${PN}"
+ "-DWITH_CAIRO=OFF"
+ "-DWITH_FCGI=OFF"
+ "-DWITH_FRIBIDI=OFF"
+ "-DWITH_GEOS=OFF"
+ "-DWITH_GIF=OFF"
+ "-DWITH_HARFBUZZ=OFF"
+ "-DWITH_ICONV=OFF"
+ "-DWITH_PROTOBUFC=OFF"
+ "-DWITH_POSTGIS=OFF"
+ "-DWITH_WMS=ON"
+ "-DWITH_WCS=OFF"
+ "-DWITH_WFS=OFF"
+ "-DWITH_OGCAPI=OFF"
+ )
+
+ echo "${args[@]}"
+}
+
+src_configure() {
+ if use java; then
+ export JAVA_HOME="$(java-config -g JAVA_HOME)"
+ fi
+
+ # NOTE: We could make this based on _generate_cmake_args, but
+ # then we wouldn't be as-explicit about what is enabled/not,
+ # and reliant on defaults not changing.
+ # Readability and maintainability is better this way.
+ local mycmakeargs=(
+ "-DBUILD_TESTING=$(usex test)"
+ "-DBUILD_FUZZER_REPRODUCER=OFF"
+ "-DCMAKE_SKIP_RPATH=ON"
+ "-DINSTALL_LIB_DIR=/usr/$(get_libdir)"
+ "-DCMAKE_INSTALL_SYSCONFDIR=/usr/share/${PN}"
+ "-DWITH_CLIENT_WMS=ON"
+ "-DWITH_CLIENT_WFS=ON"
+ "-DWITH_CURL=ON"
+ "-DWITH_GIF=ON"
+ "-DWITH_ICONV=ON"
+ "-DWITH_KML=ON"
+ "-DWITH_LIBXML2=ON"
+ "-DWITH_PHPNG=OFF"
+ "-DWITH_PROTOBUFC=ON"
+ "-DWITH_SOS=ON"
+ "-DWITH_WMS=ON"
+ "-DWITH_WFS=ON"
+ "-DWITH_WCS=ON"
+ "-DWITH_XMLMAPFILE=ON"
+ "-DWITH_APACHE_MODULE=$(usex apache ON OFF)"
+ "-DWITH_CAIRO=$(usex cairo ON OFF)"
+ "-DWITH_FCGI=$(usex apache ON OFF)"
+ "-DWITH_GEOS=$(usex geos ON OFF)"
+ "-DWITH_JAVA=$(usex java ON OFF)"
+ "-DWITH_ORACLESPATIAL=$(usex oracle ON OFF)"
+ "-DWITH_MYSQL=$(usex mysql ON OFF)"
+ "-DWITH_FRIBIDI=$(usex bidi ON OFF)"
+ "-DWITH_HARFBUZZ=$(usex bidi ON OFF)"
+ "-DWITH_POSTGIS=$(usex postgis ON OFF)"
+ "-DWITH_PERL=$(usex perl ON OFF)"
+ )
+
+ use perl && mycmakeargs+=( "-DCUSTOM_PERL_SITE_ARCH_DIR=$(perl_get_raw_vendorlib)" )
+
+ # Configure the standard build first
+ cmake_src_configure
+
+ # Minimal build for bindings
+ # Note that we use _generate_cmake_args to get a clean config each time, then add
+ # in options as appropriate. Otherwise we'd get contamination between bindings.
+ if use python ; then
+ mycmakeargs=(
+ $(_generate_cmake_args)
+ "-DWITH_PYTHON=ON"
+ )
+
+ python_foreach_impl cmake_src_configure
+ python_foreach_impl python_optimize
+ fi
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use python ; then
+ python_foreach_impl cmake_src_compile
+ fi
+}
+
+src_test() {
+ local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}"
+
+ cmake_src_test
+}
+
+src_install() {
+ # Needs to be first
+ use apache && webapp_src_preinst
+
+ if use python ; then
+ python_foreach_impl cmake_src_install
+ python_foreach_impl python_optimize
+ remove_egg_info() { rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die; }
+ python_foreach_impl remove_egg_info
+ fi
+
+ # Install this last because this build is the most "fully-featured"
+ cmake_src_install
+
+ if use apache ; then
+ # We need a mapserver symlink available in cgi-bin
+ dosym ../../../../../../../usr/bin/mapserv /usr/share/webapps/${PN}/${PV}/hostroot/cgi-bin/mapserv
+ webapp_src_install
+ fi
+
+ if use java ; then
+ java-pkg_dojar "${BUILD_DIR}"/mapscript/java/mapscript.jar
+ fi
+}
+
+pkg_postinst() {
+ use apache && webapp_pkg_postinst
+}
+
+pkg_prerm() {
+ use apache && webapp_pkg_prerm
+}
diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild
index 67bfea565657..70f9dbfd4856 100644
--- a/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild
+++ b/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE=""
REQUIRED_USE="${LUA_REQUIRED_USE}"
diff --git a/sci-geosciences/qgis/qgis-3.38.3.ebuild b/sci-geosciences/qgis/qgis-3.38.3.ebuild
index bc460c790b5e..f882c81156e0 100644
--- a/sci-geosciences/qgis/qgis-3.38.3.ebuild
+++ b/sci-geosciences/qgis/qgis-3.38.3.ebuild
@@ -88,7 +88,7 @@ COMMON_DEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/sip:=[${PYTHON_USEDEP}]
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- dev-python/PyQt6[designer,gui,multimedia,network,positioning,printsupport,serialport,sql,svg,widgets,${PYTHON_USEDEP}]
+ dev-python/pyqt6[designer,gui,multimedia,network,positioning,printsupport,serialport,sql,svg,widgets,${PYTHON_USEDEP}]
>=dev-python/qscintilla-2.10.1[qt6]
')
)
@@ -114,7 +114,7 @@ BDEPEND="${PYTHON_DEPS}
test? (
python? (
$(python_gen_cond_dep '
- dev-python/PyQt6[${PYTHON_USEDEP},testlib]
+ dev-python/pyqt6[${PYTHON_USEDEP},testlib]
dev-python/nose2[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
')
diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild
index 46fc70e8479c..e3db08636738 100644
--- a/sci-geosciences/qgis/qgis-9999.ebuild
+++ b/sci-geosciences/qgis/qgis-9999.ebuild
@@ -88,7 +88,7 @@ COMMON_DEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/sip:=[${PYTHON_USEDEP}]
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- dev-python/PyQt6[designer,gui,multimedia,network,positioning,printsupport,serialport,sql,svg,widgets,${PYTHON_USEDEP}]
+ dev-python/pyqt6[designer,gui,multimedia,network,positioning,printsupport,serialport,sql,svg,widgets,${PYTHON_USEDEP}]
>=dev-python/qscintilla-2.10.1[qt6]
')
)
@@ -114,7 +114,7 @@ BDEPEND="${PYTHON_DEPS}
test? (
python? (
$(python_gen_cond_dep '
- dev-python/PyQt6[${PYTHON_USEDEP},testlib]
+ dev-python/pyqt6[${PYTHON_USEDEP},testlib]
dev-python/nose2[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
')
diff --git a/sci-geosciences/qmapshack/qmapshack-1.17.1.ebuild b/sci-geosciences/qmapshack/qmapshack-1.17.1.ebuild
index 6df2a19e36ff..e1064ed971fb 100644
--- a/sci-geosciences/qmapshack/qmapshack-1.17.1.ebuild
+++ b/sci-geosciences/qmapshack/qmapshack-1.17.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Maproom/${PN}/archive/V_${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64"
RDEPEND="
dev-libs/quazip:0=[qt5(+)]
diff --git a/sci-geosciences/qmapshack/qmapshack-1.17.1_p601.ebuild b/sci-geosciences/qmapshack/qmapshack-1.17.1_p601.ebuild
index d8473b11f33a..656f6b3977ce 100644
--- a/sci-geosciences/qmapshack/qmapshack-1.17.1_p601.ebuild
+++ b/sci-geosciences/qmapshack/qmapshack-1.17.1_p601.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/Maproom/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.g
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
IUSE="dbus"
RDEPEND="