[vlc-commits] Make plugins cache relocatable
    Rémi Denis-Courmont 
    git at videolan.org
       
    Tue Aug 16 18:20:58 CEST 2011
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 16 17:25:09 2011 +0300| [99dbc6c18cdfc45563b665649cff0fdbf6422651] | committer: Rémi Denis-Courmont
Make plugins cache relocatable
The plugins cache now contains plugins file path relative to the base
plugins directory (the directory that contains plugins.dat). The cache
can hence be generated from a different absolute directory than the one
it is later installed to.
For native or emulated native builds, this enables build-time cache
generation.
Note however that the relative paths are different in the build tree
(modules/*/.libs/lib*_plugin.*) and in standard installation
(plugins/*/lib*_plugin.*). The cache cannot be copied from the build
tree to the installation directory.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99dbc6c18cdfc45563b665649cff0fdbf6422651
---
 src/modules/bank.c  |  194 ++++++++++++++++++++++++++++++--------------------
 src/modules/cache.c |    5 +-
 2 files changed, 117 insertions(+), 82 deletions(-)
Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=99dbc6c18cdfc45563b665649cff0fdbf6422651
    
    
More information about the vlc-commits
mailing list