FS#57883 - [xosd] missing runtime dependency
Attached to Project:
Community Packages
Opened by lvs (refracted_manifold) - Sunday, 18 March 2018, 08:41 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 March 2023, 13:18 GMT
Opened by lvs (refracted_manifold) - Sunday, 18 March 2018, 08:41 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 March 2023, 13:18 GMT
|
Details
Description: In an attempt to remove packages I never used,
I noticed that osd_cat from xosd stopped working after
uninstalling xorg-fonts-misc.
Looking at xosd's code I noticed that osd_cat sets a default font to "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" and if that font isn't found osd_cat fails with: "Error initializing osd: Default font not found". You can't get around this by using the "--font=FONT" option, as the code checks for the default font first and errors out if the font isn't found without even considering the user supplied font. So xosd in its current form needs a package that supplies "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" (I'm not aware if there are packages other than xorg-fonts-misc that supply it) for osd_cat to run. * package version: xosd 2.2.14-8 |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 29 March 2023, 13:18 GMT
Reason for closing: Fixed
Additional comments about closing: moved font to optdep
Wednesday, 29 March 2023, 13:18 GMT
Reason for closing: Fixed
Additional comments about closing: moved font to optdep
$ cd /usr/share/fonts/misc
$ grep -E '^fixed' fonts.alias
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
$ grep '\-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1' fonts.dir
6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
$ pacman -Qo 6x13-ISO8859-1.pcf.gz
/usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz is owned by xorg-fonts-misc 1.0.3-6