From e5517bf9dd1c4eb813426f07e67020912e748443 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 23 Jan 2010 10:40:11 +0000 Subject: [PATCH] Made number transition to 0.7.7 --- libburn/trunk/Makefile.am | 4 +- libburn/trunk/README | 57 ++++++++++++++------- libburn/trunk/cdrskin/README | 61 +++++++---------------- libburn/trunk/cdrskin/cdrskin.c | 45 +++++++---------- libburn/trunk/cdrskin/cdrskin_eng.html | 45 ++++++++--------- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/cdrskin/compile_cdrskin.sh | 12 ++--- libburn/trunk/configure.ac | 23 +++++---- libburn/trunk/libburn/libburn.h | 6 +-- 9 files changed, 119 insertions(+), 136 deletions(-) diff --git a/libburn/trunk/Makefile.am b/libburn/trunk/Makefile.am index 3455db99..e5afa2e8 100644 --- a/libburn/trunk/Makefile.am +++ b/libburn/trunk/Makefile.am @@ -110,9 +110,9 @@ test_structest_CPPFLAGS = -Ilibburn test_structest_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS) test_structest_SOURCES = test/structest.c -## cdrskin construction site - ts A60816 - A91206 +## cdrskin construction site - ts A60816 - B00122 cdrskin_cdrskin_CPPFLAGS = -Ilibburn -cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_7_5 +cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_7_7 # cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS) # ts A80123, change proposed by Simon Huggins to cause dynamic libburn linking diff --git a/libburn/trunk/README b/libburn/trunk/README index 35ac5c3f..4cc606db 100644 --- a/libburn/trunk/README +++ b/libburn/trunk/README @@ -6,12 +6,12 @@ This all is under GPL. ------------------------------------------------------------------------------ libburn-project.org By Mario Danic and Thomas Schmitt -Copyright (C) 2006-2009 Mario Danic, Thomas Schmitt +Copyright (C) 2006-2010 Mario Danic, Thomas Schmitt Still containing parts of Libburn. By Derek Foreman and Ben Jansens Copyright (C) 2002-2006 Derek Foreman and Ben Jansens - http://files.libburnia-project.org/releases/libburn-0.7.4.pl00.tar.gz + http://files.libburnia-project.org/releases/libburn-0.7.6.pl00.tar.gz ------------------------------------------------------------------------------ @@ -19,10 +19,10 @@ Copyright (C) 2002-2006 Derek Foreman and Ben Jansens From tarball -Obtain libburn-0.7.4.pl00.tar.gz, take it to a directory of your choice and do: +Obtain libburn-0.7.6.pl00.tar.gz, take it to a directory of your choice and do: - tar xzf libburn-0.7.4.pl00.tar.gz - cd libburn-0.7.4 + tar xzf libburn-0.7.6.pl00.tar.gz + cd libburn-0.7.6 ./configure --prefix=/usr make @@ -72,6 +72,10 @@ configure time by: --enable-dvd-obs-64k This may be combined with above --enable-track-src-odirect . +Alternatively the transport of SCSI commands can be done via libcdio-0.83. +You may install it and re-run libburn's ./configure with option + --enable-libcdio + Make sure to re-compile all source files after running ./configure make clean ; make make install @@ -185,8 +189,8 @@ Applications must use 64 bit off_t. E.g. by defining #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 or take special precautions to interface with the libraries by 64 bit integers -where the .h files prescribe off_t. Not to use 64 bit file i/o will keep the -application from producing and processing ISO images of more than 2 GB size. +where the .h files prescribe off_t. To reduce libburn's off_t size to 32 bit +will keep it from processing tracks of more than 2 GB size. ------------------------------------------------------------------------------ @@ -476,11 +480,27 @@ Project history as far as known to me: provides throughput enhancements with hampered busses on Linux, and new API calls to log SCSI commands and to control the libburn fifo. +- 09 Dec 2009 libisoburn-0.4.6 allows performance tuning of output to DVD + drives or disk files. + +- 26 Dec 2009 libburn-0.7.4.pl01 fixes the release tarball which was lacking + the files of the generic system adapter for X/Open. + +- 29 Dec 2009 Our project received a donation for purchasing a fine small + computer which shall serve as OS farm for development and support. + +- 20 Jan 2010 Version 0.6.26 of libisofs fixes minor bugs and shall enhance + portability. + +- 22 Jan 2010 libburn-0.7.6 has an improved system adapter for FreeBSD, + fixes bugs about the generic X/Open system adapter, and allows to use + libcdio >= 0.83 as SCSI transport facility. + ------------------------------------------------------------------------------ This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation. To be exact: version 2 of that License. + it under the terms of the GNU General Public License version 2 or later + as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -498,16 +518,16 @@ other copyrighted code has been replaced by ours and by copyright-free contributions of our friends: ------------------------------------------------------------------------------ -We, the copyright holders, agree on the interpretation that -dynamical linking of our libraries constitutes "use of" and -not "derivation from" our work in the sense of GPL, provided -those libraries are compiled from our unaltered code. +We, the copyright holders, agree on the interpretation that dynamical linking +of our libraries constitutes "use of" and not "derivation from" our work in +the sense of GPL, provided those libraries are compiled from our unaltered +code or from altered code published under GPL. -Thus you may link our libraries dynamically with applications -which are not under GPL. You may distribute our libraries and -application tools in binary form, if you fulfill the usual -condition of GPL to offer a copy of the source code -altered -or unaltered- under GPL. +So we will not raise legal protest if you link our libraries dynamically with +applications which are not under GPL, or if you distribute our libraries +and application tools in binary form, as long as you fulfill the usual +condition of GPL to offer a copy of their source code -altered or unaltered- +under GPL. We ask you politely to use our work in open source spirit and with the due reference to the entire open source community. @@ -524,4 +544,5 @@ means to qualify for GPL. For now we are firmly committed to maintain one single license: GPL. signed: Mario Danic, Thomas Schmitt +Agreement joined later by: Vreixo Formoso diff --git a/libburn/trunk/cdrskin/README b/libburn/trunk/cdrskin/README index 2e7bedf9..3cab560f 100644 --- a/libburn/trunk/cdrskin/README +++ b/libburn/trunk/cdrskin/README @@ -4,17 +4,18 @@ cdrskin. By Thomas Schmitt Integrated sub project of libburnia-project.org but also published via: http://scdbackup.sourceforge.net/cdrskin_eng.html -http://scdbackup.sourceforge.net/cdrskin-0.7.5.tar.gz +http://scdbackup.sourceforge.net/cdrskin-0.7.7.tar.gz -Copyright (C) 2006-2009 Thomas Schmitt, provided under GPL version 2. +Copyright (C) 2006-2010 Thomas Schmitt, provided under GPL version 2 or later. ------------------------------------------------------------------------------ cdrskin is a limited cdrecord compatibility wrapper which allows to use most of the libburn features from the command line. -Currently it is supported on Linux with kernels >= 2.4 and on FreeBSD versions -with ATAPI/CAM support enabled in the kernel, see atapicam(4). +Currently it is supported on Linux with kernels >= 2.4 and on FreeBSD. +IDE drives under Linux 2.4. need kernel module ide-scsi. +ATA and SATA drives under FreeBSD need kernel module atapicam. On other X/Open compliant systems there will only be emulated drives, but no direct MMC operation on real CD/DVD/BD drives. @@ -24,10 +25,10 @@ By using this software you agree to the disclaimer at the end of this text Compilation, First Glimpse, Installation -Obtain cdrskin-0.7.5.tar.gz, take it to a directory of your choice and do: +Obtain cdrskin-0.7.7.tar.gz, take it to a directory of your choice and do: - tar xzf cdrskin-0.7.5.tar.gz - cd cdrskin-0.7.5 + tar xzf cdrskin-0.7.7.tar.gz + cd cdrskin-0.7.7 Within that directory execute: @@ -145,7 +146,7 @@ Obtain some info about the drive cdrskin dev=0,1,0 -checkdrive Obtain some info about the drive and the inserted media - cdrskin dev=0,1,0 -atip -v + cdrskin dev=0,1,0 -atip -v -minfo Prepare CD-RW or DVD-RW for re-use, DVD-RAM or BD-RE for first use cdrskin -v dev=/dev/sg1 blank=as_needed -eject @@ -398,13 +399,14 @@ drive. See man page section FILES for a way to lift that ban. Special compilation variations All following options of ./configure and cdrskin/compile_cdrskin.sh are -combinable. +combinable. After runs of ./configure do as next: + make clean ; make In some situations Linux may deliver a better write performance to drives if the track input is read with O_DIRECT (see man 2 open). The API call burn_os_open_track_src() and the input readers of cdrskin and libburn fifo can be told to use this peculiar read mode by: - --enable-track-src-odirect + --enable-track-src-odirect But often cdrskin option dvd_obs=64k will yield even better performance in such a situation. 64k can be made default at compile time by @@ -412,6 +414,10 @@ such a situation. 64k can be made default at compile time by It can also be enabled at configure time by ./configure ... --enable-dvd-obs-64k ... +Alternatively the transport of SCSI commands can be done via libcdio-0.83. +You may install it and re-run libburn's ./configure with option + --enable-libcdio + You may get a (super fat) statically linked binary by : cdrskin/compile_cdrskin.sh -static if your system supports static linking, at all. This will not help with kernels @@ -455,7 +461,7 @@ contributions in a due way. ------------------------------------------------------------------------------ This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 + it under the terms of the GNU General Public License version 2 or later as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, @@ -471,7 +477,7 @@ contributions in a due way. Based on and sub project of: libburnia-project.org By Mario Danic and Thomas Schmitt -Copyright (C) 2006-2009 Mario Danic, Thomas Schmitt +Copyright (C) 2006-2010 Mario Danic, Thomas Schmitt libburnia-project.org is inspired by and in other components still containing parts of @@ -482,34 +488,3 @@ See toplevel README for an overview of the current copyright situation in libburnia-project.org. ------------------------------------------------------------------------------- -cdrskin is currently copyright Thomas Schmitt only. -It adopts the following commitment by the toplevel copyright holders: ------------------------------------------------------------------------------- - -We, the copyright holders, agree on the interpretation that -dynamical linking of our libraries constitutes "use of" and -not "derivation from" our work in the sense of GPL, provided -those libraries are compiled from our unaltered code. - -Thus you may link our libraries dynamically with applications -which are not under GPL. You may distribute our libraries and -application tools in binary form, if you fulfill the usual -condition of GPL to offer a copy of the source code -altered -or unaltered- under GPL. - -We ask you politely to use our work in open source spirit -and with the due reference to the entire open source community. - -If there should really arise the case where above clarification -does not suffice to fulfill a clear and neat request in open source -spirit that would otherwise be declined for mere formal reasons, -only in that case we will duely consider to issue a special license -covering only that special case. -It is the open source idea of responsible freedom which will be -decisive and you will have to prove that you exhausted all own -means to qualify for GPL. - -For now we are firmly committed to maintain one single license: GPL. - -signed for cdrskin: Thomas Schmitt diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index c54b28c7..6a71d2dd 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -1,7 +1,7 @@ /* - cdrskin.c , Copyright 2006-2009 Thomas Schmitt -Provided under GPL version 2. See future commitment below. + cdrskin.c , Copyright 2006-2010 Thomas Schmitt +Provided under GPL version 2 or later. A cdrecord compatible command line interface for libburn. @@ -88,7 +88,7 @@ or /** The official program version */ #ifndef Cdrskin_prog_versioN -#define Cdrskin_prog_versioN "0.7.5" +#define Cdrskin_prog_versioN "0.7.7" #endif /** The official libburn interface revision to use. @@ -101,7 +101,7 @@ or #define Cdrskin_libburn_minoR 7 #endif #ifndef Cdrskin_libburn_micrO -#define Cdrskin_libburn_micrO 5 +#define Cdrskin_libburn_micrO 7 #endif @@ -135,45 +135,43 @@ or #endif /* Cdrskin_libburn_cvs_A60220_tS */ -#ifdef Cdrskin_libburn_0_7_4 -#define Cdrskin_libburn_versioN "0.7.4" +#ifdef Cdrskin_libburn_0_7_6 +#define Cdrskin_libburn_versioN "0.7.6" #define Cdrskin_libburn_from_pykix_svN 1 -#endif /* Cdrskin_libburn_0_7_4 */ +#endif /* Cdrskin_libburn_0_7_6 */ -#ifdef Cdrskin_libburn_0_7_5 -#define Cdrskin_libburn_versioN "0.7.5" +#ifdef Cdrskin_libburn_0_7_7 +#define Cdrskin_libburn_versioN "0.7.7" #define Cdrskin_libburn_from_pykix_svN 1 /* Place novelty switch macros here. Move them down to Cdrskin_libburn_from_pykix_svN on version leap */ -#define Libburn_has_burn_scsi_transport_iD 1 - -#endif /* Cdrskin_libburn_0_7_5 */ +#endif /* Cdrskin_libburn_0_7_7 */ #ifndef Cdrskin_libburn_versioN -#define Cdrskin_libburn_0_7_4 -#define Cdrskin_libburn_versioN "0.7.4" +#define Cdrskin_libburn_0_7_6 +#define Cdrskin_libburn_versioN "0.7.6" #define Cdrskin_libburn_from_pykix_svN 1 #endif -#ifdef Cdrskin_libburn_0_7_4 +#ifdef Cdrskin_libburn_0_7_6 #undef Cdrskin_libburn_majoR #undef Cdrskin_libburn_minoR #undef Cdrskin_libburn_micrO #define Cdrskin_libburn_majoR 0 #define Cdrskin_libburn_minoR 7 -#define Cdrskin_libburn_micrO 4 +#define Cdrskin_libburn_micrO 6 #endif -#ifdef Cdrskin_libburn_0_7_5 +#ifdef Cdrskin_libburn_0_7_7 #undef Cdrskin_libburn_majoR #undef Cdrskin_libburn_minoR #undef Cdrskin_libburn_micrO #define Cdrskin_libburn_majoR 0 #define Cdrskin_libburn_minoR 7 -#define Cdrskin_libburn_micrO 5 +#define Cdrskin_libburn_micrO 7 #endif @@ -3145,7 +3143,7 @@ set_severities:; int major, minor, micro; printf( -"Cdrecord 2.01-Emulation Copyright (C) 2006-2009, see libburnia-project.org\n"); +"Cdrecord 2.01-Emulation Copyright (C) 2006-2010, see libburnia-project.org\n"); if(o->fallback_program[0]) { char *hargv[2]; @@ -3155,11 +3153,7 @@ set_severities:; hargv[1]= "-version"; Cdrpreskin_fallback(o,2,hargv,1); /* dirty never come back */ } - -#ifdef Libburn_has_burn_scsi_transport_iD printf("System adapter : %s\n", burn_scsi_transport_id(0)); -#endif - printf("libburn interface : %d.%d.%d\n", burn_header_version_major, burn_header_version_minor, burn_header_version_micro); @@ -3191,14 +3185,9 @@ set_severities:; final_checks:; if(flag&1) goto ex; - -#ifdef Libburn_has_burn_scsi_transport_iD if(o->verbosity >= Cdrskin_verbose_debuG) ClN(fprintf(stderr, "cdrskin: DEBUG : Using %s\n", burn_scsi_transport_id(0))); -#endif - - if(o->do_waiti) { fprintf(stderr, "cdrskin: Option -waiti pauses program until input appears at stdin\n"); diff --git a/libburn/trunk/cdrskin/cdrskin_eng.html b/libburn/trunk/cdrskin/cdrskin_eng.html index 12d95fa2..557476a1 100644 --- a/libburn/trunk/cdrskin/cdrskin_eng.html +++ b/libburn/trunk/cdrskin/cdrskin_eng.html @@ -50,7 +50,8 @@ via SCSI, PATA (aka IDE, ATA), USB, or SATA.
With kernel 2.4 an ATA drive has to be under ide-scsi emulation.
With kernel 2.6 the drive should not be under ide-scsi.
or FreeBSD (with libc, of course) :
-
ATAPI/CAM support has to be enabled in the kernel, see atapicam(4).
+
ATA and SATA drives need atapicam running.
+
libcam has to be installed.
libpthread
is supposed to be a standard system component.
@@ -61,7 +62,7 @@ via SCSI, PATA (aka IDE, ATA), USB, or SATA. GPL software included:
-
libburn-0.7.4
+
libburn-0.7.6
(founded by Derek Foreman and Ben Jansens, developed and maintained since August 2006 by Thomas Schmitt from team of libburnia-project.org) @@ -193,8 +194,8 @@ Standalone ISO 9660 multi-session CD/DVD/BD tool

Download as source code (see README):
-
cdrskin-0.7.4.pl00.tar.gz -(810 KB). +
cdrskin-0.7.6.pl00.tar.gz +(820 KB).
The cdrskin tarballs are source code identical with libburn releases @@ -243,26 +244,22 @@ cdrskin_0.4.2.pl00-x86-suse9_0-static.tar.gz, (310 KB), -static compiled,

-Enhancements towards previous stable version cdrskin-0.7.0.pl00: +Enhancements towards previous stable version cdrskin-0.7.4.pl00:

    -
  • Implemented option -V for logging of SCSI commands
  • -
  • New options dvd_obs= and stdio_fsync=
  • -
  • New ./configure options --enable-track-src-odirect, --enable-dvd-obs-64k +
  • +Made FreeBSD system adapter safe from mutal burn spoiling and drive deadlock
  • -
  • New compile_cdrskin.sh option -dvd_obs_64k
  • +
  • Experimental system adapter via GNU libcdio on X/Open systems
  • +
  • Experimentally using FreeBSD system adapter for Debian kfreebsd
-Bug fixes towards cdrskin-0.7.2.pl00: +Bug fixes towards cdrskin-0.7.4.pl00:
    -
  • Workaround for Pioneer DVR-216D which got stuck on DVD-R burns.
  • -
  • Workaround for Pioneer DVR-216D which did not always eject the tray.
  • -
  • DVD DAO track size was rounded up much too generously
  • -
  • SIGSEGV from NULL pointer with media product id inquiry on LG GH22LS30
  • -
@@ -270,8 +267,8 @@ Bug fixes towards cdrskin-0.7.2.pl00:

-

Development snapshot, version 0.7.5 :

-
Enhancements towards current stable version 0.7.4.pl00: +

Development snapshot, version 0.7.7 :

+
Enhancements towards current stable version 0.7.6.pl00:
  • none yet