cginternals / glbinding

A C++ binding for the OpenGL API, generated using the gl.xml specification.
https://glbinding.org
MIT License
828 stars 94 forks source link

glbinding conflicts with mesa-demos: both install #341

Open yurivict opened 1 year ago

yurivict commented 1 year ago
$ pkg install -n mesa-demos
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
  - mesa-demos-8.4.0_3 conflicts with glbinding-3.3.0 on /usr/local/bin/glinfo
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

Could you please not install bin/glinfo, and any other files that conflict with anything else?

scheibel commented 1 year ago

I wasn't aware of glinfo is also being used by mesa. I was only aware of glxinfo. As we don't want to provoke name clashes, we should rename our tools, including glinfo.

However, I'm not sure which way of installing glbinding you have used. Maybe you can provide some more details. Usually, package maintainers just package the glbinding and the glbinding-aux library for their distributions. I don't know any process to check whether an executable name is already taken for each distribution and package manager. It seems as if you're working on FreeBSD, which is a platform we strive to support, but don't officially support at the moment. Your input is appreciated, but I don't see a more constructive approach besides this trial and error process (https://github.com/cginternals/glbinding/issues/328, https://github.com/cginternals/glbinding/issues/299).

If you installed glbinding yourself, you may want to install only parts of it. In our CMake setup, we define several components and dependencies between them. For example, you can install runtime and dev without tools or examples_glfw.

yurivict commented 1 year ago

We use cmake to install glbinding.

I don't know any process to check whether an executable name is already taken for each distribution and package manager.

There is no such process. You should just rename the commands in question, for example add the glbinding- prefix.