Subject: CVS commit: pkgsrc/audio/gqmpeg
To: None <pkgsrc-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: pkgsrc-changes
Date: 03/25/2002 07:44:49
Module Name: pkgsrc
Committed By: lukem
Date: Mon Mar 25 05:44:49 UTC 2002
Modified Files:
pkgsrc/audio/gqmpeg: Makefile distinfo
Added Files:
pkgsrc/audio/gqmpeg/patches: patch-ac
Log Message:
Add back patch-ac containing various ogg123 playback fixes (different
from the last set), making ogg playback useful:
- implement ogg123_pipe_open() which opens a pipe and runs the command
supplied in the char **, returning the child pid and fd array from pipe(2).
based on code from ogg123_child_run().
- replace popen() with ogg123_pipe_open() in ogg123_info_get(),
ogg123_comment_get(), and ogg123_comment_set(). now info actually
works for file names which contain wacky shell characters (where
surrounding the file name with quotes just Isn't Enough)
- parse_bitrate(): current bitrate in ogg123 output is now "(NNN.MM kbps)",
so look for that rather than "Bitrate: NNNN"
- when setting the initial bit_rate for a song, use "bitrate_average / 1000"
rather than "bitrate_nominal", since bit_rate is in kbps and bitrate_*
is in bps and bitrate_average is more appropriate that bitrate_nominal.
To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 pkgsrc/audio/gqmpeg/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/audio/gqmpeg/distinfo
cvs rdiff -r0 -r1.8 pkgsrc/audio/gqmpeg/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.