DONE, r635, was: [Debburn-devel] PATCH: readom misses compat stuff - that breaks k3b detection

Eduard Bloch edi at gmx.de
Wed Dec 27 14:04:57 CET 2006


Changelog:

  [ Arkadiusz Miskiewicz ]
  * Fake prefix line in the version output of readom to keep compatibility
    with frontends

* Arkadiusz Miskiewicz [Sun, Dec 24 2006, 04:48:00PM]:
> 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/
> 
> _______________________________________________
> Debburn-devel mailing list
> Debburn-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debburn-devel

-- 
Wie alt man geworden ist, sieht man an den Gesichtern derer, die man
jung gekannt hat.
		-- Heinrich Böll



More information about the Debburn-devel mailing list