Save references to external files in LV2 state as symbolic links.
authorDavid Robillard <d@drobilla.net>
Thu, 24 Nov 2011 00:53:45 +0000 (00:53 +0000)
committerDavid Robillard <d@drobilla.net>
Thu, 24 Nov 2011 00:53:45 +0000 (00:53 +0000)
commit0bd3105f50f3c82586e0924a4be9977425caaf90
tree0bbb07b0b78ceac40c43f77d36880b8e7d486024
parent5aec659c606861f88068782257966fd91726254b
Save references to external files in LV2 state as symbolic links.

With this commit it is possible to archive sessions that contain plugins with
complex file-containing state (e.g. Linuxsampler with a sample bank loaded)
with any archive tool, e.g.:

tar -hjcf session.tar.bz2 session

Which will give you a fully self-contained archive of everything used in the
session, so you can e.g. send it to a collaborator who may not have the same
sample banks in the same place as you and it will work.

git-svn-id: svn://localhost/ardour2/branches/3.0@10817 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/lv2_plugin.h
libs/ardour/lv2_plugin.cc