bugGNU Octave - Bugs: bug #37773, Add --without-fltk switch to...

 
 

bug #37773: Add --without-fltk switch to configure

Submitted by:  Patrick Welche <prlw1>
Submitted on:  Mon 19 Nov 2012 12:45:37 PM UTC  
 
Category: Configuration and Build SystemSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Installation Failure
Status: Need InfoAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 26 Apr 2014 09:07:00 AM UTC, comment #8:

Dear Mike, did you check the new patch? Seb.

Sebastian <sschoeps>
Fri 18 Apr 2014 04:03:16 PM UTC, comment #7:

Building Octave with '--without-opengl' but with Qt does not work for me.

I have updated the patch at https://gist.github.com/schoeps/11035598 to work with "--without-fltk" instead of "--disable-fltk". I am testing it right now.

Sebastian <sschoeps>
Fri 18 Apr 2014 01:37:31 PM UTC, comment #6:

Not that OpenGL is now required but that it is used for both FLTK and for Qt plotting and for the common code used by both.

I have not done a test build yet to see what would happen now if Octave were built with '--without-opengl' but with Qt.

Have you done test builds with your configure patch to make sure all the cases are covered? Also why AC_ARG_ENABLE instead of AC_ARG_WITH? I think the latter would be preferred. We use --disable for features (gui, jit) and --with for libraries (fftw3, fltk).

Mike Miller <mtmiller>
Project Member
Fri 18 Apr 2014 10:41:47 AM UTC, comment #5:

I suggest to reconsider the "--without-fltk". The current development version (GUI branch) seems to require opengl but FLTK is optional. Hence separate switches seem reasonable to me. I have updated the patch, see here: https://gist.github.com/schoeps/11035598.

Sebastian <sschoeps>
Wed 28 Nov 2012 07:16:15 PM UTC, comment #4:

Closing this report, no response in 10 days.

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Mon 19 Nov 2012 04:11:50 PM UTC, comment #3:

It's a bit of a problem that we repeatedly refer to the OpenGL graphics by the toolkit we happen to have used to provide a windowing system for it: fltk. The interesting part is that we use OpenGL, not that we happen to use fltk as a windowing system right now; fltk was one of those "temporary" things we put in place until we had something better.

I don't know if you care, but we could use some help integrating this into Octave:

https://github.com/goffioul/QtHandles

Essentially, this is a more fully-featured interface to te OpenGL plotting engine that uses Qt instead of fltk for the widgets.

Do you have some suggested wording for configure.ac about how to indicate that the OpenGL graphics currently happen to require fltk?

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Mon 19 Nov 2012 04:06:42 PM UTC, comment #2:

I didn't make the connection between fltk and opengl. Indeed, my patch is not necessary - please close the bug. (I suppose one needs to know that "native graphics" = "fltk with opengl" - maybe a comment in configure.ac would be useful?)

Patrick Welche <prlw1>
Mon 19 Nov 2012 01:44:55 PM UTC, comment #1:

I don't understand. How is this different from --without-opengl?

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Mon 19 Nov 2012 12:45:37 PM UTC, original submission:

Make it possible to build octave without FLTK support even if FLTK
is installed.

Patrick Welche <prlw1>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26931:  0001-Add-disable-fltk-switch-to-configure.patch added by prlw1 (5kB - application/octet-stream - Add --disable-fltk switch to configure)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by sschoeps (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by prlw1 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Apr 2014 01:38:09 PM UTCmtmillerSeverity3 - Normal=>1 - Wish
      Release3.6.3=>dev
      SummaryAdd --disable-fltk switch to configure=>Add --without-fltk switch to configure
    Fri 18 Apr 2014 01:37:31 PM UTCmtmillerStatusInvalid=>Need Info
      Open/ClosedClosed=>Open
    Wed 28 Nov 2012 07:16:15 PM UTCjordighStatusPatch Submitted=>Invalid
      Open/ClosedOpen=>Closed
    Mon 19 Nov 2012 01:45:04 PM UTCjordighStatusNone=>Patch Submitted
    Mon 19 Nov 2012 12:45:37 PM UTCprlw1Attached File-=>Added 0001-Add-disable-fltk-switch-to-configure.patch, #26931

    Back to the top


    Powered by Savane 3.1-cleanup