FS#65374 - [imv] libxkbcommon-x11 is required at run-time

Attached to Project: Community Packages
Opened by Michal Vlasák (lahcim8) - Tuesday, 04 February 2020, 16:27 GMT
Last edited by Toolybird (Toolybird) - Sunday, 30 April 2023, 22:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
imv (version 4.1.0-1) fails to open any image with the following error message:
imv-x11: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory

`libxkbcommon-x11` provides this shared library. After installing it the problem is solved.

The library is actually listed as a build dependency of imv. A working solution is moving `libxkbcommon-x11` from makedepends to depends category in the PKGBUILD. Additionally `libxkbcommon` is a dependency of `libxkbcommon-x11` and can be omitted from depends as a transitive dependency.

This is the relevant part of current imv PKGBUILD:
depends=(desktop-file-utils fontconfig freeimage glu librsvg libxkbcommon pango sdl2_ttf)
makedepends=(asciidoc cmocka git libxkbcommon-x11)

This is what I propose:
depends=(desktop-file-utils fontconfig freeimage glu librsvg libxkbcommon-x11 pango sdl2_ttf)
makedepends=(asciidoc cmocka git)

Steps to reproduce:
- install imv
- ensure `libxkbcommon-x11` is not installed as a dependency of any other package
- try openning an image with imv
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 30 April 2023, 22:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  imv 4.2.0-1

Loading...