Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pyra-gl4es
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • packages
  • pyra-gl4es
  • Merge requests
  • !1

Update libgl-gl4es-pyra package to depend on package glx-diversions and provide gl4es as a glx alternative

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Jason Alavaliant requested to merge alavaliant/pyra-gl4es:master into master Apr 06, 2021
  • Overview 5
  • Commits 1
  • Pipelines 0
  • Changes 3

This merge request updates the libgl-gl4es-pyra package to

  • depend on package glx-diversion - this sets up the mesa gl libraries on the system to allow alternative libraries to replace them.
  • Add postinst/postrm scripts to libgl-gl4es-pyra that register the gl4es libGL.so.1 as an alternative for 'glx' at package install time, and removes the alternative when the package is removed.

This allows the default libGL.so.1 on the system to be switched to the gl4es version via running;

sudo update-alternatives --set glx /usr/lib/arm-linux-gnueabihf/gl4es

to revert to having mesa as the default libGL.so.1 run; update-alternatives --set glx /usr/lib/mesa-diverted

Since the switching of libGL.so.1 is done using the debian alternatives and dpkg-diverts it should be fully compatible with the standard mesa packages and not cause any problems with future package updates by Debian.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master