Opened 9 years ago

Closed 8 years ago

#48622 closed update (fixed)

octave @3.8.2_11: update to 4.0.0

Reported by: Schamschula (Marius Schamschula) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: zendata (Graham Cottew), dershow, olmec@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: octave

Description

octave has been updated to version 4.0.0 some time ago, but we have had issues building +gui under OS X. Sebastian Schöps, with Homebrew, put together a patch file that combines all needed fixes. This is my first cut, subject to further testing, but the build succeeds yielding a OS X App.

Attachments (5)

patch-rollup.diff (5.2 KB) - added by Schamschula (Marius Schamschula) 9 years ago.
osmesa.patch.diff (733 bytes) - added by Schamschula (Marius Schamschula) 9 years ago.
Portfile-octave.diff (5.1 KB) - added by Schamschula (Marius Schamschula) 9 years ago.
patch-libgui-src-octave-dock-widget.cc.diff (1.0 KB) - added by Schamschula (Marius Schamschula) 9 years ago.
Portfile-octave.2.diff (5.1 KB) - added by Schamschula (Marius Schamschula) 9 years ago.

Download all attachments as: .zip

Change History (23)

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: patch-rollup.diff added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Owner: changed from macports-tickets@… to michaelld@…
Version: 2.3.3

comment:2 Changed 9 years ago by Schamschula (Marius Schamschula)

Refined configure arguments (default vs. variant, redundancies).

comment:3 Changed 9 years ago by Schamschula (Marius Schamschula)

Removed a redundant default entry for the fltk dependency.

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

Can you post the current complete patches you're using? Seems like this is necessary for testing with #47903.

comment:5 Changed 9 years ago by Schamschula (Marius Schamschula)

There is only one patch that I am applying (patch-rollup.diff).

My recollection regarding SuiteSparse is, that octave (3.8.2 and 4.0.0) fails to build against SuiteSparse 4.4.4 and 4.4.5.

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: osmesa.patch.diff added

comment:6 Changed 9 years ago by Schamschula (Marius Schamschula)

Added patch to deal with __osmesa_print__.cc issue.

comment:7 Changed 9 years ago by zendata (Graham Cottew)

Cc: register@… added

Cc Me!

comment:8 Changed 9 years ago by dershow

Cc: dersh@… added

Cc Me!

comment:9 Changed 9 years ago by olmec@…

Cc: olmec@… added

Cc Me!

comment:10 Changed 9 years ago by Schamschula (Marius Schamschula)

Added qt4 fix.

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-octave.diff added

Changed 9 years ago by Schamschula (Marius Schamschula)

comment:11 Changed 9 years ago by Schamschula (Marius Schamschula)

Added patch fix to resolve widget title misalignment issue. Updated diff file relative to current octave @3.8.2_14.

comment:12 Changed 9 years ago by michaelld (Michael Dickens)

OK. So which patches do I need for testing building Octave 4?

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-octave.2.diff added

comment:13 Changed 9 years ago by Schamschula (Marius Schamschula)

The rollup and osmesa patches are required for both cli and gui versions of octave, while the dock-widget patch is needed to fix an aesthetics issue with the qtgui.

I moved the the dock-widget patch under the qtgui variant in Portfile-octave.2.diff.

Note: As of octave 4.0.0 the qtgui should be default. I did not make that change (but have been building +qtgui on all my machines), but you might want to.

comment:14 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:15 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

r144150 adds a port to test Octave 4.0.0

comment:16 Changed 9 years ago by michaelld (Michael Dickens)

Cool! I'm inclined to leave the various octave ports alone for now, let folks test out the 4.0 ports as they see fit. Maybe mid-2016 we can do a little swap around & move a devel version to the release?

comment:17 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: changed from michaelld@… to mcalhoun@…
Status: newassigned

comment:18 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

Fixed in r148698.

Note: See TracTickets for help on using tickets.