Skip to content

DebianBuster

Adam Boardman edited this page Apr 21, 2019 · 12 revisions

Buster

Currently in 'testing' mode which means that as new upstream packages are released the 'debian' version may sometimes replace the 'gemian' one.

New libglvnd-dev

This will break starting of X with a message along the lines of:

Xorg: ../../src/renderer.c:190: hwc_egl_renderer_init: Assertion `eglGetError() == EGL_SUCCESS' failed.

You just need to shunt the libs out the way again as was done as part of the initial config:

sudo mv /usr/lib/aarch64-linux-gnu/libGLESv* /usr/lib/aarch64-linux-gnu/libEGL.so* /usr/lib/aarch64-linux-gnu/mesa-egl

Other x fails

Sometimes the hwcomposer_drv.so can fail to load, eg in: /home/gemini/.local/share/xorg/Xorg.0.log

(EE) Failed to load /usr/lib/xorg/modules/drivers/hwcomposer_drv.so: libEGL.so.1: cannot open shared object file: No such file or directory

This can be fixed by, also by repeating part of the initial config:

update-alternatives --set aarch64-linux-gnu_egl_conf /usr/lib/aarch64-linux-gnu/libhybris-egl/ld.so.conf

New SDDM

Add the sddm github as an upstream after pulling out the gemian branch, fetch and then merge the relevant release version from github. Fix merge conflicts and commit.

Then nab the latest debian sources and compare the debian directories for any changes and version number updates applied there. Commit and kick off a jenkins build.

New QT

Note, this shouldn't be a problem in the future: https://tracker.debian.org/news/1004843/accepted-qtbase-opensource-src-5112dfsg-8-source-amd64-all-into-experimental-experimental/ - scrub that they dropped it - https://lists.debian.org/debian-devel/2018/11/msg00557.html

This involves nabbing the latest debian sources:

apt-get source qtbase-opensource-src
apt-get source qtdeclarative-opensource-src

Moving the .git folders from checked out gemian repositories into the relevant folder, then copying all the changes to the build applied by gemian back to the the build (easiest to use beyond compare), generally most of the changes are in the debian folder.

Check that back in and kick off a jenkins build.

After updating to a new version you'll probably need to rebuild a few other things too: qtsystems, qtpim, ubuntu-ui-toolkit. When there is a new version number (likely to cause a ABI break), also rebuild sddm, qtfeedback, qtubuntu-sensors, telepathy-qt, history-service, telephony-service, messaging, dialer, qtubuntu-camera, etc.

New pulseaudio

This involves nabbing the latest debian sources:

apt-get source pulseaudio

Moving the .git folders from checked out gemian repository of the buster branch into the relevant folder, then copying all the changes to the build applied by gemian back to the the build (easiest to use beyond compare). There are quite a few changes to pulse audio, mostly adding of pulseaudio-module-droid, disable testing on arm64.

Check that back in and kick off a jenkins build.