Fixing dependencies after mesa ports consolidation
After the 2017-05-12 mesa port consolidation, there were packages left with missing dependencies. This is how to fix them
Update
The update from mesa 17.0.3 to 17.0.4 merged libGL
, libEGL
,
libglesv2
, libglapi
, and gbm
into mesa-libs
, and moved dri
to mesa-dri
. I performed the update using portmaster
, forcibly
deleting old packages where necessary. But I didn’t keep a record of that.
Fixing the dependencies
After the update, running pkg check -n -d
revealed:
cairo has a missing dependency: libGL cairo has a missing dependency: libEGL firefox has a missing dependency: libGL freeglut has a missing dependency: libGL libGLU has a missing dependency: libGL libepoxy has a missing dependency: libglesv2 libepoxy has a missing dependency: libEGL mupdf has a missing dependency: libGL qt5-gui has a missing dependency: libGL qt5-gui has a missing dependency: libEGL xf86-video-ati has a missing dependency: libGL xorg-server has a missing dependency: libGL xorg-server has a missing dependency: gbm xorg-server has a missing dependency: dri
Using pkg set
fixed most of that.
pkg set -n libGL:mesa-libs
pkg set -n dri:mesa-dri
pkg set -n libglapi:mesa-libs
pkg set -n libglesv2:mesa-libs
The dependencies on libEGL
and gbm
could not be updated in this way,
because it would lead to double dependencies for some ports.
So the following problems remained:
cairo has a missing dependency: libEGL libepoxy has a missing dependency: libEGL qt5-gui has a missing dependency: libEGL xorg-server has a missing dependency: gbm
To solve this, I re-build the affected ports.
portmaster graphics/cairo x11-toolkits/qt5-gui graphics/libepoxy x11-servers/xorg-server
This fixed the remaining missing dependencies.
For comments, please send me an e-mail.