[Debburn-devel] PATCH: readom misses compat stuff - that breaks k3b detection

Arkadiusz Miskiewicz arekm at pld-linux.org
Sun Dec 24 16:48:00 CET 2006


Hello,

[arekm at arm ~]$ readom -version
readom 1.1.0 (Linux)
Copyright (C) 1987, 1995-2006 Joerg Schilling
Copyright (C) 2006 Cdrkit maintainers
(modified version of <censored> -- don't bother Joerg Schilling with problems)


unfortunately GUIs (like k3b) expect to see ,,readcd version'' string,
so the same hack as mkisofs could be used:

diff -urN cdrkit-1.1.0.org/readom/readom.c cdrkit-1.1.0/readom/readom.c
--- cdrkit-1.1.0.org/readom/readom.c	2006-11-25 13:13:05.000000000 +0100
+++ cdrkit-1.1.0/readom/readom.c	2006-12-24 14:42:40.421054000 +0100
@@ -315,6 +315,8 @@
 	if (help)
 		usage(0);
   if (pversion) {
+     printf("readcd %s is not what you see here. This line is only a fake for too clever\n"
+		     "GUIs and other frontend applications. In fact, this program is:\n", cdr_version);
      printf("readom " CDRKIT_VERSION " (" HOST_SYSTEM ")\n"
            "Copyright (C) 1987, 1995-2006 Joerg Schilling\n"
            "Copyright (C) 2006 Cdrkit maintainers\n"


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



More information about the Debburn-devel mailing list