"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "run_release.sh" between
xdelta3-3.0.11.tar.gz and xdelta3-3.1.0.tar.gz

About: xdelta is a tool and library for differential compression (supports VCDIFF encoding and decoding). Beta version.

run_release.sh  (xdelta3-3.0.11):run_release.sh  (xdelta3-3.1.0)
skipping to change at line 49 skipping to change at line 49
if [ "${TMPDIR}" != "" ]; then if [ "${TMPDIR}" != "" ]; then
XTMP="${TMPDIR}" XTMP="${TMPDIR}"
fi fi
find build -type f 2> /dev/null | xargs rm -f find build -type f 2> /dev/null | xargs rm -f
function setup { function setup {
libtoolize libtoolize
automake --add-missing automake --add-missing
aclocal -I m4 aclocal -I m4
autoheader
automake automake
autoheader autoheader
autoconf autoconf
} }
function try { function try {
local w=$1 local w=$1
shift shift
local dir=$1 local dir=$1
shift shift
skipping to change at line 84 skipping to change at line 85
local target="${BUILDDIR}/lib-${host}${march}" local target="${BUILDDIR}/lib-${host}${march}"
echo " ... liblzma" echo " ... liblzma"
mkdir -p ${target} mkdir -p ${target}
try configure-lzma ${target} ${LZMASRC}/configure \ try configure-lzma ${target} ${LZMASRC}/configure \
--host=${host} \ --host=${host} \
--prefix=${target} \ --prefix=${target} \
--disable-shared \ --disable-shared \
"CC=${CC}" \
"CXX=${CXX}" \
"CFLAGS=${march}" \ "CFLAGS=${march}" \
"CXXFLAGS=${march}" \ "CXXFLAGS=${march}" \
"LDFLAGS=${march}" "LDFLAGS=${march}"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
return return
fi fi
try build-lzma ${target} make ${MAKEFLAGS} try build-lzma ${target} make ${MAKEFLAGS}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
return return
fi fi
try install-lzma ${target} make install try install-lzma ${target} make install
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
return return
fi fi
} }
function buildit { function buildit {
local host=$1 local host=$1
local march=$2 local march=$2
local offsetbits=$3 local usizebits=$3
local cargs=$4 local offsetbits=$4
local afl=$5 local cargs=$5
local afl=$6
local BM="${host}${march}" local BM="${host}${march}"
local USECC="${CC}" local USECC="${CC}"
local USECXX="${CXX}" local USECXX="${CXX}"
local LIBBM="${BM}" local LIBBM="${BM}"
if [ "${afl}" = "1" ]; then if [ "${afl}" = "1" ]; then
USECC="afl-gcc" USECC="afl-gcc"
USECXX="afl-g++" USECXX="afl-g++"
BM="${BM}-afl" BM="${BM}-afl"
fi fi
local D="build/${BM}/xoff${offsetbits}" local D="build/${BM}/usize${usizebits}/xoff${offsetbits}"
local BMD="${BM}-${offsetbits}" local BMD="${BM}-${usizebits}-${offsetbits}"
local FULLD="${SRCDIR}/${D}" local FULLD="${SRCDIR}/${D}"
local CFLAGS="${march} ${cargs} -I${SRCDIR}/build/lib-${LIBBM}/include" local CFLAGS="${march} ${cargs} -I${SRCDIR}/build/lib-${LIBBM}/include"
local CXXFLAGS="${march} ${cargs} -I${SRCDIR}/build/lib-${LIBBM}/include" local CXXFLAGS="${march} ${cargs} -I${SRCDIR}/build/lib-${LIBBM}/include"
local CPPFLAGS="-I${SRCDIR}/build/lib-${LIBBM}/include" local CPPFLAGS="-I${SRCDIR}/build/lib-${LIBBM}/include"
local LDFLAGS="${march} -L${SRCDIR}/build/lib-${LIBBM}/lib" local LDFLAGS="${march} -L${SRCDIR}/build/lib-${LIBBM}/lib"
mkdir -p ${D} mkdir -p ${D}
echo " ... ${BMD}" echo " ... ${BMD}"
skipping to change at line 201 skipping to change at line 206
# try install-xdelta ${FULLD} make install # try install-xdelta ${FULLD} make install
} }
function buildall { function buildall {
echo "" echo ""
echo "Host $1$2 afl=$4" echo "Host $1$2 afl=$4"
echo "" echo ""
buildlzma "$1" "$2" buildlzma "$1" "$2"
buildit "$1" "$2" 32 "-DXD3_USE_LARGEFILE64=0 $3" "$4" buildit "$1" "$2" 32 32 "-DXD3_USE_LARGESIZET=0 -DXD3_USE_LARGEFILE64=0 $3"
buildit "$1" "$2" 64 "-DXD3_USE_LARGEFILE64=1 $3" "$4" "$4"
buildit "$1" "$2" 32 64 "-DXD3_USE_LARGESIZET=0 -DXD3_USE_LARGEFILE64=1 $3"
"$4"
buildit "$1" "$2" 64 64 "-DXD3_USE_LARGESIZET=1 -DXD3_USE_LARGEFILE64=1 $3"
"$4"
} }
setup setup
try untar-lzma ${BUILDDIR} tar -xvf "${LZMA_FILE}" try untar-lzma ${BUILDDIR} tar -xvf "${LZMA_FILE}"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit $?
fi fi
cat > Makefile.test <<EOF cat > Makefile.test <<EOF
 End of changes. 5 change blocks. 
7 lines changed or deleted 16 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS