+ return directory_containing_executable().parent_path() / "share" / "dcpomatic2";
+}
+
+
+boost::filesystem::path
+xsd_path ()
+{
+ if (auto appdir = getenv("APPDIR")) {
+ return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "xsd";
+ }
+ return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "xsd";
+}
+
+
+boost::filesystem::path
+tags_path ()
+{
+ if (auto appdir = getenv("APPDIR")) {
+ return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "tags";