From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 775741581FB for ; Fri, 30 Aug 2024 14:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C191EE29EC; Fri, 30 Aug 2024 14:41:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38DB0E29EC for ; Fri, 30 Aug 2024 14:41:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EACC34302E for ; Fri, 30 Aug 2024 14:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3E301844 for ; Fri, 30 Aug 2024 14:41:16 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1725028857.fada1aef0fd153c80a808d3137c0ae3695de0fd1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/mapserver/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/mapserver/Manifest sci-geosciences/mapserver/mapserver-8.0.1.ebuild X-VCS-Directories: sci-geosciences/mapserver/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fada1aef0fd153c80a808d3137c0ae3695de0fd1 X-VCS-Branch: master Date: Fri, 30 Aug 2024 14:41:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3709dd54-f582-4f8e-a872-a976bebd4187 X-Archives-Hash: 8a0b554d8c029e8afd8623f25d9d77aa commit: fada1aef0fd153c80a808d3137c0ae3695de0fd1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Aug 30 13:32:09 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Aug 30 14:40:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fada1aef sci-geosciences/mapserver: drop 8.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-geosciences/mapserver/Manifest | 1 - sci-geosciences/mapserver/mapserver-8.0.1.ebuild | 204 ----------------------- 2 files changed, 205 deletions(-) diff --git a/sci-geosciences/mapserver/Manifest b/sci-geosciences/mapserver/Manifest index 7ac053ae9167..ec2e4a7fe117 100644 --- a/sci-geosciences/mapserver/Manifest +++ b/sci-geosciences/mapserver/Manifest @@ -1,2 +1 @@ -DIST mapserver-8.0.1.tar.gz 2950164 BLAKE2B 5b14006d513aa4422dfe33b1991a685936084c1fda8c736fb97e25d54f1d1bf30278b6f0ce3c8a1907eeecd7bd1554076065d3824e2055265dfcbc0de2b899e1 SHA512 dae14a7eb6b09f5461c19bff83ca8ed6c21ae84d451b2c854794efb25b144b7edbf2a33479dc53e78aa646e5196e81219b4a1f393ff824db4508204a2d0301d1 DIST mapserver-8.0.2.tar.gz 2957172 BLAKE2B fe9587afb9b805858478faa3a0a558283db6a29e0b131a605c9e2a2f20f8b8addaa8f2170997468db83164add5887bb521219a868404e88e47e907253c17c9cc SHA512 fbd0a77ba67429bd42a3450335b7a600f21e5565f620c6a1a195a0a4fb37e4091dbddc531d623765008d780ab6094da5bd3f29d3e0ec44465c6ac155ada71752 diff --git a/sci-geosciences/mapserver/mapserver-8.0.1.ebuild b/sci-geosciences/mapserver/mapserver-8.0.1.ebuild deleted file mode 100644 index 060fae52b9e2..000000000000 --- a/sci-geosciences/mapserver/mapserver-8.0.1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..11} ) - -WEBAPP_MANUAL_SLOT=yes -WEBAPP_OPTIONAL=yes - -inherit cmake depend.apache 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" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -# NOTE: opengl removed for now as no support for it in upstream CMake -IUSE="apache bidi cairo geos mysql oracle perl postgis python" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# Tests: -# Included tests (tests/*) are seriously outdated -# Upstream's main test suite (msautotest/*) is not in the release tarball, -# and upstream sets 'export-ignore' for that directory. -# -# The eclasses used normally try to run test suites themselves, -# or skip if nothing was found. -# However, because of the python-r1 eclass usage, this fails and would -# cause errors running non-existent tests, so we have to restrict here. -RESTRICT="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 - 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 -} - -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)" - "-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() { - # 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=( - "-DCMAKE_SKIP_RPATH=ON" - "-DINSTALL_LIB_DIR=/usr/$(get_libdir)" - "-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_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_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 - 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 -} - -pkg_postinst() { - use apache && webapp_pkg_postinst -} - -pkg_prerm() { - use apache && webapp_pkg_prerm -}