dtas 0.12.1 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -2
- data/Documentation/.gitignore +2 -2
- data/Documentation/GNUmakefile +2 -2
- data/Documentation/dtas-archive.txt +8 -7
- data/Documentation/dtas-console.txt +6 -3
- data/Documentation/dtas-ctl.txt +2 -2
- data/Documentation/dtas-cueedit.txt +2 -2
- data/Documentation/dtas-enq.txt +2 -2
- data/Documentation/dtas-env.txt +2 -2
- data/Documentation/dtas-msinkctl.txt +2 -2
- data/Documentation/dtas-player.txt +2 -2
- data/Documentation/dtas-player_effects.txt +2 -2
- data/Documentation/dtas-player_protocol.txt +3 -3
- data/Documentation/dtas-player_sink_examples.txt +2 -4
- data/Documentation/dtas-sinkedit.txt +2 -2
- data/Documentation/dtas-sourceedit.txt +2 -2
- data/Documentation/dtas-splitfx.txt +3 -24
- data/Documentation/dtas-tl.txt +7 -6
- data/Documentation/dtas-xdelay.txt +2 -2
- data/Documentation/update-footer.rb +4 -3
- data/GIT-VERSION-GEN +6 -5
- data/GNUmakefile +2 -2
- data/HACKING +2 -2
- data/INSTALL +9 -10
- data/README +5 -5
- data/Rakefile +75 -15
- data/TODO +2 -2
- data/bin/dtas-archive +3 -2
- data/bin/dtas-console +63 -22
- data/bin/dtas-ctl +3 -2
- data/bin/dtas-cueedit +3 -2
- data/bin/dtas-enq +3 -2
- data/bin/dtas-mlib +25 -3
- data/bin/dtas-msinkctl +3 -2
- data/bin/dtas-partstats +3 -2
- data/bin/dtas-player +3 -2
- data/bin/dtas-readahead +6 -5
- data/bin/dtas-sinkedit +3 -2
- data/bin/dtas-sourceedit +3 -2
- data/bin/dtas-splitfx +3 -2
- data/bin/dtas-tl +29 -16
- data/bin/dtas-xdelay +3 -2
- data/dtas-linux.gemspec +3 -3
- data/dtas-mpris.gemspec +4 -4
- data/dtas.gemspec +3 -2
- data/lib/dtas.rb +14 -7
- data/lib/dtas/buffer.rb +3 -2
- data/lib/dtas/buffer/read_write.rb +4 -3
- data/lib/dtas/buffer/splice.rb +3 -2
- data/lib/dtas/command.rb +3 -2
- data/lib/dtas/compat_onenine.rb +2 -2
- data/lib/dtas/cue_index.rb +4 -3
- data/lib/dtas/disclaimer.rb +3 -2
- data/lib/dtas/edit_client.rb +4 -3
- data/lib/dtas/fadefx.rb +4 -3
- data/lib/dtas/format.rb +3 -13
- data/lib/dtas/mlib.rb +19 -10
- data/lib/dtas/mlib/migrations/0001_initial.rb +2 -2
- data/lib/dtas/nonblock.rb +2 -2
- data/lib/dtas/parse_freq.rb +4 -4
- data/lib/dtas/parse_time.rb +4 -3
- data/lib/dtas/partstats.rb +6 -5
- data/lib/dtas/pipe.rb +3 -2
- data/lib/dtas/player.rb +4 -3
- data/lib/dtas/player/client_handler.rb +21 -9
- data/lib/dtas/process.rb +5 -4
- data/lib/dtas/replaygain.rb +7 -6
- data/lib/dtas/rg_state.rb +38 -14
- data/lib/dtas/serialize.rb +3 -2
- data/lib/dtas/sigevent.rb +3 -2
- data/lib/dtas/sigevent/efd.rb +2 -2
- data/lib/dtas/sigevent/pipe.rb +4 -3
- data/lib/dtas/sink.rb +3 -2
- data/lib/dtas/source.rb +3 -2
- data/lib/dtas/source/av.rb +3 -2
- data/lib/dtas/source/av_ff_common.rb +6 -5
- data/lib/dtas/source/cmd.rb +3 -2
- data/lib/dtas/source/common.rb +2 -2
- data/lib/dtas/source/ff.rb +3 -2
- data/lib/dtas/source/file.rb +7 -6
- data/lib/dtas/source/mp3gain.rb +3 -2
- data/lib/dtas/source/sox.rb +7 -5
- data/lib/dtas/source/splitfx.rb +8 -4
- data/lib/dtas/spawn_fix.rb +2 -2
- data/lib/dtas/splitfx.rb +5 -4
- data/lib/dtas/state_file.rb +3 -2
- data/lib/dtas/tfx.rb +6 -5
- data/lib/dtas/track.rb +4 -3
- data/lib/dtas/tracklist.rb +8 -8
- data/lib/dtas/unix_accepted.rb +3 -2
- data/lib/dtas/unix_client.rb +3 -2
- data/lib/dtas/unix_server.rb +3 -2
- data/lib/dtas/util.rb +3 -2
- data/lib/dtas/watchable.rb +10 -8
- data/lib/dtas/writable_iter.rb +3 -2
- data/lib/dtas/xs.rb +3 -2
- data/perl/dtas-graph +2 -2
- data/test/covshow.rb +3 -2
- data/test/helper.rb +3 -2
- data/test/player_integration.rb +3 -2
- data/test/test_buffer.rb +3 -2
- data/test/test_env.rb +3 -2
- data/test/test_fadefx.rb +3 -2
- data/test/test_format.rb +3 -2
- data/test/test_format_change.rb +3 -2
- data/test/test_mlib.rb +3 -2
- data/test/test_parse_freq.rb +3 -3
- data/test/test_player.rb +3 -2
- data/test/test_player_client_handler.rb +4 -3
- data/test/test_player_integration.rb +8 -2
- data/test/test_process.rb +5 -4
- data/test/test_rg_integration.rb +3 -2
- data/test/test_rg_state.rb +3 -2
- data/test/test_sink.rb +3 -2
- data/test/test_sink_pipe_size.rb +3 -2
- data/test/test_sink_tee_integration.rb +3 -2
- data/test/test_source_av.rb +6 -5
- data/test/test_source_sox.rb +7 -6
- data/test/test_splitfx.rb +3 -2
- data/test/test_tfx.rb +3 -2
- data/test/test_tracklist.rb +3 -2
- data/test/test_unixserver.rb +3 -2
- data/test/test_util.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecfd08e9b59d26d7762e9e40709ce4e7a40ed629
|
4
|
+
data.tar.gz: 6188c723ac2d87daf5e3ef9bdc0f040d8a73ff71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7756d98e964479361d04d346c3e601196578c9d79967847dddcdb78e109b13237a8ab1832e13f4166adef5ae72745c90ff13927d89a94868e8c4682512282c6a
|
7
|
+
data.tar.gz: 2450045f4fa44b4897abda0486ee2d0138f1d6b492d6309b3578877870973dfbdcb4e235163aac7bac376e55b1e72c63d6c4b2067fb678ee2029ac960c6e6a5b
|
data/.gitignore
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
# Copyright (C) 2013-
|
2
|
-
# License:
|
1
|
+
# Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>
|
2
|
+
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
3
|
/GIT-VERSION-FILE
|
4
4
|
/Manifest.txt
|
5
5
|
/NEWS
|
6
|
+
/NEWS.atom
|
6
7
|
/pkg
|
7
8
|
/lib/dtas/version.rb
|
8
9
|
/coverage.dump
|
data/Documentation/.gitignore
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# Copyright (C) 2013-
|
2
|
-
# License:
|
1
|
+
# Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>
|
2
|
+
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
3
|
*.1
|
4
4
|
*.5
|
5
5
|
*.7
|
data/Documentation/GNUmakefile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# Copyright (C) 2013-
|
2
|
-
# License:
|
1
|
+
# Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>
|
2
|
+
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
3
|
all::
|
4
4
|
|
5
5
|
INSTALL = install
|
@@ -11,11 +11,12 @@ dtas-archive [OPTIONS] SOURCE DESTINATION
|
|
11
11
|
|
12
12
|
# DESCRIPTION
|
13
13
|
|
14
|
-
dtas-archive is intended for archiving audio data to/from laptops
|
15
|
-
computers without ECC memory, attempting
|
16
|
-
an attempt to detect memory
|
17
|
-
|
18
|
-
|
14
|
+
dtas-archive is intended for archiving audio data to/from laptops,
|
15
|
+
marginal USB ports, and computers without ECC memory, attempting
|
16
|
+
to read data multiple times in an attempt to detect memory or
|
17
|
+
bus corruption. dtas-archive may only be effective on machines
|
18
|
+
running the Linux kernel where posix_fadvise(2) can be used to
|
19
|
+
drop caches for a particular file after fsync(2).
|
19
20
|
|
20
21
|
dtas-archive spawns sox(1) to archive audio data (likely uncompressed
|
21
22
|
WAVE) to FLAC and verifies the result using sndfile-cmp(1), a tool
|
@@ -46,8 +47,8 @@ implemented by different than sox and less likely to share the same bugs
|
|
46
47
|
|
47
48
|
# COPYRIGHT
|
48
49
|
|
49
|
-
Copyright 2015 all contributors <dtas-all@nongnu.org>.\
|
50
|
-
License:
|
50
|
+
Copyright 2015-2016 all contributors <dtas-all@nongnu.org>.\
|
51
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
51
52
|
|
52
53
|
# CONTACT
|
53
54
|
|
@@ -29,7 +29,10 @@ Key bindings are inspired partially by mplayer(1)
|
|
29
29
|
- SPACE - toggle play/pause state of the playback
|
30
30
|
- 'p'/'P' - decrease/increase timer resolution
|
31
31
|
- BACKSPACE - seek to the beginning of the track
|
32
|
-
-
|
32
|
+
- 7/8 - decrease/increase ReplayGain preamp
|
33
|
+
- 9/0 - decrease/increase software volume
|
34
|
+
- '=' - set software volume to 1.0 (no adjustment)
|
35
|
+
- 'm' - mute set software volume to 0.0 (mute)
|
33
36
|
- 'f'/'F' - decrease/increase ReplayGain fallback_gain value
|
34
37
|
- 'r'/'R' - cycle forward/backwards through ReplayGain modes
|
35
38
|
- 'q'/Ctrl-C - exit dtas-console
|
@@ -61,8 +64,8 @@ No subscription is necessary to post to the mailing list.
|
|
61
64
|
|
62
65
|
# COPYRIGHT
|
63
66
|
|
64
|
-
Copyright 2013-
|
65
|
-
License:
|
67
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
68
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
66
69
|
|
67
70
|
# SEE ALSO
|
68
71
|
|
data/Documentation/dtas-ctl.txt
CHANGED
@@ -67,8 +67,8 @@ No subscription is necessary to post to the mailing list.
|
|
67
67
|
|
68
68
|
# COPYRIGHT
|
69
69
|
|
70
|
-
Copyright 2013-
|
71
|
-
License:
|
70
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
71
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
72
72
|
|
73
73
|
# SEE ALSO
|
74
74
|
|
@@ -28,8 +28,8 @@ No subscription is necessary to post to the mailing list.
|
|
28
28
|
|
29
29
|
# COPYRIGHT
|
30
30
|
|
31
|
-
Copyright 2013-
|
32
|
-
License:
|
31
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
32
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
33
33
|
|
34
34
|
# SEE ALSO
|
35
35
|
|
data/Documentation/dtas-enq.txt
CHANGED
@@ -33,8 +33,8 @@ No subscription is necessary to post to the mailing list.
|
|
33
33
|
|
34
34
|
# COPYRIGHT
|
35
35
|
|
36
|
-
Copyright 2013-
|
37
|
-
License:
|
36
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
37
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
38
38
|
|
39
39
|
# SEE ALSO
|
40
40
|
|
data/Documentation/dtas-env.txt
CHANGED
@@ -56,5 +56,5 @@ No subscription is necessary to post to the mailing list.
|
|
56
56
|
|
57
57
|
# COPYRIGHT
|
58
58
|
|
59
|
-
Copyright 2015 all contributors <dtas-all@nongnu.org>.\
|
60
|
-
License:
|
59
|
+
Copyright 2015-2016 all contributors <dtas-all@nongnu.org>.\
|
60
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
@@ -49,8 +49,8 @@ No subscription is necessary to post to the mailing list.
|
|
49
49
|
|
50
50
|
# COPYRIGHT
|
51
51
|
|
52
|
-
Copyright 2013-
|
53
|
-
License:
|
52
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
53
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
54
54
|
|
55
55
|
# SEE ALSO
|
56
56
|
|
@@ -116,8 +116,8 @@ No subscription is necessary to post to the mailing list.
|
|
116
116
|
|
117
117
|
# COPYRIGHT
|
118
118
|
|
119
|
-
Copyright 2013-
|
120
|
-
License:
|
119
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
120
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
121
121
|
|
122
122
|
# SEE ALSO
|
123
123
|
|
@@ -53,5 +53,5 @@ No subscription is necessary to post to the mailing list.
|
|
53
53
|
|
54
54
|
# COPYRIGHT
|
55
55
|
|
56
|
-
Copyright 2013-
|
57
|
-
License:
|
56
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
57
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
@@ -20,7 +20,7 @@ This must stay over Unix sockets because filesystem permissions are
|
|
20
20
|
needed to enforce code execution permissions. dtas-player is really a
|
21
21
|
shell in disguise, after all.
|
22
22
|
|
23
|
-
Protocol feedback greatly appreciated email us at dtas-all@nongnu.org
|
23
|
+
Protocol feedback greatly appreciated, email us at dtas-all@nongnu.org
|
24
24
|
|
25
25
|
*********************************************************
|
26
26
|
|
@@ -322,5 +322,5 @@ No subscription is necessary to post to the mailing list.
|
|
322
322
|
|
323
323
|
# COPYRIGHT
|
324
324
|
|
325
|
-
Copyright 2013-
|
326
|
-
License:
|
325
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
326
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
@@ -11,8 +11,6 @@ dtas-sinkedit SINKNAME
|
|
11
11
|
|
12
12
|
# EXAMPLES
|
13
13
|
|
14
|
-
|
15
|
-
|
16
14
|
## Streaming Ogg-Vorbis to Icecast
|
17
15
|
|
18
16
|
To use oggfwd(1) and Icecast, the following sink works.
|
@@ -76,8 +74,8 @@ No subscription is necessary to post to the mailing list.
|
|
76
74
|
|
77
75
|
# COPYRIGHT
|
78
76
|
|
79
|
-
Copyright 2013-
|
80
|
-
License:
|
77
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
78
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
81
79
|
|
82
80
|
# SEE ALSO
|
83
81
|
|
@@ -61,8 +61,8 @@ No subscription is necessary to post to the mailing list.
|
|
61
61
|
|
62
62
|
# COPYRIGHT
|
63
63
|
|
64
|
-
Copyright 2013-
|
65
|
-
License:
|
64
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
65
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
66
66
|
|
67
67
|
# SEE ALSO
|
68
68
|
|
@@ -69,8 +69,8 @@ No subscription is necessary to post to the mailing list.
|
|
69
69
|
|
70
70
|
# COPYRIGHT
|
71
71
|
|
72
|
-
Copyright 2013-
|
73
|
-
License:
|
72
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
73
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
74
74
|
|
75
75
|
# SEE ALSO
|
76
76
|
|
@@ -160,11 +160,6 @@ Additional targets supported by default.
|
|
160
160
|
* flac-cdda - this encodes the audio to "flac" format while being
|
161
161
|
easily decompressible to a format suitable for being burned to audio CD.
|
162
162
|
|
163
|
-
* opusenc - encodes to 16-bit, 48000 Hz Opus format using opusenc(1).
|
164
|
-
This uses sox(1) to dither/resample/apply effects as necessary.
|
165
|
-
This target exists as sox (as of v14.4.1) does not currently have
|
166
|
-
native opus encoding support.
|
167
|
-
|
168
163
|
Custom targets may easily be defined to apply effects and gain. For
|
169
164
|
example, the following "flac24" target raises the volume of the left
|
170
165
|
channel by 9.5dB and the right one by 8.5dB to compensate for channel
|
@@ -183,27 +178,11 @@ imbalance in a live concert recording from the audience:
|
|
183
178
|
bits: 24
|
184
179
|
rate: 48000
|
185
180
|
|
186
|
-
For reference, the "opusenc" default target is implemented as follows:
|
187
|
-
|
188
|
-
targets:
|
189
|
-
opusenc:
|
190
|
-
command: sox "$INFILE" $COMMENTS $OUTFMT -
|
191
|
-
$TRIMFX $RATEFX $DITHERFX | opusenc --music
|
192
|
-
--raw-bits $BITS_PER_SAMPLE
|
193
|
-
$OPUSENC_BITRATE --raw-rate $RATE --raw-chan $CHANNELS
|
194
|
-
--raw-endianness $ENDIAN_OPUSENC
|
195
|
-
$OPUSENC_COMMENTS - $OUTDIR$TRACKNUMBER.opus
|
196
|
-
format:
|
197
|
-
bits: 16
|
198
|
-
rate: 48000
|
199
|
-
type: s16
|
200
|
-
channels: 2
|
201
|
-
|
202
181
|
# COPYRIGHT
|
203
182
|
|
204
|
-
Copyright 2013-
|
205
|
-
License:
|
183
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
184
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
206
185
|
|
207
186
|
# SEE ALSO
|
208
187
|
|
209
|
-
sox(1), ecasound(1), flac(1),
|
188
|
+
sox(1), ecasound(1), flac(1), dtas-player(1)
|
data/Documentation/dtas-tl.txt
CHANGED
@@ -18,8 +18,9 @@ client).
|
|
18
18
|
|
19
19
|
# COMMANDS
|
20
20
|
|
21
|
-
*
|
22
|
-
*
|
21
|
+
* aac - *A*dd tracks *A*fter *C*urrent track in the tracklist
|
22
|
+
* addhead - add tracks to the beginning of the tracklist
|
23
|
+
* addtail - add tracks to the end of the tracklist
|
23
24
|
* current - display the current track, "NONE" if not playing
|
24
25
|
* current-id - display the TRACKID of the current track
|
25
26
|
"NONE" if not playing
|
@@ -63,8 +64,8 @@ to skip backwards in the tracklist
|
|
63
64
|
|
64
65
|
It is possible to edit the player tracklist from your favorite text
|
65
66
|
editor. Existing lines denoting tracks may be rearranged, deleted,
|
66
|
-
copied or entirely new lines with path names (without a trailing
|
67
|
-
=TRACK_ID") may be added.
|
67
|
+
copied or entirely new lines with path names (without a trailing
|
68
|
+
"=TRACK_ID") may be added.
|
68
69
|
|
69
70
|
Changes to the tracklist are sent to the player when the user exits the
|
70
71
|
editor. This functionality only works when there is one user editing
|
@@ -87,8 +88,8 @@ No subscription is necessary to post to the mailing list.
|
|
87
88
|
|
88
89
|
# COPYRIGHT
|
89
90
|
|
90
|
-
Copyright 2013-
|
91
|
-
License:
|
91
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
92
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
92
93
|
|
93
94
|
# SEE ALSO
|
94
95
|
|
@@ -68,8 +68,8 @@ No subscription is necessary to post to the mailing list.
|
|
68
68
|
|
69
69
|
# COPYRIGHT
|
70
70
|
|
71
|
-
Copyright 2013-
|
72
|
-
License:
|
71
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
72
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
73
73
|
|
74
74
|
# SEE ALSO
|
75
75
|
|
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# Copyright 2015 all contributors <dtas-all@nongnu.org>
|
3
|
-
# License:
|
2
|
+
# Copyright 2015-2016 all contributors <dtas-all@nongnu.org>
|
3
|
+
# License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
4
|
+
# frozen_string_literal: true
|
4
5
|
contact = %q{
|
5
6
|
All feedback welcome via plain-text mail to: <dtas-all@nongnu.org>\
|
6
7
|
Mailing list archives available at <http://80x24.org/dtas-all/> and
|
@@ -10,7 +11,7 @@
|
|
10
11
|
|
11
12
|
copyright = %q{
|
12
13
|
Copyright %s all contributors <dtas-all@nongnu.org>.\
|
13
|
-
License:
|
14
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
14
15
|
}
|
15
16
|
|
16
17
|
ENV['TZ'] = 'UTC'
|
data/GIT-VERSION-GEN
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# Copyright (C) 2013-
|
3
|
-
# License:
|
2
|
+
# Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>
|
3
|
+
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
|
4
|
+
# frozen_string_literal: true
|
4
5
|
CONSTANT = "DTAS::VERSION"
|
5
6
|
RVF = "lib/dtas/version.rb"
|
6
7
|
GVF = "GIT-VERSION-FILE"
|
7
|
-
DEF_VER = "v0.
|
8
|
+
DEF_VER = "v0.13.0"
|
8
9
|
vn = DEF_VER
|
9
10
|
|
10
11
|
# First see if there is a version file (included in release tarballs),
|
@@ -22,8 +23,8 @@ if File.exist?(".git")
|
|
22
23
|
end
|
23
24
|
end
|
24
25
|
|
25
|
-
vn = vn.sub
|
26
|
-
new_ruby_version = "#{CONSTANT} = '#{vn}' # :nodoc:\n"
|
26
|
+
vn = vn.sub(/\Av/, "")
|
27
|
+
new_ruby_version = "#{CONSTANT} = '#{vn}'.freeze # :nodoc:\n"
|
27
28
|
cur_ruby_version = File.read(RVF) rescue nil
|
28
29
|
if new_ruby_version != cur_ruby_version
|
29
30
|
File.open(RVF, "w") { |fp| fp.write(new_ruby_version) }
|
data/GNUmakefile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# Copyright (C) 2013-
|
2
|
-
# License:
|
1
|
+
# Copyright (C) 2013-2016 all contributors <dtas-all@nongnu.org>
|
2
|
+
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
|
3
3
|
all::
|
4
4
|
pkg = dtas
|
5
5
|
RUBY = ruby
|
data/HACKING
CHANGED
@@ -23,5 +23,5 @@ No subscription is necessary to post to the mailing list.
|
|
23
23
|
|
24
24
|
# COPYRIGHT
|
25
25
|
|
26
|
-
Copyright 2013-
|
27
|
-
License:
|
26
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>.\
|
27
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
data/INSTALL
CHANGED
@@ -1,19 +1,18 @@
|
|
1
1
|
Uncommon for audio software, dtas is implemented in Ruby.
|
2
2
|
|
3
3
|
The latest stable release or development snapshot of Ruby is recommended.
|
4
|
-
However, Ruby 1.9.3
|
5
|
-
recommended.
|
4
|
+
However, Ruby 1.9.3 and later works, but older versions of Ruby do not.
|
6
5
|
|
7
|
-
SoX is a dependency of dtas-player. While not _strictly_ required,
|
6
|
+
SoX is a dependency of dtas-player. While not _strictly_ required,
|
8
7
|
dtas-player uses SoX by default and you will need it unless you've
|
9
8
|
reconfigured dtas-player to use something else.
|
10
9
|
|
11
|
-
mp3gain is required if you use ReplayGain with MP3s
|
10
|
+
mp3gain is required if you want to use ReplayGain with MP3s
|
12
11
|
|
13
12
|
If you only intend to use dtas-cueedit, you will need metaflac(1) from
|
14
13
|
the FLAC package.
|
15
14
|
|
16
|
-
Debian 7 users can install dependencies easily:
|
15
|
+
Debian 7+ users can install dependencies easily:
|
17
16
|
|
18
17
|
sudo apt-get install sox libsox-fmt-all mp3gain flac ruby-dev
|
19
18
|
|
@@ -40,10 +39,10 @@ For future upgrades of dtas (upgrades to dtas-linux will be infrequent)
|
|
40
39
|
|
41
40
|
Grab the latest tarball from our HTTP site:
|
42
41
|
|
43
|
-
http://dtas.80x24.org/
|
42
|
+
http://dtas.80x24.org/2016/dtas-0.13.0.tar.gz
|
44
43
|
|
45
|
-
$ tar zxvf dtas-0.
|
46
|
-
$ cd dtas-0.
|
44
|
+
$ tar zxvf dtas-0.13.0.tar.gz
|
45
|
+
$ cd dtas-0.13.0
|
47
46
|
$ sudo ruby setup.rb
|
48
47
|
|
49
48
|
GNU/Linux users may optionally install "io_splice" and
|
@@ -62,5 +61,5 @@ No subscription is necessary to post to the mailing list.
|
|
62
61
|
|
63
62
|
# COPYRIGHT
|
64
63
|
|
65
|
-
Copyright 2013-
|
66
|
-
License:
|
64
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>\
|
65
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
data/README
CHANGED
@@ -75,7 +75,7 @@ pull-requests) via plain-text mail to the mailing list is very much
|
|
75
75
|
appreciated.
|
76
76
|
|
77
77
|
Please send plain-text mail to the list at <dtas-all@nongnu.org>\
|
78
|
-
HTML will not be read. dtas is for GUI-phobes, by GUI-phobes.\
|
78
|
+
HTML mail will not be read. dtas is for GUI-phobes, by GUI-phobes.\
|
79
79
|
Mailing list archives available at <ftp://lists.gnu.org/dtas-all>
|
80
80
|
or <http://80x24.org/dtas-all/>
|
81
81
|
No subscription is necessary to post to the mailing list.
|
@@ -85,8 +85,8 @@ Atom: <http://80x24.org/dtas-all/new.atom>
|
|
85
85
|
|
86
86
|
## Copyright
|
87
87
|
|
88
|
-
Copyright 2013-
|
89
|
-
License:
|
88
|
+
Copyright 2013-2016 all contributors <dtas-all@nongnu.org>\
|
89
|
+
License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
|
90
90
|
|
91
91
|
dtas is copyrighted Free Software by all contributors, see logs
|
92
92
|
in revision control for names and email addresses of all of them.
|
@@ -105,6 +105,6 @@ You should have received a copy of the GNU General Public License along
|
|
105
105
|
with this program; if not, see https://www.gnu.org/licenses/gpl-3.0.txt
|
106
106
|
|
107
107
|
Note: The GPL does not and can not apply to external commands run by
|
108
|
-
dtas scripts, so users _may_ run any non-Free Software
|
108
|
+
dtas scripts, so users _may_ run any non-Free Software they want via dtas
|
109
109
|
(just like one may do so via bash). However, the dtas project does not
|
110
|
-
endorse
|
110
|
+
endorse or support the use of any non-Free Software.
|