Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156595 - app-cdr/graveman doesn't recognize sox 12.18.x (sox -h output changed)
Summary: app-cdr/graveman doesn't recognize sox 12.18.x (sox -h output changed)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL: http://savannah.nongnu.org/bugs/?18409
Whiteboard:
Keywords:
: 156594 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-29 04:24 UTC by whitehawk
Modified: 2007-01-28 11:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whitehawk 2006-11-29 04:24:51 UTC
Graveman relies on sox to write CDs from mp3 and ogg. Probably it parses sox -h output to figure it out. This output changed in 12.18.* compared to 12.17.* So now I can't write audio CDs from ogg or mp3.

workaround: install 12.17.* and the make graveman recognize that, and then reinstall the new sox.

or
copy the output below into a bash script named sox in /usr/bin and fool graveman...

in 12.17.*
 # sox -h
sox: Version 12.17.9

Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

gopts: -e -h -p -q -S -V

fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x

effect: avg band bandpass bandreject chorus compand copy dcshift deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask mcompand noiseprof noisered pan phaser pick pitch polyphase rate repeat resample reverb reverse silence speed stat stretch swap synth trim vibro vol 

effopts: depends on effect

Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm hcom la lu maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc vorbis vox wav wve 

in 12.18.*
 # sox -v
sox: option requires an argument -- v
sox: Version 12.18.2

Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

Global options (gopts):

Global options can be specified anywhere on the command

-h              print version number and usage information
--help          same as -h
--help-efffect=name
                print usage of specified effect.  use 'all' to print all
-p              run in preview mode and run fast
-q              run in quite mode.  Inverse of -S option
-S              print status while processing audio data.
--version       print version number of SoX and exit
-V              verbose mode.  print a description during processing phase

Format options (fopts):

Format options only need to be supplied on input files that are
headerless otherwise they are obtained from the audio data's header.
Output files will default to the same format options as the input
file unless overriden on the command line.

-c channels     number of channels in audio data
-e              skip processing of this filename.  useful only
                on output filename to prevent writing data.
-r rate         sample rate of audio
-t filetype     file type of audio
-v volume       volume adjustment factor (floating point)
-x              invert auto-detected endianess of data
-s/-u/-U/-A/    sample encoding.  signed/unsigned/u-law/A-law
  -a/-i/-g/-f   ADPCM/IMA_ADPCM/GSM/floating point
-b/-w/-l/-d     sample size. byte(8-bits)/word(16-bits)/
                long(32-bits)/double long(64-bits)

Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm hcom la lu maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc vorbis vox wav wve 

Supported effects: avg band bandpass bandreject chorus compand copy dcshift deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask mcompand noiseprof noisered pan phaser pick pitch polyphase rate repeat resample reverb reverse silence speed stat stretch swap synth trim vibro vol 

effopts: depends on effect
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-29 04:26:38 UTC
*** Bug 156594 has been marked as a duplicate of this bug. ***
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-10 03:44:08 UTC
Adding URL to upstream bug, i'll have look at this.
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-27 17:29:51 UTC
I just committed graveman-0.3.12_p5-r1 which contains a patch to make graveman working with sox >=12.18. The problem wasn't changed output, but changed behaviour - sox-12.17 pushed "-help" output to stderr, 12.18 to stdout. Please test and report back!
Comment 4 whitehawk 2007-01-28 11:47:11 UTC
Seems to be working.