File: 14-replace-soundfont.patch

package info (click to toggle)
tuxguitar 2.0.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 30,816 kB
  • sloc: java: 144,918; ansic: 4,784; xml: 3,913; sh: 1,457; perl: 207; makefile: 24; javascript: 3
file content (40 lines) | stat: -rw-r--r-- 1,918 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Replace MagicSFver2.sf2 with FluidR3_GM.sf2
Origin: vendor
Forwarded: no
Author: Helmar Gerloni <helmar@gerloni.net>
Last-Update: 2024-08-24

--- a/desktop/build-scripts/tuxguitar-linux-swt/pom.xml
+++ b/desktop/build-scripts/tuxguitar-linux-swt/pom.xml
@@ -314,9 +314,6 @@
 								<copy todir="${project.build.directory}/${project.finalName}/dist">
 									<fileset dir="${project.rootPath}/TuxGuitar/dist/" />
 								</copy>
-								<copy todir="${project.build.directory}/${project.finalName}/share/soundfont" overwrite="true">
-									<fileset dir="${project.rootPath}/TuxGuitar-resources/resources/soundfont" />
-								</copy>
 
 								<copy todir="${project.build.directory}/${project.finalName}" overwrite="true">
 									<fileset dir="../common-resources/common" />
--- a/desktop/build-scripts/common-resources/common-linux/dist/tuxguitar-fluidsynth.cfg
+++ b/desktop/build-scripts/common-resources/common-linux/dist/tuxguitar-fluidsynth.cfg
@@ -1,6 +1,6 @@
 # tuxguitar-fluidsynth settings for Linux
 soundfont.count=1
-soundfont.path0=${tuxguitar.home.path}/share/soundfont/MagicSFver2.sf2
+soundfont.path0=/usr/share/sounds/sf2/FluidR3_GM.sf2
 
 synth.gain=1.1
 synth.chorus.active=yes
--- a/desktop/build-scripts/common-resources/common/dist/tuxguitar-jsa.cfg
+++ b/desktop/build-scripts/common-resources/common/dist/tuxguitar-jsa.cfg
@@ -1,2 +1,2 @@
 # Default tuxguitar-jsa settings
-soundbank.custom.path=${tuxguitar.home.path}/share/soundfont/MagicSFver2.sf2
+soundbank.custom.path=/usr/share/sounds/sf2/FluidR3_GM.sf2
--- a/desktop/TuxGuitar-synth-gervill/share/tuxguitar-synth-gervill.cfg
+++ b/desktop/TuxGuitar-synth-gervill/share/tuxguitar-synth-gervill.cfg
@@ -1,2 +1,2 @@
 ## Default Settings ##
-tuxguitar-synth-gervill.soundbank.path=${tuxguitar.home.path}/share/soundfont/MagicSFver2.sf2
+tuxguitar-synth-gervill.soundbank.path=/usr/share/sounds/sf2/FluidR3_GM.sf2