summaryrefslogtreecommitdiff
path: root/sci-visualization
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/Manifest.gzbin4335 -> 4349 bytes
-rw-r--r--sci-visualization/gnuplot/Manifest9
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.10.ebuild2
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.8.ebuild2
-rw-r--r--sci-visualization/gnuplot/gnuplot-6.0.1-r1.ebuild225
-rw-r--r--sci-visualization/gnuplot/gnuplot-6.0.1.ebuild2
-rw-r--r--sci-visualization/gnuplot/gnuplot-6.1.9999.ebuild2
-rw-r--r--sci-visualization/grace/Manifest3
-rw-r--r--sci-visualization/grace/files/grace-configure-c99.patch89
-rw-r--r--sci-visualization/grace/grace-5.1.25_p17.ebuild125
-rw-r--r--sci-visualization/gwyddion/Manifest4
-rw-r--r--sci-visualization/gwyddion/files/gwyddion-2.60-automagic.patch35
-rw-r--r--sci-visualization/gwyddion/gwyddion-2.61-r1.ebuild89
-rw-r--r--sci-visualization/gwyddion/gwyddion-2.62-r2.ebuild89
-rw-r--r--sci-visualization/labplot/Manifest9
-rw-r--r--sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch38
-rw-r--r--sci-visualization/labplot/labplot-2.10.1.ebuild98
-rw-r--r--sci-visualization/labplot/labplot-2.11.1.ebuild113
-rw-r--r--sci-visualization/labplot/labplot-9999.ebuild6
-rw-r--r--sci-visualization/labplot/metadata.xml5
-rw-r--r--sci-visualization/pythonprop/Manifest7
-rw-r--r--sci-visualization/pythonprop/files/pythonprop-0.30.1-p20240217.patch169
-rw-r--r--sci-visualization/pythonprop/files/pythonprop-drop-portland.patch87
-rw-r--r--sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch65
-rw-r--r--sci-visualization/pythonprop/pythonprop-0.30.1_p20240217.ebuild (renamed from sci-visualization/pythonprop/pythonprop-0.30.1-r1.ebuild)9
25 files changed, 857 insertions, 425 deletions
diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz
index 9b54ed68450a..513305e2947b 100644
--- a/sci-visualization/Manifest.gz
+++ b/sci-visualization/Manifest.gz
Binary files differ
diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest
index 80da9c0a4034..2fb0b253c969 100644
--- a/sci-visualization/gnuplot/Manifest
+++ b/sci-visualization/gnuplot/Manifest
@@ -5,8 +5,9 @@ AUX gnuplot-6.1-no-picins.patch 628 BLAKE2B ab7ffcfecee328d4a8653af0c5cf80470ac6
DIST gnuplot-5.4.10.tar.gz 5687565 BLAKE2B 879159fb4b581aa334b221632af7268047077cd48d89d1cecb0c6c9e855edd40bddfdaa8222177652d6200f81b97b0b52fe719da0641eea817e086832f07664f SHA512 fe5226a243dad62e8617d820764dc5923e76a51a68c58a666a699110f5b5be0f5e759e0586e923472a59ca6d1b30d1093d7a65e9c1d3a36fcd33a95df36ab89f
DIST gnuplot-5.4.8.tar.gz 5684061 BLAKE2B bd897b55e267f50e2f5ce8a49a3a033277577cd972c9effaaaedb0bb2e75908ce34997e389edcc4bd0db1dd8a0d937925216ed6ebf4e51d6700bac50d12e6a47 SHA512 3fe0ed783db85d95bdbc13e24ec5dc9bb6b2d85b3571cc87d3c17c94f4463fb6e681376394e0918cf3915f8f53896e6423ce76cb8b6fdbefcd6ec3e1b3b80125
DIST gnuplot-6.0.1.tar.gz 7528936 BLAKE2B d385d4dc8a4af83f121bd062e014d8845078f5aeb84244f4cce7c17b7cf71c5fc66bd7b8623504ab53567b4123fc739506f7d2f8e4f8ad184258a7568f0223a2 SHA512 47e72ac444f35e22a5de111da3333c80846226d87411a3168e45a8433a258e351ad9b6f0ba21d76f2456042b755123a697b685fd2552b4bd9edc5b97fafcbc62
-EBUILD gnuplot-5.4.10.ebuild 5045 BLAKE2B 34f31c96cc89f8aa0d87a88490fbf947dd6dd60cd1e783761863b2efc7435d4a7259fc5a67a0f41396cc198040304360e1f81c985d4a76b6edc1b82cc7544302 SHA512 c02c3845169bb46a9a9759b17e4c3b1bec7467147bb45c5444f41895c22457608661b12aa6d136f0b9562ed295a8b375576935134fb2ca49cf1f84c4db59bcba
-EBUILD gnuplot-5.4.8.ebuild 5045 BLAKE2B 34f31c96cc89f8aa0d87a88490fbf947dd6dd60cd1e783761863b2efc7435d4a7259fc5a67a0f41396cc198040304360e1f81c985d4a76b6edc1b82cc7544302 SHA512 c02c3845169bb46a9a9759b17e4c3b1bec7467147bb45c5444f41895c22457608661b12aa6d136f0b9562ed295a8b375576935134fb2ca49cf1f84c4db59bcba
-EBUILD gnuplot-6.0.1.ebuild 5353 BLAKE2B 470564ed59fcf4e7a90ffee9737bcc62b9522bec76d7aef7d41e1d7b11b74cebe6d42530a53799d3529d8183938a0a8858d6ef64a406f7832eb6211e85d489cf SHA512 9055d83f90e060fded97cc45f0a83ca741d5ec068354714d634c18909ed576c87cbd5c3956ef65d27250cefb7901a8f711191cab60145378210b7110baf41cba
-EBUILD gnuplot-6.1.9999.ebuild 4962 BLAKE2B bfebc677042f2d56e3c553c19cdf0afc0c06988feb6d0a780cfb14d6b04e480e1fb2cb949650e18a5b6ba1fb8a770d46ea85702caf9507935b79e025303d1f2d SHA512 c1a8e70f0b7e82723045df2bd70c3858b4d0619923d20623a1d632e4f35be044f6b61b76c31996ad37c3a07eda026b742525474b14217e65ba22b5917ab7feea
+EBUILD gnuplot-5.4.10.ebuild 5039 BLAKE2B 7420560949d46496a645a0df4f62d5954621a69285c3b1867b74552598c23e1e8872c7fc8ca7df6b4f610f05a25425635643551d9c65e0e1fbf9e3608765f441 SHA512 387a9de1788b6620305d6e62b163ebc3749e8399d9e9785e1c6edba7e37697cd37e44199ebb6da00ad24d3edc885a1a130bc96f8ca3ec91bf37cf8149d03b57c
+EBUILD gnuplot-5.4.8.ebuild 5039 BLAKE2B 7420560949d46496a645a0df4f62d5954621a69285c3b1867b74552598c23e1e8872c7fc8ca7df6b4f610f05a25425635643551d9c65e0e1fbf9e3608765f441 SHA512 387a9de1788b6620305d6e62b163ebc3749e8399d9e9785e1c6edba7e37697cd37e44199ebb6da00ad24d3edc885a1a130bc96f8ca3ec91bf37cf8149d03b57c
+EBUILD gnuplot-6.0.1-r1.ebuild 5554 BLAKE2B 1e662a1176bea86c7f68d3c19c71120c46476d786713fe3162073aa25dfb0f8dc152ae68464314af60d5d4572f8d0d3fbb7ecebfd52328e193e43a068eb6b5a9 SHA512 56ddb781d68b33e98e451d8ca6ffa4a9cf3679512934ec28464dba32c5f1c563c5ea542270bf6c38a1e2aa261cf6832ffc5a8e5e2274ad596d4c1bfe27789664
+EBUILD gnuplot-6.0.1.ebuild 5347 BLAKE2B 2bdc938681dc509ca21194bdb071fde5711a825ca5249ada65972fe5bfe48f50a1381a9fe2effafd967413fe97a36b8199ef5c891228f3979aa83f4e302fe6de SHA512 9252ddc6ea05ab47c68a77a8618405c9580cf02583a32f5dd1846938525d17d961a2eea4df869631a895b2c5c87ad22914a74ed19c784e2c768ff1711f867727
+EBUILD gnuplot-6.1.9999.ebuild 4956 BLAKE2B f1fea4cee463692a63ab30d2df3a3f16f6f4ed1610e2ae689da7f4cd61e9e334c49af0a37c2724f83145e25781d08a6607330b31b816a1972b4fbfad94a68560 SHA512 6c075d9e83d5396b03b38ff26390cbd78ed8dc7aa6ef12a0da7000e847c1d75c2c28373860a68b764e5472e9ae773005f5a155d93e2c79d4ac5ed7c4ade8f5b6
MISC metadata.xml 1487 BLAKE2B f903fd16007f638163484d2c635c1eea3040cee929230f9c6578f190a65707ade22d7e08a7a9d2f354bafa7ed92c85b7db0182fe1b8584ce0e201665b8cadd55 SHA512 fe61bdbea5637e7eba0c1e726404068c861b151843c88da1972df2b132ff40d9e402a7b39f02750a05a233c17c572fd78ff26cadcb2f5fd9f0a9e201caa9da63
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.10.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.10.ebuild
index d09ffadae337..7d12858f2eb6 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.10.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.10.ebuild
@@ -20,7 +20,7 @@ if [[ -z ${PV%%*9999} ]]; then
else
MY_P="${P/_/.}"
SRC_URI="https://downloads.sourceforge.net/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
S="${WORKDIR}/${MY_P}"
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.8.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.8.ebuild
index d09ffadae337..7d12858f2eb6 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.8.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.8.ebuild
@@ -20,7 +20,7 @@ if [[ -z ${PV%%*9999} ]]; then
else
MY_P="${P/_/.}"
SRC_URI="https://downloads.sourceforge.net/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
S="${WORKDIR}/${MY_P}"
diff --git a/sci-visualization/gnuplot/gnuplot-6.0.1-r1.ebuild b/sci-visualization/gnuplot/gnuplot-6.0.1-r1.ebuild
new file mode 100644
index 000000000000..8be4751e4190
--- /dev/null
+++ b/sci-visualization/gnuplot/gnuplot-6.0.1-r1.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1,2,3,4} )
+WX_GTK_VER="3.2-gtk3"
+
+inherit autotools lua-single readme.gentoo-r1 toolchain-funcs wxwidgets
+
+DESCRIPTION="Command-line driven interactive plotting program"
+HOMEPAGE="http://www.gnuplot.info/"
+
+if [[ -z ${PV%%*9999} ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.code.sf.net/p/gnuplot/gnuplot-main"
+ EGIT_BRANCH="master"
+ MY_P="${PN}"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_P}"
+else
+ MY_P="${P/_/.}"
+ SRC_URI="https://downloads.sourceforge.net/gnuplot/${MY_P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="gnuplot"
+SLOT="0"
+IUSE="amos aqua bitmap cairo doc examples +gd gpic latex libcaca libcerf lua metafont metapost qt5 qt6 readline regis tgif wxwidgets X"
+
+REQUIRED_USE="
+ doc? ( gd )
+ lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+ amos? ( dev-libs/openspecfun )
+ cairo? (
+ x11-libs/cairo
+ x11-libs/pango )
+ gd? ( >=media-libs/gd-2.0.35-r3:2=[png] )
+ latex? (
+ virtual/latex-base
+ lua? (
+ dev-tex/pgf
+ >=dev-texlive/texlive-latexrecommended-2008-r2 ) )
+ libcaca? ( media-libs/libcaca )
+ lua? ( ${LUA_DEPS} )
+ qt5? ( !qt6? (
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtnetwork:5=
+ dev-qt/qtprintsupport:5=
+ dev-qt/qtsvg:5=
+ dev-qt/qtwidgets:5= ) )
+ qt6? (
+ dev-qt/qtbase:6=[gui,network,widgets]
+ dev-qt/qtsvg:6=
+ dev-qt/qt5compat:6= )
+ readline? ( sys-libs/readline:0= )
+ libcerf? ( sci-libs/libcerf )
+ wxwidgets? (
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ x11-libs/cairo
+ x11-libs/pango
+ x11-libs/gtk+:3 )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXaw )"
+
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-langgreek
+ dev-texlive/texlive-mathscience
+ app-text/ghostscript-gpl )
+ qt5? ( !qt6? ( dev-qt/linguist-tools:5 ) )"
+
+IDEPEND="latex? ( virtual/latex-base )"
+
+GP_VERSION="${PV%.*}"
+TEXMF="${EPREFIX}/usr/share/texmf-site"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1-no-picins.patch
+ "${FILESDIR}"/${PN}-6.0.0-configure.patch
+ "${FILESDIR}"/${PN}-6.0.1-watchpoints.patch
+)
+
+pkg_setup() {
+ use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ if [[ ${PV##*.} = 9999 ]]; then
+ local dir
+ for dir in config demo m4 term tutorial; do
+ emake -C "$dir" -f Makefile.am.in Makefile.am
+ done
+ fi
+
+ # Add special version identification as required by provision 2
+ # of the gnuplot license
+ sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die
+
+ eautoreconf
+
+ # Make sure we don't mix build & host flags.
+ sed -i \
+ -e 's:@CPPFLAGS@:$(BUILD_CPPFLAGS):' \
+ -e 's:@CFLAGS@:$(BUILD_CFLAGS):' \
+ -e 's:@LDFLAGS@:$(BUILD_LDFLAGS):' \
+ -e 's:@CC@:$(CC_FOR_BUILD):' \
+ docs/Makefile.in || die
+}
+
+src_configure() {
+ if ! use latex; then
+ sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
+ fi
+
+ use wxwidgets && setup-wxwidgets
+
+ tc-export CC CXX #453174
+ tc-export_build_env BUILD_CC
+ export CC_FOR_BUILD=${BUILD_CC}
+
+ use qt5 && use qt6 && ewarn "USE flag \"qt6\" overrides \"qt5\""
+
+ econf \
+ --with-texdir="${TEXMF}/tex/latex/${PN}" \
+ --with-readline=$(usex readline gnu builtin) \
+ $(use_with amos) \
+ $(use_with bitmap bitmap-terminals) \
+ $(use_with cairo) \
+ $(use_with gd) \
+ $(use_with gpic) \
+ "$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \
+ $(use_with libcerf) \
+ $(use_with lua) \
+ $(use_with metafont) \
+ $(use_with metapost) \
+ $(use_with regis) \
+ $(use_with tgif) \
+ $(use_with X x) \
+ --enable-stats \
+ $(usev qt6 --with-qt=qt6 || use_with qt5 qt qt5) \
+ $(use_enable wxwidgets) \
+ DIST_CONTACT="https://bugs.gentoo.org/" \
+ EMACS=no
+}
+
+src_compile() {
+ # Prevent access violations, see bug 201871
+ export VARTEXFONTS="${T}/fonts"
+
+ emake all
+
+ # pdflatex fails in titlepag.tex: "Argument of  has an extra }."
+ # Install the pre-built gnuplot.pdf instead.
+ #if use doc; then
+ # if use cairo; then
+ # emake -C docs pdf
+ # else
+ # ewarn "Cannot build figures unless cairo is enabled."
+ # ewarn "Building documentation without figures."
+ # emake -C docs pdf_nofig
+ # mv docs/nofigures.pdf docs/gnuplot.pdf || die
+ # fi
+ #fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc BUGS NEWS PGPKEYS README* RELEASE_NOTES
+ newdoc term/PostScript/README README-ps
+ newdoc term/js/README README-js
+ use lua && newdoc term/lua/README README-lua
+
+ local DOC_CONTENTS='Gnuplot no longer links against pdflib. You can
+ use the "pdfcairo" terminal for PDF output.'
+ use cairo || DOC_CONTENTS+=' It is available with USE="cairo".'
+ use gd && DOC_CONTENTS+="\n\nFor font support in png/jpeg/gif output,
+ you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT
+ environment variables. See the FAQ file in /usr/share/doc/${PF}/
+ for more information."
+ readme.gentoo_create_doc
+
+ if use examples; then
+ # Demo files
+ insinto /usr/share/${PN}/${GP_VERSION}
+ doins -r demo
+ rm "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary{1,2,3} || die
+ rm "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/plugin/*.{o,so} || die
+ fi
+
+ if use doc; then
+ # Manual, FAQ
+ dodoc docs/gnuplot.pdf #FAQ.pdf
+ # Documentation for making PostScript files
+ docinto psdoc
+ dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
+ fi
+}
+
+src_test() {
+ emake check GNUTERM="dumb"
+}
+
+pkg_postinst() {
+ use latex && texmf-update
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ use latex && texmf-update
+}
diff --git a/sci-visualization/gnuplot/gnuplot-6.0.1.ebuild b/sci-visualization/gnuplot/gnuplot-6.0.1.ebuild
index 4b998be01f6a..66216ac3e8b4 100644
--- a/sci-visualization/gnuplot/gnuplot-6.0.1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-6.0.1.ebuild
@@ -20,7 +20,7 @@ if [[ -z ${PV%%*9999} ]]; then
else
MY_P="${P/_/.}"
SRC_URI="https://downloads.sourceforge.net/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
S="${WORKDIR}/${MY_P}"
diff --git a/sci-visualization/gnuplot/gnuplot-6.1.9999.ebuild b/sci-visualization/gnuplot/gnuplot-6.1.9999.ebuild
index 27a2c21ba8eb..b806a8e6ba15 100644
--- a/sci-visualization/gnuplot/gnuplot-6.1.9999.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-6.1.9999.ebuild
@@ -20,7 +20,7 @@ if [[ -z ${PV%%*9999} ]]; then
else
MY_P="${P/_/.}"
SRC_URI="https://downloads.sourceforge.net/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
S="${WORKDIR}/${MY_P}"
diff --git a/sci-visualization/grace/Manifest b/sci-visualization/grace/Manifest
index b953a7400386..5269a24c7851 100644
--- a/sci-visualization/grace/Manifest
+++ b/sci-visualization/grace/Manifest
@@ -2,9 +2,12 @@ AUX grace-5.1.21-fortran.patch 649 BLAKE2B c0de10fc82809fa0ec73e6fdc03e7b50ac18f
AUX grace-5.1.22-dlmodule.patch 355 BLAKE2B baee835ed77d6720f145a7973a5a1e58359d129eb514b4e8ec13f3390dcd39f9842cee30a6ac131b79c2f3deaffecf76e41ddb5df0b8a26f67aa1b85959aaddb SHA512 8ce040b56992712a11f2d00aa1aca67120e16df187ffed9541bb5fdc390c7555461d3ccbfbc3448e68d9a41b6b3bf9d1d2f3dca10259393c96665e3ba489ef34
AUX grace-5.1.25-honor-noask.patch 419 BLAKE2B 5fdfc9228d001ec8a0016b8dfc5a4df1d95f0a0931e602d2f2a4099ae88b65904546f337528b28a4de2af6561bf05172d25bad0a75bd3eb343c0fdafc92efde8 SHA512 5b089de3b58d7107674cb8f07fceb0ef639208a534c56d785add156b04857fe9ae2a04edd68ec1f74eac12a2a32d255550782042801a092137cd24b481368d04
AUX grace-c99.patch 346 BLAKE2B dc63430fd61f1dd53e3f0bc9515d61929d834e957af03c02c607eab8061c05c1e74bf5db57c08182e5bc95d005216b11d79309cd06fddee4b2578f7fe99f304b SHA512 880e825ee4ebbbb5bc7d8fb500bd54f773982817a6c52606d4b7f3a02bacc627416a08b1aa3f0e1a121424f4b0f8d9a9f23d239376d477239a5511b5c2f63c86
+AUX grace-configure-c99.patch 2322 BLAKE2B 0c7553d7ddf9ac5efc44f0e45c39d68910235eaf9d37192564dc9cc653e35d37a7d1535bf3630b28e5930bb14cb426e60aa5536e3ff7406e5e5b53d642ab437d SHA512 e0bad3183fbb0dadf707040570ef589da3bd15c2e5d060da9b98ee55219a533e5a22520d92e1116fa35aed88cb0ac36762322d9ae710bc547c7521f9542238a6
AUX grace.desktop 161 BLAKE2B a401e23fc2ee22cd47c36becfa742f5acafd2359185a92f1156159c2ea480a17a82219182873aaf9da4e6582bce6ac1ef62b66b1330759214fc21a364c376ac6 SHA512 6d43de6f8d5f85c3fff36202320864ea3611d3ee842efa677ad59ae1390c6499f9f14aefd37345c0cec62024637b057e804efd26577c45b4f7a5bb6717952b2a
DIST grace-5.1.25.tar.gz 2957689 BLAKE2B f46032c92aa2ed2484ca05c0eb858f47adfa88517e7d06c0d95a6d23c044356edfc52b9a7566a625ef5f4a1a4b5450b0ce065a94ba15c59fb8395d53c85872c9 SHA512 9ea68483af1dfc98d217ae730b7a51b66deae5aaa8dfda29d5a3337ed4b5728b45aa03f561bf7d4173e73d6af8dee03cbabd95c0c8dd36999303c89451a3728a
DIST grace_5.1.25-13.debian.tar.xz 110248 BLAKE2B 19dce6ed1b9e1d93d87036f5aba5ee262d54a58bc7daf2039fb2246bd2f45e413832561a33f8cb1b793fdf30831b0282f00e60efe3980df7875d2923a9f32f76 SHA512 51ee85525557c630fc3e208eb9b72b8973de6351698766ade1a59af6b9f16bc1b6b9c2c40d2270eb33d55806c4762c7b5d10b14f2a470ff00cfae2c9351bc922
+DIST grace_5.1.25-17.debian.tar.xz 112540 BLAKE2B 6637c87cda3dadbb3cf8040811e227a080a116101ee0da9c51d068e811bbe7516ae8ef462dcc50bd6d53a88765908ca955cd9b1bbebcfff37da1c40d7c76f640 SHA512 2d9a05e7f409893193e23f904d82afc6e930ae7b051b9ddcfa62c6ddfb0f892cc931f41968fa52ef95ea9c1aef4138de4bdac570789e494a0f6308e355b2bda7
EBUILD grace-5.1.25_p13-r1.ebuild 2861 BLAKE2B fd95edcc79f9ff9a4ca9b182a9336cbf2e007c93bcdaf7ab150b9c69cf2cd0dfe7aad1ade60f881a066d9814b3796f344ddd424d71c79a141b8c6c1a4f42aeb7 SHA512 17840bb0c82d8be359b20417548292927769ffe2e2529bee7d7bd80cabbf4ec679d71a71f9c5827fa30fa2609e56d1f4f02ff58dbb268d283f75ec727c6940c1
EBUILD grace-5.1.25_p13-r2.ebuild 3035 BLAKE2B 1faa0d707ee3d67a467337a8536b1bd272fd46481bca105faa0c1156c567c760aa02a87c3fce66614add4f1d8cf9dba83e657eac1920517dc7495edf8daeca25 SHA512 904f1db858eecc94d7c8d5bbf23b195699cef23311d00431f1655eb835d0f6e75449c597f677b68a8089ae5fd6cf7851114cdcc8c9a9595537ff3e02fcfd011e
+EBUILD grace-5.1.25_p17.ebuild 3357 BLAKE2B 49b80c7b9d8435478dd8cf1d27948cad9bdbaa1895c472c63705c3f2a59cac1da2070e41eef5996ef0e2e2ded9ee7aadf495c8485f1b66476d6503ababec396a SHA512 b5bdc2a93ace7b0d26e7177af02954e22b1d501c5505df527ec236247fb37f8056f7fd798fe305f6d955d43b5988d711723a6f0dc0f8cb9a3e373fd0a2de7b8f
MISC metadata.xml 731 BLAKE2B feed7db30735c68833d77ff620fba0fe0aa1bce8a5dbe28acc9fe173cd5ac43db832b1c7f6561c7ae4806518a8ac307bc8dd0e6d7fa0c01cfd2dfda1733bd50d SHA512 e8a3ba01961a1c0bcc3627670ddb286395f85d481ba1892aba65b5c661337b29e93e4457a3b86813d2381073e8bff9a2bef8b70fc19cdd4c0bca2dfafded8334
diff --git a/sci-visualization/grace/files/grace-configure-c99.patch b/sci-visualization/grace/files/grace-configure-c99.patch
new file mode 100644
index 000000000000..ff8cf077a5f1
--- /dev/null
+++ b/sci-visualization/grace/files/grace-configure-c99.patch
@@ -0,0 +1,89 @@
+From 625be283aa5fcfe0cfe1cc3851226d7677a21cdc Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz93@gmail.com>
+Date: Mon, 2 Sep 2024 20:00:20 -0400
+Subject: [PATCH] configure: fix implicit function declarations
+
+Import fedora patch:
+https://src.fedoraproject.org/rpms/grace/blob/rawhide/f/grace-configure-c99-1.patch
+
+Do not call the XmRegisterConverters function because current Motif
+does not declare it (but still exports it). With this call, the
+result of this configure check depends on whether the compiler
+supports implicit function declarations or not.
+
+Additionally add missing includes to various checks that lacked them.
+Florian's patch moved from exit to return, but adding the includes is
+shorter.
+---
+ configure | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index d58ce51..3f3c1f3 100755
+--- a/configure
++++ b/configure
+@@ -4931,6 +4931,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #define LOG2EA 0.44269504088896340735992
+@@ -8309,6 +8310,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include <zlib.h>
+ int main(void) {
+@@ -8395,6 +8397,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <jpeglib.h>
+ int main(void) {
+ int vinc;
+@@ -8479,6 +8482,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include <png.h>
+ int main(void) {
+@@ -8566,6 +8570,8 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++#include <stdlib.h>
++#include <string.h>
+ #include <pdflib.h>
+ int main(void) {
+ char *vinc;
+@@ -9516,11 +9522,11 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++#include <stdlib.h>
+ #include <Xm/XmAll.h>
+ int main(void) {
+ int vlibn, vincn;
+ vincn = XmVersion;
+- XmRegisterConverters();
+ vlibn = xmUseVersion;
+ if (vincn < 1002) {
+ exit(1);
+@@ -9790,6 +9796,7 @@ else
+ /* end confdefs.h. */
+
+ #include <XmHTML/XmHTML.h>
++#include <stdlib.h>
+ int main(void) {
+ int vlib, vinc;
+ vlib = XmHTMLGetVersion();
+--
+2.44.2
+
diff --git a/sci-visualization/grace/grace-5.1.25_p17.ebuild b/sci-visualization/grace/grace-5.1.25_p17.ebuild
new file mode 100644
index 000000000000..2e8a4182babb
--- /dev/null
+++ b/sci-visualization/grace/grace-5.1.25_p17.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+FORTRAN_NEEDED=fortran
+
+inherit desktop flag-o-matic fortran-2 toolchain-funcs xdg
+
+DESCRIPTION="Motif based XY-plotting tool"
+HOMEPAGE="https://plasma-gate.weizmann.ac.il/Grace/"
+SRC_URI="
+ ftp://plasma-gate.weizmann.ac.il/pub/${PN}/src/stable/${P/_p*}.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
+"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="fftw fortran jpeg netcdf png"
+
+DEPEND="
+ media-libs/t1lib
+ media-libs/tiff:=
+ sys-libs/zlib
+ >=x11-libs/motif-2.3:0
+ x11-libs/xbae
+ fftw? ( sci-libs/fftw:3.0= )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ netcdf? ( sci-libs/netcdf:= )
+ png? ( media-libs/libpng:0= )"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+S="${WORKDIR}/${P/_p*}"
+
+PATCHES=(
+ # Fix for missing defines when fortran is disabled
+ "${FILESDIR}"/${PN}-5.1.21-fortran.patch
+ # Fix a leak (from freebsd)
+ "${FILESDIR}"/${PN}-5.1.22-dlmodule.patch
+ # Honor -noask option and avoid accidentally overwritting files
+ "${FILESDIR}"/${PN}-5.1.25-honor-noask.patch
+ # Fix C99 compat (from Fedora); included in debian "source-hardening"???
+ #"${FILESDIR}"/${PN}-c99.patch
+ "${FILESDIR}"/${PN}-configure-c99.patch
+)
+
+pkg_setup() {
+ fortran-2_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Debian patches
+ for p in $(<"${WORKDIR}"/debian/patches/series) ; do
+ # We have a safer one
+ [[ ${p} = configure-implicit-declarations.diff ]] && continue
+
+ eapply -p1 "${WORKDIR}/debian/patches/${p}"
+ done
+
+ # don't strip if not asked for
+ sed -i \
+ -e 's:$(INSTALL_PROGRAM) -s:$(INSTALL_PROGRAM):g' \
+ {auxiliary,grconvert,src}/Makefile || die
+
+ sed -i \
+ -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
+ -e "s:\$(GRACE_HOME)/lib:\$(PREFIX)/$(get_libdir):g" \
+ -e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \
+ -e 's:$(PREFIX)/man:$(PREFIX)/share/man:g' \
+ Makefile */Makefile || die "sed failed"
+
+ sed -i \
+ -e 's:bin/grconvert:grconvert:' \
+ -e 's:auxiliary/fdf2fit:fdf2fit:' \
+ gracerc || die
+}
+
+src_configure() {
+ # -Werror=strict-aliasing, -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/863293
+ append-flags -fno-strict-aliasing
+ filter-lto
+
+ tc-export CC AR
+
+ # the configure script just produces a basic Make.conf
+ # and a config.h
+ econf \
+ --disable-pdfdrv \
+ --disable-xmhtml \
+ --without-bundled-xbae \
+ --without-bundled-t1lib \
+ --enable-grace-home="${EPREFIX}"/usr/share/${PN} \
+ --with-helpviewer="xdg-open %s" \
+ --with-editor="xdg-open %s" \
+ --with-printcmd="lpr" \
+ --x-includes="${EPREFIX}"/usr/include \
+ --x-libraries="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_with fftw) \
+ $(use_enable fortran f77-wrapper) \
+ $(use_enable netcdf) \
+ $(use_enable jpeg jpegdrv) \
+ $(use_enable png pngdrv) \
+ $(use_with fortran f77 $(tc-getFC))
+}
+
+src_install() {
+ default
+
+ dosym ../../${PN}/examples /usr/share/doc/${PF}/examples
+ dosym ../../${PN}/doc /usr/share/doc/${PF}/html
+
+ doman "${ED}"/usr/share/doc/${PF}/html/*.1
+ rm -f "${ED}"/usr/share/doc/${PF}/html/*.1 || die
+
+ domenu "${FILESDIR}"/${PN}.desktop
+ for size in 16 22 24 32; do
+ newicon -s "${size}" "${WORKDIR}"/debian/icons/grace"${size}".png "${PN}.png"
+ done
+ doicon -s 48 "${WORKDIR}"/debian/icons/grace.png
+ doicon -s scalable "${WORKDIR}"/debian/grace.svg
+}
diff --git a/sci-visualization/gwyddion/Manifest b/sci-visualization/gwyddion/Manifest
index 447d695d4c71..ed8fa8a83076 100644
--- a/sci-visualization/gwyddion/Manifest
+++ b/sci-visualization/gwyddion/Manifest
@@ -1,8 +1,4 @@
-AUX gwyddion-2.60-automagic.patch 1552 BLAKE2B c106acfee1e00d8a4ade965cddab943bc79c246503fb51e53d20ba6a3b8b0a76cc433b75e867d448d7622ef190f1f54225b0f45be3860d32672397090be619d9 SHA512 50eca983c81bb14c33415e3ad69bf2e18be4a88fb674537dc335d8aa9986edb1baa962f7a4eead41d70b54828729165d413387c64696a0f4e1aa9ad49675afb0
AUX gwyddion-2.62-automagic.patch 1527 BLAKE2B 85b5267bd011125c979cdec5885e8f61fc39bfdcac864405a5d37f26543e62f4b5762129e1537ae871dfbb109226364e66fc3576340e704b671df025986846bc SHA512 cd335f0a264679159bb4f98cdac8b37357f886b49d6d98662f2550ba0b5e5d911530c31b0238574ee1b42d6dbe8fc9ff77e3d8ce985baaabc5e58a145f057ffb
-DIST gwyddion-2.61.tar.xz 4982092 BLAKE2B e4949558c52d2a6e97415b65e6816061c117868bdd2f39b341c3f740500f71dd38500323a389058b65f9c30feb9d5fd1e93bc29881b464cdb66981639fe280ed SHA512 c2fff49d52e4c439bf96e68be3534948c1fd48ade9b1e59e2d2d7d607170b5e7ce09e9cde3873ecca526de1561b028f39785dc363186f9f3d4ef0d259d313675
DIST gwyddion-2.62.tar.xz 5010676 BLAKE2B 18012dfe050753413834e8a3734ec82989f375d81ac0242a6bbaf630da1a7741e9701d3c7a8c0dc03cfde8f93de9848ae106731f057c902f44ba1caf0cd79520 SHA512 93aff13f865fab045e17bd6c7633d714c4a97980ff10093f38c35e6dd39a0ed9680185f7a81a198522b623260cf6086d40e2b6a63a1cb59bc176eadf87fb85e1
-EBUILD gwyddion-2.61-r1.ebuild 2022 BLAKE2B b4728c6dfd5ffb2f39fdc595d1ec15b66f3fca6b8d4f06a4f464392920155ff3fc426b7b35493543b8eac062a883a685619f01e57a32c1f494811ecc922b086e SHA512 0ccf38ca8c368bafd55777c3b0bfef1427abe520033982fdaf43528493eaab73aad0821ab07fd5169a7fd90809fc6fb0e43b6e5d20536459bdc76f6e2f307b0c
-EBUILD gwyddion-2.62-r2.ebuild 2023 BLAKE2B 2f0ead807c4cc07fed3d5d96beb8515430b304ef022868f3f98fe301e611810c34c0e01c9700426c8c83b2836df33dd7076c36461c3d08852f0878d1511c4a67 SHA512 7a93d2334512d1c36f927661a92a8fea388a444ecf1193bccc0242f4dd7b3d686d9b16cb583e384ba0068e6ce3827ce173088b810181493f95b78c913d88ab39
EBUILD gwyddion-2.62-r3.ebuild 2022 BLAKE2B a1b12590240528f97cf786e9f05b7492bc69bab251f5956e4bca3eb65c2514843fd4099b557b292344936fab06a50da7f16f3670cef87a587b36d94c8c2ce3bf SHA512 49acd0781ba0a26d50f52e9ddbc7dc32456b4ecec19b647bbfbbf16ed89d4722f02b214ce0e2760a1fe7fbd64e123aeb20883d6324573e8b3be76c51ce3b5f82
MISC metadata.xml 1154 BLAKE2B f5b963012cfc1842557eb4a678d9f1d3dbbefd08ea53e37306b747dd41336fe04418f97487e909a5c58eac4c97dc694a8be90be7b16079449be5269e869549a5 SHA512 612def01f5ce5f6681525c129abe4f58507aac92dc61d1d5ccdb1f95cd7625c5b79beda9eabc9ebf3e76808eeacbebd92ddb4e74476eace966d4ef4c32a68f67
diff --git a/sci-visualization/gwyddion/files/gwyddion-2.60-automagic.patch b/sci-visualization/gwyddion/files/gwyddion-2.60-automagic.patch
deleted file mode 100644
index ac68ac0a2861..000000000000
--- a/sci-visualization/gwyddion/files/gwyddion-2.60-automagic.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 5a7465a..cc5a54d 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -660,11 +660,13 @@ AM_CONDITIONAL([HAVE_CXX],[test "x$have_cxx" != xno])
- #############################################################################
- # OpenEXR 2.x+
- # Optional. Used for HDR greyscale OpenEXR pixmap import/export.
--enable_exr=$have_cxx
--PKG_CHECK_MODULES(EXR, [OpenEXR >= 2.0],
-+GWY_WITH([exr],,[build with OpenEXR support])
-+if test "x$enable_exr" != "xno" && "x$have_cxx" != "xno"; then
-+ PKG_CHECK_MODULES(EXR, [OpenEXR],
- [AC_DEFINE(HAVE_EXR,1,
- [Define if we have the OpenEXR 2.x+ package.])],
- [enable_exr=no])
-+fi
- AM_CONDITIONAL([HAVE_EXR],[test "x$enable_exr" != xno])
-
- #############################################################################
-@@ -679,10 +681,13 @@ AM_CONDITIONAL([HAVE_HDF5],[test "x$enable_hdf5" != xno])
- #############################################################################
- # CFITSIO
- # Optional. Used for FITS image import.
--PKG_CHECK_MODULES(CFITSIO, [cfitsio],
-+GWY_WITH([cfitsio],,[build with cfitsio support])
-+if test "x$enable_cfitsio" != "xno"; then
-+ PKG_CHECK_MODULES(CFITSIO, [cfitsio],
- [AC_DEFINE(HAVE_CFITSIO,1,
- [Define if we have the cfitsio package.])],
- [enable_cfitsio=no])
-+fi
- AM_CONDITIONAL([HAVE_CFITSIO],[test "x$enable_cfitsio" != xno])
-
- #############################################################################
diff --git a/sci-visualization/gwyddion/gwyddion-2.61-r1.ebuild b/sci-visualization/gwyddion/gwyddion-2.61-r1.ebuild
deleted file mode 100644
index 1c242c79a51f..000000000000
--- a/sci-visualization/gwyddion/gwyddion-2.61-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg
-
-DESCRIPTION="Framework for Scanning Mode Microscopy data analysis"
-HOMEPAGE="http://gwyddion.net/"
-SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bzip2 doc fits jansson hdf5 nls openexr openmp perl ruby sourceview unique xml X zlib"
-
-RDEPEND="
- >=dev-libs/glib-2.32
- dev-libs/libzip
- media-libs/libpng:0=
- >=sci-libs/fftw-3.1:3.0=[openmp?]
- virtual/libiconv
- virtual/libintl
- x11-libs/cairo
- >=x11-libs/gtk+-2.18:2
- x11-libs/libXmu
- x11-libs/pango
- bzip2? ( app-arch/bzip2 )
- fits? ( sci-libs/cfitsio[bzip2?] )
- jansson? ( dev-libs/jansson )
- hdf5? ( sci-libs/hdf5:=[hl,zlib?] )
- openexr? ( media-libs/openexr:= )
- perl? ( dev-lang/perl:= )
- ruby? ( dev-ruby/narray )
- unique? ( dev-libs/libunique:3 )
- sourceview? ( x11-libs/gtksourceview:2.0 )
- xml? ( dev-libs/libxml2:2 )
- zlib? ( sys-libs/zlib )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.60-automagic.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-# There are python bindings (--enable-pygwy) but they are py2 only
-# 3D opengl rendering requires deprecated GTK-2 x11-libs/gtkglext
-src_configure() {
- # hack for bug 741840
- use doc && export GTK_DOC_PATH=/usr/share/gtk-doc
-
- econf \
- --disable-rpath \
- --without-kde4-thumbnailer \
- $(use_enable doc gtk-doc) \
- $(use_enable openmp) \
- $(use_enable nls) \
- --disable-pygwy \
- --without-python \
- $(use_with bzip2) \
- $(use_with fits cfitsio) \
- $(use_with hdf5) \
- $(use_with jansson) \
- $(use_with perl) \
- $(use_with ruby) \
- $(use_with openexr exr) \
- --without-gl \
- $(use_with sourceview gtksourceview) \
- $(use_with unique) \
- $(use_with xml libxml2) \
- $(use_with X x) \
- $(use_with zlib) \
- --with-zip=libzip
-}
-
-src_install() {
- default
- find "${ED}" -type f -name "*.la" -delete || die
-}
diff --git a/sci-visualization/gwyddion/gwyddion-2.62-r2.ebuild b/sci-visualization/gwyddion/gwyddion-2.62-r2.ebuild
deleted file mode 100644
index 96d176c56a7e..000000000000
--- a/sci-visualization/gwyddion/gwyddion-2.62-r2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg
-
-DESCRIPTION="Framework for Scanning Mode Microscopy data analysis"
-HOMEPAGE="http://gwyddion.net/"
-SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bzip2 doc fits jansson hdf5 nls openexr openmp perl ruby sourceview unique xml X zlib"
-
-RDEPEND="
- >=dev-libs/glib-2.32
- dev-libs/libzip
- media-libs/libpng:0=
- >=sci-libs/fftw-3.1:3.0=[openmp?]
- virtual/libiconv
- virtual/libintl
- x11-libs/cairo
- >=x11-libs/gtk+-2.18:2
- x11-libs/libXmu
- x11-libs/pango
- bzip2? ( app-arch/bzip2 )
- fits? ( sci-libs/cfitsio[bzip2?] )
- jansson? ( dev-libs/jansson )
- hdf5? ( sci-libs/hdf5:=[hl,zlib?] )
- openexr? ( media-libs/openexr:= )
- perl? ( dev-lang/perl:= )
- ruby? ( dev-ruby/narray )
- unique? ( dev-libs/libunique:3 )
- sourceview? ( x11-libs/gtksourceview:2.0 )
- xml? ( dev-libs/libxml2:2 )
- zlib? ( sys-libs/zlib )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.60-automagic.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-# There are python bindings (--enable-pygwy) but they are py2 only
-# 3D opengl rendering requires deprecated GTK-2 x11-libs/gtkglext
-src_configure() {
- # hack for bug 741840
- use doc && export GTK_DOC_PATH=/usr/share/gtk-doc
-
- econf \
- --disable-rpath \
- --without-kde4-thumbnailer \
- $(use_enable doc gtk-doc) \
- $(use_enable openmp) \
- $(use_enable nls) \
- --disable-pygwy \
- --without-python \
- $(use_with bzip2) \
- $(use_with fits cfitsio) \
- $(use_with hdf5) \
- $(use_with jansson) \
- $(use_with perl) \
- $(use_with ruby) \
- $(use_with openexr exr) \
- --without-gl \
- $(use_with sourceview gtksourceview) \
- $(use_with unique) \
- $(use_with xml libxml2) \
- $(use_with X x) \
- $(use_with zlib) \
- --with-zip=libzip
-}
-
-src_install() {
- default
- find "${ED}" -type f -name "*.la" -delete || die
-}
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index 3849077a8961..221d097e2f31 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1,4 +1,5 @@
-DIST labplot-2.10.1.tar.xz 23193988 BLAKE2B dbea843dcf0761eb40d9a386f8df13b45a889bf41ff1a40434b521f591fb2c776de4c474f553776f43ad3ee85224e919521efdabd853f8d0cc1c0c9ad32a4df8 SHA512 12c8b62519861255dd8cb4ecc3ad4ff34f1862b8e386a9aa97e4f3a2dd0b8989cf14b9dafcea41da2575bd57c0ef9803a15ac9347365cdeea6309dcfda4cd7da
-EBUILD labplot-2.10.1.ebuild 2750 BLAKE2B 1f2e880ed5cd3081c212bbdda2b4895ec842859941629f810dc2bdf997280ddc8f3dd18384cce47a12c47e1371e2d9b469002d5872247b9bd2b6a197ae38dab3 SHA512 4b0da65263d30f4e46675d22fd99a0f04ad4d5c4bacb86a9f36652452196bb1e3f4bc6c5be36301a8f1a0074a8bb402e59c9a42be55cb1c9be17bb22f5e210ab
-EBUILD labplot-9999.ebuild 3091 BLAKE2B eb1a39f40650692c32479c5f7306526e84aa7040d708c57fe18a8f1778d5c8c7a5d0dacb57b4f5ec56f81e48bbfc6775a5d3a4a8e71edeb0eaafb085239949e4 SHA512 4a64d9e39434bb72e9016b13fb3a4334f1a906bed728aa36c28a8391b41835fbd050f62a22c736f68d1f7303dbb8b9a9858dfef17c933a030ae134ae2641c073
-MISC metadata.xml 1845 BLAKE2B bb7aca45e956abdcb37ae99b188fd56f24df36ecd9d5bcd3f657cc3fc6f952d8f5038627a6385f45199e22e1a0a70718b10628b6975d41c01a013291639ec154 SHA512 5af43fdb00656214370302db18d2b22acde9b5b80c6e5aa6a30c46791590224e324a4c350af2d7978b4f3694fdd78ce3df71bfeacc6b67cf8f0d39d6c687f6dd
+AUX labplot-2.11.1-ods-buildfix.patch 1410 BLAKE2B ff97af93ac85e4ceb71c5b7166618a765d0f527f0d6435af86c8d2d4688b3733898ca0031f73a9f33b2f91af9b103a20b224ccc6502502b92dea42cec3dfaa46 SHA512 6e0549b2d44146d56b13b73c0a27cb981be9bc23063f284fc709ff5009b65948ac020a43a439d22861ffc2ea3d2c156e23b4176a85c7aca761c6f6b340bf9765
+DIST labplot-2.11.1.tar.xz 24180904 BLAKE2B c2b94db140ca47f648f2b7e82956a88fa36819aa666430d69b0c328d46a254e0fe9991d4ea61581c4c8da0f44694b2016471090a166e8beeb378f1e02eb6b2c7 SHA512 51a039c7eec5a2e104079b1dc7bfe1ecdc2c4e3327bcfbdc99e1b2fbae2b2be5db3a1a2c319e30d41a7cfcf177be756e8e3bb05d9a58c8418e43900dfad6b3b1
+EBUILD labplot-2.11.1.ebuild 3139 BLAKE2B c7b8b87c5fd47ca487bca962b7c0d87cbbdd80af95792702acd3e4ddd24b626ca62f2d4cb419a315f83215001bfa86e35963f7ba48eced32068a2aff63fc00a7 SHA512 8d68f11c98acc48f5426a6afbc1a5a95116f0efe6fd2a8a555df8f8ec6c81bad0ec2b2b63cb65cdf1c57291c620ddb5766e06f3aefaf44c93cf572fae6da4c45
+EBUILD labplot-9999.ebuild 3088 BLAKE2B b5064f21859f7b8675726f0e3ad0341f2e8aace1d55d3e3e678e7f500d519e395de86da2e933ffdec39753e388b7407b5972b4f9f3b35de4319963e7252e2678 SHA512 ef03c3af60d22613fdb8c3023ed51e25bd734edefa7ad3dbd9d20e1db3184b8fb19ff682e19d988d031c8261d25b229c308818a13504de0ca0dd0c934b7cc127
+MISC metadata.xml 1748 BLAKE2B e732eb74a1583b3fd213815f50ef4aa32fb74b23c4006983b1ad6aa9cf090a2236e3507a249b1be458e05ba879e2e7ace8a553e63508228aa9017f953af6dcb3 SHA512 7e6a11108d8a3910d10784dd427b8de4fbb5d553f2223c65e166753b05e5d529472b47c79070d65767dfa239c58f4e11617d0a99e2800a2f78607fb94866bcc0
diff --git a/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch b/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch
new file mode 100644
index 000000000000..affddeeaae5b
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch
@@ -0,0 +1,38 @@
+From 0edfd2862a8f953cdd06ffe4940e1da5b7b5dc17 Mon Sep 17 00:00:00 2001
+From: Alexander Semke <alexander.semke@web.de>
+Date: Mon, 15 Jul 2024 09:56:40 +0200
+Subject: [PATCH] Minor qt6 related fixes.
+
+---
+ src/kdefrontend/datasources/OdsOptionsWidget.cpp | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/kdefrontend/datasources/OdsOptionsWidget.cpp b/src/kdefrontend/datasources/OdsOptionsWidget.cpp
+index 6424032dd..c90943695 100644
+--- a/src/kdefrontend/datasources/OdsOptionsWidget.cpp
++++ b/src/kdefrontend/datasources/OdsOptionsWidget.cpp
+@@ -67,9 +67,9 @@ void OdsOptionsWidget::sheetSelectionChanged() {
+ }
+
+ if (selectedItems.size() > 1)
+- emit enableDataPortionSelection(false);
++ Q_EMIT enableDataPortionSelection(false);
+ else // one selected item
+- emit enableDataPortionSelection(true);
++ Q_EMIT enableDataPortionSelection(true);
+
+ auto* item = selectedItems.last();
+ auto* const filter = static_cast<OdsFilter*>(m_fileWidget->currentFileFilter());
+@@ -98,7 +98,8 @@ void OdsOptionsWidget::sheetSelectionChanged() {
+ const int maxColumns = 100;
+ for (int row = 0; row < rowCount; ++row) {
+ auto lineString = importedStrings.at(row);
+- colCount = std::min(maxColumns, lineString.size());
++ const int size = lineString.size();
++ colCount = std::min(maxColumns, size);
+ if (row == 0) {
+ ui.twPreview->setColumnCount(colCount);
+
+--
+GitLab
+
diff --git a/sci-visualization/labplot/labplot-2.10.1.ebuild b/sci-visualization/labplot/labplot-2.10.1.ebuild
deleted file mode 100644
index dceb294dff35..000000000000
--- a/sci-visualization/labplot/labplot-2.10.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="forceoptional"
-KFMIN=5.88.0
-QTMIN=5.15.2
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
-HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="5"
-IUSE="cantor excel fftw fits hdf5 libcerf markdown matio netcdf origin root serial telemetry"
-
-DEPEND="
- app-text/poppler
- >=dev-qt/qtconcurrent-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/syntax-highlighting-${KFMIN}:5
- >=sci-libs/gsl-1.15:=
- cantor? (
- >=kde-apps/cantor-19.12.0:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- )
- excel? ( dev-libs/qxlsx:= )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:= )
- hdf5? ( sci-libs/hdf5:= )
- libcerf? ( sci-libs/libcerf )
- markdown? ( app-text/discount:= )
- matio? ( sci-libs/matio:= )
- netcdf? ( sci-libs/netcdf:= )
- origin? ( sci-libs/liborigin:2 )
- root? (
- app-arch/lz4
- sys-libs/zlib
- )
- serial? ( >=dev-qt/qtserialport-${QTMIN}:5 )
- telemetry? ( kde-frameworks/kuserfeedback:5 )
-"
-RDEPEND="${DEPEND}"
-# not packaged: dev-qt/qtmqtt, bug 683994
-BDEPEND="
- app-alternatives/yacc
- sys-devel/gettext
-"
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_MQTT=OFF # not packaged
- -DENABLE_READSTAT=OFF # not packaged
- -DENABLE_VECTOR_BLF=OFF # not packaged
- -DENABLE_CANTOR=$(usex cantor)
- -DENABLE_EXCEL=$(usex excel)
- -DENABLE_FFTW=$(usex fftw)
- -DENABLE_FITS=$(usex fits)
- -DENABLE_HDF5=$(usex hdf5)
- -DENABLE_LIBCERF=$(usex libcerf)
- -DENABLE_DISCOUNT=$(usex markdown)
- -DENABLE_MATIO=$(usex matio)
- -DENABLE_NETCDF=$(usex netcdf)
- -DENABLE_LIBORIGIN=$(usex origin)
- -DENABLE_ROOT=$(usex root)
- -DENABLE_QTSERIALPORT=$(usex serial)
- $(cmake_use_find_package telemetry KUserFeedback)
- -DENABLE_TESTS=$(usex test)
- )
-
- ecm_src_configure
-}
diff --git a/sci-visualization/labplot/labplot-2.11.1.ebuild b/sci-visualization/labplot/labplot-2.11.1.ebuild
new file mode 100644
index 000000000000..2c5e9dedfc90
--- /dev/null
+++ b/sci-visualization/labplot/labplot-2.11.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=6.3.0
+QTMIN=6.6.2
+inherit ecm kde.org
+
+DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
+HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="eigen fftw fits hdf5 libcerf markdown matio netcdf ods origin root serial share telemetry xlsx"
+
+# IUSE="cantor"
+# cantor? (
+# >=kde-apps/cantor-19.12.0:6
+# >=kde-frameworks/kparts-${KFMIN}:6
+# >=kde-frameworks/kservice-${KFMIN}:6
+# )
+DEPEND="
+ app-text/poppler[qt6(-)]
+ >=dev-qt/qtbase-${QTMIN}:6=[concurrent,gui,network,sql,widgets]
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/knewstuff-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:6
+ >=sci-libs/gsl-1.15:=
+ eigen? ( dev-cpp/eigen:3= )
+ xlsx? ( dev-libs/qxlsx:= )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:= )
+ hdf5? ( sci-libs/hdf5:= )
+ libcerf? ( sci-libs/libcerf )
+ markdown? ( app-text/discount:= )
+ matio? ( sci-libs/matio:= )
+ netcdf? ( sci-libs/netcdf:= )
+ ods? (
+ dev-libs/libixion:=
+ dev-libs/liborcus:=
+ )
+ origin? ( sci-libs/liborigin:2 )
+ root? (
+ app-arch/lz4
+ sys-libs/zlib
+ )
+ serial? ( >=dev-qt/qtserialport-${QTMIN}:6 )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:6 )
+ telemetry? ( >=kde-frameworks/kuserfeedback-${KFMIN}:6 )
+"
+RDEPEND="${DEPEND}
+ !${CATEGORY}/${PN}:5
+"
+# not packaged: dev-qt/qtmqtt, bug 683994
+BDEPEND="
+ app-alternatives/yacc
+ sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${P}-ods-buildfix.patch" )
+
+src_prepare() {
+ ecm_src_prepare
+
+ sed -e "/^ *find_package.*QT NAMES/s/Qt5 //" \
+ -i CMakeLists.txt || die # ensure Qt6 build
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_MQTT=OFF # not packaged
+ -DENABLE_READSTAT=OFF # not packaged
+ -DENABLE_VECTOR_BLF=OFF # not packaged
+ -DENABLE_CANTOR=OFF # $(usex cantor)
+ -DENABLE_EIGEN3=$(usex eigen)
+ -DENABLE_XLSX=$(usex xlsx)
+ -DENABLE_FFTW=$(usex fftw)
+ -DENABLE_FITS=$(usex fits)
+ -DENABLE_HDF5=$(usex hdf5)
+ -DENABLE_LIBCERF=$(usex libcerf)
+ -DENABLE_DISCOUNT=$(usex markdown)
+ -DENABLE_MATIO=$(usex matio)
+ -DENABLE_NETCDF=$(usex netcdf)
+ -DENABLE_ORCUS=$(usex ods)
+ -DENABLE_LIBORIGIN=$(usex origin)
+ $(cmake_use_find_package share KF6Purpose)
+ -DENABLE_ROOT=$(usex root)
+ -DENABLE_QTSERIALPORT=$(usex serial)
+ $(cmake_use_find_package telemetry KUserFeedbackQt6) # FIXME: should be KF6UserFeedback
+ -DENABLE_TESTS=$(usex test)
+ )
+
+ ecm_src_configure
+}
diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
index f83aea5d78d6..4684a482542b 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -18,7 +18,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="eigen excel fftw fits hdf5 libcerf markdown matio netcdf ods origin root serial share telemetry"
+IUSE="eigen fftw fits hdf5 libcerf markdown matio netcdf ods origin root serial share telemetry xlsx"
# IUSE="cantor"
# cantor? (
@@ -46,7 +46,7 @@ DEPEND="
>=kde-frameworks/syntax-highlighting-${KFMIN}:6
>=sci-libs/gsl-1.15:=
eigen? ( dev-cpp/eigen:3= )
- excel? ( dev-libs/qxlsx:= )
+ xlsx? ( dev-libs/qxlsx:= )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:= )
hdf5? ( sci-libs/hdf5:= )
@@ -90,7 +90,7 @@ src_configure() {
-DENABLE_VECTOR_BLF=OFF # not packaged
-DENABLE_CANTOR=OFF # $(usex cantor)
-DENABLE_EIGEN3=$(usex eigen)
- -DENABLE_XLSX=$(usex excel)
+ -DENABLE_XLSX=$(usex xlsx)
-DENABLE_FFTW=$(usex fftw)
-DENABLE_FITS=$(usex fits)
-DENABLE_HDF5=$(usex hdf5)
diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
index 75a89a727232..cd20ab7b75cd 100644
--- a/sci-visualization/labplot/metadata.xml
+++ b/sci-visualization/labplot/metadata.xml
@@ -14,13 +14,11 @@
<name>Gentoo KDE Project</name>
</maintainer>
<upstream>
- <bugs-to>https://bugs.kde.org/</bugs-to>
+ <bugs-to>https://bugs.kde.org/enter_bug.cgi?product=LabPlot2</bugs-to>
<remote-id type="kde-invent">education/labplot</remote-id>
</upstream>
<use>
- <flag name="cantor">Enable support for different open-source computer algebra systems via <pkg>kde-apps/cantor</pkg></flag>
<flag name="eigen">Enable support for fast baseline removal via <pkg>dev-cpp/eigen</pkg></flag>
- <flag name="excel">Enable support for importing/exporting Microsoft Excel files (.xlsx) via <pkg>dev-libs/qxlsx</pkg></flag>
<flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
<flag name="libcerf">Enable special functions from <pkg>sci-libs/libcerf</pkg></flag>
<flag name="markdown">Enable Markdown support via <pkg>app-text/discount</pkg></flag>
@@ -30,5 +28,6 @@
<flag name="root">Enable support for CERN's ROOT file type</flag>
<flag name="serial">Enable support for RS232 serial ports using <pkg>dev-qt/qtserialport</pkg></flag>
<flag name="share">Enable support for a share menu using <pkg>kde-frameworks/purpose</pkg></flag>
+ <flag name="xlsx">Enable support for importing/exporting Microsoft Excel files (.xlsx) via <pkg>dev-libs/qxlsx</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sci-visualization/pythonprop/Manifest b/sci-visualization/pythonprop/Manifest
index 5d79d0868c7a..6a302e791b29 100644
--- a/sci-visualization/pythonprop/Manifest
+++ b/sci-visualization/pythonprop/Manifest
@@ -1,4 +1,5 @@
-AUX pythonprop-drop-portland.patch 4249 BLAKE2B 6b7d2ce79db62d6343f68685383e8e60b8a97ef7dc932719218c8078dac4a058b3fc36b21c0a0db0855a766fbe23d575cd6785511fce15d497cbb5a4964508ff SHA512 b03ac440ae831ca8525f39915c2dbca91858d3a284c9ae4f36b1ac27594e00aab02aa2d090c08d0aeee7e273548e769138fc3a965801d462c181a00cb87aa959
-DIST pythonprop-0.30.1.tar.gz 1141620 BLAKE2B 54554d1a50976aa0516e70ef6cabf8c8c8fe41dc15980d0d06defca2dbf722baa4e98dddb974ea0d6da18e3d634661c980685b89411e8de4cf1cded452bb60a1 SHA512 582442e95732c78b580eceaf8b9d4922a23e5b3c5652738b110a40e1b94f91196755fad6e00370328130acc608121961d4e449199610137a757b086b53184b43
-EBUILD pythonprop-0.30.1-r1.ebuild 1243 BLAKE2B fc4c1e6b0b6102fd7bde6894cc2c10908cf8b23144d0eb0fe1cbd878e0169f7c99599e74a5181b2af0e68e2915e0871d45a2435fbde788382d12e2c25e3a8a78 SHA512 04863b59a1c9f815ec00fe758cc8adab6e2cf73ba89c5017d6fe3ae8b2692ec10d2f39b0600f4893e2b1114040db497836d7c917b948f7a5b2eae75f060f4e7e
+AUX pythonprop-0.30.1-p20240217.patch 7124 BLAKE2B e95d31710f4201500aeef7d474b8f5c45a935179ac6c79d60e2cfb7e82c553e3be52af207b5797de1a8ec7e4fc916f75600491ca21ee4d71b8bac7f13befca7c SHA512 dfc3ffc902c9415a27e5a74f8dc988bb99c73e9daf8bcdd6c0a57d595014173995cddb0b95df1c69b40b288291af666ac8d4ee432a16615209b04ff7e7c2b5d8
+AUX pythonprop-matplotlib3.9.patch 2976 BLAKE2B 9affdfc859401f1b68326cc80538550c56f018c6e2d79f973b2c3abef552a0e75b392a40853413da3fb843143c86fe694b0083e6770cda874879d2b00c76d94f SHA512 ea2e02691222a7afce0cbae5b83bdaba748b2042a21c256721b5a9c73ae1db7db7b1826a58d42d828b7a33491941b44a0688a1f0015454877f8ba51e1f39b3cb
+DIST pythonprop-0.30.1_p20240217.tar.gz 1141620 BLAKE2B 54554d1a50976aa0516e70ef6cabf8c8c8fe41dc15980d0d06defca2dbf722baa4e98dddb974ea0d6da18e3d634661c980685b89411e8de4cf1cded452bb60a1 SHA512 582442e95732c78b580eceaf8b9d4922a23e5b3c5652738b110a40e1b94f91196755fad6e00370328130acc608121961d4e449199610137a757b086b53184b43
+EBUILD pythonprop-0.30.1_p20240217.ebuild 1359 BLAKE2B 57de6b44082ffb293012d02aedd015faddf1f6467c453c67f5c7a87177fa784f8beea05dfa3aab5d873d5e796c96ab7afba7acd4275b627f89188f07b48c5d1e SHA512 1fcce7e3028e05570982b1131aeecc43dad102f4011645e755e41868eb4ecf901088192f5152fe4828b930b01bef3bf2bc8d058ca1b4cad0bcbcddce4361f513
MISC metadata.xml 464 BLAKE2B 51b9b066a69b6dbfb7eac1b069e1481106970d675c0ddafc8131551d4fe676cdda7828c36d50d30b82ea5a97d2f43385c0c420e1a843355dac09aa5b3eadbf93 SHA512 f10cc21761693cf0bd78c19283a8618c0fa7473bded1b87b5fa517ebd860d8d76977d78131af576b2d36cee6ef51d0788b151dbe89418efcd4bb64fc7acfdb92
diff --git a/sci-visualization/pythonprop/files/pythonprop-0.30.1-p20240217.patch b/sci-visualization/pythonprop/files/pythonprop-0.30.1-p20240217.patch
new file mode 100644
index 000000000000..61e26db5a736
--- /dev/null
+++ b/sci-visualization/pythonprop/files/pythonprop-0.30.1-p20240217.patch
@@ -0,0 +1,169 @@
+diff --git a/data/voacapgui.desktop.in b/data/voacapgui.desktop.in
+index 3237a87..175d7d8 100644
+--- a/data/voacapgui.desktop.in
++++ b/data/voacapgui.desktop.in
+@@ -3,4 +3,5 @@ Type=Application
+ Exec=voacapgui
+ Name=voacapgui
+ Categories=Science;HamRadio
++Keywords=amateur;ham;hf;prediction;plot;radio;voacap;
+ Icon=@PACKAGE@
+diff --git a/man/voa3DPlot.1 b/man/voa3DPlot.1
+new file mode 100644
+index 0000000..1336eea
+--- /dev/null
++++ b/man/voa3DPlot.1
+@@ -0,0 +1,36 @@
++.TH voa3DPlot 1 "FEV 2024" Linux "User Manuals"
++.SH NAME
++voa3DPlot \- Plot the contents of VOACAP output files in a 3D format
++.SH SYNOPSIS
++.B voa3DPlot [options] file
++.SH DESCRIPTION
++.B voa3DPlot
++A python script used to graphically display the contents of output files produced by VOACAP.
++.SH OPTIONS
++.IP --version
++Shows program version number and exit.
++.IP "-h, --help"
++Shows a help message and exit.
++.IP "-b band, --band=band"
++Displays a band plan indicated by 'band', an integer value from 1 to 3 (1:SWL, 2:UK AMATEUR BANDS and 3:KSA AMATEUR BANDS).
++.IP "-f max_frequency, --freqmax=max_frequency"
++Specifies the maximum frequency (MHz) to display on the Y axis.
++.IP "-g group, --group=group"
++Specifies the group(s) within a file containing multiple groups to plot. Multiple groups must be separated by commas, e.g. '-g 1,3,4' (default = 1).
++.IP "-l 'label', --label='label'"
++Specifies the text label to be printed as a main title at the top of the plot.
++.IP "-m colourmap, --cmap=colourmap"
++Specifies the colourmap to use. Supported colour maps are 'autumn', 'bone', 'cool', 'copper',', 'hot', 'hsv', 'jet', 'pink', 'spring', 'summer', 'winter' (default = 'jet').
++.IP "-o outputfile, --outfile=outputfile"
++Used to specify an output file to save the plot to.
++.IP "-q, --quiet"
++Process quietly, don't produce a graph on the screen. This only makes sense when used in conjunction with the -o option.
++.IP "-t type, --datatype=type"
++Specifies the type of image to plot. Supported image types are 0:None 1:MUFday 2:REL 3:SNR 4:S DBW (default = 1).
++.IP "-z timezone, --timezone=timezone"
++Specifies the timezone to shift the plots to.
++.SH AUTHORS
++This program was written by James Watson (M0DNS) <jimwatson at mac dot com>.
++
++This manual page was written by David da Silva Polverari <polverari@debian.org>
++for the Debian Project (but may be used by others).
+diff --git a/man/voaAreaPlot.1 b/man/voaAreaPlot.1
+index 8ddcfde..eb8c76a 100644
+--- a/man/voaAreaPlot.1
++++ b/man/voaAreaPlot.1
+@@ -46,7 +46,7 @@ POI_FILE is a text file with points of interest to plot on the map. The file is
+ .IP "-p PROJECTION, --projection=PROJECTION"
+ PROJECTION specifies the map projection. Valid values are 'cyl' (Equidistant
+ Cylindrical), 'mill' (Miller Cylindrical), gall' (Gall Stereographic),
+-'robin' (Robinson), 'vandg' (van der Grinten), 'sinu' (Sinusoidal), 'mbtfpq'
++\(aqrobin' (Robinson), 'vandg' (van der Grinten), 'sinu' (Sinusoidal), 'mbtfpq'
+ (McBryde-Thomas Flat Polar Quartic), 'eck4' (Eckert IV), 'kav7' (Kavrayskiy
+ VII), 'moll' (Mollweide), 'hammer' (Hammer).
+ .IP "-r RESOLUTION, --resolution=RESOLUTION"
+diff --git a/man/voaAreaPlotgui.1 b/man/voaAreaPlotgui.1
+new file mode 100644
+index 0000000..88d07d6
+--- /dev/null
++++ b/man/voaAreaPlotgui.1
+@@ -0,0 +1,13 @@
++.TH voaAreaPlotgui 1 "FEV 2024" Linux "User Manuals"
++.SH NAME
++voaAreaPlotgui \- Graphical frontend to the voaAreaPlot application
++.SH SYNOPSIS
++.B voaAreaPlotgui file
++.SH DESCRIPTION
++.B voaAreaPlotgui
++is a graphical user interface to the voaAreaPlot application. It plots the file contents according to the parameters set on the user interface.
++.SH AUTHORS
++This program was written by James Watson (M0DNS) <jimwatson at mac dot com>.
++
++This manual page was written by David da Silva Polverari <polverari@debian.org>
++for the Debian Project (but may be used by others).
+diff --git a/man/voaP2PPlotgui.1 b/man/voaP2PPlotgui.1
+new file mode 100644
+index 0000000..457a6a0
+--- /dev/null
++++ b/man/voaP2PPlotgui.1
+@@ -0,0 +1,13 @@
++.TH voaP2PPlotgui 1 "FEV 2024" Linux "User Manuals"
++.SH NAME
++voaP2PPlotgui \- Graphical frontend to the voaP2PPlot application
++.SH SYNOPSIS
++.B voaP2PPlotgui file
++.SH DESCRIPTION
++.B voaP2PPlotgui
++is a graphical user interface to the voaP2PPlot application. It plots the file contents according to the parameters set on the user interface.
++.SH AUTHORS
++This program was written by James Watson (M0DNS) <jimwatson at mac dot com>.
++
++This manual page was written by David da Silva Polverari <polverari@debian.org>
++for the Debian Project (but may be used by others).
+diff --git a/man/voacapgui.1 b/man/voacapgui.1
+new file mode 100644
+index 0000000..31b12eb
+--- /dev/null
++++ b/man/voacapgui.1
+@@ -0,0 +1,13 @@
++.TH voacapgui 1 "FEV 2024" Linux "User Manuals"
++.SH NAME
++voacapgui \- An input GUI for voacapl
++.SH SYNOPSIS
++.B voacapgui
++.SH DESCRIPTION
++.B voacapgui
++is a graphical user interface frontend for \fBvoacapl\fP. It generates voacap input files from user input data and plots the resulting predictions.
++.SH AUTHORS
++This program was written by James Watson (M0DNS) <jimwatson at mac dot com>.
++
++This manual page was written by David da Silva Polverari <polverari@debian.org>
++for the Debian Project (but may be used by others).
+diff --git a/src/pythonprop/voaAreaPlot.py b/src/pythonprop/voaAreaPlot.py
+index a0bd789..01f5d86 100644
+--- a/src/pythonprop/voaAreaPlot.py
++++ b/src/pythonprop/voaAreaPlot.py
+@@ -114,6 +114,9 @@ class VOAAreaPlot:
+
+ self.datadir = datadir
+
++ # set backend during initialization to avoid switching error
++ matplotlib.use('GTK3Agg')
++
+ try:
+ plot_parameters = VOAFile((in_file))
+ plot_parameters.parse_file()
+@@ -146,7 +149,10 @@ class VOAAreaPlot:
+ # sys.exit(1)
+
+ portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
+- plt.register_cmap(name='portland', cmap=portland)
++ try:
++ plt.register_cmap(name='portland', cmap=portland)
++ except ValueError:
++ print("Portland colormap is already registered")
+ colMap = color_map
+
+ projection = ccrs.PlateCarree()
+diff --git a/src/pythonprop/voaP2PPlot.py b/src/pythonprop/voaP2PPlot.py
+index faf87e6..7255667 100644
+--- a/src/pythonprop/voaP2PPlot.py
++++ b/src/pythonprop/voaP2PPlot.py
+@@ -136,8 +136,15 @@ class VOAP2PPlot:
+
+ self.image_defs = self.IMG_TYPE_DICT[self.data_type]
+ self.user_bands = user_bands
++
++ # set backend during initialization to avoid switching error
++ matplotlib.use('GTK3Agg')
++
+ portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
+- matplotlib.cm.register_cmap(name='portland', cmap=portland)
++ try:
++ matplotlib.cm.register_cmap(name='portland', cmap=portland)
++ except ValueError:
++ print("Portland colormap is already registered")
+
+ if plot_groups[0]=='a':
+ num_grp = self.df.get_number_of_groups()
diff --git a/sci-visualization/pythonprop/files/pythonprop-drop-portland.patch b/sci-visualization/pythonprop/files/pythonprop-drop-portland.patch
deleted file mode 100644
index 5a6736b4624b..000000000000
--- a/sci-visualization/pythonprop/files/pythonprop-drop-portland.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-# Drop 'portland' colormap creation. It is done more than once and actual
-# matplotlib do not like redefinitions.
-diff --git a/src/pythonprop/voaAreaPlot.py b/src/pythonprop/voaAreaPlot.py
-index a0bd789..a3bdd48 100644
---- a/src/pythonprop/voaAreaPlot.py
-+++ b/src/pythonprop/voaAreaPlot.py
-@@ -94,7 +94,7 @@ class VOAAreaPlot:
- vg_files = [1],
- data_type = 1,
- time_zone = 0,
-- color_map = 'portland',
-+ color_map = 'jet',
- face_colour = "white",
- filled_contours = False,
- plot_contours = False,
-@@ -145,8 +145,6 @@ class VOAAreaPlot:
- # print "-180 < Latitude < 180.0, -90 < Longitude < 90"
- # sys.exit(1)
-
-- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
-- plt.register_cmap(name='portland', cmap=portland)
- colMap = color_map
-
- projection = ccrs.PlateCarree()
-@@ -498,8 +496,8 @@ def main(in_file, datadir=None):
- dest = "color_map",
- default = 'jet',
- choices = [ 'autumn', 'bone', 'cool', 'copper', 'gray', \
-- 'hot', 'hsv', 'jet', 'pink', 'spring','summer', 'winter', 'portland' ],
-- help=_("COLOURMAP - may be one of 'autumn', 'bone', 'cool', 'copper', 'gray', 'hot', 'hsv', 'jet', 'pink', 'spring', 'summer', 'winter' or 'portland'. Default = 'jet'"))
-+ 'hot', 'hsv', 'jet', 'pink', 'spring','summer', 'winter' ],
-+ help=_("COLOURMAP - may be one of 'autumn', 'bone', 'cool', 'copper', 'gray', 'hot', 'hsv', 'jet', 'pink', 'spring', 'summer' or 'winter'. Default = 'jet'"))
- """
- parser.add_argument("-n", "--interest",
- dest = "poi_file",
-diff --git a/src/pythonprop/voaAreaPlotgui.py b/src/pythonprop/voaAreaPlotgui.py
-index c001397..9f75acc 100644
---- a/src/pythonprop/voaAreaPlotgui.py
-+++ b/src/pythonprop/voaAreaPlotgui.py
-@@ -84,8 +84,7 @@ class VOAAreaPlotGUI:
- 'pink': _('pink'),
- 'spring': _('spring'),
- 'summer': _('summer'),
-- 'winter': _('winter'),
-- 'portland': _('portland')}
-+ 'winter': _('winter')}
-
- def __init__(self,
- data_source_filename,
-diff --git a/src/pythonprop/voaP2PPlot.py b/src/pythonprop/voaP2PPlot.py
-index faf87e6..61fe9b9 100644
---- a/src/pythonprop/voaP2PPlot.py
-+++ b/src/pythonprop/voaP2PPlot.py
-@@ -136,8 +136,6 @@ class VOAP2PPlot:
-
- self.image_defs = self.IMG_TYPE_DICT[self.data_type]
- self.user_bands = user_bands
-- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
-- matplotlib.cm.register_cmap(name='portland', cmap=portland)
-
- if plot_groups[0]=='a':
- num_grp = self.df.get_number_of_groups()
-@@ -375,8 +373,8 @@ def main(data_file, datadir=None):
- dest="color_map",
- default='jet',
- choices = [ 'autumn', 'bone', 'cool', 'copper', 'gray', \
-- 'hot', 'hsv', 'jet', 'pink', 'spring','summer', 'winter', 'portland' ],
-- help=_("COLOURMAP - may be one of 'autumn', 'bone', 'cool', 'copper', 'gray', 'hot', 'hsv', 'jet', 'pink', 'spring', 'summer', 'winter' or 'portland'. Default = 'jet'"))
-+ 'hot', 'hsv', 'jet', 'pink', 'spring','summer', 'winter' ],
-+ help=_("COLOURMAP - may be one of 'autumn', 'bone', 'cool', 'copper', 'gray', 'hot', 'hsv', 'jet', 'pink', 'spring', 'summer' or 'winter'. Default = 'jet'"))
-
- parser.add_argument("-o", "--outfile",
- dest="save_file",
-diff --git a/src/pythonprop/voaP2PPlotgui.py b/src/pythonprop/voaP2PPlotgui.py
-index e1c120b..0aca557 100644
---- a/src/pythonprop/voaP2PPlotgui.py
-+++ b/src/pythonprop/voaP2PPlotgui.py
-@@ -83,8 +83,7 @@ class VOAP2PPlotGUI:
- 'pink': _('pink'),
- 'spring': _('spring'),
- 'summer': _('summer'),
-- 'winter': _('winter'),
-- 'portland': _('portland')}
-+ 'winter': _('winter')}
-
-
- def __init__(self, data_source_filename, parent = None, datadir=""):
diff --git a/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch b/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
new file mode 100644
index 000000000000..4cea6f50d4ee
--- /dev/null
+++ b/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
@@ -0,0 +1,65 @@
+--- a/src/pythonprop/voaAreaPlot.py
++++ b/src/pythonprop/voaAreaPlot.py
+@@ -148,15 +148,15 @@ class VOAAreaPlot:
+ # print "-180 < Latitude < 180.0, -90 < Longitude < 90"
+ # sys.exit(1)
+
+- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
++ portland = ListedColormap(["#0C3383","#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"], name="portland")
+ try:
+- plt.register_cmap(name='portland', cmap=portland)
++ matplotlib.colormaps.register(cmap=portland)
+ except ValueError:
+ print("Portland colormap is already registered")
+ colMap = color_map
+
+ projection = ccrs.PlateCarree()
+- axes_class = (GeoAxes,dict(map_projection=projection))
++ axes_class = (GeoAxes,dict(projection=projection))
+
+ number_of_subplots = len(vg_files)
+
+@@ -208,7 +208,7 @@ class VOAAreaPlot:
+ cbar_mode='single',
+ cbar_pad=0.2,
+ cbar_size='3%',
+- label_mode='')
++ label_mode='L')
+
+ self.main_title_label = fig.suptitle(str(self.image_defs['title']), fontsize=self.main_title_fontsize)
+
+@@ -292,7 +292,7 @@ class VOAAreaPlot:
+ ax.plot([xpt],[ypt],'ro')
+ ax.text(xpt+100000,ypt+100000,location.get_name())
+ """
+- gl = ax.gridlines(crs=projection, draw_labels=True,
++ gl = ax.gridlines(crs=projection, draw_labels=["bottom", "left"],
+ linewidth=1, color='black', alpha=0.75)
+ gl.xlabels_top = False
+ gl.xlabels_bottom = False
+diff --git a/src/pythonprop/voaP2PPlot.py b/src/pythonprop/voaP2PPlot.py
+index 7255667..4a3ff05 100644
+--- a/src/pythonprop/voaP2PPlot.py
++++ b/src/pythonprop/voaP2PPlot.py
+@@ -140,9 +140,10 @@ class VOAP2PPlot:
+ # set backend during initialization to avoid switching error
+ matplotlib.use('GTK3Agg')
+
+- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
++ portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"],
++name="portland")
+ try:
+- matplotlib.cm.register_cmap(name='portland', cmap=portland)
++ matplotlib.colormaps.register(cmap=portland)
+ except ValueError:
+ print("Portland colormap is already registered")
+
+@@ -203,7 +204,7 @@ class VOAP2PPlot:
+ cbar_mode='single',
+ cbar_pad=0.2,
+ cbar_size='3%',
+- label_mode='')
++ label_mode='L')
+
+ self.main_title_label = fig.suptitle(plot_label+str(self.image_defs['title']), fontsize=self.main_title_fontsize)
+
diff --git a/sci-visualization/pythonprop/pythonprop-0.30.1-r1.ebuild b/sci-visualization/pythonprop/pythonprop-0.30.1_p20240217.ebuild
index 0020e216326c..87ef45d96187 100644
--- a/sci-visualization/pythonprop/pythonprop-0.30.1-r1.ebuild
+++ b/sci-visualization/pythonprop/pythonprop-0.30.1_p20240217.ebuild
@@ -7,9 +7,13 @@ PYTHON_COMPAT=( python3_{9..12} )
inherit autotools python-single-r1
+MY_PV=$(ver_cut 1-3)
+
DESCRIPTION="Scripts to prepare and plot VOACAP propagation predictions"
HOMEPAGE="https://www.qsl.net/h/hz1jw/pythonprop"
-SRC_URI="https://github.com/jawatson/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/jawatson/${PN}/archive/v${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="GPL-3"
SLOT="0"
@@ -31,7 +35,8 @@ DEPEND="${RDEPEND}
app-text/yelp-tools
"
-PATCHES=( "${FILESDIR}/${PN}-drop-portland.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0.30.1-p20240217.patch"
+ "${FILESDIR}/${PN}-matplotlib3.9.patch" )
src_prepare() {
eapply_user