Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

FreeGLUT #124

Closed
Croydon opened this issue Feb 17, 2018 · 12 comments
Closed

FreeGLUT #124

Croydon opened this issue Feb 17, 2018 · 12 comments

Comments

@Croydon
Copy link
Contributor

Croydon commented Feb 17, 2018

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

https://github.com/dcnieho/FreeGLUT

@memsharded
Copy link
Member

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

@Croydon
Copy link
Contributor Author

Croydon commented Sep 2, 2018

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

Contributions are welcome :)

@nigels-com
Copy link

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:

  • conan-freeglut patches upstream FreeGLUT a fair bit, but conan-glut managed to avoid that. (so far)
  • conan-freeglut supports MacOS GLX, but my honest opinion is that most of that ought to be merged upstream.
  • 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?
  • conan-glut currently disables packaging PDF files for Windows, what's the level of priority for that?

@Croydon
Copy link
Contributor Author

Croydon commented Oct 23, 2018

@Croydon
Copy link
Contributor Author

Croydon commented Oct 23, 2018

So some noticed to begin with:

  • the project name is freeglut, not glut, please always use the exact upstream name (in lowercase)
  • the correct SPDX name for the license is X11 not X-Consortium

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
Copy link
Contributor Author

Croydon commented Oct 23, 2018

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
Copy link

  • 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.

  • PDF is typo for PDB. I think there were some complications with those, not high priority for me, perhaps for others.

  • 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.

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

  • Nigel

@Croydon
Copy link
Contributor Author

Croydon commented Oct 24, 2018

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
Copy link

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
Copy link

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

@hanun2999
Copy link

@Croydon
Copy link
Contributor Author

Croydon commented Apr 29, 2021

Done via conan-io/conan-center-index#5238

Thanks @ericLemanissier & everyone!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants