Included libjte in GNU xorriso

This commit is contained in:
Thomas Schmitt 2010-10-15 12:16:12 +00:00
parent 3ff054d60f
commit b7030ca35b
8 changed files with 143 additions and 70 deletions

View File

@ -3,4 +3,13 @@ Ben Jansens
Thomas Schmitt Thomas Schmitt
Mario Danic Mario Danic
Vreixo Formoso Lopes Vreixo Formoso Lopes
Colin Plumb
Tatu Ylonen
Jim Kingdon
Scott G. Miller
Ulrich Drepper
Richard Atterer
Steve McIntyre
George Danchev
and possibly others who gave their copyright to Free Software Foundation, Inc.

View File

@ -3,15 +3,22 @@ Ben Jansens <xor@orodu.net>
Thomas Schmitt <scdbackup@gmx.net> Thomas Schmitt <scdbackup@gmx.net>
Mario Danic <mario.danic@gmail.com>, Mario Danic <mario.danic@gmail.com>,
Vreixo Formoso <metalpain2002@yahoo.es> Vreixo Formoso <metalpain2002@yahoo.es>
Steve McIntyre <steve@einval.com>
George Danchev <danchev@spnet.net>
GNU xorriso is a compilation of GNU xorriso is a compilation of modules from libburnia-project.org :
xorriso Copyright (C) 2007-2010 Thomas Schmitt xorriso Copyright (C) 2007-2010 Thomas Schmitt
libisoburn Copyright (C) 2007-2010 Vreixo Formoso, Thomas Schmitt libisoburn Copyright (C) 2007-2010 Vreixo Formoso, Thomas Schmitt
libisofs Copyright (C) 2007-2010 Vreixo Formoso, Mario Danic, Thomas Schmitt libisofs Copyright (C) 2007-2010 Vreixo Formoso, Mario Danic, Thomas Schmitt
libburn Copyright (C) 2002-2006 Derek Foreman, Ben Jansens libburn Copyright (C) 2002-2006 Derek Foreman, Ben Jansens
2006-2010 Mario Danic, Thomas Schmitt 2006-2010 Mario Danic, Thomas Schmitt
from libburnia-project.org with a license derived from GPLv2+. Further included is :
libjte Copyright (C) 2000-2007 Free Software Foundation, Inc.
2004-2010 Steve McIntyre
2010-2010 George Danchev, Thomas Schmitt
Originally they all are licensed directly or indirectly as GPLv2+.
GNU xorriso is licensed by the following statement:
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 it under the terms of the GNU General Public License version 3

View File

@ -417,6 +417,13 @@ of old
Libburn. By Derek Foreman <derek@signalmarketing.com> and Libburn. By Derek Foreman <derek@signalmarketing.com> and
Ben Jansens <xor@orodu.net> Ben Jansens <xor@orodu.net>
Copyright (C) 2002-2006 Derek Foreman and Ben Jansens Copyright (C) 2002-2006 Derek Foreman and Ben Jansens
GNU xorriso contains
libjte
Copyright (C) 2000-2007 Free Software Foundation, Inc.
2004-2010 Steve McIntyre
2010-2010 George Danchev, Thomas Schmitt
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
This text itself is This text itself is

View File

@ -215,7 +215,8 @@ then
fi fi
AH_TEMPLATE([Libisofs_with_zliB], [Define to use compression via libz]) AH_TEMPLATE([Libisofs_with_zliB], [Define to use compression via zlib])
AH_TEMPLATE([LIBJTE_WITH_ZLIB], [Allow libjte to use zlib])
AC_ARG_ENABLE(zlib, AC_ARG_ENABLE(zlib,
[ --enable-zlib Enable use of zlib by libisofs, default=yes], [ --enable-zlib Enable use of zlib by libisofs, default=yes],
, enable_zlib=yes) , enable_zlib=yes)
@ -225,41 +226,79 @@ dnl If not, erase this macro which would enable use of compress2() and others.
dnl Linking fails on SuSE 9.0 because zlib has compress2() but lacks dnl Linking fails on SuSE 9.0 because zlib has compress2() but lacks
dnl compressBound(). So compressBound is the more modern thing to test. dnl compressBound(). So compressBound is the more modern thing to test.
dnl The empty parameter after "compressBound" causes -lz. dnl The empty parameter after "compressBound" causes -lz.
ZLIB_DEF="-DLibisofs_with_zliB" ZLIB_DEF=yes
AC_CHECK_HEADER(zlib.h, AC_CHECK_LIB(z, compressBound, , ZLIB_DEF= ), ZLIB_DEF= ) AC_CHECK_HEADER(zlib.h, AC_CHECK_LIB(z, compressBound, , ZLIB_DEF= ), ZLIB_DEF= )
else else
ZLIB_DEF= ZLIB_DEF=
fi fi
if test x$ZLIB_DEF = x-DLibisofs_with_zliB if test x$ZLIB_DEF = xyes
then then
AC_DEFINE([Libisofs_with_zliB], []) AC_DEFINE([Libisofs_with_zliB], [])
AC_DEFINE([LIBJTE_WITH_ZLIB], [])
fi fi
# libjte source is included in GNU xorriso. Enable it if zlib is enabled.
AH_TEMPLATE([Xorriso_with_libjtE], AH_TEMPLATE([Xorriso_with_libjtE],
[Define to use Jigdo Template Extraction via libjte]) [Define to use Jigdo Template Extraction via libjte])
AH_TEMPLATE([Libisofs_with_libjtE], AH_TEMPLATE([Libisofs_with_libjtE],
[Define to use Jigdo Template Extraction via libjte]) [Define to use Jigdo Template Extraction via libjte])
AC_ARG_ENABLE(libjte, if test x$ZLIB_DEF = xyes
[ --enable-libjte Enable use of libjte by xorriso, default=yes],
, enable_libjte=yes)
if test "x$enable_libjte" = xyes; then
LIBJTE_DEF=yes
AC_CHECK_HEADER(libjte/libjte.h, AC_CHECK_LIB(jte, libjte_new, , LIBJTE_DEF= ), LIBJTE_DEF= )
else
LIBJTE_DEF=
fi
if test x$LIBJTE_DEF = xyes
then then
AC_DEFINE([Xorriso_with_libjtE], []) AC_DEFINE([Xorriso_with_libjtE], [])
AC_DEFINE([Libisofs_with_libjtE], []) AC_DEFINE([Libisofs_with_libjtE], [])
LIBJTE_DEF="-DXorriso_with_libjtE -DLibisofs_with_libjtE"
# >>> Only until built-in libjte becomes default with xorriso-standalone
AH_TEMPLATE([Xorriso_jte_standalonE], [Preliminary switch])
AC_DEFINE([Xorriso_jte_standalonE], [])
LIBJTE_DEF=yes
echo "enabled built-in libjte"
else
LIBJTE_DEF=
echo "disabled libjte because zlib not enabled or not available"
fi
AH_TEMPLATE([THREADED_CHECKSUMS],
[Define to use multi-threading in built-in libjte])
AC_ARG_ENABLE(jtethreads,
[ --enable-jtethreads Enable multi-threading in libjte, default=yes],
, enable_jtethreads=yes)
if test x$LIBJTE_DEF = xyes
then
if test "x$enable_jtethreads" = xyes; then
AC_DEFINE([THREADED_CHECKSUMS], [])
echo "enabled multi-threading in libjte"
else
echo "disabled multi-threading in libjte"
fi
fi
AH_TEMPLATE([LIBJTE_WITH_LIBBZ2],
[Define to use libbz2 by built-in libjte])
AC_ARG_ENABLE(libbz2,
[ --enable-libbz2 Enable use of libbz2 by libjte, default=yes],
, enable_libbz2=yes)
if test "x$enable_libbz2" = xyes -a x$LIBJTE_DEF = xyes ; then
dnl Check whether there is the header for libbz2.
BZIP2_DEF=yes
AC_CHECK_HEADER(bzlib.h, AC_CHECK_LIB(bz2, BZ2_bzCompressInit, , BZIP2_DEF= ), BZIP2_DEF= )
else
BZIP2_DEF=
fi
if test x$BZIP2_DEF = xyes
then
AC_DEFINE([LIBJTE_WITH_LIBBZ2], [])
BZIP2_DEF="-DLIBJTE_WITH_LIBBZ2"
fi fi
AH_TEMPLATE([Libburn_use_libcdiO], [Define to use libcdio as system adapter]) AH_TEMPLATE([Libburn_use_libcdiO], [Define to use libcdio as system adapter])
AC_ARG_ENABLE(libcdio, AC_ARG_ENABLE(libcdio,
[ --enable-libcdio Enable EXPERIMENTAL use of libcdio as system adapter, default=no], [ --enable-libcdio Enable EXPERIMENTAL use of libcdio as system adapter, default=no],
, enable_libcdio=no) , enable_libcdio=no)
if test x$enable_libcdio = xyes; then if test x$enable_libcdio = xyes; then
dnl Check whether there is libcdio-devel and libcdio-runtime. dnl Check whether there is libcdio-devel and libcdio-runtime.

View File

@ -7,9 +7,9 @@
# #
# This is a development tool which expects a special setup of directories. # This is a development tool which expects a special setup of directories.
# It is to be executed in a common parent of the directories # It is to be executed in a common parent of the directories
# nglibisofs-develop libburn-develop libisoburn-develop # nglibisofs-develop jte-develop libburn-develop libisoburn-develop
# where tarballs or repository copies have been installed of # where tarballs or repository copies have been installed of
# libisofs libburn libisoburn # libisofs jte libburn libisoburn
# obtained according to instructions on http://libburnia-project.org. # obtained according to instructions on http://libburnia-project.org.
# #
# It creates a new directory tree # It creates a new directory tree
@ -120,10 +120,6 @@ copy_files xorriso/configure_ac.txt "$lone_dir"/configure.ac
copy_files xorriso/xorriso_makefile_am.txt "$lone_dir"/Makefile.am copy_files xorriso/xorriso_makefile_am.txt "$lone_dir"/Makefile.am
# copy_files xorriso/xorriso_pc_in.txt "$lone_dir"/xorriso.pc.in
# echo "See end of xorriso/changelog.txt" >"$lone_dir"/TODO
# libisoburn # libisoburn
@ -131,6 +127,7 @@ create_dir "$lone_dir"/libisoburn
copy_files \ copy_files \
libisoburn/*.[ch] \ libisoburn/*.[ch] \
"$lone_dir"/libisoburn "$lone_dir"/libisoburn
copy_files COPYRIGHT "$lone_dir"/libisoburn
xorriso/convert_man_to_html.sh xorriso/convert_man_to_html.sh
@ -198,6 +195,7 @@ copy_files \
xorriso/xorriso.1 \ xorriso/xorriso.1 \
xorriso/man_1_xorriso.html \ xorriso/man_1_xorriso.html \
"$lone_dir"/xorriso "$lone_dir"/xorriso
copy_files COPYRIGHT "$lone_dir"/xorriso
copy_files xorriso/xorriso_buildstamp_none.h \ copy_files xorriso/xorriso_buildstamp_none.h \
"$lone_dir"/xorriso/xorriso_buildstamp.h "$lone_dir"/xorriso/xorriso_buildstamp.h
@ -223,6 +221,7 @@ copy_files libisofs/filters/*.[ch] "$lone_dir"/libisofs/filters
copy_files doc/susp_aaip*.txt "$lone_dir"/doc copy_files doc/susp_aaip*.txt "$lone_dir"/doc
copy_files doc/zisofs_format.txt "$lone_dir"/doc copy_files doc/zisofs_format.txt "$lone_dir"/doc
copy_files doc/checksums.txt "$lone_dir"/doc copy_files doc/checksums.txt "$lone_dir"/doc
copy_files doc/boot_sectors.txt "$lone_dir"/doc
copy_files COPYRIGHT "$lone_dir"/libisofs copy_files COPYRIGHT "$lone_dir"/libisofs
test -e CONTRIBUTORS && cat CONTRIBUTORS >>"$lone_dir"/CONTRIBUTORS test -e CONTRIBUTORS && cat CONTRIBUTORS >>"$lone_dir"/CONTRIBUTORS
@ -230,35 +229,12 @@ test -e CONTRIBUTORS && cat CONTRIBUTORS >>"$lone_dir"/CONTRIBUTORS
cat version.h.in >> "$lone_dir"/version.h.in cat version.h.in >> "$lone_dir"/version.h.in
# <<< obsoleted patchings # libjte
if test 1 = 0
then
# Change GNU macro name to POSIX name
sed -e 's/FNM_FILE_NAME/FNM_PATHNAME/g' \
<libisofs/tree.c >"$lone_dir"/libisofs/tree.c
# Filter out the semi-illegal TODO comments
( cd "$lone_dir"/libisofs && grep '^[[:space:]]*//' *.[ch] | less )
echo "Is it ok delete all shown //-lines ?"
read yesno
if test "$yesno" = "y" -o "$yesno" = "1"
then
for i in "$lone_dir"/libisofs/*.[ch]
do
# first copy attributes
cp "$i" "$lone_dir"/libisofs/tmpfile
# now filter away // lines
grep -v '^[[:space:]]*//' <"$i" >"$lone_dir"/libisofs/tmpfile && \
mv "$lone_dir"/libisofs/tmpfile "$i"
done
fi
echo "Remaining // lines:"
( cd "$lone_dir"/libisofs && grep '//' *.[ch] )
fi
create_dir "$lone_dir"/libjte
goto_dir "$current_dir"/jte-develop
copy_files *.[ch] "$lone_dir"/libjte
copy_files COPYRIGHT "$lone_dir"/libjte
# libburn # libburn

View File

@ -83,6 +83,8 @@ but rather not with CD, DVD-R, DVD+R, BD-R.
<DD>eventually allow on GNU/Linux to get and set ACLs.</DD> <DD>eventually allow on GNU/Linux to get and set ACLs.</DD>
<DT>zlib and zlib-devel</DT> <DT>zlib and zlib-devel</DT>
<DD>eventually allow zisofs and gzip compression.</DD> <DD>eventually allow zisofs and gzip compression.</DD>
<DT>libbz2 and libbz2-devel</DT>
<DD>eventually allow bzip2 compression of Jigdo template files.</DD>
</DL> </DL>
</P> </P>
@ -539,7 +541,7 @@ I.e. only with option -close "on".
<P> <P>
<H3> <H3>
Libburnia software copies included in GNU xorriso: Software copies included in GNU xorriso:
</H3> </H3>
<DL> <DL>
<DT> <DT>
@ -588,12 +590,27 @@ cdrecord and mkisofs.</DT>
</DD> </DD>
<DD>Enhancements towards stable version 0.6.2: <DD>Enhancements towards stable version 0.6.2:
<UL> <UL>
<LI>- none yet -</LI> <LI>
New option -jigdo
</LI>
<LI>
New -as mkisofs options -jigdo-* , -md5-list , -checksum_algorithm_* as of genisoimage
</LI>
<LI>
New bootspecs mips_path= and mipsel_path= for Debian MIPS releases
</LI>
<LI>
New -as mkisofs options -mips-boot and -mipsel-boot
</LI>
<!-- <!--
<LI>- none yet -</LI> <LI>- none yet -</LI>
--> -->
</UL> </UL>
</DD> </DD>
<DD>&nbsp;</DD>
<DD>&nbsp;</DD> <DD>&nbsp;</DD>
<DD><A HREF="README_xorriso_devel">README 0.6.3</A> <DD><A HREF="README_xorriso_devel">README 0.6.3</A>
<DD><A HREF="xorriso_help_devel">xorriso_0.6.3 -help</A></DD> <DD><A HREF="xorriso_help_devel">xorriso_0.6.3 -help</A></DD>
@ -608,13 +625,14 @@ installation see README)
</DD> </DD>
<DD> <DD>
<A HREF="xorriso-0.6.3.tar.gz">xorriso-0.6.3.tar.gz</A> <A HREF="xorriso-0.6.3.tar.gz">xorriso-0.6.3.tar.gz</A>
(1670 KB). (1730 KB).
</DD> </DD>
<DT>A dynamically linked development version of xorriso can be obtained <DT>A dynamically linked development version of xorriso can be obtained
from repositories of from repositories of
<A HREF="http://libburnia-project.org"> libburnia-project.org</A>. <A HREF="http://libburnia-project.org"> libburnia-project.org</A>.
xorriso is part of libisoburn/trunk and will get built by its "make". xorriso is part of libisoburn/trunk and will get built by its "make".
</DT> </DT>
<DT>Be warned that the libraries in SVN and bzr are development versions with <DT>Be warned that the libraries in SVN and bzr are development versions with
possibly unstable API/ABI enhancements. Do not distribute development possibly unstable API/ABI enhancements. Do not distribute development
versions for dynamic linking. Only release versions are safe for that. versions for dynamic linking. Only release versions are safe for that.
@ -636,6 +654,18 @@ versions for dynamic linking. Only release versions are safe for that.
But after the run of <KBD>./bootstrap</KBD>, only But after the run of <KBD>./bootstrap</KBD>, only
vanilla tools like make and gcc are needed. vanilla tools like make and gcc are needed.
</DT> </DT>
<DT>The development version of GNU xorriso contains a copy of libjte-0.1.1
which produces jigdo and template file together with the emerging ISO image,
(By Free Software Foundation, Steve McIntyre, George Danchev,
Thomas Schmitt)
</DT>
<DD>Important: If desired, libjte has to be already installed when libisofs
and libisoburn get built.</DD>
<DD>Download: <KBD><B>svn co http://svn.openfmi.net/dev/people/danchev/jte libjte</B>
</KBD></DD>
<DD>Install: <KBD><B>cd libjte ; ./bootstrap ; ./configure --prefix /usr ; make ; make install</B>
</KBD></DD>
<DD>&nbsp;</DD> <DD>&nbsp;</DD>
</DL> </DL>
</P> </P>

View File

@ -32,18 +32,6 @@ xorriso_xorriso_CFLAGS =
xorriso_xorriso_LDADD = $(THREAD_LIBS) $(LIBBURN_ARCH_LIBS) xorriso_xorriso_LDADD = $(THREAD_LIBS) $(LIBBURN_ARCH_LIBS)
# This looks quite ugly with make install: xorriso.c is compiled twice again
#
# Trying to create a build timestamp file
#
# BUILT_SOURCES = xorriso/xorriso_buildstamp.h
# phony targets get rebuilt every time
# .PHONY: xorriso/xorriso_buildstamp.h
# xorriso/xorriso_buildstamp.h:
# date -u '+#define Xorriso_build_timestamP "%Y.%m.%d.%H%M%S"' >xorriso/xorriso_buildstamp.h
# cat xorriso/xorriso_buildstamp.h
xorriso_xorriso_SOURCES = \ xorriso_xorriso_SOURCES = \
\ \
xorriso/xorriso.h \ xorriso/xorriso.h \
@ -164,6 +152,26 @@ xorriso_xorriso_SOURCES = \
libisofs/md5.h \ libisofs/md5.h \
libisofs/md5.c \ libisofs/md5.c \
\ \
libjte/libjte.h \
libjte/libjte_private.h \
libjte/libjte.c \
libjte/jte.h \
libjte/jte.c \
libjte/checksum.h \
libjte/checksum.c \
libjte/endian.c \
libjte/endianconv.h \
libjte/md5.h \
libjte/md5.c \
libjte/rsync.h \
libjte/rsync.c \
libjte/sha1.h \
libjte/sha1.c \
libjte/sha256.h \
libjte/sha256.c \
libjte/sha512.h \
libjte/sha512.c \
\
libburn/async.c \ libburn/async.c \
libburn/async.h \ libburn/async.h \
libburn/back_hacks.h \ libburn/back_hacks.h \
@ -253,7 +261,6 @@ install-exec-hook:
# Alternative to the disabled .PHONY above.
# Trying to create a build timestamp file semi-manually: make buildstamped # Trying to create a build timestamp file semi-manually: make buildstamped
# #
buildstamp: buildstamp:
@ -283,8 +290,6 @@ indent: $(indent_files)
## ========================================================================= ## ## ========================================================================= ##
# Extra things # Extra things
# nodist_pkgconfig_DATA = \
# xorriso.pc
man_MANS = xorriso/xorriso.1 man_MANS = xorriso/xorriso.1

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.10.15.112050" #define Xorriso_timestamP "2010.10.15.121533"