conan-io / wishlist

This repo is to propose libraries, frameworks, and code in general that users would like to have in conan
MIT License
49 stars 5 forks source link

FreeGLUT #124

Closed Croydon closed 3 years ago

Croydon commented 6 years ago

A free OpenGL utility toolkit, the open-sourced alternative to the GLUT library.

https://github.com/dcnieho/FreeGLUT

memsharded commented 6 years ago

+1 for this. I used it some time ago, and it was quite useful for small programs and utilities.

Croydon commented 6 years ago

I have some initial work done here https://github.com/Croydon/conan-freeglut

Contributions are welcome :)

nigels-com commented 5 years ago

As an independent and seperate issue, there is also a conan-glut conan build of FreeGLUT for Linux and Windows so far: https://github.com/nigels-com/conan-glut

@Croydon and I will need to agree on a good way forward.

A couple of aspects to discuss:

Croydon commented 5 years ago

There is also https://github.com/iblis-ms/conan_freeglut/tree/develop //cc @iblis-ms

Croydon commented 5 years ago

So some noticed to begin with:

conan-glut currently disables packaging PDF files for Windows, what's the level of priority for that?

What PDF files?

conan-freeglut supports MacOS GLX, but my honest opinion is that most of that ought to be merged upstream.

I'm not understanding this point. You do support something which isn't supported upstream without patching it?

The bintray upload doesn't seem to be working for me for conan-glut, but perhaps I can "trick" travis or appveyor to take care of that?

I have invited you to my repository, please feel free to work there in an own branch 😄

Croydon commented 5 years ago

I copied your linking for Windows and it works fine. So linking works now on Windows and Fedora, but fails on (at least) Ubuntu and macOS. If you could help with this part that would be awesome.

nigels-com commented 5 years ago

I'll go ahead and try using conan-freeglut on Linux, getting that working ought not be difficult.

Croydon commented 5 years ago

conan-glut is referring to the GLUT interface, rather than any particular implementation. On the Mac I include and link the GLUT framework and have no need for FreeGLUT or X11/GLX there.

Yes, but we do package a specific implementation. So the correct name is freeglut and we also need to pacakge it for macOS.

With Mac GLX I guess I'd go talk to FreeGLUT if they'd accept that change, rather than maintain that in the conan scope. It's not something that seems all that valuable in practice, but I have heard some folks like X11/GLX on Mac.

Yes, please sugggest changes upstream instead of patching them around in Conan, with the exception when it's absolutely necessary to get it running in a sophisticated way.

I'll go ahead and try using conan-freeglut on Linux, getting that working ought not be difficult.

Thank you! I would really appreciate help with the linking issues.

nigels-com commented 5 years ago

conan-glut is referring to the GLUT interface, rather than any particular implementation. On the Mac I include and link the GLUT framework and have no need for FreeGLUT or X11/GLX there.

Yes, but we do package a specific implementation. So the correct name is freeglut and we also need to package it for macOS.

From the point of view of building portable applications across these platforms, the GLX/X11/FreeGLUT option would not be my first choice. XQuartz nowadays is not installed by default, not maintained by Apple, and not a native Mac experience. So in the conan scheme of things I'd need these apps to migrate from conanfile.txt to conanfile.py to express the platform-specifics of only using FreeGLUT for Windows and Linux?

The idea of conan-glut is to express the GLUT interface dependency, but leave open-ended the particular implementation based on the platform or other considerations. (Such as the original GLUT: https://github.com/markkilgard/glut perhaps)

ericLemanissier commented 4 years ago

ongoing work on https://github.com/bincrafters/conan-freeglut

hanun2999 commented 3 years ago

QT5.15 build librecad 2.2.0alpha https://librecad.zulipchat.com/#narrow/stream/110434-general/topic/trying.20to.20install.20dev.20version.20LIbreCad3.2E0.20issues

Croydon commented 3 years ago

Done via https://github.com/conan-io/conan-center-index/pull/5238

Thanks @ericLemanissier & everyone!