Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474938 - media-video/vlc[projectm] crashes if choose projectm audio visualization
Summary: media-video/vlc[projectm] crashes if choose projectm audio visualization
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL: https://bugs.archlinux.org/task/31242
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-27 05:48 UTC by Ilya Gordeev
Modified: 2016-09-10 16:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vlc-projectm-fonts-path.patch (vlc-projectm-fonts-path.patch,749 bytes, patch)
2013-06-27 05:53 UTC, Ilya Gordeev
Details | Diff
Backtrace & Emerge Info (btandemergeinfo.txt,5.18 KB, text/plain)
2016-09-10 16:14 UTC, richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Gordeev 2013-06-27 05:48:59 UTC
vlc chashes if choose projectm audio visualization with message:
Could not open font file: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

Reproducible: Always
Comment 1 Ilya Gordeev 2013-06-27 05:53:40 UTC
Created attachment 352054 [details, diff]
vlc-projectm-fonts-path.patch

Propose fix stilled from Arch
Comment 2 Ilya Gordeev 2013-06-27 05:56:15 UTC
See also https://bugs.archlinux.org/task/31242
Comment 3 Ilya Gordeev 2013-06-27 17:15:52 UTC
Just found that it can be fixed via vlc config file .config/vlc/vlcrc:

[projectm]
projectm-title-font=/usr/share/fonts/dejavu/DejaVuSans.ttf
projectm-menu-font=/usr/share/fonts/dejavu/DejaVuSansMono.ttf
Comment 4 Ondrej Grover 2013-08-11 18:09:24 UTC
I can confirm that the workaround by Ilya Gordeev in .config/vlc/vlcrc works very well

It appears that this is a bug in vlc rather than in libprojectm, because libprojectm has the file /usr/share/projectM/config.inp which lists the correct paths.

the command

equery f vlc | xargs grep projectm-title-font 2>/dev/null

with output

Binary file /usr/lib64/vlc/plugins/plugins.dat matches
Binary file /usr/lib64/vlc/plugins/visualization/libprojectm_plugin.so matches

suggests that the bad fontpaths are compiled in, so the patch is most likely the only way to go

this is with stable media-video/vlc-2.0.5 and media-libs/libprojectm-2.1.0-r1
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-26 08:25:28 UTC
This will be part of the version bumps that happen today (older vlc versions get this patched, newer vlc versions get this configured through the configure flags; in both cases based on whether the USE flag is enabled or disabled).
Comment 6 richard 2016-09-10 16:14:35 UTC
Created attachment 445408 [details]
Backtrace & Emerge Info