[vlc-devel] [PATCH] codec: fluidsynth: look for sound fonts in $XDG_DATA_DIRS

Rémi Denis-Courmont remi at remlab.net
Sun Feb 25 20:38:59 CET 2018


Le perjantaina 23. helmikuuta 2018, 11.09.40 EET Raitis V a écrit :
> Hi,
> 
> The attached patch fixes the issue #19795: https://trac.videolan.
> org/vlc/ticket/19795
> 
> I've compiled and tested the functionality on the 2.x branch, but it merges
> with should work on master too.
> 
> Out of the box soundfont detection didn't work for me on Arch Linux and not
> it doesn't work on NixOS, so that's why I wanted to fix this.

This would probably be simpler with GLOB_APPEND.

And I don't think VLC has any business in /usr/local unless that is the 
installation prefix. At this point, you are probably better off with 
config_GetDataDir().

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list