diff --git a/Makefile.am b/Makefile.am index dfde768..e42f88b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,7 +103,7 @@ test_structest_SOURCES = test/structest.c ## cdrskin construction site - ts A60816 cdrskin_cdrskin_CPPFLAGS = -Ilibburn -cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_2_7 +cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_3_0 cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS) cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h cdrskin/cdrskin_timestamp.h ## diff --git a/README b/README index 83c2464..a0441fd 100644 --- a/README +++ b/README @@ -178,6 +178,12 @@ Project history as far as known to me: libburn, is now called libburnia. For the origin of this name, see http://en.wikipedia.org/wiki/Liburnians . +- 16th January 2007 release of libburn-0.3.0 and cdrskin-0.3.0 . Now the scope + is widened to a first class of DVD media: overwriteable single layer types + DVD-RAM, DVD+RW, DVD-RW. This is not a cdrecord emulation but rather inspired + by dvd+rw-tools' "poor man" writing facility for this class of media. + Taking a bow towards Andy Polyakov. + ------------------------------------------------------------------------------ diff --git a/cdrskin/README b/cdrskin/README index 2ef0f12..80d4178 100644 --- a/cdrskin/README +++ b/cdrskin/README @@ -26,12 +26,12 @@ following possible. cdrskin. By Thomas Schmitt Integrated sub project of libburnia.pykix.org but also published via: http://scdbackup.sourceforge.net/cdrskin_eng.html -http://scdbackup.sourceforge.net/cdrskin-0.2.7.tar.gz +http://scdbackup.sourceforge.net/cdrskin-0.3.0.tar.gz Copyright (C) 2006-2007 Thomas Schmitt ------------------------------------------------------------------------------ -On top of libburn there is implemented cdrskin 0.2.7, a limited cdrecord +On top of libburn there is implemented cdrskin 0.3.0, a limited cdrecord compatibility wrapper which allows to use some libburn features from the command line. Interested users of cdrecord are invited to participate in the development @@ -59,16 +59,16 @@ systems, including 64 bit systems. (Further reports are welcome.) Compilation, First Glimpse, Installation -Obtain cdrskin-0.2.7.tar.gz, take it to a directory of your choice and do: +Obtain cdrskin-0.3.0.tar.gz, take it to a directory of your choice and do: - tar xzf cdrskin-0.2.7.tar.gz - cd cdrskin-0.2.7 + tar xzf cdrskin-0.3.0.tar.gz + cd cdrskin-0.3.0 Or obtain a libburnia.pykix.org SVN snapshot, go into the toplevel directory of the snapshot (e.g. cd libburn_pykix ), and execute the autotools script ./bootstrap . Use autools version >= 1.7 . -Within that toplevel directory of either cdrskin-0.2.7 or libburn then execute: +Within that toplevel directory of either cdrskin-0.3.0 or libburn then execute: ./configure make @@ -161,14 +161,17 @@ Obtain some info about the drive and the inserted media Thoroughly blank a CD-RW cdrskin -v dev=0,1,0 blank=all -eject +Format DVD-RW before first use with cdrskin + cdrskin -v dev=0,1,0 blank=format_overwrite + Blank CD-RW sufficiently for making it ready for overwrite cdrskin -v dev=0,1,0 blank=fast -eject -Burn image file my_image.iso to CD or DVD+-RW +Burn image file my_image.iso to CD-R, CD-RW, DVD+RW, DVD-RAM, DVD-RW cdrskin -v dev=0,1,0 speed=12 fs=8m driveropts=burnfree padsize=300k \ -eject my_image.iso -Burn a compressed afio archive to CD or DVD+-RW on-the-fly +Burn a compressed afio archive to any of the above media types on-the-fly find . | afio -oZ - | cdrskin -v dev=0,1,0 fs=32m speed=8 -tao \ driveropts=burnfree padsize=300k - @@ -208,11 +211,12 @@ Run a backup : Restrictions The major restrictions are lifted now: audio, TAO, multi-session do work. -Many cdrecord options are still unsupported, though. +Many cdrecord options are still unsupported, though. If you have use cases for them, please report your wishes and expectations. -DVD support is still immature and restricted to DVD+-RW for now. +DVD support is restricted to single layer overwriteable DVD (-RAM, +RW, -RW) +for now. @@ -232,6 +236,10 @@ Actually i, Thomas Schmitt, am a devoted user of cdrecord via my project scdbackup which still runs a bit better with cdrecord than with cdrskin. TAO. I have the hope that Joerg feels more flattered than annoyed by cdrskin. +Many thanks to Andy Polyakov for his dvd+rw-tools + http://fy.chalmers.se/~appro/linux/DVD+RW/tools +which provide me with examples and pointers into MMC specs for DVD writing. + Drive Addressing diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index bd58e6f..9e4c83e 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -124,7 +124,7 @@ or /** The official program version */ #ifndef Cdrskin_prog_versioN -#define Cdrskin_prog_versioN "0.2.7" +#define Cdrskin_prog_versioN "0.3.0" #endif /** The source code release timestamp */ @@ -157,25 +157,18 @@ or #endif /* Cdrskin_libburn_cvs_A60220_tS */ -#ifdef Cdrskin_libburn_0_2_6 -#define Cdrskin_libburn_versioN "0.2.6" +#ifdef Cdrskin_libburn_0_3_0 +#define Cdrskin_libburn_versioN "0.3.0" #define Cdrskin_libburn_from_pykix_svN 1 -#endif /* Cdrskin_libburn_0_2_6 */ +#endif /* Cdrskin_libburn_0_3_0 */ -#ifdef Cdrskin_libburn_0_2_7 -#define Cdrskin_libburn_versioN "0.2.7" +#ifdef Cdrskin_libburn_0_3_1 +#define Cdrskin_libburn_versioN "0.3.1" #define Cdrskin_libburn_from_pykix_svN 1 -#define Cdrskin_atip_speed_is_oK 1 -#define Cdrskin_no_aftergrab_loopS 1 -#define Cdrskin_libburn_has_get_profilE 1 -#define Cdrskin_libburn_has_set_start_bytE 1 -#define Cdrskin_libburn_has_wrote_welL 1 -#define Cdrskin_libburn_has_bd_formattinG 1 -#define Cdrskin_libburn_has_burn_disc_formaT 1 -#endif /* Cdrskin_libburn_0_2_7 */ +#endif /* Cdrskin_libburn_0_3_1 */ #ifndef Cdrskin_libburn_versioN -#define Cdrskin_libburn_versioN "0.2.6" +#define Cdrskin_libburn_versioN "0.3.0" #define Cdrskin_libburn_from_pykix_svN 1 #endif @@ -202,6 +195,15 @@ or #define Cdrskin_libburn_has_pretend_fulL 1 #define Cdrskin_libburn_has_multI 1 #define Cdrskin_libburn_has_buffer_min_filL 1 +#define Cdrskin_atip_speed_is_oK 1 +#define Cdrskin_libburn_has_get_profilE 1 +#define Cdrskin_libburn_has_set_start_bytE 1 +#define Cdrskin_libburn_has_wrote_welL 1 +#define Cdrskin_libburn_has_bd_formattinG 1 +#define Cdrskin_libburn_has_burn_disc_formaT 1 + +/* <<< to be removed together with said loops */ +#define Cdrskin_no_aftergrab_loopS 1 #ifdef Cdrskin_new_api_tesT diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index d3a4980..279fdbc 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.01.14.133951" +#define Cdrskin_timestamP "2007.01.16.120001" diff --git a/cdrskin/changelog.txt b/cdrskin/changelog.txt index 76bd651..3ce0a6c 100644 --- a/cdrskin/changelog.txt +++ b/cdrskin/changelog.txt @@ -1909,6 +1909,7 @@ Replaced setuid blocker by warning. People must know themselves what they do. ------------------------------------ cycle - cdrskin-0.2.7 - 2006.12.09.141837 * Replaced ban of chmod u+s by loud warning + 11 Dec 2006 [484] cdrskin/cdrskin_eng.html cdrskin/changelog.txt @@ -1995,6 +1996,7 @@ Took more care for man page ------------------------------------ cycle - cdrskin-0.2.7 - 2006.12.13.221921 * detailed man page for cdrskin + 13 Dec 2006 [503] cdrskin/changelog.txt Next cdrskin-0.2.7 cycle @@ -2349,6 +2351,7 @@ Greeting the new year ------------------------------------ cycle - cdrskin-0.2.7 - 2007.01.02.101027 * Formatting and then burning to DVD-RW like to DVD+RW + 2 Jan 2006 [576] cdrskin/changelog.txt Next cdrskin-0.2.7 cycle @@ -2442,34 +2445,147 @@ Updated size estimation of development downloads cdrskin/changelog.txt Next cdrskin-0.2.7 cycle - [] +2007.01.10.152350 [600] libburn/libburn.h libburn/mmc.c libburn/drive.c libburn/async.c cdrskin/cdrskin.c -cdrskin/cdrskin.1 Option -force enables re-formatting - [] +2007.01.10.152520 [601] libburn/mmc.c Switched full formatting from type 10h to 00h which includes lead-out - [] +2007.01.10.152812 [602] cdrskin/cdrskin.c cdrskin/cdrskin.1 cdrskin/README -Removing writing of dummy data with blank=format_overwrite_full +Removed writing of dummy data with blank=format_overwrite_full + +2007.01.10.204839 [603] +libburn/mmc.c +libburn/async.c +cdrskin/cdrskin.c +cdrskin/cdrskin.1 +Enabled explicit full formatting of DVD+RW ("de-icing") + +11 Jan 2007 [604] +cdrskin/README +Removed outdated option from startup file example + +2007.01.11.131106 [605] +libburn/mmc.c +With full formatting prefer format 10h over 13h or 15h + +2007.01.11.131302 [606] +libburn/os-linux.h +libburn/os-freebsd.h +libburn/cleanup.c +cdrskin/cleanup.c +Kept SIGWINCH from spoiling a burn. + +2007.01.11.131615 [607] +libburn/init.c +Sketched better handling of self-inflicted SIGs + +2007.01.11.131716 [608] +libburn/drive.c +Removed surplus newlines from messages + +2007.01.12.162239 [609] +libburn/write.c +libburn/spc.c +libburn/mmc.c +cdrskin/cdrskin.c +cdrskin/cdrskin.1 +Enabled writing to DVD-RAM + +2007.01.13.140812 [610] [611] +libburn/sg-linux.c +Implemented debugging messages for ATA enumeration + +13 Jan 2007 [612] +cdrskin/cdrskin_eng.html +cdrskin/README +Documentation updates about DVD-RAM + +2007.01.13.211425 [613] +libburn/transport.h +libburn/mmc.c +Load array of format capacities into struct burn_drive + +2007.01.13.211639 [614] +libburn/libburn.h +libburn/drive.c +libburn/async.c +Introduced API for inspection and selection of format capacities + +13 Jan 2007 [615] +test/telltoc.c +Added printing of list of available formats + +13 Jan 2007 [616] +test/libburner.c +Mentioned DVD-RAM where appropriate + +2007.01.13.214259 [617] +cdrskin/cdrskin.c +Shifted fifo reporting to new 4-times -v verbosity level + +2007.01.14.101742 [618] +cdrskin/cdrskin.c +Corrected bug with debug messages for fifo + +2007.01.14.115347 [619] +libburn/write.c +Added missing cache sync in case of aborted DVD-RW burns + +2007.01.14.133951 [620] +libburn/transport.h +libburn/mmc.c +libburn/write.c +Avoided closing of 0x13-DVD-RW sessions which are not intermediate + +15 Jan 2007 [621] +cdrskin/wiki_plain.txt +Updated about overwriteable DVD and pointer to dvd+rw-tools -Format DVD+RW ? +------------------------------------ cycle - cdrskin-0.2.7 - 2007.01.15.131357 +* Burning to DVD-RAM -Format and use DVD-RAM ? -Load format parameters into struct burn_drive and offer API. -With full formatting prefer format 10h over 13h or 15h. +15 Jan 2007 [623] +cdrskin/changelog.txt +Next cdrskin-0.2.7 cycle -Learn about multi-track with DVD-RW Restricted Overwrite. +2007.01.16.120001 [tag] +Makefile.am +configure.ac +README +cdrskin/cdrskin.c +cdrskin/README +cdrskin/compile_cdrskin.sh +cdrskin/cdrskin_timestamp.h +cdrskin/changelog.txt +Make version number transition to 0.3.0 + + +------------------------------- cycle - cdrskin-0.3.0.pl00 - 2007.01.16.120001 +* Improved recognition of unsuitable media types +* Replaced ban of chmod u+s by loud warning +* detailed man page for cdrskin +* Burning of DVD+RW and DVD-RAM media as single-track TAO-like initial session +* Formatting and then burning to DVD-RW like to DVD+RW +* New option -msifile=path from cdrskit/wodim + + + +Post cdrskin/wiki_plain.txt + + +Format DVD-RAM ? How to handle finalizing ? @@ -2484,7 +2600,7 @@ Rectify mmc_read_atip speed interpretation. 12x media are reported as 10x. I nev Sequentially check option list for DVD compliance ------------------------------------- cycle - cdrskin-0.2.7 - +(Learn about multi-track with DVD-RW Restricted Overwrite.) My drives don't offer diff --git a/cdrskin/compile_cdrskin.sh b/cdrskin/compile_cdrskin.sh index fa4dc35..ab305e0 100755 --- a/cdrskin/compile_cdrskin.sh +++ b/cdrskin/compile_cdrskin.sh @@ -7,7 +7,7 @@ debug_opts= def_opts= largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1" -libvers="-DCdrskin_libburn_0_2_7" +libvers="-DCdrskin_libburn_0_3_0" cleanup_src_or_obj="libburn/cleanup.o" libdax_msgs_o="libburn/libdax_msgs.o" libdax_audioxtr_o="libburn/libdax_audioxtr.o" @@ -33,15 +33,15 @@ do libdax_audioxtr_o= libdax_msgs_o="libburn/message.o" cleanup_src_or_obj="-DCleanup_has_no_libburn_os_H cdrskin/cleanup.c" - elif test "$i" = "-libburn_0_2_6" + elif test "$i" = "-libburn_0_3_0" then - libvers="-DCdrskin_libburn_0_2_6" + libvers="-DCdrskin_libburn_0_3_0" libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_msgs_o="libburn/libdax_msgs.o" cleanup_src_or_obj="libburn/cleanup.o" elif test "$i" = "-libburn_svn" then - libvers="-DCdrskin_libburn_0_2_7" + libvers="-DCdrskin_libburn_0_3_1" libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_msgs_o="libburn/libdax_msgs.o" cleanup_src_or_obj="libburn/cleanup.o" @@ -79,7 +79,7 @@ do echo " -compile_cdrfifo compile program cdrskin/cdrfifo." echo " -compile_dewav compile program test/dewav without libburn." echo " -cvs_A60220 set macro to match libburn-CVS of 20 Feb 2006." - echo " -libburn_0_2_6 set macro to match libburn-0.2.6." + echo " -libburn_0_3_0 set macro to match libburn-0.3.0." echo " -libburn_svn set macro to match current libburn-SVN." echo " -no_largefile do not use 64 bit off_t (must match libburn)." echo " -do_not_compile_cdrskin omit compilation of cdrskin/cdrskin." diff --git a/configure.ac b/configure.ac index 98c9bd5..5a0cde8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libburn], [0.2.7], [http://libburnia.pykix.org]) +AC_INIT([libburn], [0.3.0], [http://libburnia.pykix.org]) AC_PREREQ([2.50]) dnl AC_CONFIG_HEADER([config.h]) @@ -24,8 +24,8 @@ dnl dnl if MAJOR or MINOR version changes, be sure to change AC_INIT above to match dnl BURN_MAJOR_VERSION=0 -BURN_MINOR_VERSION=2 -BURN_MICRO_VERSION=7 +BURN_MINOR_VERSION=3 +BURN_MICRO_VERSION=0 BURN_INTERFACE_AGE=0 BURN_BINARY_AGE=0 BURN_VERSION=$BURN_MAJOR_VERSION.$BURN_MINOR_VERSION.$BURN_MICRO_VERSION