On 2012/05/13 00:20, anthonyjbent...@gmail.com wrote:
> shntool is a multi-purpose WAVE data processing and reporting utility.
> File formats are abstracted from its core, so it can process any file
> that contains WAVE data, compressed or not - provided there exists a
> format module to handle that particular file type.
> 
> shntool has native support for .wav files, and can work with other
> lossless audio formats, provided the appropriate helper program
> is installed.
> 
> 
> I find this very useful for splitting cuesheets to individual files.
> E.g., converting a single ape/cue to individual flacs:
> 
> shntool split -f foo.cue -o flac foo.ape
> 
> 
> It might be better to add RUN_DEPENDS for audio/flac, audio/mac, etc,
> since the error message for uninstalled modules is rather unhelpful.
> 
> 
> ok?

There is actually a helpful error message too, but it's on a file
descriptor which ended up being redirected so we don't get to see it,
maybe report this upstream? (See ktrace snippets below).

I would rather not add a bunch of RUN_DEPENDS, especially as some
of the possibilities aren't in the tree at all, and others are of quite
limited use, rather I would specifically mention in DESCR the names of
the packages you can install to support additional formats. I'm OK with
importing it with that change.

 28630 shntool  CALL  writev(0x2,0x7f7ffff86ed0,0x4)
 28630 shntool  GIO   fd 2 wrote 15 bytes
       "shntool: execvp"
 28630 shntool  GIO   fd 2 wrote 2 bytes
       ": "
 28630 shntool  GIO   fd 2 wrote 25 bytes
       "No such file or directory"
 28630 shntool  GIO   fd 2 wrote 1 bytes
       "
       "
 28630 shntool  RET   writev 43/0x2b
...
<snip sigprogmask/mprotect lines>
...
 28630 shntool  CALL  write(0x2,0x7f7ffff86740,0x10)
 28630 shntool  GIO   fd 2 wrote 16 bytes
       "shntool [conv]: "
 28630 shntool  RET   write 16/0x10
 28630 shntool  CALL  write(0x2,0x516102,0x7)
 28630 shntool  GIO   fd 2 wrote 7 bytes
       "error: "
 28630 shntool  RET   write 7
 28630 shntool  CALL  write(0x2,0x7f7ffff86770,0x2f)
 28630 shntool  GIO   fd 2 wrote 47 bytes
       "error while launching helper program: [mp4als]
       "

Reply via email to