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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Charles Banas (greyfade) - Monday, 09 September 2019, 17:22 GMT
  • Field changed: Percent Complete (100% → 0%)
xorg-fonts-misc does not seem to provide the "fixed" font any more, and xosd is unusable as a result.
Comment by Sergej Pupykin (sergej) - Tuesday, 21 January 2020, 18:48 GMT
That is strange:

$ 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
Comment by Arthur Huillet (ahuillet) - Saturday, 25 September 2021, 16:17 GMT
This is still a problem with xorg-fonts-misc-otb, but rebuilding libxosd with default font string "6x13" instead of the one used seems to workaround the problem.
Comment by Sergej Pupykin (sergej) - Wednesday, 29 March 2023, 13:12 GMT
I don't think that font should be in dep list at all. It uses X-server side fonts.

Loading...