• Christoph Reiter's avatar
    windows: rework loaders cache relocation support · 6ef31828
    Christoph Reiter authored
    Relocation works by recognizing paths in the loaders cache
    which start with the built time prefix and extract the relative
    path from that.
    
    This leads to the following problem when updating the cache:
    
    In case the package is build on another machine one has to
    either match the build directory layout or adjust the
    cache by hand for the resulting cache to stay relocatable.
    
    This commonly occurs with msys2 where mostly pre-build packages
    are used which are built on another machine and the cache gets
    generated at install time. Another case is updating the cache
    in a separate deployment environment.
    
    This patch takes the package installation directory as a base
    and writes relative paths into the cache when relocation
    is enabled. When loading the cache a relative path is made
    absolute by prepending the package base again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776081
    6ef31828
Name
Last commit
Last update
build-aux Loading commit data...
contrib Loading commit data...
docs Loading commit data...
gdk-pixbuf Loading commit data...
m4 Loading commit data...
po Loading commit data...
tests Loading commit data...
thumbnailer Loading commit data...
win32 Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gdk-pixbuf.doap Loading commit data...
git.mk Loading commit data...
glib-tap.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
tap-driver.sh Loading commit data...
tap-test Loading commit data...