diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2022-05-04 18:43:04 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2022-05-04 18:43:04 +0100 |
commit | e0e8b3c96584a1081d0a7d45f9537dcabfd8f6f6 (patch) | |
tree | 61032bcdc810e986b07f06cc3eb34280c5179c36 | |
parent | Update visual-studio-code (diff) | |
download | ssnb-e0e8b3c96584a1081d0a7d45f9537dcabfd8f6f6.tar.gz ssnb-e0e8b3c96584a1081d0a7d45f9537dcabfd8f6f6.tar.bz2 ssnb-e0e8b3c96584a1081d0a7d45f9537dcabfd8f6f6.zip |
Add octave with required patch for qt
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
-rw-r--r-- | sci-mathematics/octave/Manifest | 9 | ||||
-rw-r--r-- | sci-mathematics/octave/files/octave-4.2.2-ncurses-pkgconfig.patch | 37 | ||||
-rw-r--r-- | sci-mathematics/octave/files/octave-5.1.0-pkgbuilddir.patch | 43 | ||||
-rw-r--r-- | sci-mathematics/octave/files/octave-6.4.0-slibtool.patch | 37 | ||||
-rw-r--r-- | sci-mathematics/octave/files/octave-omit-qtchooser-qtver.patch | 63 | ||||
-rw-r--r-- | sci-mathematics/octave/metadata.xml | 18 | ||||
-rw-r--r-- | sci-mathematics/octave/octave-6.4.0-r2.ebuild | 212 |
7 files changed, 419 insertions, 0 deletions
diff --git a/sci-mathematics/octave/Manifest b/sci-mathematics/octave/Manifest new file mode 100644 index 0000000..f3158ef --- /dev/null +++ b/sci-mathematics/octave/Manifest @@ -0,0 +1,9 @@ +AUX octave-4.2.0-disable-getcwd-path-max-test-as-it-is-too-slow.patch 199 BLAKE2B 36c7f66c0fba3387dcbc027dc60370f1526e0f5bd42c4a24ed031745f6fdf6ff3860909dc2462b6577db30b8b47ec301299ccd3584fbb99d1b1b205c8f46e0b6 SHA512 e9984fe54b7b4c49783f5f7559d24e9f1076b47ff8c0ec2751dda2e96c1f84ad48f03a760fd4d8b87fba021174237bc7f19c75ba7f33e84bce6def6318184e7d +AUX octave-4.2.2-ncurses-pkgconfig.patch 1034 BLAKE2B 244a96ab7cfd47203e7d23774c52f54e105f209edf79c869e6ce253a9cec7a3373a8dd0c98196ba3271f9b2b066ad3de3784151072055f2319ebbb4d1b68a475 SHA512 d2d6fe57a11f0493f86378bc4e1fc71378ae6d1878d17a367b77aa16a29880e37134e61343ba081f7ab2c4d127d93611491bef1320d6cd202eff0d78681cd4cc +AUX octave-4.4.0-texi.patch 570 BLAKE2B 83863f20e995eb4512944d6766b09a648b0d00b434f98f25db214ef6b3bcfa504d316dad984e7330ed51d972e5caec69c42797f703595a39d6acab7128270313 SHA512 e2d0390e586e001182a31a840ed6a93b4fb6ce0dd581f64460dcf3947783dd4755a8bd277f4babb6328f04cf653f02ac681952610d7eb70165936a9d79998c3f +AUX octave-5.1.0-pkgbuilddir.patch 1565 BLAKE2B 7b2968139e080aaa20b5372b400ac84c1754296767834011bcdda5258e7859c48ffaedcade17e8b23e2d23635a546c6a726061e8b4679913ff5b204a26cd0ef4 SHA512 28dcebc3a904cf048cb0568591c6c55616d40f6ca80982a232489a51ec92505dca186043ee3750d8a3f3782149ef1861332a8486466fba2898f0084adf0acb90 +AUX octave-6.4.0-slibtool.patch 1416 BLAKE2B e4b487481490b41a4da499bb5eceff0f6a25a7e25d4f6c76088c3703259ab4899a354b0cf67eecb989bf4c4c05836be09881cce72145b3badca1393bd386a85f SHA512 cac0d183b3c555a25db37df250b2517ae4b762b7bc0d65ba0cb1093133f6f7ada42f6745b060d17f59c2177976841dafabcda61cf03d9cd14028399472f28ed7 +AUX octave-omit-qtchooser-qtver.patch 1877 BLAKE2B e20ff4fdef29e68c0f498b64ffa07a0191b7a0e0d90589bf62b92bca9ac8994ba193846573a1e00d863d8154475651b2b791271a62ee78c6117f4ebd3d1c52dc SHA512 dfb5d1d8f26f592eb68a94444824e690d8e713568cea02ef2354ddddcea44c5840b1a0188bc11ea465392f2c6c6705483b3c590a879dedf46da340b4480578a5 +DIST octave-6.4.0.tar.gz 32873157 BLAKE2B afa729c3c9917f724e7d97fe3af42986f323d3ff849e0a33ac9f183237e68d989d4f3dacd644405b648ec050ad07d8973abddbd8657b810de6f65d5b5ae37c02 SHA512 91ff031f6dfff8506fa738fd4f1f07276501fdfe003f8ed992cccf91da14d9d33da6d08923322b0dae5f5b696b49856b0f5c5065e26b0701b0d1630173807435 +EBUILD octave-6.4.0-r2.ebuild 5995 BLAKE2B 12ff10d0ea99b4d85696ead6320bd9626d229cd860dd78509982cb3069beaef1fea35d339fb1efd6f4055860570e010953a50999e113e3b661bb56a2c28ae536 SHA512 f0044a266d7ef87e183e7d932a6772669ea26020e881694a7397a4d39d48a52c51095c0cc2e3eac17a15d8d7c2197febef9f913e3dc546048c1f3c8d01343b2e +MISC metadata.xml 1154 BLAKE2B 34f491369b5ef047f0540be74994b9d6507310db475dc25868e2320e5c4474ebeaba2f80ba90759df53c15294c71ad9631e5f98ad81d2098d3e86e308d5c9eaf SHA512 9f73af69e5318693db98720836f0df25518c4bc3ac9ff72071aa04aaca1147e2c21d14a299b199689e926bff059c33c20f39b9f85062d1e1227e466b2b8b3446 diff --git a/sci-mathematics/octave/files/octave-4.2.2-ncurses-pkgconfig.patch b/sci-mathematics/octave/files/octave-4.2.2-ncurses-pkgconfig.patch new file mode 100644 index 0000000..d20fef5 --- /dev/null +++ b/sci-mathematics/octave/files/octave-4.2.2-ncurses-pkgconfig.patch @@ -0,0 +1,37 @@ +--- a/m4/acinclude.m4 ++++ b/m4/acinclude.m4 +@@ -1327,32 +1327,8 @@ + dnl Find a suitable termlib to use. + dnl + AC_DEFUN([OCTAVE_CHECK_LIB_TERMLIB], [ +- TERM_LIBS= +- ac_octave_save_LIBS="$LIBS" +- AC_SEARCH_LIBS([tputs], +- [ncurses curses termcap terminfo termlib], +- [], []) +- LIBS="$ac_octave_save_LIBS" +- case "$ac_cv_search_tputs" in +- -l*) +- TERM_LIBS="$ac_cv_search_tputs" +- ;; +- no) +- warn_termlibs="I couldn't find -ltermcap, -lterminfo, -lncurses, -lcurses, or -ltermlib!" +- AC_MSG_WARN([$warn_termlibs]) +- ;; +- esac +- +-dnl Old code (9/9/2012). Delete when new code is definitely proven. +-dnl +-dnl for _termlib in ncurses curses termcap terminfo termlib; do +-dnl AC_CHECK_LIB([${_termlib}], [tputs], [ +-dnl TERM_LIBS="-l${termlib}" +-dnl octave_cv_lib_found_termlib=yes +-dnl break]) +-dnl done +- +- AC_SUBST(TERM_LIBS) ++ PKG_CHECK_MODULES([TERM], [ncurses]) ++ CPPFLAGS="${CPPFLAGS} ${TERM_CFLAGS}" + ]) + dnl + dnl Check for the Qhull version. diff --git a/sci-mathematics/octave/files/octave-5.1.0-pkgbuilddir.patch b/sci-mathematics/octave/files/octave-5.1.0-pkgbuilddir.patch new file mode 100644 index 0000000..56a133b --- /dev/null +++ b/sci-mathematics/octave/files/octave-5.1.0-pkgbuilddir.patch @@ -0,0 +1,43 @@ +Index: octave-5.1.0/scripts/pkg/private/install.m +=================================================================== +--- octave-5.1.0.orig/scripts/pkg/private/install.m ++++ octave-5.1.0/scripts/pkg/private/install.m +@@ -62,7 +62,14 @@ function install (files, handle_deps, pr + for i = 1:length (files) + tgz = files{i}; + +- if (exist (tgz, "file")) ++ ## The filename pointed to an uncompressed package to begin with. ++ if (exist (tgz, "dir")) ++ if (tgz(1) == '/') ++ packdir = tgz; ++ else ++ packdir = fullfile (pwd(), tgz); ++ endif ++ elseif (exist (tgz, "file")) + ## Create a temporary directory. + tmpdir = tempname (); + tmpdirs{end+1} = tmpdir; +@@ -89,20 +96,12 @@ function install (files, handle_deps, pr + if (length (dirlist) > 3) + error ("bundles of packages are not allowed"); + endif +- endif + +- ## The filename pointed to an uncompressed package to begin with. +- if (isfolder (tgz)) +- dirlist = {".", "..", tgz}; ++ ## The two first entries of dirlist are "." and "..". ++ packdir = fullfile (tmpdir, dirlist{3}); + endif + + if (exist (tgz, "file") || isfolder (tgz)) +- ## The two first entries of dirlist are "." and "..". +- if (exist (tgz, "file")) +- packdir = fullfile (tmpdir, dirlist{3}); +- else +- packdir = fullfile (pwd (), dirlist{3}); +- endif + packdirs{end+1} = packdir; + + ## Make sure the package contains necessary files. diff --git a/sci-mathematics/octave/files/octave-6.4.0-slibtool.patch b/sci-mathematics/octave/files/octave-6.4.0-slibtool.patch new file mode 100644 index 0000000..1558b33 --- /dev/null +++ b/sci-mathematics/octave/files/octave-6.4.0-slibtool.patch @@ -0,0 +1,37 @@ + +# HG changeset patch +# User Markus Mützel <markus.muetzel@gmx.de> +# Date 1647451226 -3600 +# Node ID 2d394460429ff8313004ddaeea31437e90d16799 +# Parent d3123b682f63723c111a50b77716fe9349d8fb7d +build: Parse .la files in build tree when installing .oct files (bug #61905). + +* Makefile.am (install-oct): Parse .la files in build tree when installing .oct +files. That should improve compatibility with tools like `slibtool` that don't +install .la files. + +diff --git a/Makefile.am b/Makefile.am +--- a/Makefile.am ++++ b/Makefile.am +@@ -460,17 +460,18 @@ + if [ -n "`cat $(OCT_FILE_PKG_ADD_FILES)`" ]; then \ + $(INSTALL_DATA) oct-file-pkg-add $(DESTDIR)$(octfiledir)/PKG_ADD; \ + fi ++ top_build_dir=`pwd` && \ + cd $(DESTDIR)$(octlibdir) && \ + for ltlib in $(OCT_FILE_LIBS); do \ + f=`echo $$ltlib | $(SED) 's,.*/,,'`; \ +- dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \ ++ dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$top_build_dir/$$ltlib`; \ + if [ -n "$$dl" ]; then \ + $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \ + else \ + echo "error: dlname is empty in $$ltlib!"; \ + exit 1; \ + fi; \ +- lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$f`; \ ++ lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$top_build_dir/$$ltlib`; \ + if [ -n "$$lnames" ]; then \ + rm -f $$f $$lnames $$dl; \ + fi \ + diff --git a/sci-mathematics/octave/files/octave-omit-qtchooser-qtver.patch b/sci-mathematics/octave/files/octave-omit-qtchooser-qtver.patch new file mode 100644 index 0000000..3dc9c3e --- /dev/null +++ b/sci-mathematics/octave/files/octave-omit-qtchooser-qtver.patch @@ -0,0 +1,63 @@ +diff -urNp octave-6.4.0-orig/configure octave-6.4.0-dwok/configure +--- octave-6.4.0-orig/configure 2022-04-19 20:45:23.112463584 +0200 ++++ octave-6.4.0-dwok/configure 2022-04-19 20:44:19.024774083 +0200 +@@ -77543,9 +77543,6 @@ esac + fi + + if test -n "$MOC"; then +- if test -n "$QTCHOOSER"; then +- MOCFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE moc" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING moc" +@@ -77778,9 +77775,6 @@ esac + fi + + if test -n "$UIC"; then +- if test -n "$QTCHOOSER"; then +- UICFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE uic" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING uic" +@@ -78013,9 +78007,6 @@ esac + fi + + if test -n "$RCC"; then +- if test -n "$QTCHOOSER"; then +- RCCFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE rcc" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING rcc" +@@ -78248,9 +78239,6 @@ esac + fi + + if test -n "$LRELEASE"; then +- if test -n "$QTCHOOSER"; then +- LRELEASEFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE lrelease" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING lrelease" +@@ -78483,9 +78471,6 @@ esac + fi + + if test -n "$QCOLLECTIONGENERATOR"; then +- if test -n "$QTCHOOSER"; then +- QCOLLECTIONGENERATORFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE qcollectiongenerator" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING qcollectiongenerator" +@@ -78718,9 +78703,6 @@ esac + fi + + if test -n "$QHELPGENERATOR"; then +- if test -n "$QTCHOOSER"; then +- QHELPGENERATORFLAGS="-qt=$qt_version" +- fi + QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE qhelpgenerator" + else + QT_TOOLS_MISSING="$QT_TOOLS_MISSING qhelpgenerator" diff --git a/sci-mathematics/octave/metadata.xml b/sci-mathematics/octave/metadata.xml new file mode 100644 index 0000000..cfb2c25 --- /dev/null +++ b/sci-mathematics/octave/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> + Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments. It may also be used as a batch-oriented language. + </longdescription> + <use> + <flag name="glpk">Add support for <pkg>sci-mathematics/glpk</pkg> for linear programming</flag> + <flag name="qhull">Add support for <pkg>media-libs/qhull</pkg>, to allow `delaunay', `convhull', and related functions</flag> + <flag name="qrupdate">Add support for <pkg>sci-libs/qrupdate</pkg>for QR and Cholesky update functions</flag> + <flag name="sparse">Add enhanced support for sparse matrix algebra with SuiteSparse</flag> + <flag name="sundials">Enable the ode15i and ode15s ODE solvers using <pkg>sci-libs/sundials</pkg></flag> + </use> +</pkgmetadata> diff --git a/sci-mathematics/octave/octave-6.4.0-r2.ebuild b/sci-mathematics/octave/octave-6.4.0-r2.ebuild new file mode 100644 index 0000000..9292807 --- /dev/null +++ b/sci-mathematics/octave/octave-6.4.0-r2.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils qmake-utils toolchain-funcs xdg-utils + +DESCRIPTION="High-level interactive language for numerical computations" +LICENSE="GPL-3" +HOMEPAGE="https://www.gnu.org/software/octave/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +SLOT="0/${PV}" +IUSE="curl doc fftw +glpk gnuplot gui hdf5 java opengl + portaudio postscript +qhull +qrupdate readline sndfile +sparse + ssl static-libs sundials X zlib" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +# Although it is listed in INSTALL.OCTAVE as a build tool, Octave runs +# "makeinfo" from sys-apps/texinfo at runtime to convert its texinfo +# documentation to text (see scripts/help/help.m). +# +# (un)zip isn't mentioned, but there's a test that uses it (bug 775254). +# +RDEPEND=" + app-arch/bzip2 + app-arch/unzip + app-arch/zip + app-text/ghostscript-gpl + sys-apps/texinfo + dev-libs/libpcre:3= + sys-libs/ncurses:0= + sys-libs/zlib + virtual/blas + virtual/lapack + curl? ( net-misc/curl:0= ) + fftw? ( sci-libs/fftw:3.0= ) + glpk? ( sci-mathematics/glpk:0= ) + gnuplot? ( sci-visualization/gnuplot ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qthelp:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + x11-libs/qscintilla:= + ) + hdf5? ( sci-libs/hdf5:0= ) + java? ( >=virtual/jre-1.6.0:* ) + opengl? ( + media-libs/freetype:2= + media-libs/fontconfig:1.0= + virtual/glu + >=x11-libs/fltk-1.3:1=[opengl,xft] + x11-libs/gl2ps:0= + ) + portaudio? ( media-libs/portaudio ) + postscript? ( + app-text/epstool + media-gfx/pstoedit + media-gfx/transfig + ) + qhull? ( media-libs/qhull:0= ) + qrupdate? ( sci-libs/qrupdate:0= ) + readline? ( sys-libs/readline:0= ) + sndfile? ( media-libs/libsndfile ) + sparse? ( + sci-libs/arpack:0= + sci-libs/camd:0= + sci-libs/ccolamd:0= + sci-libs/cholmod:0= + sci-libs/colamd:0= + sci-libs/cxsparse:0= + sci-libs/umfpack:0= + ) + ssl? ( + dev-libs/openssl:0= + ) + sundials? ( >=sci-libs/sundials-4:0= ) + X? ( x11-libs/libX11:0= )" +DEPEND="${RDEPEND} + dev-util/gperf + virtual/pkgconfig + doc? ( + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-plaingeneric + dev-texlive/texlive-metapost + virtual/latex-base + ) + 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] )" + +PATCHES=( + "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch + "${FILESDIR}"/${PN}-4.2.2-ncurses-pkgconfig.patch + "${FILESDIR}/${PN}-6.4.0-slibtool.patch" +) + +src_prepare() { + # nasty prefix hacks for fltk:1 linking + if use prefix; then + use opengl && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/fltk-1" + fi + + # occasional fail on install, force regeneration (bug #401189) + rm doc/interpreter/contributors.texi || die + + default + eautoreconf + eapply "${FILESDIR}"/${PN}-omit-qtchooser-qtver.patch +} + +src_configure() { + # unfortunate dependency on mpi from hdf5 (bug #302621) + use hdf5 && has_version sci-libs/hdf5[mpi] && \ + export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77 + + # tell autoconf where to find qt binaries, fix bug #837752 + export MOC="$(qt5_get_bindir)/moc" UIC="$(qt5_get_bindir)/uic" RCC="$(qt5_get_bindir)/rcc" \ + LRELEASE="$(qt5_get_bindir)/lrelease" QCOLLECTIONGENERATOR="$(qt5_get_bindir)/qcollectiongenerator" \ + QHELPGENERATOR="$(qt5_get_bindir)/qhelpgenerator" + + # Some of these use_with flags are a bit mismatched. The configure + # script offers only --without-foo, and detects "foo" automatically + # unless --without-foo is specified. Passing --with-foo is not an + # error, however, so it kind of works. We wind up with, for example, + # + # --with-sundials_ida (no-op) with USE="sundials" + # --without-sundials_ida (disables it) with USE="-sundials" + # + # 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). + 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 \ + --with-bz2 \ + $(use_enable static-libs static) \ + $(use_enable doc docs) \ + $(use_enable java) \ + $(use_enable readline) \ + $(use_with curl) \ + $(use_with fftw fftw3) \ + $(use_with fftw fftw3f) \ + $(use_enable fftw fftw-threads) \ + $(use_with glpk) \ + $(use_with hdf5) \ + $(use_with opengl) \ + $(use_with opengl fltk) \ + $(use_with ssl openssl) \ + $(use_with portaudio) \ + $(use_with qhull) \ + $(use_with qrupdate) \ + $(use_with gui qt 5) \ + $(use_with sndfile) \ + $(use_with sparse arpack) \ + $(use_with sparse umfpack) \ + $(use_with sparse colamd) \ + $(use_with sparse ccolamd) \ + $(use_with sparse cholmod) \ + $(use_with sparse cxsparse) \ + $(use_with sundials sundials_ida) \ + $(use_with X x) +} + +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 +} + +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 + 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 +} |