Skip to content
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

Remove potentially unused qt5 dependencies #3472

Conversation

simonvanderveldt
Copy link
Contributor

PR to see if these Qt5 dependencies can be removed as discussed in #3471

@simonvanderveldt simonvanderveldt changed the title Remove potential unused qt5 dependencies Remove potentially unused qt5 dependencies Jan 25, 2018
@scztt
Copy link
Contributor

scztt commented Jan 25, 2018

One request: can we either leave in the Qt5OpenGL dependency, or leave the code but comment it out? Sensors and Positioning are neither here nor there, but there's a decently likelihood that we might start using OpenGL in the future. Cmake is already a hairy beast that very few of the core devs are comfortable modifying, so leaving a breadcrumb trail for this would be helpful.

@mossheim
Copy link
Contributor

I agree, at the very least leave it commented.

Also quick note that this might mean we can remove some dependencies from CI scripts and Readmes

@simonvanderveldt
Copy link
Contributor Author

Can I conclude based on the passed CI runs that these dependencies are indeed unused?

One request: can we either leave in the Qt5OpenGL dependency, or leave the code but comment it out?

I can comment that one out if that's preferred? I'd say it's in the git history so that wouldn't be needed but it's your codebase :)

Also quick note that this might mean we can remove some dependencies from CI scripts and Readmes

I've found this https://github.com/supercollider/supercollider/blob/develop/.travis/before-install-linux.sh#L9
Qt5OpenGL isn't listed there btw, so I guess that makes it even more clear it wasn't being used.
Is there any other place I need to look at?

@mossheim
Copy link
Contributor

Is there any other place I need to look at?

Nope, just there and then the corresponding place in README_LINUX. The other two OSs use monolithic installs of Qt. Thanks!

@patrickdupuis
Copy link
Contributor

I can update the Linux build guides that are in the Wiki. I think the Rpi and BBB build guides on the website might need to be changed as well.

@mossheim
Copy link
Contributor

ahh, good point

@mossheim mossheim added comp: build CMake build system comp: travis comp: 3rd party 3rd party libraries/dependencies labels Jan 29, 2018
@mossheim mossheim added this to the 3.10 milestone Jan 29, 2018
@simonvanderveldt
Copy link
Contributor Author

simonvanderveldt commented Feb 2, 2018

@brianlheim @scztt you prefer I comment out the Qt5OpenGL changes instead of removing?
Just checking to be sure.

@mossheim
Copy link
Contributor

mossheim commented Feb 2, 2018

yes, thanks for confirming. I get what you're saying about git history but unfortunately on a project this large it's easy for things like that to get lost

@simonvanderveldt
Copy link
Contributor Author

@brianlheim OK, thanks for the confirmation. I'll update the PR this weekend.

@mossheim
Copy link
Contributor

mossheim commented Mar 1, 2018

@simonvanderveldt - can you take another look at this when you get a chance please?

@simonvanderveldt
Copy link
Contributor Author

@brianlheim Sure, sorry for the radio silence. I'll put in in my agenda for this weekend, is that OK?

@mossheim
Copy link
Contributor

mossheim commented Mar 1, 2018

Sure, sorry for the radio silence. I'll put in in my agenda for this weekend, is that OK?

No problem! Just wanted to make sure this doesn't go stale.

@simonvanderveldt simonvanderveldt force-pushed the remove-potential-unused-qt5-dependencies branch from 17fa4a1 to 880361c Compare March 4, 2018 20:56
@simonvanderveldt
Copy link
Contributor Author

simonvanderveldt commented Mar 4, 2018

All right, updated the Qt5OpenGL commit to just comment out (as best as I could) the changes.

Though t.b.h. I'm not sure how much these comments make sense.
Whilst working through this my conclusion was that Qt5OpenGL is just more of the same, anyone looking at the CMakeLists.txt will understand what to add when adding Qt5OpenGL without the comments. For context: I have pretty much zero experience with writing CMakeLists.txt files.

Also removed the qt55sensors install in the Travis setup.

@mossheim
Copy link
Contributor

mossheim commented Mar 4, 2018

Thanks!

Though t.b.h. I'm not sure how much these comments make sense.

I understand where you're coming from, but from personal experience not everyone will be able to understand and modify these files as easily as you did. Not really a big deal either way, just trying to give some explanation.

@simonvanderveldt simonvanderveldt force-pushed the remove-potential-unused-qt5-dependencies branch from 880361c to 26c7f5a Compare March 5, 2018 11:15
@simonvanderveldt
Copy link
Contributor Author

Just noticed I forgot to also update LINUX_README, so done that as well :)

@patrickdupuis patrickdupuis merged commit e5ac8a5 into supercollider:develop Mar 12, 2018
@simonvanderveldt simonvanderveldt deleted the remove-potential-unused-qt5-dependencies branch March 12, 2018 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: build CMake build system comp: 3rd party 3rd party libraries/dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants