File: 07-examples-path.patch

package info (click to toggle)
sonic-pi 3.2.2~repack-12.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 71,972 kB
  • sloc: ruby: 30,548; cpp: 8,490; sh: 963; ansic: 461; erlang: 360; lisp: 141; makefile: 28
file content (20 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: add missing examples/ dir in Debian package
 As described in this bug report
 <URL: https://github.com/samaaron/sonic-pi/issues/1229>,
 the Debian package for Sonic Pi 2.10.0 was missing the
 examples/ directory during installation. 
Forwarded: not-needed
Author: Hanno Zulla <kontakt@hanno.de>
Last-Update: 2016-05-17

--- a/app/gui/qt/mainwindow.cpp
+++ b/app/gui/qt/mainwindow.cpp
@@ -1063,7 +1063,7 @@
     return QCoreApplication::applicationDirPath() + "/../../../../..";
 #else
     // On linux, CMake builds app into the build folder
-    return QCoreApplication::applicationDirPath() + "/../../../..";
+    return "/usr/lib/sonic-pi";
 #endif
 }