Made number transition to 0.4.2 , libburn.so.4.7.0

This commit is contained in:
Thomas Schmitt 2008-01-26 21:53:04 +00:00
parent caea4ac7b4
commit 4030c8dd2b
10 changed files with 123 additions and 124 deletions

View File

@ -103,7 +103,7 @@ test_structest_SOURCES = test/structest.c
## cdrskin construction site - ts A60816 - A71025 ## cdrskin construction site - ts A60816 - A71025
cdrskin_cdrskin_CPPFLAGS = -Ilibburn cdrskin_cdrskin_CPPFLAGS = -Ilibburn
cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_4_1 cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_4_2
# cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS) # cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
# ts A80123, change proposed by Simon Huggins to cause dynamic libburn linking # ts A80123, change proposed by Simon Huggins to cause dynamic libburn linking

View File

@ -6,7 +6,7 @@ This all is under GPL.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
libburnia-project.org libburnia-project.org
By Mario Danic <mario.danic@gmail.com> and Thomas Schmitt <scdbackup@gmx.net> By Mario Danic <mario.danic@gmail.com> and Thomas Schmitt <scdbackup@gmx.net>
Copyright (C) 2006-2007 Mario Danic, Thomas Schmitt Copyright (C) 2006-2008 Mario Danic, Thomas Schmitt
Still containing parts of Still containing parts of
Libburn. By Derek Foreman <derek@signalmarketing.com> and Libburn. By Derek Foreman <derek@signalmarketing.com> and
@ -210,6 +210,11 @@ Project history as far as known to me:
by these enhancements: growing of overwriteable media and disk files. by these enhancements: growing of overwriteable media and disk files.
Taking again a bow towards Andy Polyakov. Taking again a bow towards Andy Polyakov.
- 26th Januar 2008 version 0.4.2 rectifies the version numbering so that we
reliably release libburn.so.4 as should have been done since libburn-0.3.2.
cdrskin now is by default linked dynamically and does a runtime check
to ensure not to be started with a libburn which is older than itself.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@ -4,7 +4,7 @@
cdrskin. By Thomas Schmitt <scdbackup@gmx.net> cdrskin. By Thomas Schmitt <scdbackup@gmx.net>
Integrated sub project of libburnia-project.org but also published via: Integrated sub project of libburnia-project.org but also published via:
http://scdbackup.sourceforge.net/cdrskin_eng.html http://scdbackup.sourceforge.net/cdrskin_eng.html
http://scdbackup.sourceforge.net/cdrskin-0.4.1.tar.gz http://scdbackup.sourceforge.net/cdrskin-0.4.2.tar.gz
Copyright (C) 2006-2008 Thomas Schmitt, provided under GPL version 2. Copyright (C) 2006-2008 Thomas Schmitt, provided under GPL version 2.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
@ -20,10 +20,10 @@ By using this software you agree to the disclaimer at the end of this text
Compilation, First Glimpse, Installation Compilation, First Glimpse, Installation
Obtain cdrskin-0.4.1.tar.gz, take it to a directory of your choice and do: Obtain cdrskin-0.4.2.tar.gz, take it to a directory of your choice and do:
tar xzf cdrskin-0.4.1.tar.gz tar xzf cdrskin-0.4.2.tar.gz
cd cdrskin-0.4.1 cd cdrskin-0.4.2
Within that directory execute: Within that directory execute:

View File

@ -1,6 +1,6 @@
/* /*
cdrskin.c , Copyright 2006-2007 Thomas Schmitt <scdbackup@gmx.net> cdrskin.c , Copyright 2006-2008 Thomas Schmitt <scdbackup@gmx.net>
Provided under GPL version 2. See future commitment below. Provided under GPL version 2. See future commitment below.
A cdrecord compatible command line interface for libburn. A cdrecord compatible command line interface for libburn.
@ -88,7 +88,7 @@ or
/** The official program version */ /** The official program version */
#ifndef Cdrskin_prog_versioN #ifndef Cdrskin_prog_versioN
#define Cdrskin_prog_versioN "0.4.1" #define Cdrskin_prog_versioN "0.4.2"
#endif #endif
/** The official libburn interface revision to use. /** The official libburn interface revision to use.
@ -101,7 +101,7 @@ or
#define Cdrskin_libburn_minoR 4 #define Cdrskin_libburn_minoR 4
#endif #endif
#ifndef Cdrskin_libburn_micrO #ifndef Cdrskin_libburn_micrO
#define Cdrskin_libburn_micrO 1 #define Cdrskin_libburn_micrO 2
#endif #endif
@ -135,44 +135,44 @@ or
#endif /* Cdrskin_libburn_cvs_A60220_tS */ #endif /* Cdrskin_libburn_cvs_A60220_tS */
#ifdef Cdrskin_libburn_0_4_0 #ifdef Cdrskin_libburn_0_4_2
#define Cdrskin_libburn_versioN "0.4.0" #define Cdrskin_libburn_versioN "0.4.2"
#define Cdrskin_libburn_from_pykix_svN 1 #define Cdrskin_libburn_from_pykix_svN 1
#endif /* Cdrskin_libburn_0_4_0 */ #endif /* Cdrskin_libburn_0_4_2 */
#ifdef Cdrskin_libburn_0_4_1 #ifdef Cdrskin_libburn_0_4_3
#define Cdrskin_libburn_versioN "0.4.1" #define Cdrskin_libburn_versioN "0.4.3"
#define Cdrskin_libburn_from_pykix_svN 1 #define Cdrskin_libburn_from_pykix_svN 1
/* Place novelty switch macros here. /* Place novelty switch macros here.
Move them down to Cdrskin_libburn_from_pykix_svN on version leap Move them down to Cdrskin_libburn_from_pykix_svN on version leap
*/ */
/* there are no novelties in 0.4.1 yet */ /* there are no novelties in 0.4.3 yet */
#endif /* Cdrskin_libburn_0_4_1 */ #endif /* Cdrskin_libburn_0_4_3 */
#ifndef Cdrskin_libburn_versioN #ifndef Cdrskin_libburn_versioN
#define Cdrskin_libburn_0_4_0 #define Cdrskin_libburn_0_4_2
#define Cdrskin_libburn_versioN "0.4.0" #define Cdrskin_libburn_versioN "0.4.2"
#define Cdrskin_libburn_from_pykix_svN 1 #define Cdrskin_libburn_from_pykix_svN 1
#endif #endif
#ifdef Cdrskin_libburn_0_4_0 #ifdef Cdrskin_libburn_0_4_2
#undef Cdrskin_libburn_majoR #undef Cdrskin_libburn_majoR
#undef Cdrskin_libburn_minoR #undef Cdrskin_libburn_minoR
#undef Cdrskin_libburn_micrO #undef Cdrskin_libburn_micrO
#define Cdrskin_libburn_majoR 0 #define Cdrskin_libburn_majoR 0
#define Cdrskin_libburn_minoR 4 #define Cdrskin_libburn_minoR 4
#define Cdrskin_libburn_micrO 0 #define Cdrskin_libburn_micrO 2
#endif #endif
#ifdef Cdrskin_libburn_0_4_1 #ifdef Cdrskin_libburn_0_4_3
#undef Cdrskin_libburn_majoR #undef Cdrskin_libburn_majoR
#undef Cdrskin_libburn_minoR #undef Cdrskin_libburn_minoR
#undef Cdrskin_libburn_micrO #undef Cdrskin_libburn_micrO
#define Cdrskin_libburn_majoR 0 #define Cdrskin_libburn_majoR 0
#define Cdrskin_libburn_minoR 4 #define Cdrskin_libburn_minoR 4
#define Cdrskin_libburn_micrO 1 #define Cdrskin_libburn_micrO 3
#endif #endif
@ -239,6 +239,9 @@ or
#define Cdrskin_libburn_has_get_drive_rolE 1 #define Cdrskin_libburn_has_get_drive_rolE 1
#define Cdrskin_libburn_has_drive_equals_adR 1 #define Cdrskin_libburn_has_drive_equals_adR 1
/* 0.4.2 */
/* no novel features but rather organizational changes */
#ifdef Cdrskin_new_api_tesT #ifdef Cdrskin_new_api_tesT

View File

@ -56,7 +56,7 @@ and to MMC-5 for DVD).
GPL software included:<BR> GPL software included:<BR>
</H2> </H2>
<DL> <DL>
<DT>libburn-0.4.0</DT> <DT>libburn-0.4.2</DT>
<DD>(founded by Derek Foreman and Ben Jansens, <DD>(founded by Derek Foreman and Ben Jansens,
furthered by team of libburnia-project.org)</DD> furthered by team of libburnia-project.org)</DD>
<DD>transfers data to CD and DVD</DD> <DD>transfers data to CD and DVD</DD>
@ -176,7 +176,7 @@ Testers wanted who are willing to risk some double layer DVD media.
<P> <P>
<DL> <DL>
<DT>Download as source code (see README):</DT> <DT>Download as source code (see README):</DT>
<DD><A HREF="cdrskin-0.4.0.pl00.tar.gz">cdrskin-0.4.0.pl00.tar.gz</A> <DD><A HREF="cdrskin-0.4.2.pl00.tar.gz">cdrskin-0.4.2.pl00.tar.gz</A>
(680 KB). (680 KB).
</DD> </DD>
<DD> <DD>
@ -187,14 +187,14 @@ cdrskin is part of libburn - full libburn is provided with cdrskin releases.
</DD> </DD>
<DD>&nbsp;</DD> <DD>&nbsp;</DD>
<DT>Download as single x86 binaries (untar and move to /usr/bin/cdrskin):</DT> <DT>Download as single x86 binaries (untar and move to /usr/bin/cdrskin):</DT>
<DD><A HREF="cdrskin_0.4.0.pl00-x86-suse9_0.tar.gz"> <DD><A HREF="cdrskin_0.4.2.pl00-x86-suse9_0.tar.gz">
cdrskin_0.4.0.pl00-x86-suse9_0.tar.gz</A>, (106 KB), cdrskin_0.4.2.pl00-x86-suse9_0.tar.gz</A>, (106 KB),
<DL> <DL>
<DD>runs on SuSE 9.0 (2.4.21) , RIP-14.4 (2.6.14) , <DD>runs on SuSE 9.0 (2.4.21) , RIP-14.4 (2.6.14) ,
Gentoo (2.6.15 x86_64 Athlon).</DD> Gentoo (2.6.15 x86_64 Athlon).</DD>
</DL> </DL>
<DD><A HREF="cdrskin_0.4.0.pl00-x86-suse9_0-static.tar.gz"> <DD><A HREF="cdrskin_0.4.2.pl00-x86-suse9_0-static.tar.gz">
cdrskin_0.4.0.pl00-x86-suse9_0-static.tar.gz</A>, (310 KB), -static compiled, cdrskin_0.4.2.pl00-x86-suse9_0-static.tar.gz</A>, (310 KB), -static compiled,
<DL> <DL>
<DD>runs on SuSE 7.2 (2.4.4), and on the systems above.</DD> <DD>runs on SuSE 7.2 (2.4.4), and on the systems above.</DD>
</DL> </DL>
@ -221,18 +221,13 @@ cdrskin_0.4.0.pl00-x86-suse9_0-static.tar.gz</A>, (310 KB), -static compiled,
<HR> <HR>
<P> <P>
Enhancements towards previous stable version cdrskin-0.3.8: Enhancements towards previous stable version cdrskin-0.4.0:
<UL> <UL>
<LI>New option direct_write_amount=</LI> <LI>Safe dynamic linking possible with libburn.so.4</LI>
<LI>New option --grow_overwriteable_iso</LI>
<LI>New option --allow_emulated_drives dev=stdio:&lt;path&gt;</LI>
<LI>More cdrecord options supported:
-format, -inq, -load, -lock, -immed, -waiti</LI>
<LI>New option fallback_program=</LI>
</UL> </UL>
<!-- <!--
Bug fixes towards cdrskin-0.4.0.pl00: Bug fixes towards cdrskin-0.4.2.pl00:
<UL> <UL>
<LI>none yet</LI> <LI>none yet</LI>
</UL> </UL>
@ -244,8 +239,8 @@ Enhancements towards previous stable version cdrskin-0.3.8:
<P> <P>
<DL> <DL>
<DT><H3>Development snapshot, version 0.4.1 :</H3></DT> <DT><H3>Development snapshot, version 0.4.3 :</H3></DT>
<DD>Enhancements towards stable version 0.4.0.pl00: <DD>Enhancements towards stable version 0.4.2.pl00:
<UL> <UL>
<LI>none yet</LI> <LI>none yet</LI>
<!-- <!--
@ -253,10 +248,10 @@ Enhancements towards previous stable version cdrskin-0.3.8:
</UL> </UL>
</DD> </DD>
<DD>&nbsp;</DD> <DD>&nbsp;</DD>
<DD><A HREF="README_cdrskin_devel">README 0.4.1</A> <DD><A HREF="README_cdrskin_devel">README 0.4.3</A>
<DD><A HREF="cdrskin__help_devel">cdrskin_0.4.1 --help</A></DD> <DD><A HREF="cdrskin__help_devel">cdrskin_0.4.3 --help</A></DD>
<DD><A HREF="cdrskin_help_devel">cdrskin_0.4.1 -help</A></DD> <DD><A HREF="cdrskin_help_devel">cdrskin_0.4.3 -help</A></DD>
<DD><A HREF="man_1_cdrskin_devel.html">man cdrskin (as of 0.4.1)</A></DD> <DD><A HREF="man_1_cdrskin_devel.html">man cdrskin (as of 0.4.3)</A></DD>
<DD>&nbsp;</DD> <DD>&nbsp;</DD>
<DT>Maintainers of cdrskin unstable packages please use SVN of <DT>Maintainers of cdrskin unstable packages please use SVN of
<A HREF="http://libburnia-project.org"> libburnia-project.org</A></DT> <A HREF="http://libburnia-project.org"> libburnia-project.org</A></DT>
@ -276,15 +271,15 @@ admins with full system souvereignty.</DT>
<A HREF="README_cdrskin_devel">upcoming README</A> ): <A HREF="README_cdrskin_devel">upcoming README</A> ):
</DD> </DD>
<DD> <DD>
<A HREF="cdrskin-0.4.1.tar.gz">cdrskin-0.4.1.tar.gz</A> <A HREF="cdrskin-0.4.3.tar.gz">cdrskin-0.4.3.tar.gz</A>
(680 KB). (680 KB).
</DD> </DD>
<DD>Binary (untar and move to /usr/bin/cdrskin):</DD> <DD>Binary (untar and move to /usr/bin/cdrskin):</DD>
<DD><A HREF="cdrskin_0.4.1-x86-suse9_0.tar.gz"> <DD><A HREF="cdrskin_0.4.3-x86-suse9_0.tar.gz">
cdrskin_0.4.1-x86-suse9_0.tar.gz</A>, (105 KB). cdrskin_0.4.3-x86-suse9_0.tar.gz</A>, (105 KB).
</DD> </DD>
<DD><A HREF="cdrskin_0.4.1-x86-suse9_0-static.tar.gz"> <DD><A HREF="cdrskin_0.4.3-x86-suse9_0-static.tar.gz">
cdrskin_0.4.1-x86-suse9_0-static.tar.gz</A>, (310 KB) cdrskin_0.4.3-x86-suse9_0-static.tar.gz</A>, (310 KB)
</DD> </DD>
</DL> </DL>
</P> </P>

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.01.23.213607" #define Cdrskin_timestamP "2008.01.26.200001"

View File

@ -1,13 +1,13 @@
#!/bin/sh #!/bin/sh
# compile_cdrskin.sh # compile_cdrskin.sh
# Copyright 2005 - 2007 Thomas Schmitt, scdbackup@gmx.net, GPL # Copyright 2005 - 2008 Thomas Schmitt, scdbackup@gmx.net, GPL
# to be executed within ./libburn-* resp ./cdrskin-* # to be executed within ./libburn-* resp ./cdrskin-*
debug_opts="-O2" debug_opts="-O2"
def_opts= def_opts=
largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1" largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
libvers="-DCdrskin_libburn_0_4_1" libvers="-DCdrskin_libburn_0_4_2"
cleanup_src_or_obj="libburn/cleanup.o" cleanup_src_or_obj="libburn/cleanup.o"
libdax_msgs_o="libburn/libdax_msgs.o" libdax_msgs_o="libburn/libdax_msgs.o"
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_audioxtr_o="libburn/libdax_audioxtr.o"
@ -33,15 +33,15 @@ do
libdax_audioxtr_o= libdax_audioxtr_o=
libdax_msgs_o="libburn/message.o" libdax_msgs_o="libburn/message.o"
cleanup_src_or_obj="-DCleanup_has_no_libburn_os_H cdrskin/cleanup.c" cleanup_src_or_obj="-DCleanup_has_no_libburn_os_H cdrskin/cleanup.c"
elif test "$i" = "-libburn_0_4_0" elif test "$i" = "-libburn_0_4_2"
then then
libvers="-DCdrskin_libburn_0_4_0" libvers="-DCdrskin_libburn_0_4_2"
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_audioxtr_o="libburn/libdax_audioxtr.o"
libdax_msgs_o="libburn/libdax_msgs.o" libdax_msgs_o="libburn/libdax_msgs.o"
cleanup_src_or_obj="libburn/cleanup.o" cleanup_src_or_obj="libburn/cleanup.o"
elif test "$i" = "-libburn_svn" elif test "$i" = "-libburn_svn"
then then
libvers="-DCdrskin_libburn_0_4_1" libvers="-DCdrskin_libburn_0_4_3"
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_audioxtr_o="libburn/libdax_audioxtr.o"
libdax_msgs_o="libburn/libdax_msgs.o" libdax_msgs_o="libburn/libdax_msgs.o"
cleanup_src_or_obj="libburn/cleanup.o" cleanup_src_or_obj="libburn/cleanup.o"
@ -76,7 +76,7 @@ do
echo " -compile_cdrfifo compile program cdrskin/cdrfifo." echo " -compile_cdrfifo compile program cdrskin/cdrfifo."
echo " -compile_dewav compile program test/dewav without libburn." echo " -compile_dewav compile program test/dewav without libburn."
echo " -cvs_A60220 set macro to match libburn-CVS of 20 Feb 2006." echo " -cvs_A60220 set macro to match libburn-CVS of 20 Feb 2006."
echo " -libburn_0_4_0 set macro to match libburn-0.4.0." echo " -libburn_0_4_2 set macro to match libburn-0.4.2."
echo " -libburn_svn set macro to match current libburn-SVN." echo " -libburn_svn set macro to match current libburn-SVN."
echo " -no_largefile do not use 64 bit off_t (must match libburn)." echo " -no_largefile do not use 64 bit off_t (must match libburn)."
echo " -do_not_compile_cdrskin omit compilation of cdrskin/cdrskin." echo " -do_not_compile_cdrskin omit compilation of cdrskin/cdrskin."

View File

@ -289,5 +289,10 @@ sequential DVD-R[W] and with DVD+R, but also with DVD-RAM, DVD+RW and
even regular disk files or block devices other than CD/DVD writers. even regular disk files or block devices other than CD/DVD writers.
This is enabled by option --grow_overwriteable_iso. This is enabled by option --grow_overwriteable_iso.
We are currently preparing an integrated ISO-9660 multi-session tool
named [wiki:Xorriso xorriso] which will try to go one step beyond
growisofs.
-------------------------------------------------------------------------- --------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
AC_INIT([libburn], [0.4.1], [http://libburnia-project.org]) AC_INIT([libburn], [0.4.2], [http://libburnia-project.org])
AC_PREREQ([2.50]) AC_PREREQ([2.50])
dnl AC_CONFIG_HEADER([config.h]) dnl AC_CONFIG_HEADER([config.h])
@ -7,85 +7,76 @@ AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([subdir-objects]) AM_INIT_AUTOMAKE([subdir-objects])
dnl Note by ts A71207: dnl Notes by ts A71207 - A80126 :
dnl dnl
dnl BURN_MICRO_VERSION was _not_ the third component Z of libburn-X.Y.Z dnl Regrettably the meaning of the various version types was misunderstood
dnl but an eternal counter which leads to CURRENT. This misunderstanding dnl before version 0.4.1.
dnl caused a messed up sequence of CURRENTs.
dnl dnl
dnl CURRENT and AGE describe the binary compatibility interval of a dnl In the past MAJOR.MINOR.MICRO versions led to the following SONAME numbers:
dnl dynamic library.
dnl See also http://www.gnu.org/software/libtool/manual.html#Interfaces
dnl
dnl The name of the library will be libburn.so.$CURRENT-$AGE.$AGE.$REV
dnl In the terminology of this file:
dnl CURRENT = LT_CURRENT
dnl REV = LT_REVISION
dnle AGE = LT_AGE
dnl
dnl In the past the following CURRENTs of libburn have been released.
dnl All with AGE=0.
dnl 0.2.2 = 2 , 0.2.3 = 3 , 0.2.6 = 6 dnl 0.2.2 = 2 , 0.2.3 = 3 , 0.2.6 = 6
dnl 0.3.0 = 0 , 0.3.2 = 2 , 0.3.4 = 4 . 0.3.6 = 6 , 0.3.8 = 4 dnl 0.3.0 = 0 , 0.3.2 = 2 , 0.3.4 = 4 . 0.3.6 = 6 , 0.3.8 = 4
dnl 0.4.0 = 0 dnl 0.4.0 = 0 (also released as SONAME 4)
dnl
dnl Meanwhile the following schemes are maintained in parallel:
dnl
dnl BURN_MAJOR_VERSION , BURN_MINOR_VERSION , BURN_MICRO_VERSION
dnl are three small non-negative integers which describe the evolution
dnl steps of the library.
dnl Older applications are able to use younger libraries over
dnl quite a long range of such steps. Some day, nevertheless,
dnl compatibility might get terminated, after due notice.
dnl
dnl SONAME (libburn.so.4)
dnl is a small positive integer which marks a family of compatible
dnl evolution steps. Libraries with a particular SONAME allow a binary
dnl with the same SONAME to start up. Any further compatibility check is to
dnl be done by own runtime means. Especially *_version() calls in the API
dnl which return BURN_MAJOR_VERSION, BURN_MINOR_VERSION, BURN_MICRO_VERSION.
dnl See below.
dnl
dnl CURRENT, AGE, REVISION
dnl are three integers used by libtool. CURRENT is positive, the others
dnl non-negative. The use at runtime is not known yet. But libtool computes
dnl at build time SONAME = CURRENT - AGE.
dnl So this is a superspace of the SONAME version space. To avoid
dnl ill SONAME, the value of CURRENT must be larger than AGE.
dnl See also http://www.gnu.org/software/libtool/manual.html#Interfaces
dnl
dnl The name of the dynamic library will be libburn.so.$SONAME.$AGE.$REV .
dnl In the terminology of this file:
dnl CURRENT = LT_CURRENT
dnl AGE = LT_AGE
dnl REVISION= LT_REVISION
dnl dnl
dnl Beginning with libburn-0.4.1 a rectified counting was introduced as dnl Beginning with libburn-0.4.1 a rectified counting was introduced as
dnl CURRENT=10, REV=1, AGE=6 dnl CURRENT=10, REVISION=1, AGE=6
dnl This rectification declared the current version dnl This rectification declared that version to be binary compatible up
dnl to be binary compatible down to libburn-0.3.4. dnl from libburn-0.3.4.
dnl Real backward compatibility is given down to libburn-0.3.2. dnl Real compatibility was given since libburn-0.3.2.
dnl Beware of libburn-0.2.6 which had CURRENT=6. dnl Beware of libburn-0.2.6 which had SONAME=6 and is not binary compatible.
dnl dnl Applications for libburn-0.2 to libburn-0.3.1 need recompilation but no
dnl CURRENT=10, REV=0, AGE=6 would be appropriate for libburn-0.4.0 dnl source code changes.
dnl but was not issued, regreattably.
dnl
dnl If libburn-0.4.0 gets patched, its CURRENT will become 10, AGE 6, and
dnl REV will be set to one higher than the highest REV of CURRENT 10.
dnl If libburn-0.4.1 is still on CURRENT 10 then its REV gets set one higher
dnl than that.
dnl As soon as 0.4.1 becomes upwardly incompatible, it shall become 11,0,7.
dnl From then on it counts REV independently of libburn-0.4.0.
dnl Whether 0.4.1 alters independent REV at all, is not decided yet.
dnl It may well stay 0 until a release version joins CURRENT 11.
dnl
dnl Under the preconditions
dnl CURRENT= $BURN_MICRO_VERSION - $BURN_INTERFACE_AGE
dnl REV= $BURN_INTERFACE_AGE
dnl AGE= $BURN_BINARY_AGE
dnl the following old instructions were reasonable. Their drawback
dnl is that they cause large jumps in CURRENT, when BURN_INTERFACE_AGE gets
dnl reset to 0 from a high value. So this is outdated now:
dnl ---------------------------------------------------------------------------
dnl .Making releases:
dnl . BURN_MICRO_VERSION += 1;
dnl . BURN_INTERFACE_AGE += 1;
dnl . BURN_BINARY_AGE += 1;
dnl .if any functions have been added, set BURN_INTERFACE_AGE to 0.
dnl .if backwards compatibility has been broken,
dnl .set BURN_BINARY_AGE and BURN_INTERFACE_AGE to 0.
dnl .
dnl .if MAJOR or MINOR version changes, be sure to change AC_INIT above to match
dnl ---------------------------------------------------------------------------
dnl
dnl Instead, LT_CURRENT, LT_REVISION and LT_AGE get set directly now.
dnl dnl
dnl So LT_CURRENT, LT_REVISION and LT_AGE get set directly here.
dnl SONAME of the emerging library is LT_CURRENT - LT_AGE. dnl SONAME of the emerging library is LT_CURRENT - LT_AGE.
dnl The linker will do no finer checks. Especially no age range check for dnl The linker will do no finer checks. Especially no age range check for
dnl the cdrskin binary. If SONAME matches, then the couple starts. dnl the application binary. If SONAME matches, then the couple starts.
dnl dnl
dnl Therefore a run time check is provided by libburn function burn_version(). dnl Therefore at run time info is provided by libburn function burn_version().
dnl It returns the major, minor and micro revision of the library. This means dnl It returns the MAJOR, MINOR and MICRO revision of the library.
dnl BURN_*_VERSION kept its second job which does not comply to the usual ways dnl Before using any API feature, a program should check for age.
dnl of configure.ac . I.e. now *officially* this is the source code release dnl
dnl version as announced to the public. It has no conection to SONAME or dnl Normally one can allow a program to run with a library which passed the
dnl libtool version numbering. dnl linker SONAME test and which is not older than the library it was
dnl It rather feeds the API function burn_version(). dnl developed for. Library2 is younger than library1 if:
dnl MAJOR2>MAJOR1 || (MAJOR2==MAJOR1 &&
dnl (MINOR2>MINOR1 || (MINOR2==MINOR1 && MICRO2 > MICRO1)))
dnl dnl
dnl If BURN_*_VERSION changes, be sure to change AC_INIT above to match. dnl If BURN_*_VERSION changes, be sure to change AC_INIT above to match.
dnl dnl
BURN_MAJOR_VERSION=0 BURN_MAJOR_VERSION=0
BURN_MINOR_VERSION=4 BURN_MINOR_VERSION=4
BURN_MICRO_VERSION=1 BURN_MICRO_VERSION=2
BURN_VERSION=$BURN_MAJOR_VERSION.$BURN_MINOR_VERSION.$BURN_MICRO_VERSION BURN_VERSION=$BURN_MAJOR_VERSION.$BURN_MINOR_VERSION.$BURN_MICRO_VERSION
AC_SUBST(BURN_MAJOR_VERSION) AC_SUBST(BURN_MAJOR_VERSION)
@ -95,10 +86,10 @@ AC_SUBST(BURN_VERSION)
dnl Libtool versioning dnl Libtool versioning
LT_RELEASE=$BURN_MAJOR_VERSION.$BURN_MINOR_VERSION.$BURN_MICRO_VERSION LT_RELEASE=$BURN_MAJOR_VERSION.$BURN_MINOR_VERSION.$BURN_MICRO_VERSION
# SONAME = 10 - 6 = 4 . Library name = libburn.4.6.1 # SONAME = 11 - 7 = 4 . Library name = libburn.so.4.7.0
LT_CURRENT=10 LT_CURRENT=11
LT_REVISION=1 LT_REVISION=0
LT_AGE=6 LT_AGE=7
LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE` LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
AC_SUBST(LT_RELEASE) AC_SUBST(LT_RELEASE)

View File

@ -4,7 +4,7 @@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
Name: libburn Name: libburn
Description: Disc reading/writing library Description: Library to read/write optical discs
Version: @VERSION@ Version: @VERSION@
Requires: Requires:
Libs: -L${libdir} -lburn Libs: -L${libdir} -lburn