~ubuntu-branches/debian/jessie/bristol/jessie

« back to all changes in this revision

Viewing changes to debian/patches/02_fix_buildsys.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-11-10 12:21:04 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091110122104-432yau0haobyl122
Tags: 0.40.6-1
* Adopting this (Closes: #546954).
* Create new bristol-data runtime package, it will contain application's
  architecture-indipendent data files.
* Drop all patches, now useless.
* Switch to debhelper 7.
* debian/copyright: Update according to DEP-5 spec.
* debian/bristol.1: Fix little spelling mistake.
* Replace patch system, from dpatch to quilt.
* Add 01-spelling_errors.patch patch to fix spelling-error-in-binary.
* debian/rules: dh_makeshlibs doesn't touch shlibs/symbols file, libraries
  under /usr/lib/bristol/ are private.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- bristol-0.9.1.orig/src/bristol/brightongui/bristolhelp.h
2
 
+++ bristol-0.9.1/src/bristol/brightongui/bristolhelp.h
3
 
@@ -1,116 +1,114 @@
4
 
 
5
 
-char *helptext = "
6
 
-    bristol: a synthesiser emulation package.
7
 
+char *helptext = 
8
 
+"    bristol: a synthesiser emulation package.\n\n"
9
 
 
10
 
-    You should start this package with the startBristol script. This script
11
 
-    will start up the bristol synthesiser binaries, evaluating the correct
12
 
-    library paths and executable paths. There are emulation, synthesiser and
13
 
-    operational parameters:
14
 
+"    You should start this package with the startBristol script. This script\n"
15
 
+"    will start up the bristol synthesiser binaries, evaluating the correct\n"
16
 
+"    library paths and executable paths. There are emulation, synthesiser and\n"
17
 
+"    operational parameters:\n\n"
18
 
 
19
 
-    Emulation:
20
 
+"    Emulation:\n\n"
21
 
 
22
 
-        -mini             - mini moog
23
 
-        -explorer         - moog voyager
24
 
-        -hammond          - hammond module
25
 
-        -b3               - dual manual hammond B3
26
 
-        -pro5|-prophet    - sequential circuits prophet-5
27
 
-        -pro10            - sequential circuits prophet-10
28
 
-        -juno             - roland juno-6
29
 
-        -dx               - yamaha DX-7
30
 
-        -vox              - vox continental
31
 
-        -rhodes           - fender rhodes stage 73
32
 
-        -mixer            - 16 track mixer (-libtest only)
33
 
+"        -mini             - mini moog\n"
34
 
+"        -explorer         - moog voyager\n"
35
 
+"        -hammond          - hammond module\n"
36
 
+"        -b3               - dual manual hammond B3\n"
37
 
+"        -pro5|-prophet    - sequential circuits prophet-5\n"
38
 
+"        -pro10            - sequential circuits prophet-10\n"
39
 
+"        -juno             - roland juno-6\n"
40
 
+"        -dx               - yamaha DX-7\n"
41
 
+"        -vox              - vox continental\n"
42
 
+"        -rhodes           - fender rhodes stage 73\n"
43
 
+"        -mixer            - 16 track mixer (-libtest only)\n\n"
44
 
 
45
 
-    Synthesiser:
46
 
+"    Synthesiser:\n\n"
47
 
 
48
 
-        -voices <n>       - operate with a total of 'n' voices, default 16
49
 
-        -channel <c>      - initial midi channel selected to 'c', default 1
50
 
+"        -voices <n>       - operate with a total of 'n' voices, default 16\n"
51
 
+"        -channel <c>      - initial midi channel selected to 'c', default 1\n\n"
52
 
 
53
 
-    Operational:
54
 
+"    Operational:\n\n"
55
 
 
56
 
-        General:
57
 
-            -engine       - don't start engine (connect to current invocation)
58
 
-            -port <p>     - connect to engine on TCP port 'p' (default 5028)
59
 
-            -libtest      - just display a GUI
60
 
-            -quiet        - redirect output to /dev/null
61
 
-            -oss          - use OSS defaults for audio and MIDI (default)
62
 
-            -alsa         - use ALSA defaults for audio and MIDI
63
 
+"        General:\n"
64
 
+"            -engine       - don't start engine (connect to current invocation)\n"
65
 
+"            -port <p>     - connect to engine on TCP port 'p' (default 5028)\n"
66
 
+"            -libtest      - just display a GUI\n"
67
 
+"            -quiet        - redirect output to /dev/null\n"
68
 
+"            -oss          - use OSS defaults for audio and MIDI (default)\n"
69
 
+"            -alsa         - use ALSA defaults for audio and MIDI\n\n"
70
 
 
71
 
-        Audio driver:
72
 
-            -audio [oss|alsa]  - audio driver selection
73
 
-            -audiodev <dev>    - audio device selection
74
 
-            -bufsize <bytes>   - buffer size, default 1024 bytes (256 samples)
75
 
-            -preload <buffers> - configure preload buffer count (default 4)
76
 
-            -rate <hz>         - sample rate
77
 
+"        Audio driver:\n"
78
 
+"            -audio [oss|alsa]  - audio driver selection\n"
79
 
+"            -audiodev <dev>    - audio device selection\n"
80
 
+"            -bufsize <bytes>   - buffer size, default 1024 bytes (256 samples)\n"
81
 
+"            -preload <buffers> - configure preload buffer count (default 4)\n"
82
 
+"            -rate <hz>         - sample rate\n\n"
83
 
 
84
 
-        Midi driver:
85
 
-            -midi [oss|alsa]   - midi driver selection
86
 
-            -mididev <dev>     - midi device selection
87
 
-            -seq               - use the ALSA SEQ interface
88
 
+"        Midi driver:\n"
89
 
+"            -midi [oss|alsa]   - midi driver selection\n"
90
 
+"            -mididev <dev>     - midi device selection\n"
91
 
+"            -seq               - use the ALSA SEQ interface\n\n"
92
 
 
93
 
-    Audio drivers are PCM or PCM plug only. Future releases may add Jack
94
 
-    support. Midi drivers are either OSS/ALSA rawmidi interface, or ALSA SEQ.
95
 
-    Multple GUIs can connect to the single audio engine, which then operates
96
 
-    multitimbrally.
97
 
+"    Audio drivers are PCM or PCM plug only. Future releases may add Jack\n"
98
 
+"    support. Midi drivers are either OSS/ALSA rawmidi interface, or ALSA SEQ.\n"
99
 
+"    Multple GUIs can connect to the single audio engine, which then operates\n"
100
 
+"    multitimbrally.\n\n"
101
 
 
102
 
-    Examples:
103
 
+"    Examples:\n\n"
104
 
 
105
 
-    startBristol
106
 
+"    startBristol\n\n"
107
 
 
108
 
-        Run a minimoog using OSS interface for audio and midi. This is
109
 
-        equivalent to all the following options:
110
 
-        -mini -audio oss -audiodev /dev/audio -midi oss -mididev /dev/midi
111
 
-        -bufsize 1024 -preload 4 -port 5028 -voices 16 -channel 1 -rate 44100
112
 
+"        Run a minimoog using OSS interface for audio and midi. This is\n"
113
 
+"        equivalent to all the following options:\n"
114
 
+"        -mini -audio oss -audiodev /dev/audio -midi oss -mididev /dev/midi\n"
115
 
+"        -bufsize 1024 -preload 4 -port 5028 -voices 16 -channel 1 -rate 44100\n\n"
116
 
 
117
 
-    startBristol -alsa
118
 
+"    startBristol -alsa\n\n"
119
 
 
120
 
-        Run a minimoog using ALSA interface for audio and midi. This is
121
 
-        equivalent to all the following options:
122
 
-        -mini -audio alsa -audiodev plughw:0,0 -midi alsa -mididev hw:0
123
 
-        -bufsize 1024 -preload 4 -port 5028 -voices 16 -channel 1 -rate 44100
124
 
+"        Run a minimoog using ALSA interface for audio and midi. This is\n"
125
 
+"        equivalent to all the following options:\n"
126
 
+"        -mini -audio alsa -audiodev plughw:0,0 -midi alsa -mididev hw:0\n"
127
 
+"        -bufsize 1024 -preload 4 -port 5028 -voices 16 -channel 1 -rate 44100\n\n"
128
 
 
129
 
-    startBristol -explorer -voices 1
130
 
+"    startBristol -explorer -voices 1\n\n"
131
 
 
132
 
-        Run a moog explorer as a monophonic instrument, using OSS interface for
133
 
-        audio and midi.
134
 
+"        Run a moog explorer as a monophonic instrument, using OSS interface for\n"
135
 
+"        audio and midi.\n\n"
136
 
 
137
 
-    startBristol -prophet -alsa -channel 3
138
 
+"    startBristol -prophet -alsa -channel 3\n\n"
139
 
 
140
 
-        Run a prophet-5 using ALSA for audio and midi (on channel 3).
141
 
+"        Run a prophet-5 using ALSA for audio and midi (on channel 3).\n\n"
142
 
 
143
 
-    startBristol -b3 -bufsize 2048 -preload 2
144
 
+"    startBristol -b3 -bufsize 2048 -preload 2\n\n"
145
 
 
146
 
-        Run a hammond b3 with a buffer size of 2048 bytes (512 samples), and
147
 
-        preload two such buffers before going active. Some Live! cards need 
148
 
-        this larger buffer size with ALSA drivers.
149
 
+"        Run a hammond b3 with a buffer size of 2048 bytes (512 samples), and\n"
150
 
+"        preload two such buffers before going active. Some Live! cards need \n"
151
 
+"        this larger buffer size with ALSA drivers.\n\n"
152
 
 
153
 
-    startBristol -oss -audiodev /dev/dsp1 -vox -voices 8
154
 
+"    startBristol -oss -audiodev /dev/dsp1 -vox -voices 8\n\n"
155
 
 
156
 
-        Run a vox continental using OSS device 1, and default midi device
157
 
-        /dev/midi0. Operate with just 8 voices.
158
 
+"        Run a vox continental using OSS device 1, and default midi device\n"
159
 
+"        /dev/midi0. Operate with just 8 voices.\n\n"
160
 
 
161
 
-    startBristol -b3 -audio alsa -audiodev plughw:0,0 -seq -mididev 128.0
162
 
+"    startBristol -b3 -audio alsa -audiodev plughw:0,0 -seq -mididev 128.0\n\n"
163
 
 
164
 
-        Run a B3 emulation over the ALSA PCM plug interface, using the ALSA
165
 
-        sequencer over client 128, port 0.
166
 
+"        Run a B3 emulation over the ALSA PCM plug interface, using the ALSA\n"
167
 
+"        sequencer over client 128, port 0.\n\n"
168
 
 
169
 
-    startBristol -juno &
170
 
-    startBristol -prophet -channel 2 -engine
171
 
+"    startBristol -juno &\n"
172
 
+"    startBristol -prophet -channel 2 -engine\n\n"
173
 
 
174
 
-        Start two synthesisers, a juno and a prophet. Both synthesisers will
175
 
-        will be executed on one engine (multitimbral) with 16 voices between 
176
 
-        them. The juno will be on default midi channel (1), and the prophet on
177
 
-        channel 2. Output over the same default OSS audio device (/dev/audio).
178
 
+"        Start two synthesisers, a juno and a prophet. Both synthesisers will\n"
179
 
+"        will be executed on one engine (multitimbral) with 16 voices between \n"
180
 
+"        them. The juno will be on default midi channel (1), and the prophet on\n"
181
 
+"        channel 2. Output over the same default OSS audio device (/dev/audio).\n\n"
182
 
 
183
 
-    startBristol -juno &
184
 
-    startBristol -prophet -port 5029 -audiodev /dev/dsp1 -mididev /dev/midi1
185
 
+"    startBristol -juno &\n"
186
 
+"    startBristol -prophet -port 5029 -audiodev /dev/dsp1 -mididev /dev/midi1\n"
187
 
 
188
 
-        Start two synthesisers, a juno on the first OSS soundcard, and a
189
 
-        prophet on the second OSS soundcard. Each synth is totally independant
190
 
-        and runs with 16 voice polyphony (looks nice, but not been tested).
191
 
+"        Start two synthesisers, a juno on the first OSS soundcard, and a\n"
192
 
+"        prophet on the second OSS soundcard. Each synth is totally independant\n"
193
 
+"        and runs with 16 voice polyphony (looks nice, but not been tested).\n\n"
194
 
 
195
 
-    Author: nick.copeland@ntlworld.com
196
 
-
197
 
-";
198
 
+"    Author: nick.copeland@ntlworld.com\n\n";
199
 
 
200
 
 
201
 
--- bristol-0.9.1.orig/src/bristol/bristol/Makefile
202
 
+++ bristol-0.9.1/src/bristol/bristol/Makefile
203
 
@@ -22,8 +22,8 @@
204
 
 LIBS           = -lc -lm ${LIBASOUND} -lpthread -Xlinker -Bstatic -lbristol -lbristolmidi -lslabaudio
205
 
 LDFLAGS                = ${LIBSDIR} -Xlinker -B${BINDING} ${LIBS}
206
 
 
207
 
-CC                     =       cc -O -fPIC
208
 
+CC                     =       cc -O -fPIC -g
209
 
 DEPEND         =       makedepend
210
 
 INSTALL                =       install -c
211
 
 
212
 
 
213
 
--- bristol-0.9.1.orig/src/bristol/include/bristol.h
214
 
+++ bristol-0.9.1/src/bristol/include/bristol.h
215
 
@@ -51,8 +51,8 @@
216
 
 #else
217
 
 #define bAMD "0"
218
 
 #define bAAD "0"
219
 
-#endif ADLIB
220
 
+#endif /* ADLIB */
221
 
 #define bOMD "/dev/midi"
222
 
 #define bOAD "/dev/audio"
223
 
 
224
 
 
225
 
--- bristol-0.9.1.orig/src/slab/include/slabtrack.h
226
 
+++ bristol-0.9.1/src/slab/include/slabtrack.h
227
 
@@ -150,6 +150,6 @@
228
 
        short midiDevIndex;
229
 
 } localrecord;
230
 
 
231
 
-#endif SLAB_TRACK
232
 
+#endif /* SLAB_TRACK */
233
 
 
234
 
 
235
 
--- bristol-0.9.1.orig/src/bristol/libbristol/Makefile
236
 
+++ bristol-0.9.1/src/bristol/libbristol/Makefile
237
 
@@ -20,6 +20,6 @@
238
 
 # -DQUICKHACK -DTEST
239
 
 # FEATURES     = -DDEBUG  -DEBUG2
240
 
 # FEATURES     =  -DDEBUG
241
 
-FEATURES       = -DNEW_DEBUG
242
 
+ FEATURES      = -DNEW_DEBUG
243
 
 
244
 
 # for 4.3 BSD
245
 
 #DEFINES       =
246