// Unset GTK_RC_FILES so that only ardour specific files are loaded
Glib::unsetenv ("GTK_RC_FILES");
+ if (ARDOUR::translations_are_enabled ()) {
+ path = windows_search_path().to_string();
+ path += "\\locale";
+ Glib::setenv ("GTK_LOCALEDIR", path, true);
+
+ // and return the same path to our caller
+ (*localedir) = strdup (path.c_str());
+ }
std::string path;
const char *cstr;
echo "*** Please compile ardour ${ARDOURVERSION} first."
exit 1
fi
+
+echo " === bundle to $DESTDIR"
+
./waf install
################################################################################
fi
cp -r $PREFIX/share/${LOWERCASE_DIRNAME} $DESTDIR/share/
+cp -r $PREFIX/share/locale $DESTDIR/share/
cp -r $PREFIX/etc/${LOWERCASE_DIRNAME}/* $DESTDIR/share/${LOWERCASE_DIRNAME}/
cp COPYING $DESTDIR/share/
cp gtk2_ardour/icons/cursor_square/* $DESTDIR/share/${LOWERCASE_DIRNAME}/icons/
# clean build-dir after depoyment
+echo " === bundle completed, cleaning up"
./waf uninstall
echo " === complete"
du -sh $DESTDIR