Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198485 - sci-mathematics/qtoctave (new ebuild)
Summary: sci-mathematics/qtoctave (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Mathematics related packages
URL: http://forja.rediris.es/projects/csl-...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-11-08 19:11 UTC by juantxorena@gmail.com
Modified: 2008-11-02 21:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-mathematics/qtoctave-0.6.8.ebuild (qtoctave-0.6.8.ebuild,1.02 KB, text/plain)
2007-11-08 19:15 UTC, juantxorena@gmail.com
Details
sci-mathematics/qtoctave-0.7.1.ebuild (qtoctave-0.7.1.ebuild,1.02 KB, text/plain)
2008-01-03 09:18 UTC, juantxorena@gmail.com
Details
qtoctave-0.7.4.ebuild (qtoctave-0.7.4.ebuild,616 bytes, text/plain)
2008-04-20 10:52 UTC, juantxorena@gmail.com
Details
qtoctave-0.8.1.ebuild (qtoctave-0.8.1.ebuild,655 bytes, text/plain)
2008-09-22 12:56 UTC, juantxorena@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description juantxorena@gmail.com 2007-11-08 19:11:51 UTC
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
Comment 1 juantxorena@gmail.com 2007-11-08 19:15:44 UTC
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.
Comment 2 juantxorena@gmail.com 2008-01-03 09:18:57 UTC
Created attachment 139938 [details]
sci-mathematics/qtoctave-0.7.1.ebuild

Version bump, lots of fixes.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-01-03 15:08:33 UTC
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
Comment 4 juantxorena@gmail.com 2008-04-20 10:52:48 UTC
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.
Comment 5 juantxorena@gmail.com 2008-09-22 12:56:11 UTC
Created attachment 166090 [details]
qtoctave-0.8.1.ebuild

New ebuild for new version, if somebody cares.
Comment 6 juantxorena@gmail.com 2008-09-22 13:14:07 UTC
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.
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-09-22 13:32:04 UTC
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
Comment 8 Michael Duelli 2008-10-31 16:55:52 UTC
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.
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2008-11-02 13:18:11 UTC
I am currently working on this and you can hopefully expect it 
in portage soon if all goes well.

Best,
Markus
Comment 10 Sebastian Schubert 2008-11-02 20:34:17 UTC
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)...
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2008-11-02 21:35:33 UTC
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