From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BB212158090 for ; Thu, 5 May 2022 01:07:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFF0EE07DB; Thu, 5 May 2022 01:07:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B88E1E07AE for ; Thu, 5 May 2022 01:07:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E09834167F for ; Thu, 5 May 2022 01:07:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BF40447 for ; Thu, 5 May 2022 01:07:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1651712837.aac091c1ac349d27bd53fdf9fdbde4149d2b2098.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/octave/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/octave/octave-7.1.0.ebuild X-VCS-Directories: sci-mathematics/octave/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aac091c1ac349d27bd53fdf9fdbde4149d2b2098 X-VCS-Branch: master Date: Thu, 5 May 2022 01:07:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: faff7946-12aa-411d-9b9a-39d2d38321b8 X-Archives-Hash: 85bd89d37beb33a3980466ee55305a40 commit: aac091c1ac349d27bd53fdf9fdbde4149d2b2098 Author: Sam James gentoo org> AuthorDate: Thu May 5 00:55:37 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 5 01:07:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac091c1 sci-mathematics/octave: tidy up 7.1.0 Signed-off-by: Sam James gentoo.org> sci-mathematics/octave/octave-7.1.0.ebuild | 35 ++++++++++++------------------ 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/sci-mathematics/octave/octave-7.1.0.ebuild b/sci-mathematics/octave/octave-7.1.0.ebuild index 37a6248277be..9d333e018ff1 100644 --- a/sci-mathematics/octave/octave-7.1.0.ebuild +++ b/sci-mathematics/octave/octave-7.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils qmake-utils toolchain-funcs xdg-utils +inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils qmake-utils toolchain-funcs xdg DESCRIPTION="High-level interactive language for numerical computations" HOMEPAGE="https://www.gnu.org/software/octave/" @@ -81,9 +81,10 @@ RDEPEND=" ) sundials? ( >=sci-libs/sundials-4:0= ) X? ( x11-libs/libX11:0= )" -BDEPEND="${RDEPEND} - dev-util/gperf +DEPEND="${RDEPEND}" +BDEPEND="dev-util/gperf virtual/pkgconfig + virtual/imagemagick-tools doc? ( dev-texlive/texlive-fontsrecommended dev-texlive/texlive-plaingeneric @@ -93,8 +94,7 @@ BDEPEND="${RDEPEND} gui? ( dev-qt/linguist-tools:5 ) java? ( >=virtual/jdk-1.6.0 ) qrupdate? ( app-misc/pax-utils ) - sparse? ( app-misc/pax-utils ) - || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" + sparse? ( app-misc/pax-utils )" PATCHES=( "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch @@ -138,13 +138,12 @@ src_configure() { # The --enable-link-all-dependencies flag is needed because # otherwise, the build system appends --no-undefined to LDFLAGS and # then proceeds to undefine things. GNU libtool ignores this, but - # slibtool (for example) does not (bug 776583). + # slibtool (for example) does not (bug #776583). econf \ --localstatedir="${EPREFIX}/var/state/octave" \ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \ --disable-64 \ - --disable-jit \ --enable-link-all-dependencies \ --enable-shared \ --with-z \ @@ -163,7 +162,7 @@ src_configure() { $(use_with opengl fltk) \ $(use_with ssl openssl) \ $(use_with portaudio) \ - $(use_with qhull) \ + $(use_with qhull_r) \ $(use_with qrupdate) \ $(use_with gui qt 5) \ $(use_with sndfile) \ @@ -179,7 +178,9 @@ src_configure() { src_compile() { export VARTEXFONTS="${T}/fonts" # otherwise it will write to /var/cache/fonts/ and trip sandbox + default + if use java; then pax-mark m "${S}/src/.libs/octave-cli" fi @@ -187,28 +188,20 @@ src_compile() { src_install() { default + if use doc; then dodoc $(find doc -name '*.pdf') else - # bug 566134, macros.texi is installed by make install if use doc + # bug #566134, macros.texi is installed by make install if use doc insinto /usr/share/${PN}/${PV}/etc doins doc/interpreter/macros.texi fi + [[ -e test/fntests.log ]] && dodoc test/fntests.log + use java && \ java-pkg_regjar "${ED}/usr/share/${PN}/${PV}/m/java/octave.jar" + echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die doenvd 99octave } - -pkg_postinst() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -}