Summary: | sci-mathematics/octave-4.2.0: qt5 gui is missing editor functionality | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik Quaeghebeur <gentoo> |
Component: | Keywording | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | joakim.nohlgard, jstein, tb |
Priority: | Normal | Keywords: | KEYWORDREQ |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 541604 | ||
Bug Blocks: | 617694 |
Description
Erik Quaeghebeur
2016-11-22 13:39:20 UTC
I think this is due to x11-libs/qscintilla, specifically, the fact that it cannot be built for Qt5, see also bug 541604. It seems here that something more than the editor is not working. I'm unable to get the GUI to function at all. [I] sci-mathematics/octave Available versions: 3.6.4(0/3.6.4) 3.8.2-r1(0/3.8.2) (~)4.2.0(0/4.2.0) {X curl doc fftw +glpk gnuplot graphicsmagick gui hdf5 +imagemagick java opengl openssl portaudio postscript +qhull +qrupdate qt5 readline sndfile +sparse static-libs zlib ELIBC="FreeBSD"} Installed versions: 4.2.0(02:18:17 PM 12/09/2016)(X curl doc fftw glpk gnuplot imagemagick java opengl openssl postscript qhull qrupdate qt5 readline sparse zlib -graphicsmagick -hdf5 -portaudio -sndfile -static-libs ELIBC="-FreeBSD") Whether starting using 'octave' or 'octave --no-gui' or 'octave --force-gui' the result is the same - just the 'octave' prompt. I did notice some errors while building qtnetwork-5.6.1, qtdbus-5.6.1 and qtgui-5.6.1 which were non-fatal. (In reply to Steven Trogdon from comment #2) > […] I'm unable to get the GUI to function at all. Then you're faced with a different issue. Best seek help on the forums and/or file a separate bug report not to confuse the issue at hand here. Same problem here. The GUI worked fine in octave-4.0.3 with the (now deprecated?) gui USE-flag. (In reply to Josef Larsson from comment #4) > Same problem here. > > The GUI worked fine in octave-4.0.3 with the (now deprecated?) gui USE-flag. In case you are referring to Steven's issue, as I think you are: *please* file a separate bug so that this one stays on-topic: the editor in the GUI being absent. (You need the qt5 use flag to get the GUI now.) (In reply to Erik Quaeghebeur from comment #5) > (In reply to Josef Larsson from comment #4) > > Same problem here. > > > > The GUI worked fine in octave-4.0.3 with the (now deprecated?) gui USE-flag. > In case you are referring to Steven's issue, as I think you are: *please* > file a separate bug so that this one stays on-topic: the editor in the GUI > being absent. > > (You need the qt5 use flag to get the GUI now.) No, I was referring to the original issue. I used the qt5 flag as that was the only alternative left now and experienced the same problems as you did (a working GUI with no editor). I just wanted to mention the fact that I used to have a working GUI solution for a version as late as 4.0.3, if it could be of any help. (In reply to David Seifert from comment #1) > I think this is due to x11-libs/qscintilla, specifically, the fact that it > cannot be built for Qt5, see also bug 541604. Yes, it is due to the fact that x11-libs/qscintilla is just built for Qt4. With Qt5 flag, octave-4.2.0 will come with Gui(command window, etc). However, the editor window requires qscintilla plugin built for Qt5. Without that, the editor window won't be compiled. The current codes of octave-4.2.0 will search for the library named "libqscintilla2-qt5.so". As discussed in bug 541604, currently Gentoo developers seem not yet have an agreement on the qscintilla-vs-qt4/qt5 issue. So meanwhile, one should perhaps re-add the 4.0.3 ebuild since it was the latest ebuild that had a working GUI with a working editor, at least in my experience. When the qscintilla issue is worked out, one could again remove the 4.0.3 ebuild. I'm currently working towards enabling Qt5 in x11-libs/qscintilla, https://github.com/gentoo/gentoo/pull/3188 I've switched back to using USE=gui to control enabling of the GUI, as USE=qt5 was evidently too obscure. With the latest QScintilla changes in the tree, the editor window seems to be working fine for me now. Please report back if this works for you, so we can close it. commit 1842a17a0dacbcf414630b07b2e9a79bca455ddb Author: David Seifert <soap@gentoo.org> Date: Thu Dec 22 22:58:56 2016 +0200 sci-mathematics/octave: Fix QScintilla detection for Qt5 Gentoo-bug: 600482 * Also bring back USE=gui flag It works for me. I had to ditch another program that relied on qt4-qscintilla to get things emerged, but after that, the installation went smoothly. Marked ~hppa. |