Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 548356

Summary: app-text/calibre-2.25.0 requires Liberation fonts
Product: Gentoo Linux Reporter: A.J. <akadaedalus>
Component: Current packagesAssignee: Ben de Groot (RETIRED) <yngwin>
Status: RESOLVED FIXED    
Severity: minor CC: axs, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description A.J. 2015-05-01 19:31:24 UTC
Calibre v.2.25.0 expects the Liberation fonts to be installed on the system, and dies if it cannot find them.  It is likely this is a dependency going back several versions but I didn't check.

This is an easy fix on the ebuild.  

Reproducible: Always

Steps to Reproduce:
1. Install app-text/calibre
2. Deinstall media-fonts/liberation-fonts
3. launch calibre
Actual Results:  
apalmer@biiru ~ $ calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in <module>
    sys.exit(calibre())
  File "/usr/lib64/calibre/calibre/gui_launch.py", line 63, in calibre
    main(args)
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 490, in main
    gui_debug=gui_debug)
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 331, in run_gui
    app.load_builtin_fonts(scan_for_fonts=True)
  File "/usr/lib64/calibre/calibre/gui2/__init__.py", line 978, in load_builtin_fonts
    load_builtin_fonts()
  File "/usr/lib64/calibre/calibre/gui2/__init__.py", line 875, in load_builtin_fonts
    with open(ff, 'rb') as s:
IOError: [Errno 2] No such file or directory: '/usr/share/calibre/fonts/liberation/LiberationMono-BoldItalic.ttf'


Expected Results:  
Calibre gui launched.

I run a minimal desktop environment with awesome for a window manager and severely strict use flags.  It's likely there are very few people affected by this. I just like to keep my world file small.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2015-05-02 14:39:54 UTC
My mistake. Fixed in app-text/calibre-2.27.0.