-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
octave 9.1.0 #166414
octave 9.1.0 #166414
Conversation
|
Signed-off-by: Michael Cho <michael@michaelcho.dev>
Signed-off-by: Michael Cho <michael@michaelcho.dev>
6064eac
to
ce9bebf
Compare
depends_on "qt@5" | ||
depends_on "qt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to have to look into this a bit as our Qt6 is missing pkg-config files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly Qt only provides .pc files on Linux. It's a bit tricky to generate full set of QT_CPPFLAGS
and QT_LIBS
due to recursive requirements and nested directory structure. Will switch back to Qt5 until this is figured out on either end (i.e. Qt supports macOS pkg-config files or GNU Octave supports CMake builds, neither seems likely).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was merged with the broken Qt support. So, users currently don't have a GUI:
https://savannah.gnu.org/bugs/?65481
See also this previous attempt which looks like it could work now with Octave 9:
https://github.com/Homebrew/homebrew-core/pull/141675/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying something similar locally (parsing the libs out of configure
and building up -I
and -framework
) but I think the indirect requirements cause issues.
I am trying another workaround but in Qt itself to generate some unofficial pkg-config files (#166463). No idea if it will work.
Otherwise, can migrate only Linux to Qt6 and use Qt5 on macOS with a qscintilla2-qt5
formula.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am trying another workaround but in Qt itself to generate some unofficial pkg-config files (#166463).
That would be perfect. 🙏
Currently, we are hardcoding the flags for Qt6 in the CI using Homebrew:
https://github.com/gnu-octave/octave/blob/2e5b29aff6ac54472bcecf4b6245616555aabb81/.github/workflows/make.yaml#L431-L435
Actually having pkg-config file for Qt6 on macOS would make that a lot easier. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My version of hardcoded Qt flags: #166551
pkg-config
files would be cleaner though.
🤖 An automated task has requested bottles to be published to this PR. |
It would be nice to keep a We have a Qt6 upgrade in progress, but it's not stable yet.. |
Created by
brew bump
Created with
brew bump-formula-pr
.