QtOctave is a Qt4 frontend for octave. The ebuild for 0.6.8 version (the lastest one) is coming. It needs >=sci-mathematics/octave-2.9.9, which is in science overlay. Reproducible: Always
Created attachment 135510 [details] sci-mathematics/qtoctave-0.6.8.ebuild As you can see, the build system of the program is quite unusual, but this ebuild is the best thing I have been able to get for building the program.
Created attachment 139938 [details] sci-mathematics/qtoctave-0.7.1.ebuild Version bump, lots of fixes.
Hi Juan, Thanks much for your ebuilds and please keep up the good work! Once we've moved octave-3.0.0 and the new octave-forge-ebuilds from the science overlay into portage I will have a look at qtoctave. It looks interesting but I haven't tried it yet. Best, Markus
Created attachment 150373 [details] qtoctave-0.7.4.ebuild Version bump to 0.7.4. Lots of changes, the most important being the use of cmake and a new interface, confusing at first but powerful when understand. I'm working with upstream to make this program use the freedesktop specification, make a desktop entry and respect the install directories for icons, documentation, etc., but I haven't got too much time and I don't know a lot about this kind of stuff. Any help will be welcome.
Created attachment 166090 [details] qtoctave-0.8.1.ebuild New ebuild for new version, if somebody cares.
Sorry, I uploaded an old version of the ebuild that don't work. The working version as some problem with rpath_security_checks, and I'm trying to fix them.
Thank you very much for your work, Juan! I hope I can have a closer look at the package once I find some time. Best, Markus
You should really include this package. It works fine and I use it heavily. Furthermore, it is maintained and actively improved. Moreover, you should wipe out sci-mathematics/koctave which has not really been modified since 2004 and will not keep up with developments like KDE/Qt4.
I am currently working on this and you can hopefully expect it in portage soon if all goes well. Best, Markus
I tried it. Following error: ... [ 75%] Building CXX object src/CMakeFiles/qtoctave.dir/moc_basewidget.o [ 76%] Building CXX object src/CMakeFiles/qtoctave.dir/moc_projects.o /tmp/portage/sci-mathematics/qtoctave-0.8.1/work/qtoctave-0.8.1/qtoctave/src/codeedit.cpp: In member function ‘void CodeEdit::buildAutoCompletionList()’: /tmp/portage/sci-mathematics/qtoctave-0.8.1/work/qtoctave-0.8.1/qtoctave/src/codeedit.cpp:299: error: ‘class QTextDocument’ has no member named ‘firstBlock’ /tmp/portage/sci-mathematics/qtoctave-0.8.1/work/qtoctave-0.8.1/qtoctave/src/codeedit.cpp:300: error: ‘class QTextDocument’ has no member named ‘lastBlock’ [ 77%] Building CXX object src/CMakeFiles/qtoctave.dir/moc_command_list.o make[2]: *** [src/CMakeFiles/qtoctave.dir/codeedit.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [src/CMakeFiles/qtoctave.dir/all] Error 2 make: *** [all] Error 2 Wrong qt version? I have x11-libs/qt Available versions: (3) 3.3.8-r4 (4) 4.3.3 Following the readme, this should be ok, actually (>4.3.1)...
Thanks for catching this! I check the source code and qtoctave-0.8.1 indeed uses several methods that are new in Qt-4.4 (like QTextDocument::lastBlock) and Qt-4.4 is hence required. I've changed the dependencies of the ebuild to reflect this (the readme is obviously outdated). That said, qtconfig-0.8.1 is now in portage and works quite well. I like it :) A big thanks goes to Juan Aguado for his work and ebuilds and to you all for testing. cheers, Markus