summarylogtreecommitdiffstats
path: root/fix_default_dirs.patch
diff options
context:
space:
mode:
authorEugene Cherny2018-04-23 15:54:50 +0300
committerEugene Cherny2018-04-23 15:54:50 +0300
commita25726926197800f1dc93c7fbb45ee61d04f6c9e (patch)
treeaade7e0639d7ccf7ad360cc7daaeba3dc0c6888a /fix_default_dirs.patch
parentcba9f8854339f11804f860e81c7b561c8621adf2 (diff)
downloadaur-a25726926197800f1dc93c7fbb45ee61d04f6c9e.tar.gz
[+] proper distribution with fixed cabbage paths
Diffstat (limited to 'fix_default_dirs.patch')
-rw-r--r--fix_default_dirs.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/fix_default_dirs.patch b/fix_default_dirs.patch
new file mode 100644
index 000000000000..59a117f242e4
--- /dev/null
+++ b/fix_default_dirs.patch
@@ -0,0 +1,15 @@
+diff --git a/Source/Settings/CabbageSettings.cpp b/Source/Settings/CabbageSettings.cpp
+index 6d98818b..6fde16df 100755
+--- a/Source/Settings/CabbageSettings.cpp
++++ b/Source/Settings/CabbageSettings.cpp
+@@ -49,7 +49,9 @@ void CabbageSettings::setDefaultSettings()
+ #if defined(WIN32)
+ manualPath = "C:\\Program Files\\Csound6_x64\\doc\\manual";
+ #elif !defined(MACOSX)
+- manualPath = File::getSpecialLocation (File::currentExecutableFile).getParentDirectory().getFullPathName() + "/CsoundDocs";
++ examplesDir = "/usr/share/doc/cabbage/examples";
++ cabbageHelp = "/usr/share/doc/cabbage/help";
++ manualPath = "/usr/share/doc/csound-doc";
+ #else
+ examplesDir = File::getSpecialLocation (File::currentExecutableFile).getParentDirectory().getParentDirectory().getFullPathName() + "/Examples";
+ cabbageHelp = File::getSpecialLocation (File::currentExecutableFile).getParentDirectory().getParentDirectory().getFullPathName() + "/CabbageManual";