diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-08-25 11:36:44 +0200 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-09-01 11:06:54 +0200 |
| commit | a87f1c558e9d5b14ebf468e6412e3285f5f4a997 (patch) | |
| tree | 073d6ab0541f682ed57490ed68449f75869bd4b4 /gnu/packages/maths.scm | |
| parent | 8da0016c624942aae01de45fd412932dbed4a249 (diff) | |
gnu: octave: Build with Qt6.
* gnu/packages/maths.scm (octave)[arguments]: Delete
’patch-qscintilla-library-name #:phase.
[native-inputs]: Add qttools.
[inputs]: Delete qscintilla-qt5, qtbase-5 and qtwayland-5; add
qscintilla-qt6, qtbase, qtwayland and qt5compat.
Diffstat (limited to 'gnu/packages/maths.scm')
| -rw-r--r-- | gnu/packages/maths.scm | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 39011053be4..30b84af3b50 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -3714,14 +3714,6 @@ script files.") | |||
| 3714 | `((guix build qt-utils) ,@imported-modules)) | 3714 | `((guix build qt-utils) ,@imported-modules)) |
| 3715 | ((#:phases phases) | 3715 | ((#:phases phases) |
| 3716 | #~(modify-phases #$phases | 3716 | #~(modify-phases #$phases |
| 3717 | (add-before 'configure 'patch-qscintilla-library-name | ||
| 3718 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 3719 | ;; The QScintilla library that the Octave configure script | ||
| 3720 | ;; tries to link with should be named libqscintilla-qt5.so, | ||
| 3721 | ;; but the QScintilla input provides the shared library | ||
| 3722 | ;; as libqscintilla2_qt5.so. | ||
| 3723 | (substitute* "configure" | ||
| 3724 | (("qscintilla2-qt5") "qscintilla2_qt5")))) | ||
| 3725 | (add-after 'install 'wrap-qt | 3717 | (add-after 'install 'wrap-qt |
| 3726 | (lambda* (#:key inputs #:allow-other-keys) | 3718 | (lambda* (#:key inputs #:allow-other-keys) |
| 3727 | (for-each (lambda (path) | 3719 | (for-each (lambda (path) |
| @@ -3732,11 +3724,12 @@ script files.") | |||
| 3732 | (find-files "libexec" "^octave-gui$"))))))))) | 3724 | (find-files "libexec" "^octave-gui$"))))))))) |
| 3733 | (native-inputs | 3725 | (native-inputs |
| 3734 | (modify-inputs native-inputs | 3726 | (modify-inputs native-inputs |
| 3735 | (prepend qttools-5 ;for lrelease | 3727 | (prepend qttools-5 ;for qthelpgenerator |
| 3728 | qttools ;for lrelease | ||
| 3736 | (texlive-local-tree (list texlive-epsf))))) ;for texi2dvi | 3729 | (texlive-local-tree (list texlive-epsf))))) ;for texi2dvi |
| 3737 | (inputs | 3730 | (inputs |
| 3738 | (modify-inputs inputs | 3731 | (modify-inputs inputs |
| 3739 | (prepend qscintilla-qt5 qtbase-5 qtwayland-5))) | 3732 | (prepend qscintilla-qt6 qtbase qtwayland qt5compat))) |
| 3740 | (synopsis "High-level language for numerical computation (with GUI)"))) | 3733 | (synopsis "High-level language for numerical computation (with GUI)"))) |
| 3741 | 3734 | ||
| 3742 | (define-public opencascade-occt | 3735 | (define-public opencascade-occt |
