[pkg-nvidia-devel] r980 - in /packages/nvidia-graphics-drivers/trunk/debian: changelog control nvidia-glx-dev.install.in

Andreas Beckmann debian at abeckmann.de
Wed Jun 2 18:24:51 UTC 2010


Russ Allbery wrote:
>>  Package: nvidia-glx-dev
>> -Depends: nvidia-glx (= ${binary:Version}), libx11-dev, ${misc:Depends}
>> -Provides: libgl-dev
>> -Conflicts: libgl-dev, mesa-common-dev,
>> +Depends: ${misc:Depends}, nvidia-glx (= ${binary:Version}),
>> + libx11-dev, libgl1-mesa-dev | libgl-dev
> 
> I don't think we need this dependency on libgl-dev or libgl1-mesa-dev, do
> we?  If someone wants to build only against the NVIDIA libraries and uses
> the right -I and -L flags, they don't need to have the MESA GL libraries
> installed.

I expect most people that install nvidia-glx-dev want to compile
ordinary OpenGL stuff (they should better install libgl-mesa-dev for
this job) and don't care whether they link against NVIDIA or MESA - as
long as it works out-of-the-box (and runs later on fast using NVIDIA's
libGL.so.1 which they installed on purpose).

With the recent reorganization of nvidia-glx-dev it is no longer
possible to compile OpenGL apps without user interaction (headers in
nonstandard location, /usr/lib/nvidia/libGL.so not automatically found),
so I chose to provide a working libgl-dev installation by adding this
dependency. Otherwise we should expect a lot of bugs like
"nvidia-glx-dev: can't compile OpenGL app foo3D".


Andreas



More information about the Pkg-nvidia-devel mailing list