-
-
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
codequery: transition to qt5 #4258
Conversation
ok... so it choked completely on yosemite's |
216ae05
to
9d9e683
Compare
Adding There may be a better way of sidestepping the dependency issue, since it seems to only exist within the brew bot's testing/building workflow, but I currently have zero ideas, not even bad ones. |
depends_on "qscintilla2" | ||
|
||
def install | ||
args = std_cmake_args | ||
args << "-DBUILD_QT5=ON" | ||
args << "-DQT5QSCINTILLA_LIBRARY=#{Formula["qscintilla2"].opt_prefix}/lib/libqscintilla2.dylib" |
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 is good, if you were asking for feedback on this
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.
#{Formula["qscintilla2"].opt_prefix}/lib
can be #{Formula["qscintilla2"].opt_lib}
though.
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.
thank you @dunn, I completely overlooked that option
What's the error look like without the :python3 dependency? The |
The current "fix" is definitely not the answer, but I put it in to see if everything else worked fine. As to the error, I think I will just force-push my original version so that the brew bot can show the error in its full glory, and therefore be more informative to you and anyone else. |
e6a15be
to
9264c81
Compare
transition codequery to build using Qt 5
The basic problem seems to be that the brew bot pours the bottled EDIT |
Okay, the proximal cause of the failure is that That command installs sip correctly, like:
But python3 was never installed, so the sip build fails. |
I'm the owner of Even now, it can be built for qt5 using: However, the GUI executable is called |
@ruben2020 Thank you very much for the upstream help! I can close this PR if you would like to submit your own, or I could simply adapt this PR to your new release for |
@BrewTestBot test this please |
@JCount I merged Homebrew/brew#835 so hopefully this will now pass CI. |
@ilovezfs Your fix to |
Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock! |
@ruben2020 you're welcome! thanks for being such an engaged and accessible upstream |
brew install <formula>
(where<formula>
is the name of the formula you're submitting)?brew audit --new-formula <formula>
(after doingbrew install <formula>
)?transition codequery to build using Qt 5
In its current state this is a bit rough, with a somewhat hard-coded path for
qscintilla2
's library in order for cmake to find it and use it.This is due to the fact that codequery's FindQt5QScintilla.cmake looks for
NAMES qt5scintilla2 qscintilla2-qt5
whereas the dyld homebrew builds islibqscintilla2.dylib
.If anyone can think of a way to do this more neatly I would love any suggestions/guidance.
I suppose that this is part of the larger effort being chronicled in #1705
(I hope the build bot doesn't choke on this for some strange reason)
EDIT:
this is just an idea I am throwing out there, and it may not be really practical, but
qscintilla2
's formula could simply be modified to create aqscintilla2-qt5.dyld
sym since it is now only being built withqt5
after all.