> Right now i dont have my key in the ring, so i can do almost
> nothing, and besides i am trying to organize things in my personal
> life, so i am spending some time away from computers.
Thanks, I made the following changes:
diff -u mkcue-1/debian/mkcue.sgml mkcue-1/debian/mkcue.sgml
--- mkcue-1/debian/mkcue.sgml
+++ mkcue-1/debian/mkcue.sgml
@@ -88,7 +88,7 @@
<term><option>-t <replaceable>track count</replaceable></option>
</term>
<listitem>
- <para>Exclude tracks above the given number. Usefull for CDs
+ <para>Exclude tracks above the given number. Useful for CDs
with data tracks.</para>
</listitem>
</varlistentry>
diff -u mkcue-1/debian/changelog mkcue-1/debian/changelog
--- mkcue-1/debian/changelog
+++ mkcue-1/debian/changelog
@@ -1,3 +1,11 @@
+mkcue (1-2.1) unstable; urgency=low
+
+ * NMU with the permission of the maintainer.
+ * Don't assume that the MSF offset is always 150 (Closes: #439790).
+ * Fix a typo in the man page, thanks A Costa (Closes: #374823).
+
+ -- Martin Michlmayr <[EMAIL PROTECTED]> Sun, 21 Oct 2007 16:12:13 +0200
+
mkcue (1-2) unstable; urgency=low
* Copyright file corrected. Lists the copyright holders and the obligatory
diff -u mkcue-1/mkcue.1 mkcue-1/mkcue.1
--- mkcue-1/mkcue.1
+++ mkcue-1/mkcue.1
@@ -15,7 +15,7 @@
\fBmkcue\fR Generates a CUE sheet from a CD.
.SH "OPTIONS"
.IP "\fB-t \fItrack count\fR\fP " 10
-Exclude tracks above the given number. Usefull for CDs
+Exclude tracks above the given number. Useful for CDs
with data tracks.
.IP " \fBdevice\fP " 10
Device path to scan the CDROM drive. mkcue defaults to /dev/cdrom.
only in patch2:
unchanged:
--- mkcue-1.orig/debian/NEWS
+++ mkcue-1/debian/NEWS
@@ -0,0 +1,15 @@
+mkcue (1-2.1) unstable; urgency=medium
+
+ This release fixes a bug with the cue sheet generation of a small
+ number of CDs. There is a pause of at least 150 frames (2 seconds)
+ before the first track on a CD that needs to be ignored. This
+ pause can be longer than 150 frames though. In this case, the first
+ 150 frames have to be ignored but the rest of the pause needs to be
+ represented in the cue sheet. Unfortunately, previous releases of
+ mkcue used to ignore the whole pause rather than only the first 150
+ frames. This is now fixed in this release. Most CDs have a pause
+ of 150 frames so this bug would not show up, but there's a number of
+ CDs that have a longer pause.
+
+ -- Martin Michlmayr <[EMAIL PROTECTED]> Sun, 21 Oct 2007 16:13:50 +0200
+
only in patch2:
unchanged:
--- mkcue-1.orig/mkcue.cc
+++ mkcue-1/mkcue.cc
@@ -12,6 +12,9 @@
#include "diskid.h"
+/* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439790 */
+#define MSF_OFFSET 150
+
void
DiskId::ReportError(char *err)
{
@@ -54,16 +57,12 @@
}
puts("FILE \"dummy.wav\" WAVE");
- puts(" TRACK 01 AUDIO");
- puts(" INDEX 01 00:00:00");
#define min(x, y) ((x) < (y) ? (x) : (y))
- for (track = cdinfo.FirstTrack + 1;
+ for (track = cdinfo.FirstTrack;
track <= min(trackcount, cdinfo.LastTrack);
track++) {
- /* There is frequently (always?) an offset of 150 sectors, so
- * subtract the first track's offset. */
- cdinfo.FrameOffset[track] -= cdinfo.FrameOffset[1];
+ cdinfo.FrameOffset[track] -= MSF_OFFSET;
minutes = seconds = sectors = 0;
sectors = cdinfo.FrameOffset[track] % 75;
@@ -76,6 +75,9 @@
}
printf(" TRACK %02d AUDIO\n", track);
+ if (track == 1 && cdinfo.FrameOffset[track] > 0) {
+ printf(" INDEX 00 00:00:00\n");
+ }
printf(" INDEX 01 %02d:%02d:%02d\n", minutes, seconds, sectors);
}
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]