diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 42125 -> 42138 bytes | |||
-rw-r--r-- | sci-libs/gdal/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/gdal/gdal-3.3.1.ebuild | 312 | ||||
-rw-r--r-- | sci-libs/libgeotiff/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libgeotiff/libgeotiff-1.7.0.ebuild | 60 | ||||
-rw-r--r-- | sci-libs/libqalculate/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libqalculate/libqalculate-3.18.0.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/opencascade/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/opencascade/files/opencascade-7.5.env.in | 40 | ||||
-rw-r--r-- | sci-libs/opencascade/opencascade-7.5.2.ebuild | 171 | ||||
-rw-r--r-- | sci-libs/proj/Manifest | 7 | ||||
-rw-r--r-- | sci-libs/proj/files/proj-8.1.0-test_factory-include.patch | 29 | ||||
-rw-r--r-- | sci-libs/proj/proj-7.2.1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/proj/proj-8.0.1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/proj/proj-8.1.0-r1.ebuild | 72 | ||||
-rw-r--r-- | sci-libs/rtree/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/rtree/rtree-0.9.4-r1.ebuild | 32 | ||||
-rw-r--r-- | sci-libs/vtk/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/vtk/vtk-8.2.0-r4.ebuild | 16 | ||||
-rw-r--r-- | sci-libs/vtk/vtk-9.0.1.ebuild | 2 |
20 files changed, 691 insertions, 72 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex e1b1ebbb6114..6a45d6450d2b 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest index d25436400717..20f7bb9c43ad 100644 --- a/sci-libs/gdal/Manifest +++ b/sci-libs/gdal/Manifest @@ -7,8 +7,10 @@ DIST gdal-3.2.1.tar.gz 18953600 BLAKE2B b47994849bcf6bc2b2f53daabb85ef99cdc9ce2a DIST gdal-3.2.2.tar.gz 18959415 BLAKE2B 001347ee12c72fe4d9cfa27adb427624f80e5b16eeca01510166e3d74c36eb00da72c27d8582ccda124151143561c29b8e59dc3dd800c474b77991417b33acd1 SHA512 d7ff8773d3f1cb894fce89f56a3d4355769f1113eefb1367a3a543ced750e2c42618a4a1deef3a338ddd4d33b7332ae962b2d793f8c0b97e31ed4b84cb2df2d5 DIST gdal-3.2.3.tar.gz 18970990 BLAKE2B 9f2ac15b7e9d2df0393d15734030ec4777579aa01fcf2700958228b24fd50d574f3bd438c03e767549614a699c362b31f38cbb0f32ceb8056c9b55fab11ecfec SHA512 985a058a53f676f7d49a96d1a48d4f93c5da8548012bf81345afde03d8044022b210484290bca70c3d7a1ef3b0087d9e17c636b5badd1e0816c1f59b1bf21ee8 DIST gdal-3.3.0.tar.gz 19572446 BLAKE2B afc7ce3c2191fb7607fdf3a01e7ed3e83c601fa063019015f666e0c550e4e42129b8782568f20f97422308f95b4e5c3dbd2311d562b7ec0830635e47e7c931b4 SHA512 39505c07aaf4dac587a189a979462101a7acba41e8732031540ebad02e089820658943ebb48c20f4ea56548363033b2db2f03f41c8a91ff5c5997a19b5eb999e +DIST gdal-3.3.1.tar.gz 19582883 BLAKE2B 328ba9f3c6a2ecca8583648e5f22469d3fbabf8d8676262a15c6debe718be8329ad3899cbe5397dff2896bc9c2500b60834c6a44cd0f5b670828d86838611f0d SHA512 0eb89502f1cebd5dd899fb8f20571952462c45aba6cee1d62ccc820b2fed5202f6c7e7096bd4ca6c0cfcc2de623f00295097a7e33da6ffa5624dcb8a7a0dc682 EBUILD gdal-3.2.1-r1.ebuild 7498 BLAKE2B 9b79a2d74a5bfec4c52c655ab1dc1778add39a315855b6507f3d11ae43056c5530735cc56dc23b65f24fd591291f446f56ad78932691356637832194013b8204 SHA512 aa7ec568bd7c061cfc0e37030912b5ac2e4121ecb331953f03bd58c135d10dcc7bf24ecaa0a77c4597a1813e1feb0ed589657eab22363d04ca15bd0009921612 EBUILD gdal-3.2.2.ebuild 7723 BLAKE2B 1223e7a57447dc0e948abe14863417b3dc4fbd3154b8e6b34e1eb9fa1a0adc3f2e5cd26e60f0333a19a456907f270baeab5b5c971d47b3be63626c55fa1122dd SHA512 502b3419bd6b3046733036cbe23d5b6aa277c32539c2a8819cb6b6b8a907cffa91eff81cdb75dfe7dfb5465871be4b49db8c7e631520689677c351933bf2b606 EBUILD gdal-3.2.3.ebuild 7728 BLAKE2B 781ae5b6c49720232778e17c4f8e814961d4d14d3694cef31f19ab2d2b775fe376459aadc5e2dbb0bafda3ab31e99d667ee2805401ca28af03cdc610c477ad59 SHA512 d615affabf2762783d899264863297b5bae4e10956bdbb297f4aa0102298babbae0ab9400c0cecae1fd017f36787ce29b70d357e8ee3d6b471216291fb60a904 EBUILD gdal-3.3.0.ebuild 7695 BLAKE2B 5e8638c7baa7d50e7e87d9a845712171151bfd1d2a5a1cc4bb3e004f7ab58a50916ed4d88db363dff71058317ed81d14b552de685e091e7b198e645126190b33 SHA512 618f06c7f1ef77c55f0309d55ed7f93ce77daf36faccf4f6ab19559c4e2536c3d21ad31b063358efe8aa3ba4079e7dbccbb26adbe6f7908f6ba0d33e8588cb09 +EBUILD gdal-3.3.1.ebuild 7639 BLAKE2B c08a6fb337c3a2a7fc9afe811926e076176f56a50fa7bf85c6b47a4237f10be8f3d7b4fca0d2a573313631c48e187836bc825a37bd2644322e921236e9f470f1 SHA512 b04d60c83377e2bd0bbfd51367b424377608f10f2716d9c5a465939f613d1d9936f6dddfab2760a8ea175032b1e76b89dbfbc67418ec8e71282f15dc97c07105 MISC metadata.xml 1495 BLAKE2B 3d9f0cc3e5169eab7ff2c59b61d9fa5b4f8edf683f6e1447c40b1b0e8d81834e2d9fc13c68979c51a710f5aca5c9cd9a1f45a13c4e4ad0ded7a0fcdc1751d54b SHA512 cd0820bd5df06ccfb6315ab4586e49f72396115d08f318038dc3af2380a1896128ccf0ba46de0cc370546f7313907844907d6d75cc705a74bf4c78d0121afc3d diff --git a/sci-libs/gdal/gdal-3.3.1.ebuild b/sci-libs/gdal/gdal-3.3.1.ebuild new file mode 100644 index 000000000000..a81cf8d3765a --- /dev/null +++ b/sci-libs/gdal/gdal-3.3.1.ebuild @@ -0,0 +1,312 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GENTOO_DEPEND_ON_PERL="no" +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_OPTIONAL=1 +inherit autotools bash-completion-r1 distutils-r1 flag-o-matic java-pkg-opt-2 perl-module toolchain-funcs + +DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)" +HOMEPAGE="https://gdal.org/" +SRC_URI="https://download.osgeo.org/${PN}/${PV}/${P}.tar.gz" + +SLOT="0/3.3" +LICENSE="BSD Info-ZIP MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="armadillo +aux-xml curl cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_ssse3 debug doc fits geos gif gml hdf5 java jpeg jpeg2k lzma mdb mysql netcdf odbc ogdi opencl oracle pdf perl png postgres python spatialite sqlite threads webp xls zstd" + +REQUIRED_USE=" + mdb? ( java ) + python? ( ${PYTHON_REQUIRED_USE} ) + spatialite? ( sqlite ) +" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + java? ( + dev-java/ant-core + dev-lang/swig:0 + >=virtual/jdk-1.8:* + ) + perl? ( dev-lang/swig:0 ) + python? ( + dev-lang/swig:0 + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" +DEPEND=" + dev-libs/expat + dev-libs/json-c:= + dev-libs/libpcre + dev-libs/libxml2:2 + dev-libs/openssl:= + media-libs/tiff + >=sci-libs/libgeotiff-1.5.1-r1:= + >=sci-libs/proj-6.0.0:= + sys-libs/zlib[minizip(+)] + armadillo? ( sci-libs/armadillo:=[lapack] ) + curl? ( net-misc/curl ) + fits? ( sci-libs/cfitsio:= ) + geos? ( >=sci-libs/geos-3.8.0 ) + gif? ( media-libs/giflib:= ) + gml? ( >=dev-libs/xerces-c-3.1 ) + hdf5? ( >=sci-libs/hdf5-1.6.4:=[szip] ) + jpeg? ( virtual/jpeg:0= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lzma? ( || ( + app-arch/xz-utils + app-arch/lzma + ) ) + mdb? ( dev-java/jackcess:1 ) + mysql? ( virtual/mysql ) + netcdf? ( sci-libs/netcdf:= ) + odbc? ( dev-db/unixODBC ) + ogdi? ( sci-libs/ogdi ) + opencl? ( virtual/opencl ) + oracle? ( dev-db/oracle-instantclient:= ) + pdf? ( app-text/poppler:= ) + perl? ( dev-lang/perl:= ) + png? ( media-libs/libpng:0= ) + postgres? ( >=dev-db/postgresql-8.4:= ) + python? ( + ${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + ) + spatialite? ( dev-db/spatialite ) + sqlite? ( dev-db/sqlite:3 ) + webp? ( media-libs/libwebp:= ) + xls? ( dev-libs/freexl ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND} + java? ( >=virtual/jre-1.8:* ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.3-soname.patch" + "${FILESDIR}/${PN}-2.3.0-curl.patch" # bug 659840 + "${FILESDIR}/${PN}-3.3.0-libdir.patch" +) + +src_prepare() { + default + + # Drop a --prefix hack in the upstream build system + # We don't want the line at all, so let's just drop it rather than + # trying to put in the right libdir value. + # bug #696106 + sed -e '/\$ADD_PREFIX\/lib/d' \ + -i configure.ac || die + + sed -e "s: /usr/: \"${EPREFIX}\"/usr/:g" \ + -i configure.ac || die + + sed -e 's:^ar:$(AR):g' \ + -i ogr/ogrsf_frmts/sdts/install-libs.sh || die + + # SWIG: Use of the include path to find the input file is deprecated and will not work with ccache. + sed -e "s: gdal_array.i: ../include/gdal_array.i:" \ + -i swig/python/GNUmakefile || die "sed python makefile failed" + + # autoconf 2.70+ + # bug #775209 + config_rpath_update . + + eautoreconf +} + +src_configure() { + local myconf=( + # charls - not packaged in Gentoo ebuild repository + # kakadu, mrsid jp2mrsid - another jpeg2k stuff, ignore + # bsb - legal issues + # ingres - same story as oracle oci + # jasper - disabled because unmaintained and vulnerable; openjpeg will be used as JPEG-2000 provider instead + # podofo - we use poppler instead they are exclusive for each other + # tiff is a hard dep + --includedir="${EPREFIX}"/usr/include/${PN} + --disable-lto + --disable-static + --disable-driver-bsb + --disable-driver-mrf + --disable-pdf-plugin + --enable-shared + --enable-driver-grib + --with-bash-completion="$(get_bashcompdir)" + --with-cpp14 + --with-crypto + --with-cryptopp=no + --with-expat + --with-geotiff + --with-gnm + --with-hide-internal-symbols + --with-libjson-c="${EPREFIX}"/usr + --with-libtiff + --with-libtool + --with-libz="${EPREFIX}"/usr + --without-charls + --without-dods-root + --without-ecw + --without-fgdb + --without-fme + --without-gta + --without-grass + --without-hdf4 + --without-idb + --without-ingres + --without-jasper + --without-jp2lura + --without-jp2mrsid + --without-kakadu + --without-kea + --without-libkml + --without-mongocxx + --without-mrsid + --without-mrsid_lidar + --without-msg + --without-rasdaman + --without-rasterlite2 + --without-pcraster + --without-pdfium + --without-perl + --without-podofo + --without-python + --without-qhull + --without-sfcgal + --without-sosi + --without-teigha + $(use_enable debug) + $(use_with armadillo) + $(use_with aux-xml pam) + $(use_with curl) + $(use_with cpu_flags_x86_avx avx) + $(use_with cpu_flags_x86_sse sse) + $(use_with cpu_flags_x86_ssse3 ssse3) + $(use_with fits cfitsio) + $(use_with geos) + $(use_with gif) + $(use_with gml xerces) + $(use_with hdf5) + $(use_with jpeg pcidsk) # pcidsk is internal, because there is no such library released developer by gdal + $(use_with jpeg) + $(use_with jpeg2k openjpeg) + $(use_with lzma liblzma) + $(use_with mysql mysql "${EPREFIX}"/usr/bin/mysql_config) + $(use_with netcdf) + $(use_with oracle oci) + $(use_with odbc) + $(use_with ogdi ogdi "${EPREFIX}"/usr) + $(use_with opencl) + $(use_with pdf poppler) + $(use_with png) + $(use_with postgres pg) + $(use_with spatialite) + $(use_with sqlite sqlite3 "${EPREFIX}"/usr) + $(use_with threads) + $(use_with webp) + $(use_with xls freexl) + $(use_with zstd) + ) + + tc-export AR RANLIB + + if use java; then + myconf+=( + --with-java=$(java-config --jdk-home 2>/dev/null) + --with-jvm-lib=dlopen + $(use_with mdb) + ) + else + myconf+=( --without-java --without-mdb ) + fi + + if use sqlite; then + append-libs -lsqlite3 + fi + + # bug #632660 + if use ogdi; then + append-cflags $($(tc-getPKG_CONFIG) --cflags libtirpc) + append-cxxflags $($(tc-getPKG_CONFIG) --cflags libtirpc) + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + # mysql-config puts this in (and boy is it a PITA to get it out) + if use mysql; then + sed -e "s: -rdynamic : :" \ + -i GDALmake.opt || die "sed LIBS failed" + fi +} + +src_compile() { + if use perl; then + rm "${S}"/swig/perl/*_wrap.cpp || die + emake -C "${S}"/swig/perl generate + fi + + # gdal-config needed before generating Python bindings + default + + if use java; then + pushd "${S}"/swig/java > /dev/null || die + emake + popd > /dev/null || die + fi + + if use perl; then + pushd "${S}"/swig/perl > /dev/null || die + perl-module_src_configure + perl-module_src_compile + popd > /dev/null || die + fi + + if use python; then + rm -f "${S}"/swig/python/*_wrap.cpp || die + emake -C "${S}"/swig/python generate + pushd "${S}"/swig/python > /dev/null || die + distutils-r1_src_compile + popd > /dev/null || die + fi + + use doc && emake docs +} + +src_install() { + local DOCS=( NEWS ) + use doc && local HTML_DOCS=( html/. ) + + default + + use java && java-pkg_dojar "${S}"/swig/java/gdal.jar + + if use perl; then + pushd "${S}"/swig/perl > /dev/null || die + myinst=( DESTDIR="${D}" ) + perl-module_src_install + popd > /dev/null || die + perl_delete_localpod + fi + + if use python; then + # Don't clash with gdal's docs + unset DOCS HTML_DOCS + + pushd "${S}"/swig/python > /dev/null || die + distutils-r1_src_install + popd > /dev/null || die + + newdoc swig/python/README.rst README-python.rst + fi + + doman "${S}"/man/man*/* + find "${ED}" -name '*.la' -type f -delete || die +} + +pkg_postinst() { + elog "Check available image and data formats after building with" + elog "gdalinfo and ogrinfo (using the --formats switch)." +} diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest index 5be6ad1f9e6a..49dbb04861a8 100644 --- a/sci-libs/libgeotiff/Manifest +++ b/sci-libs/libgeotiff/Manifest @@ -1,4 +1,6 @@ AUX Doxyfile 9282 BLAKE2B 0dcda644c528df5bd495db1785ce0f3213f0ce0c3551205e9c043a52151b59e82704545d55521f1983ca2b77a93c20dc0e9ddcc6b446a6485e942f301e19e165 SHA512 cc0324c682d5f45f516f0a71311a9b6527c5c4cd6c1a4113503ad9023b72c64ef9c257008cda95d565723183f932f61f79aab73e123e7b7ecf8b7fdb30457fee DIST libgeotiff-1.6.0.tar.gz 537175 BLAKE2B 4b1430c9e80cdd4193f474484b295c151ecb9a654248e08527046f1aa35cfab0be59980edad2cc6ae90c1a7b0e03d46fd203affd5b01c83e0fd4435d5e56b2d3 SHA512 4c59598140d6c435a25aff6520e07a01a0153cac526df3b3e1366d5edc43cd82b15099da79ee8a2fb916e858f5a5d7421cfbf96bb485c91fac9e19c7209b7418 +DIST libgeotiff-1.7.0.tar.gz 541931 BLAKE2B 3c0843f8c86d6bbcedf9d07b45d2d676f1ccfaba7b5e40fa7f8d5f290b39da5cfaebe39567eab9e8add1b99042aad51d5104b81c2c05493d18d022d41e5b106b SHA512 8e294b5db89e88dbd4f7eb9d804be788ff3d14a1a14f721e9805b42cc797500596f0473dd8e5be6c1da01b56bdebc872df2b30470a2d96686f308019de10739a EBUILD libgeotiff-1.6.0.ebuild 1263 BLAKE2B 501a0503040baacee952966b1a627e1cbb10d0ac266bf06ea0d57bf56d099e497d3802d96f5f29dd70432f0fd724a23cf5ea94ce00ab0c66b70279ebe85a9a7d SHA512 19963a11645ad5bc7ae9cc4eef2fd484502a5314fcc560a1dd954f09b7ec87522ef3fa03c1005eab8f46245b390cea8e02f8ba732144b7caa43dca3f52799a87 +EBUILD libgeotiff-1.7.0.ebuild 1268 BLAKE2B 374ebcdedbb6d70e95bad2c7157346906659c127f7c535a3488e322a2929ad7c17d1751fc3bb31dcb060377a17e35ccd95af623718b5592ed3f0195c28969881 SHA512 361ea2972ba1c80b17f0b080a1c7430a073586cd28d0585657b275d70f05644875253d96a4e5ab711b8d50a1c9a6bd8d51b148e7566134354bb82cebbe6c4b69 MISC metadata.xml 275 BLAKE2B 054c49c4cc7e0607212f55ec7e66b38585457f74ce21e0483503814df58d31dee0b784e9b0bd9cdf0c8fca04e7454bd1b515085e5aac2c0d7fd2700df08c9b26 SHA512 5877508750864819a1d129ac2406c0d11721cd0e4e64d55c9bd6a44649991fda435e7752e841cca94b348f74078226f12e90dcdd323915bce3d601e65865c225 diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.0.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.0.ebuild new file mode 100644 index 000000000000..746a584a921c --- /dev/null +++ b/sci-libs/libgeotiff/libgeotiff-1.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" +HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" +SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug doc" + +BDEPEND=" + doc? ( app-doc/doxygen ) + virtual/pkgconfig +" +DEPEND=" + >=media-libs/tiff-3.9.1:0 + >=sci-libs/proj-6.0.0:= + sys-libs/zlib + virtual/jpeg:= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -e "s:-O3::g" -i configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --enable-debug=$(usex debug) \ + --with-jpeg="${EPREFIX}"/usr \ + --with-zip="${EPREFIX}"/usr +} + +src_compile() { + default + + if use doc; then + mkdir -p docs/api || die + cp "${FILESDIR}"/Doxyfile Doxyfile || die + doxygen -u Doxyfile || die "updating doxygen config failed" + doxygen Doxyfile || die "docs generation failed" + fi +} + +src_install() { + use doc && local HTML_DOCS=( docs/api/. ) + + default + + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 4796652f7ddc..5bd9615694ac 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -2,6 +2,6 @@ DIST libqalculate-3.17.0.tar.gz 1770500 BLAKE2B 247c74db32e63437c556dd60f00f56ac DIST libqalculate-3.18.0.tar.gz 1788899 BLAKE2B 7701dab4d11c9d54f95454cd7be530cfa9f5a8dbe438dac6d734c294ce1eb5be1f4fdb30ef6d041d19f389df88dce4fa7dea68d555ad441992498685bfb3b919 SHA512 37d870f6fd147745747ac971758a512e85e33c42605b99ac4ba68b53ca42a6f0da7ede3869fe3ea4e47d77961e826ad999e0f0c0d87039042563f124bea1250e DIST libqalculate-3.19.0.tar.gz 2007385 BLAKE2B bd0b1bbfcd4bad0053ec9193bec1081cce609935b4282add885d7277a20696cc3c69272b8255d9da3e79907ec4c57b4b87c971908fc3da890d46ff4849e65ccc SHA512 19df6e46e88478df4dd7ae592557c8c984f76c137708892b01f88737c2a8d72ca01324fd1b1322069292795cd158483b3fc0cc99c6559279e7a2f76ca4a47a56 EBUILD libqalculate-3.17.0.ebuild 1424 BLAKE2B dff87b194a2a34a0711c7b0b8f50d7e46f57b90869a2706d8aa7991440b56db8c92e54eb6265dfd4edf5086a058d53be87e3c0d1c553e13b9c2d27682efb707a SHA512 dc38abad377639192c9f276a1cf86847463b1ffe5fc35aef15b4d5d6e68f46af6dd6950f8127b1c091ce649dc5dd8fc6010333532ff493344727dd11e726b469 -EBUILD libqalculate-3.18.0.ebuild 1425 BLAKE2B 0f0fda5beade49b1679eeba309e4b5f4a5a654f4fcbf1840ba0c83017e872bcaaf493f1abfeb0e61fe7a9811071078737c0cdc1ecb3aa8b9d70df74bb04de112 SHA512 827d75e23f474d9570987cb78a631c2df78a71bb178220de58d35dcdf7da386d6a287ee666395078733e8580f5eb91ef4c48d74fcbb4e18bf6f8ed587fa12093 +EBUILD libqalculate-3.18.0.ebuild 1424 BLAKE2B dff87b194a2a34a0711c7b0b8f50d7e46f57b90869a2706d8aa7991440b56db8c92e54eb6265dfd4edf5086a058d53be87e3c0d1c553e13b9c2d27682efb707a SHA512 dc38abad377639192c9f276a1cf86847463b1ffe5fc35aef15b4d5d6e68f46af6dd6950f8127b1c091ce649dc5dd8fc6010333532ff493344727dd11e726b469 EBUILD libqalculate-3.19.0.ebuild 1609 BLAKE2B 0b94f2b0efce772c01aa861c72e8499d6e32dca53bdd3ee338cd147edd988f4764733786a76052a86c6b749c10b6961d9fb2b0dca9369e5123a07ba0e6ebd7a2 SHA512 098a1bae358bdabb33207fca12efb737f6510fd4c478c577504e10c87e7298ab3ea2c1ab1c5308a6cb5c363b9cc96f7c2797c2c048a08b12370580decd25bbcf MISC metadata.xml 412 BLAKE2B bec97c9946830a88d871c0a27f06ff42a2ed252971f616f43f4c0cfa9617ea46565153c41c2aabea921b694c6a665a097635fdcf5dd82387dc60445e14657427 SHA512 3e011ceae845d6f233e86f7d39eb4460f561720312d8a0696b87672251cf46138228ae678ab63459280dd36fda3f9f8f302d9259e49acd6606fe2e66126bffb9 diff --git a/sci-libs/libqalculate/libqalculate-3.18.0.ebuild b/sci-libs/libqalculate/libqalculate-3.18.0.ebuild index 293e9185760a..35672fd3c7e3 100644 --- a/sci-libs/libqalculate/libqalculate-3.18.0.ebuild +++ b/sci-libs/libqalculate/libqalculate-3.18.0.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0/21" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" IUSE="curl icu gnuplot readline" DEPEND=" diff --git a/sci-libs/opencascade/Manifest b/sci-libs/opencascade/Manifest index 80186a92bc6f..719319730f76 100644 --- a/sci-libs/opencascade/Manifest +++ b/sci-libs/opencascade/Manifest @@ -11,9 +11,11 @@ AUX opencascade-7.5.1-0004-fix-installation-of-cmake-config-files.patch 2207 BLA AUX opencascade-7.5.1-0005-fix-write-permissions-on-scripts.patch 2453 BLAKE2B 01b0ec99fb9ad032d6a90cceabb50900528abd0528b53e976484bf02f04eac9bc02b063bce5c221ae88782a126103e8077db9e90aa7f64f4f187dad00354d4d2 SHA512 fb3c374fe8aff8d2bac039a0eef754f2e823a97bfd7860bdd7e047c1b357202abfca0e37b46afc32220c7e354b5edb54805fbbbffde015bb4be2d7f4ded4a8da AUX opencascade-7.5.1-0006-fix-creation-of-custom.sh-script.patch 1245 BLAKE2B 1972c41e264a86761f8b3a3a649e67211776d0a4791b7e0f3adc859833e1d62e3a1d964484b2c53a516f5a33680ab2f32ad2010bf3fd531fca36373435307b68 SHA512 a2ffef88cb87acbc8215a7d1d7fe69ee17210392d39a64535d1538b2c08e43f5918c5b5e4a7540e8d636b1ba0df51670013e9d49f205bfc93a1e0d10a04388a7 AUX opencascade-7.5.1-fix-AllValues-name-collision-with-vtk-9.0.patch 5749 BLAKE2B 9176a738ec6b39a1cd5da61f2d72d096b09f6019f63a5b7733c5aa00796529f2cc5e3becdf5c24cfa01e4ff5b9da5ae9cd359372e6974eeaae7bcdf87e8c03c8 SHA512 5f7970e1461652966c34b1adb6e2580cfd7e3e230abbf108193027f67afbd5e78fc7451b50bf632fa3889174626384e4a0044d693e4f49ab9ece84a2ec6bd04a -AUX opencascade-7.5.env.in 4643 BLAKE2B f3492a12e0e0fd31bed8c65e8aa7af68f84a9e752922c62ca2307c96f2d1070fdbc10e09c266114060b0f81951109bc9827853e3eba486d4f9c0eba6984c69e4 SHA512 c10151744b5656e7bafbc291729a5c0e4022e44aa5015e4fff616cb2a34409a67c4ae7433eede2563ab265fa4eb6a455d36ed99469a2579979ff374fc6588adf +AUX opencascade-7.5.env.in 4683 BLAKE2B 4c7c3764e56110c34c9acb9ecb860936049cf03f4ed99d708a8f631b5d3dc7cfa95ca7f8fe8b259986fa637243fe80a6888a2db6a2ad6f80b3b2175a9bb8680f SHA512 773b213e8d7752fc028d951d2a5d5aa610c96ee916499c3655e60f0ec485d393c3bf13a85cae104653242829d8abb9fea451f17bf1b902e1c1fa0bf5b329f08b DIST opencascade-7.4.0.tar.gz 49210449 BLAKE2B c92afe7551e9a066ad0940dcf49278b556a726f0534131706b3a11cb0986ba32818e162df3982283f6815eb9d67d7e91f909485d78f2b8d638da1934ffbc2f7f SHA512 eb0d47848d48f42a159ae5d7a4144483ba1f59f634844bd2053e48e04af30a30ba7056112cd38a1730d193a8d736b898f9608dd574cbe6829dbe7257a002772a DIST opencascade-7.5.1.tar.gz 47807222 BLAKE2B b5ef30ea7c373250db3e0863f3c7fde84256b37957a482f10a462a4c4ed1a21cffbbeb10e9fc140325022d7582efbd292ed6d1016d14cb67ccf5c84d14060d5a SHA512 ebb937254ac165041ef7e1a80df8f9d2ac1d518f01b3d4b0fd6d203fe0d80bd474b85a462cccc1c74a513bd257c0b0ab7002632573f38bf72170363c7e42ed2f +DIST opencascade-7.5.2.tar.gz 47812603 BLAKE2B 86995ea60e24329f91a2cbede26112a70794fb091b34d33614bef412b05b8cc9f1e770aecf78272b54a241c2524422c86f8ff722b3f27b54bf10fa5eda626288 SHA512 f951a941043a56f381cfd25e4d78bb9ae08e5cc29a894e6c0c35daf30aeabf1e44ee09af65bb6b7d62d9325be67741ddcf52266b7186b4c336c70ed8bcfa1676 EBUILD opencascade-7.4.0-r4.ebuild 3957 BLAKE2B 4118554fff8ff80f64ce581dd5f233211d4a77d4366ada96ae646e819ad03adebfa8561ff9c4b9f9fcfed6cc2bad65fe6db0373d434768fcf5cc8a1808fe34e6 SHA512 a7783c641793480726433be75fd5c7260d9f62e32347aa1ee4e68b97adc5e18d829984f05e84e42c120a1c027c0ad15ee73e646c708466e0eeb2a9440b9726ac EBUILD opencascade-7.5.1-r1.ebuild 4852 BLAKE2B b5738e865f13b49d8a1916c9cb04bd6a6208956f53134ad9513c7a2bfa8428738bf6645a4b6d0fc0c9a9928735ce51feb740bc3138090acc08fa24bcde283403 SHA512 94b96dbc86489e1647d0e1dad5398eb81151039ea2b0124a5b2947397a3a21dde936d1a8fedb798800f54b38fc47b272922ffc5089c3983939e57db3bff36684 +EBUILD opencascade-7.5.2.ebuild 4630 BLAKE2B 81587b947cf6bbeb94b1dd0f76dfea82c1df8b385d5b04787c4868b202a6727e53ce3a473d78c71fc623f92d3a61d1f3709f42cd9ba614e16810e3db08600eb8 SHA512 4c1d11556bf65df8e2e2b1dada54547ff60a010e82268c05c31c58388ddd7b1a861b310029f49537a906ecbdebe70e674d4bc127699573a1bb2f63d9bebe24b1 MISC metadata.xml 1074 BLAKE2B 88bba4427a254f02a0ca70936c0931ceb72a5d752c6664502cd20dbd6cc294080222d9ef143334c147b77667a342f7912384b8af92a1b90868d243294f72215f SHA512 b42f338af31848be031702bbee6cfe105db4c6ffa5970e7229b5a63841097af1b60eb886f4513ec86f0b27fd0c7ad090b635061c737714ae43b7b45db02172f9 diff --git a/sci-libs/opencascade/files/opencascade-7.5.env.in b/sci-libs/opencascade/files/opencascade-7.5.env.in index 50766cbb6bb1..d7148c241f11 100644 --- a/sci-libs/opencascade/files/opencascade-7.5.env.in +++ b/sci-libs/opencascade/files/opencascade-7.5.env.in @@ -9,9 +9,9 @@ # were enabled. Those values are marked as such. # define the root directory of Open CASCADE Technology (needed) -CASROOT=VAR_CASROOT -PATH=VAR_CASROOT/lib/opencascade-VAR_PV/bin -LDPATH=VAR_CASROOT/lib/opencascade-VAR_PV +CASROOT="VAR_CASROOT" +PATH="VAR_CASROOT/lib/opencascade-VAR_PV/bin" +LDPATH="VAR_CASROOT/lib/opencascade-VAR_PV" ############################################################################# # The MMGT_* variables are used to determine how memory management will work @@ -70,7 +70,7 @@ LDPATH=VAR_CASROOT/lib/opencascade-VAR_PV # # NOTE: Only enable for debugging purposes. If set, this variable has a # large impact on the performance of boolean operations. -#CSF_DEBUG_BOP=/var/tmp +#CSF_DEBUG_BOP="/var/tmp" # CSF_EXCEPTION_PROMPT (default: 1) optional # not documented upstream (maybe a flag indicating whether the user shall @@ -79,24 +79,24 @@ LDPATH=VAR_CASROOT/lib/opencascade-VAR_PV # The following CSF_* variables define various directories and files where # OCCT is looking for resources. -CSF_GraphicShr=VAR_CASROOT/lib/opencascade-VAR_PV/libTKOpenGl.so -CSF_MIGRATION_TYPES=VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource/MigrationSheet.txt -CSF_MDTVTexturesDirectory=VAR_CASROOT/share/opencascade-VAR_PV/resources/Textures -CSF_PluginDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource -CSF_StandardDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource -CSF_StandardLiteDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource -CSF_XCAFDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource -CSF_XmlOcafResource=VAR_CASROOT/share/opencascade-VAR_PV/resources/XmlOcafResource +CSF_GraphicShr="VAR_CASROOT/lib/opencascade-VAR_PV/libTKOpenGl.so" +CSF_MIGRATION_TYPES="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource/MigrationSheet.txt" +CSF_MDTVTexturesDirectory="VAR_CASROOT/share/opencascade-VAR_PV/resources/Textures" +CSF_PluginDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource" +CSF_StandardDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource" +CSF_StandardLiteDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource" +CSF_XCAFDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource" +CSF_XmlOcafResource="VAR_CASROOT/share/opencascade-VAR_PV/resources/XmlOcafResource" # The below values might be optional. -CSF_IGESDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource -CSF_ShadersDirectory=VAR_CASROOT/share/opencascade-VAR_PV/resources/Shaders -CSF_SHMessage=VAR_CASROOT/share/opencascade-VAR_PV/resources/SHMessage -CSF_STEPDefaults=VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource -CSF_UnitsDefinition=VAR_CASROOT/share/opencascade-VAR_PV/resources/UnitsAPI/Units.dat -CSF_XSMessage=VAR_CASROOT/share/opencascade-VAR_PV/resources/XSMessage +CSF_IGESDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource" +CSF_ShadersDirectory="VAR_CASROOT/share/opencascade-VAR_PV/resources/Shaders" +CSF_SHMessage="VAR_CASROOT/share/opencascade-VAR_PV/resources/SHMessage" +CSF_STEPDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource" +CSF_UnitsDefinition="VAR_CASROOT/share/opencascade-VAR_PV/resources/UnitsAPI/Units.dat" +CSF_XSMessage="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSMessage" # TODO: check those # they were defined in the original ebuild but the directories and files # are not present in the current installation. -#CSF_MDTVFontDirectory=VAR_CASROOT/src/FontMFT -#CSF_UnitsLexicon=VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat +#CSF_MDTVFontDirectory="VAR_CASROOT/src/FontMFT" +#CSF_UnitsLexicon="VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat" diff --git a/sci-libs/opencascade/opencascade-7.5.2.ebuild b/sci-libs/opencascade/opencascade-7.5.2.ebuild new file mode 100644 index 000000000000..59a4a6c42c77 --- /dev/null +++ b/sci-libs/opencascade/opencascade-7.5.2.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic + +MY_PV="$(ver_rs 1- '_')" +PV_MAJ="$(ver_cut 1-2)" + +DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange" +HOMEPAGE="https://www.opencascade.com" +SRC_URI="https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V${MY_PV};sf=tgz -> ${P}.tar.gz" +S="${WORKDIR}/occt-V${MY_PV}" + +LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )" +SLOT="${PV_MAJ}" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug doc examples ffmpeg freeimage gles2 json optimize tbb vtk" + +REQUIRED_USE="?? ( optimize tbb )" + +# There's no easy way to test. Testing needs a rather big environment +# properly set up. +RESTRICT="test" + +RDEPEND=" + app-eselect/eselect-opencascade + dev-lang/tcl:= + dev-lang/tk:= + dev-tcltk/itcl + dev-tcltk/itk + dev-tcltk/tix + media-libs/fontconfig + media-libs/freetype:2 + media-libs/ftgl + virtual/glu + virtual/opengl + x11-libs/libXmu + examples? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + ) + ffmpeg? ( media-video/ffmpeg:= ) + freeimage? ( media-libs/freeimage ) + tbb? ( dev-cpp/tbb ) + vtk? ( sci-libs/vtk:=[rendering] ) +" +DEPEND=" + ${RDEPEND} + dev-cpp/eigen + dev-libs/rapidjson +" +BDEPEND=" + app-eselect/eselect-opencascade + doc? ( app-doc/doxygen ) + examples? ( dev-qt/linguist-tools:5 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-7.5.1-0001-allow-default-search-path-for-Qt5.patch + "${FILESDIR}"/${PN}-7.5.1-0002-remove-unnecessary-Qt5-check.patch + "${FILESDIR}"/${PN}-7.5.1-0003-add-Gentoo-configuration-type.patch + "${FILESDIR}"/${PN}-7.5.1-0004-fix-installation-of-cmake-config-files.patch + "${FILESDIR}"/${PN}-7.5.1-0005-fix-write-permissions-on-scripts.patch + "${FILESDIR}"/${PN}-7.5.1-0006-fix-creation-of-custom.sh-script.patch + "${FILESDIR}"/${PN}-7.5.1-fix-AllValues-name-collision-with-vtk-9.0.patch +) + +src_prepare() { + cmake_src_prepare + + use debug && append-cppflags -DDEBUG + + sed -e 's|/lib\$|/'$(get_libdir)'\$|' \ + -i adm/templates/OpenCASCADEConfig.cmake.in || die + + # There is an OCCT_UPDATE_TARGET_FILE cmake macro that fails due to some + # assumptions it makes about installation paths. Rather than fixing it, just + # get rid of the mechanism altogether - its purpose is to allow a + # side-by-side installation of release and debug libraries. + sed -e 's|\\${OCCT_INSTALL_BIN_LETTER}||' \ + -i adm/cmake/occt_toolkit.cmake || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_DOC_Overview=$(usex doc) + -DBUILD_Inspector=$(usex examples) + -DBUILD_WITH_DEBUG=$(usex debug) + -DINSTALL_DIR_BIN="$(get_libdir)/${P}/bin" + -DINSTALL_DIR_CMAKE="$(get_libdir)/cmake/${P}" + -DINSTALL_DIR_DOC="share/doc/${PF}" + -DINSTALL_DIR_LIB="$(get_libdir)/${P}" + -DINSTALL_DIR_SCRIPT="$(get_libdir)/${P}/bin" + -DINSTALL_DIR_WITH_VERSION=ON + -DINSTALL_SAMPLES=$(usex examples) + -DINSTALL_TEST_CASES=NO + -DUSE_D3D=NO + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_FREEIMAGE=$(usex freeimage) + -DUSE_FREETYPE=ON + -DUSE_GLES2=$(usex gles2) + -DUSE_RAPIDJSON=$(usex json) + -DUSE_TBB=$(usex tbb) + -DUSE_VTK=$(usex vtk) + ) + + use doc && mycmakeargs+=( -DINSTALL_DOC_Overview=ON ) + + if use examples; then + mycmakeargs+=( + -D3RDPARTY_QT_DIR="${ESYSROOT}"/usr + -DBUILD_SAMPLES_QT=ON + ) + fi + + if use vtk; then + if has_version ">=sci-libs/vtk-9.0.0"; then + mycmakeargs+=( + -D3RDPARTY_VTK_DIR="${ESYSROOT}"/usr + -D3RDPARTY_VTK_INCLUDE_DIR="${ESYSROOT}"/usr/include/vtk-9.0 + -D3RDPARTY_VTK_LIBRARY_DIR="${ESYSROOT}"/usr/$(get_libdir) + ) + fi + fi + + cmake_src_configure + + # prepare /etc/env.d file + sed -e "s|lib/|$(get_libdir)/|" \ + -e "s|VAR_PV|${PV}|" \ + -e "s|VAR_CASROOT|${ESYSROOT}/usr|" \ + < "${FILESDIR}"/${PN}-${PV_MAJ}.env.in > "${T}"/${PV_MAJ} || die + + # use TBB for memory allocation optimizations + if use tbb; then + sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=2|' -i "${T}"/${PV_MAJ} || die + fi + + # use internal optimized memory manager and don't clear memory with this + # memory manager. + if use optimize ; then + sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=1|' \ + -e 's|^#MMGT_CLEAR=1$|MMGT_CLEAR=0|' \ + -i "${T}"/${PV_MAJ} || die + fi +} + +src_install() { + cmake_src_install + + # respect slotting + insinto "/etc/env.d/${PN}" + doins "${T}/${PV_MAJ}" + + # remove examples + if use !examples; then + rm -r "${ED}/usr/share/${P}/samples" || die + fi + + docompress -x /usr/share/doc/${PF}/overview/html +} + +pkg_postinst() { + eselect ${PN} set ${PV_MAJ} || die "failed to switch to updated implementation" + einfo "You can switch between available ${PN} implementations using eselect ${PN}" +} diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest index 0467f6be678e..dddcb4fb1f12 100644 --- a/sci-libs/proj/Manifest +++ b/sci-libs/proj/Manifest @@ -1,7 +1,10 @@ +AUX proj-8.1.0-test_factory-include.patch 844 BLAKE2B 612046cbc170c16362ffc4a43f5a3f6ade303e5ce8ce2a45494dc3280fcfee63120f110f30939b0408dfb963e79f1b6f4b6438bdd6d2708cbc6ab7ebd4b2b4d6 SHA512 b7095a0b892e6b31b456f48d640cbd4abd4537676f4ceed1491888a65443a58e3747943e9e8f1889ef6138b52e1273f9896ec71d5f16b84582dd095d1b8d2ef8 DIST proj-7.2.1.tar.gz 5714666 BLAKE2B 9379ef758b1221b9487f162a27e7afa737e668ad7a13fc7adbd8e1e2c1c4699263d5d3105d03781b423f284205de3c79fc68850b9fba6aa05f1dc553b77b0842 SHA512 59b9b31b0183e620a2f4a25a08620c170773fe4f99e8eca59e9ed6815f43bb379ea21ef71e8f759dbd747855b982657d7503bac3acc542218e0d862105f25324 DIST proj-8.0.1.tar.gz 5731452 BLAKE2B d2235f87bead1ec35f62b99e5236d1b6dc1a8f924555d21dec7f5e07b3d341b4b4e797dd5a3843e87d12db392716ec9bb5acae871fa2bb7a78c3404fa9487875 SHA512 cb5550a9fbccfc680bebb3b8c5ad347d53c38cb526edf4dcaa3af0eff57410b4d4d028e246954c4202a1d637e1e6f4e7a6a33e8741e8aa0a58bdfc8a5dbc68c9 +DIST proj-8.1.0.tar.gz 5786723 BLAKE2B 8960ae70beda502442548542173e3f21705c8213ba5b7b3004beca67aa16b7401db4b9778ea4abd910eae3e224b7efc73e0d67b83a3d75aaab0fead51977c9ba SHA512 0c11d43bcdf97fbb3be9238c77cc111ae6df7948dc5076b1a31350c84a60299964ea1a320edfbee0568a2d9d3c7f80eafa6322adfdf99aea5f06172d7ee53a2f DIST proj-datumgrid-1.8.tar.gz 6604329 BLAKE2B 78df259a811a79457d011b4f675f1a72b6613928bb0083d01bfe65bb4c333628725b300efdb7cf10ebc6f26ff03733886c20f25c7aef80875e81e59bda9fd7d3 SHA512 23153f5b57d210e37cd6e9e0fced23bdabb1c67476e9fb50eb83a68ae066a5c3675822472f5d558d10ddf36ac1d73d538b75304d112a1bfcd8d0bbd26c6481a5 DIST proj-datumgrid-europe-1.6.tar.gz 189057258 BLAKE2B 66daf2341b05d8d5f929f6d67e1913656c2380a3663b4359cb97576ff5954dbea5890862869bb1077f6cde760dada4d9f13201c5b2c29ef3458a8b43089e459c SHA512 463d2575d5ce6f5984e69897c34ef80ec31a77f5ba00a07a5f55e97c3033dbae40b7d17891e5495bc47e6faf917968b1cdb7b3be9b2a4838e3b093b74753c2a8 -EBUILD proj-7.2.1.ebuild 1209 BLAKE2B ac70d263aab2b700dcfc7f8564b81607a31c3387ed6f39770fb7583c063428680a8ef5d0dcba6e786fbce847d2791bb8285b983f662a161b171a6755b2e72a16 SHA512 ce8e0b02dad6ce6de1620328fd6e65c478eafcc81dd55b3551a4452425840d4226fa43c02f7310a3ed9779ddf1d14e00f83a35a459869dcb18eae45c29cffa94 -EBUILD proj-8.0.1.ebuild 1432 BLAKE2B 575e8654d3d429d2a52b2c47aec7ed086367aaaf5f0b2f1898997b0ba43a6badd8a37092105cc1fa22bdd4744ec8ddc5c8e9ad2475b3df2a51a12b13000b8bdd SHA512 e82e8453b99c349caec34eb2e474cc433af88f35fb47ee451561d757b86361e509bfd84879472f7b7b8eb628440cf8bb4b3c559d9201d9b85b99d85fd8c069e0 +EBUILD proj-7.2.1.ebuild 1208 BLAKE2B bfb29e3237500f2550a7f81a1321308ff456228db5b194b809f87f5d37894fa42a1969c6ac2491f45f0f60231c96b67139f3cda7215c7b51ebc7cfd7d184bda9 SHA512 d74a2e1d47be556a9d16d14136405c2bd1d57ba0c9bc9090abb74e52d56af00c10f67568a85df2b20f56fcd46d59c68d3a5bd7f6ea112deeffb21526a5a18648 +EBUILD proj-8.0.1.ebuild 1431 BLAKE2B 17e47bd41495796fb1d2c4017fc5ffd074e04dc35acc0e8884aadb157247b91bb4a5efb076fd3c96c3310c4066571afbf385ab73a0b0ee596d22017bfd42ce4d SHA512 fd310ac894ddaac7298bfba6c0308ff6ec496e264b25f584d1024f31ed140af2f25025731779b811b0be7cc3fe26183f17de8fe9ba088a889f57a3e66f66a9a6 +EBUILD proj-8.1.0-r1.ebuild 1491 BLAKE2B 1a753a5b0a1d4374cd40289425a037c95b06e9d6787dc8a511939bfeca89cf395eda816c08416c651e410d5723da959681a4e304d804f6eac2e107a3aa73a834 SHA512 a7c8f68c240e3a5bedec60fbfa83c291e4dc13f84e90e63ac5eca6d3a586c33e59e774842a73c0370c35437d6e58a87e6fb9269acce6cd91f0d6c8c78f431528 MISC metadata.xml 449 BLAKE2B e29aeb78ff28d336ffbe19913702d656299183b1657c09deaf12f3f8c263867e9facbef4ee626f78e667f3f6ad5cebb0c490e84247fe784bc3fbf68c5418692e SHA512 a1b14653a4388d42e3e08ddabd3734e5987bf41092dd699788ed1a4b8819da831f602b48dd3ad64dbb9fc1bbc0005623456744a6b5a3fcd3313d844bf3bc6886 diff --git a/sci-libs/proj/files/proj-8.1.0-test_factory-include.patch b/sci-libs/proj/files/proj-8.1.0-test_factory-include.patch new file mode 100644 index 000000000000..c88fe83cb509 --- /dev/null +++ b/sci-libs/proj/files/proj-8.1.0-test_factory-include.patch @@ -0,0 +1,29 @@ +https://patch-diff.githubusercontent.com/raw/OSGeo/PROJ/pull/2760.patch + +From fc983b6e3343ba4d52fd0a889bb6bbf6f143f417 Mon Sep 17 00:00:00 2001 +From: Even Rouault <even.rouault@spatialys.com> +Date: Thu, 1 Jul 2021 21:24:26 +0200 +Subject: [PATCH] =?UTF-8?q?test=5Ffactory.cpp:=20fix=20build,=20in=20parti?= + =?UTF-8?q?cular=20on=20Alpine=20Edge=20(fixes=C2=A0#2759)?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + test/unit/test_factory.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp +index 985499150e..a60296d10a 100644 +--- a/test/unit/test_factory.cpp ++++ b/test/unit/test_factory.cpp +@@ -39,6 +39,8 @@ + #include "proj/metadata.hpp" + #include "proj/util.hpp" + ++#include <algorithm> ++ + #include <sqlite3.h> + + #ifdef _MSC_VER + diff --git a/sci-libs/proj/proj-7.2.1.ebuild b/sci-libs/proj/proj-7.2.1.ebuild index 6bfd83430fca..11efd85db877 100644 --- a/sci-libs/proj/proj-7.2.1.ebuild +++ b/sci-libs/proj/proj-7.2.1.ebuild @@ -7,7 +7,7 @@ DATUMGRID="${PN}-datumgrid-1.8.tar.gz" EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.tar.gz" DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj4.org/" +HOMEPAGE="https://proj.org/" SRC_URI=" https://download.osgeo.org/proj/${P}.tar.gz https://download.osgeo.org/proj/${DATUMGRID} diff --git a/sci-libs/proj/proj-8.0.1.ebuild b/sci-libs/proj/proj-8.0.1.ebuild index c6a3966a2684..d9e6bfd7022b 100644 --- a/sci-libs/proj/proj-8.0.1.ebuild +++ b/sci-libs/proj/proj-8.0.1.ebuild @@ -9,7 +9,7 @@ DATUMGRID="${PN}-datumgrid-1.8.tar.gz" EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.tar.gz" DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj4.org/" +HOMEPAGE="https://proj.org/" SRC_URI=" https://download.osgeo.org/proj/${P}.tar.gz https://download.osgeo.org/proj/${DATUMGRID} diff --git a/sci-libs/proj/proj-8.1.0-r1.ebuild b/sci-libs/proj/proj-8.1.0-r1.ebuild new file mode 100644 index 000000000000..501de56a4e62 --- /dev/null +++ b/sci-libs/proj/proj-8.1.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DATUMGRID="${PN}-datumgrid-1.8.tar.gz" +EUROPE_DATUMGRID="${PN}-datumgrid-europe-1.6.tar.gz" + +DESCRIPTION="PROJ coordinate transformation software" +HOMEPAGE="https://proj.org/" +SRC_URI=" + https://download.osgeo.org/proj/${P}.tar.gz + https://download.osgeo.org/proj/${DATUMGRID} + europe? ( https://download.osgeo.org/proj/${EUROPE_DATUMGRID} ) +" + +LICENSE="MIT" +SLOT="0/23" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="curl europe test +tiff" +REQUIRED_USE="test? ( !europe )" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-db/sqlite:3 + curl? ( net-misc/curl ) + tiff? ( media-libs/tiff ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" + +PATCHES=( + "${FILESDIR}"/${P}-test_factory-include.patch +) + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}"/data || die + mv README README.DATA || die + + unpack ${DATUMGRID} + use europe && unpack ${EUROPE_DATUMGRID} +} + +src_configure() { + local mycmakeargs=( + -DDOCDIR="${EPREFIX}"/usr/share/${PF} + -DBUILD_TESTING=$(usex test) + -DENABLE_CURL=$(usex curl) + -DBUILD_PROJSYNC=$(usex curl) + -DENABLE_TIFF=$(usex tiff) + ) + + use test && mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + cd data || die + dodoc README.{DATA,DATUMGRID} + use europe && dodoc README.EUROPE + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/rtree/Manifest b/sci-libs/rtree/Manifest index ffbd4eba5758..5e2d4d0bc970 100644 --- a/sci-libs/rtree/Manifest +++ b/sci-libs/rtree/Manifest @@ -1,5 +1,3 @@ -DIST Rtree-0.9.4.tar.gz 62017 BLAKE2B 72a979a3b9b9e9e1d18ea8646bbf860413c18420ce40946108c4f2f0e59fcb5bb64971a57936a92714e02e13419f7dc594b2371e4b44a4fd6a3e3986c19f7d85 SHA512 59981ffefedac1162faaa86ea10d7d5503da46c7ae9588a57e1a49214043de5f41bd4836965651d4cd22e7959c37cc6d586d9912568a2aaf693a0afb7895b429 DIST Rtree-0.9.7.tar.gz 44877 BLAKE2B 4ee5ad4c478ada448a8faa5ba29bdfbb67bc2f688cb8c6f465f4637fbd890cbd997f24573b25a936b7ceb503cc0b7684a1932e6ac91a85e4c37730ee9a6d39f0 SHA512 35b39e29f6d2b9cf4e774191bed69ade515680d07213f0ba74748da11ba916b41c93dfc4f489d7320855f3722ac8b5b58bac4614ea95e6230fcffe33f4332607 -EBUILD rtree-0.9.4-r1.ebuild 622 BLAKE2B a049bc3c2ffe5097533ac435a6eb0218a6e8139c9023a5f5f4bf75a47d726c08cda67173b9a414db1b6ff18da685737851e7648c3d295a0aec5156d69d0f198b SHA512 c48970d96ed4bae2fe3f6fec4c03e375a766c7b448e1326fd77c1d0dfa6338e6e64cf6548ab9b3041d438f0a543cf16f87b77bc5c16cd8c062c56f8c50f4ac72 EBUILD rtree-0.9.7.ebuild 636 BLAKE2B 21b484de0c2f5df823efe0f0cfb061133389769f1365caa9491121c6b2d31893536c6bf5807f19930379a073a47760d80b4f65ff3111d2491aa0801856d552f4 SHA512 7b70451a0ec57e33cd7a762edb3f3524482cba35e698dbc9b7505954b620a09939aa07855c9ca4edb7cbf9eeadbbf3fa1120e4b594dc331645a6378cf675c83f MISC metadata.xml 838 BLAKE2B dc4e6490095118fcf8ff5a8e8660774e0a320d0d4396aff76841ea2e26b2329e094ecc1e524443137365e744273bb4443feab7dd0c2c5eec423bbd7a501b2cfa SHA512 a42b53908a909d3d4c9e3eb27067210553e176e7adaca2374a0868267503fddc64db89dfd9ae21bfc183d911d3ec36f9994abd911250776ec457bbb8b417acbc diff --git a/sci-libs/rtree/rtree-0.9.4-r1.ebuild b/sci-libs/rtree/rtree-0.9.4-r1.ebuild deleted file mode 100644 index 26223a2fe4f8..000000000000 --- a/sci-libs/rtree/rtree-0.9.4-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -MY_PN="Rtree" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="R-Tree spatial index for Python GIS" -HOMEPAGE="https://rtree.readthedocs.io" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~x86" -SLOT="0" - -S=${WORKDIR}/${MY_P} - -RDEPEND="sci-libs/libspatialindex" - -distutils_enable_sphinx docs/source - -distutils_enable_tests pytest - -DEPEND+=" - test? ( dev-python/numpy[${PYTHON_USEDEP}] ) -" diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest index c86d52e0ff33..81398eba73d2 100644 --- a/sci-libs/vtk/Manifest +++ b/sci-libs/vtk/Manifest @@ -16,6 +16,6 @@ DIST VTKLargeData-8.2.0.tar.gz 247522878 BLAKE2B 68dc90548604fbbb8419f2b400aea5d DIST VTKLargeData-9.0.1.tar.gz 247522733 BLAKE2B a1d603f7560cf2cd7d1f355fd30fa5b638f2559259f09a6cbbe80da8c2937b1c50cfa2c3b2c6adf99b5bbf537678f817e44bc72962f36364913ae6cc524ae8a8 SHA512 b3303d633f063a6f3bfcc61b441f445611ff7cff6f006c77d8452eb5a3af89a18b2a1201a2dbd230af085b9e45b9abb70319d2f41db0f1e19c632286e7b02ec2 DIST vtkDocHtml-8.2.0.tar.gz 132516675 BLAKE2B 8651a3793f3326dee36c5ae8a280b00943067f973115697f34770eefd42b5534a7d7e439e7745b32c5fa83daf5a5292b854792d18951af236d0aa77c3aa2b564 SHA512 45e198bde82948d1d8e47a8bdb64a2792c2bfdfc0d939ffe40ded79092d7ac5f497008c00c805baa09d27eabb419cdf0787eee1caf2ac44c5e8759ecf709a317 DIST vtkDocHtml-9.0.1.tar.gz 138707547 BLAKE2B 1493d21a41b5f8fd43c3503cb4f98905c6d8d0c39e3245a97141bb1baa59ef0054b52595b48fe2b1c1579b02da0dd1f660e5ef7fefd3c7a9cfdbed42f923a234 SHA512 9997fb73ab46d28f107f5a7ef31a86f6948cd3ff88184fd4f1b0cc14dff1b8b6395e420ae2b2a42e772b90b84d8e077cc4543b8b8c9495481c3f8271949f11e4 -EBUILD vtk-8.2.0-r4.ebuild 10378 BLAKE2B f07cb45f4a64b364c3b7f90235d6b4c8e1a2dc6051d6bb431d0f1455d58f887e5735313aaecf5a4498e2b7dc9eec87d67d6630c58821c4bbf9c7a2a567986837 SHA512 fd469be69433a394f2507b2fbf2144ca199c49efda5a27f7ab6d9a5a1507a3e21497b0f74bf7c256512e9ad896ce28af13faffe9871c6829618e7b918589efb6 -EBUILD vtk-9.0.1.ebuild 13690 BLAKE2B cc4d8764f7b37bd28c7490f51b10b21faaec308ad4768817a3c1aa55c8694187a40bb6ca18274402c1e5781c2a066d276abaca5429492364cef53cf4cbee566d SHA512 3dbb44fb1fef2c2004013d76e7f84f0dab470787943585dc48b0d9066197ff68bd3bac753e5d409e95b08a73c59be72e77ba705e8802de077e13d3e9e1fa2949 +EBUILD vtk-8.2.0-r4.ebuild 10401 BLAKE2B fc059b71d7c029dc7205d99155b100ef524de47a47bdad8e80fb02419962fa1d98e46721a7b29ae5547d5b8229ce97bc3bb43db03272982a78c15cf20b06626c SHA512 d077d7f9ac8d05665793dfd7034060ca3fceac3697c4ea2a8c37f2351393c272a56690110efef6c519bf5615bef3903636917deefca504425cb40f7b7e273d71 +EBUILD vtk-9.0.1.ebuild 13699 BLAKE2B 72896657ead8d82bb025ba74474b012de76ed08501270a0063fc446d25e6a24fef40516d8ed76d0d6f5072da89cd0208e1cb799a29f42bd82b4daa8c9e9b0df6 SHA512 7f7734d12b466ee5cb5eb6c8ff2243415875232467cccc79ee9daff541282672c64e68064c7f24945e140944f9dbeb01ac5de0bbfc44f58b377a010a809e3cb5 MISC metadata.xml 1404 BLAKE2B d55945785c3e374227585ec5adb6cf9ad652c111cf4de2572179ea7f88df21b281bd02f841f9acdea72e034e4504cfe204833c44a265690ef4966bcf574bc0d0 SHA512 1d15b7c59d735c84915288dec1166ab9e48cfbe42d050bb4cc74e6c878a54c1e31da0e7edca5ffcbcb7d50de77d849b3df6ff68e07495e1c549217f87b0708c1 diff --git a/sci-libs/vtk/vtk-8.2.0-r4.ebuild b/sci-libs/vtk/vtk-8.2.0-r4.ebuild index 5573bf1a4a73..2051e4d46bd8 100644 --- a/sci-libs/vtk/vtk-8.2.0-r4.ebuild +++ b/sci-libs/vtk/vtk-8.2.0-r4.ebuild @@ -8,21 +8,21 @@ WEBAPP_OPTIONAL=yes WEBAPP_MANUAL_SLOT=yes # Short package version -SPV="$(ver_cut 1-2)" +MY_PV="$(ver_cut 1-2)" inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils toolchain-funcs cmake virtualx webapp DESCRIPTION="The Visualization Toolkit" HOMEPAGE="https://www.vtk.org/" SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) + https://www.vtk.org/files/release/${MY_PV}/VTK-${PV}.tar.gz + doc? ( https://www.vtk.org/files/release/${MY_PV}/vtkDocHtml-${PV}.tar.gz ) examples? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz + https://www.vtk.org/files/release/${MY_PV}/VTKData-${PV}.tar.gz + https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz )" LICENSE="BSD LGPL-2" -SLOT="0" +SLOT="0/${MY_PV}" KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="all-modules aqua boost doc examples ffmpeg gdal imaging java json mpi mysql odbc offscreen postgres python qt5 R rendering tbb tcl theora tk @@ -181,7 +181,7 @@ src_configure() { -Wno-dev -DVTK_DIR="${S}" -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_PACKAGE_DIR="$(get_libdir)/cmake/${PN}-${SPV}" + -DVTK_INSTALL_PACKAGE_DIR="$(get_libdir)/cmake/${PN}-${MY_PV}" -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" -DVTK_CUSTOM_LIBRARY_SUFFIX="" @@ -357,7 +357,7 @@ src_install() { # environment cat >> "${T}"/40${PN} <<- EOF || die VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} + VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${MY_PV} VTKHOME=${EPREFIX}/usr EOF doenvd "${T}"/40${PN} diff --git a/sci-libs/vtk/vtk-9.0.1.ebuild b/sci-libs/vtk/vtk-9.0.1.ebuild index 8c86ad38458b..fde829fd7376 100644 --- a/sci-libs/vtk/vtk-9.0.1.ebuild +++ b/sci-libs/vtk/vtk-9.0.1.ebuild @@ -30,7 +30,7 @@ SRC_URI=" S="${WORKDIR}/VTK-${PV}" LICENSE="BSD LGPL-2" -SLOT="0" +SLOT="0/${MY_PV}" KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" # Note: external xdmf2 has no recognized target IUSE="+X all-modules boost cuda doc examples ffmpeg gdal imaging java |