archlinuxarm/PKGBUILDs — Issue #120: Make nvidia-trimslice into a substitute for libegl and libgles
Author: dcecile
Created: 2011-12-18 14:52:34+00:00
State: open

The `nvidia-trimslice` package causes two package conflicts:

1. `/usr/lib/libEGL.so` conflicts with the `libegl` package.
2. `/usr/lib/libGLESv2.so` conflicts with the `libgles` package.

To make `nvidia-trimslice` into a true substitute for these two packages, header files like `` and `` should be installed. If the Mesa headers are used, a dependency to `khrplatform-devel` should be added.

To test this, try compiling and running the [SimpleGL example from the Maemo wiki](http://wiki.maemo.org/SimpleGL_example). On my TrimSlice, this example ran fine after removing the property change to `"_HILDON_NON_COMPOSITED_WINDOW"`. (Note: it seems like Nvidia's X11 DRI requires access to `/dev/nvhost-ctrl`, so on my system, I had to run the example program as root.)