Switch to bzip2 for compression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
README for wxPython-src-2.6.*.tar.gz
|
README for wxPython-src-2.6.*.tar.bz2
|
||||||
====================================
|
=====================================
|
||||||
|
|
||||||
|
|
||||||
This archive contains the source code and other files for both
|
This archive contains the source code and other files for both
|
||||||
|
@@ -24,14 +24,14 @@ if [ $skipdocs != yes ]; then
|
|||||||
# build the doc and demo tarballs
|
# build the doc and demo tarballs
|
||||||
distrib/makedemo
|
distrib/makedemo
|
||||||
distrib/makedocs
|
distrib/makedocs
|
||||||
mv dist/wxPython-docs-$VERSION.tar.gz $STAGING_DIR
|
mv dist/wxPython-docs-$VERSION.tar.bz2 $STAGING_DIR
|
||||||
mv dist/wxPython-demo-$VERSION.tar.gz $STAGING_DIR
|
mv dist/wxPython-demo-$VERSION.tar.bz2 $STAGING_DIR
|
||||||
|
|
||||||
|
|
||||||
# build the new docs too
|
# build the new docs too
|
||||||
if [ $skipnewdocs != yes ]; then
|
if [ $skipnewdocs != yes ]; then
|
||||||
docs/bin/everything
|
docs/bin/everything
|
||||||
mv dist/wxPython-newdocs-$VERSION.tar.gz $STAGING_DIR
|
mv dist/wxPython-newdocs-$VERSION.tar.bz2 $STAGING_DIR
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -23,9 +23,9 @@ if [ $skiposx != yes ]; then
|
|||||||
echo "Copying source files and build script..."
|
echo "Copying source files and build script..."
|
||||||
ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"
|
ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"
|
||||||
|
|
||||||
scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \
|
scp $STAGING_DIR/wxPython-src-$VERSION.tar.bz2 \
|
||||||
$STAGING_DIR/wxPython-docs-$VERSION.tar.gz \
|
$STAGING_DIR/wxPython-docs-$VERSION.tar.bz2 \
|
||||||
$STAGING_DIR/wxPython-demo-$VERSION.tar.gz \
|
$STAGING_DIR/wxPython-demo-$VERSION.tar.bz2 \
|
||||||
distrib/all/do-build-osx \
|
distrib/all/do-build-osx \
|
||||||
root@$host:$OSX_BUILD
|
root@$host:$OSX_BUILD
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ if [ $skipwin != yes ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Copying source file and build script..."
|
echo "Copying source file and build script..."
|
||||||
scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \
|
scp $STAGING_DIR/wxPython-src-$VERSION.tar.bz2 \
|
||||||
distrib/all/do-build-windows \
|
distrib/all/do-build-windows \
|
||||||
$WIN_HOST:$WIN_BUILD
|
$WIN_HOST:$WIN_BUILD
|
||||||
|
|
||||||
|
@@ -39,10 +39,10 @@ echo "which gcc = " `which gcc`
|
|||||||
#exit 0
|
#exit 0
|
||||||
|
|
||||||
# untar the source
|
# untar the source
|
||||||
echo "Unarchiving wxPython-src-$VERSION.tar.gz"
|
echo "Unarchiving wxPython-src-$VERSION.tar.bz2"
|
||||||
cd $DESTDIR
|
cd $DESTDIR
|
||||||
tar xzf wxPython-src-$VERSION.tar.gz
|
tar xjf wxPython-src-$VERSION.tar.bz2
|
||||||
rm wxPython-src-$VERSION.tar.gz
|
rm wxPython-src-$VERSION.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
echo "Invoking wxPythonOSX build script..."
|
echo "Invoking wxPythonOSX build script..."
|
||||||
@@ -63,8 +63,8 @@ cd $DESTDIR
|
|||||||
if [ $SKIPCLEAN != yes ]; then
|
if [ $SKIPCLEAN != yes ]; then
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm -r $WXDIR || true
|
rm -r $WXDIR || true
|
||||||
rm wxPython-docs-$VERSION.tar.gz
|
rm wxPython-docs-$VERSION.tar.bz2
|
||||||
rm wxPython-demo-$VERSION.tar.gz
|
rm wxPython-demo-$VERSION.tar.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "-=-=-=- Goodbye! -=-=-=-"
|
echo "-=-=-=- Goodbye! -=-=-=-"
|
||||||
|
@@ -69,7 +69,7 @@ for dir in SPECS BUILD RPMS SOURCES SRPMS tmp; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
cp wxPython-src-$VERSION.tar.gz $rpmtop/SOURCES
|
cp wxPython-src-$VERSION.tar.bz2 $rpmtop/SOURCES
|
||||||
|
|
||||||
echo "******************** PYVER = " $PYVER
|
echo "******************** PYVER = " $PYVER
|
||||||
for ver in $PYVER; do
|
for ver in $PYVER; do
|
||||||
@@ -93,7 +93,7 @@ if [ $SKIPCLEAN != yes ]; then
|
|||||||
rm -rf $rpmtop
|
rm -rf $rpmtop
|
||||||
|
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm *.spec *.tar.gz
|
rm *.spec *.tar.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "-=-=-=- Goodbye! -=-=-=-"
|
echo "-=-=-=- Goodbye! -=-=-=-"
|
||||||
|
@@ -50,10 +50,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# untar the source
|
# untar the source
|
||||||
echo "Unarchiving wxPython-src-$VERSION.tar.gz"
|
echo "Unarchiving wxPython-src-$VERSION.tar.bz2"
|
||||||
cd $DESTDIR
|
cd $DESTDIR
|
||||||
tar xzf wxPython-src-$VERSION.tar.gz
|
tar xjf wxPython-src-$VERSION.tar.bz2
|
||||||
rm wxPython-src-$VERSION.tar.gz
|
rm wxPython-src-$VERSION.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
# Fix line endings
|
# Fix line endings
|
||||||
|
@@ -134,21 +134,21 @@ if [ -z "$TARBALLDIR" ]; then
|
|||||||
# TARBALLDIR before invoking this script...
|
# TARBALLDIR before invoking this script...
|
||||||
TARBALLDIR=/stuff/Development/wxPython/dist/$VERSION
|
TARBALLDIR=/stuff/Development/wxPython/dist/$VERSION
|
||||||
fi
|
fi
|
||||||
TARBALL=$TARBALLDIR/wxPython-src-$VERSION.tar.gz
|
TARBALL=$TARBALLDIR/wxPython-src-$VERSION.tar.bz2
|
||||||
|
|
||||||
if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.gz ]; then
|
if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2 ]; then
|
||||||
echo "-------------------------------------------------------"
|
echo "-------------------------------------------------------"
|
||||||
echo " WARNING: Demo tarball not found, will skip building "
|
echo " WARNING: Demo tarball not found, will skip building "
|
||||||
echo " the Demo app bundle and etc."
|
echo " the Demo app bundle and etc."
|
||||||
echo " $TARBALLDIR/wxPython-demo-$VERSION.tar.gz"
|
echo " $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2"
|
||||||
echo "-------------------------------------------------------"
|
echo "-------------------------------------------------------"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.gz ]; then
|
if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2 ]; then
|
||||||
echo "-------------------------------------------------------"
|
echo "-------------------------------------------------------"
|
||||||
echo " WARNING: Docs tarball not found, will skip building "
|
echo " WARNING: Docs tarball not found, will skip building "
|
||||||
echo " the the wxDocsViewer app bundle and etc."
|
echo " the the wxDocsViewer app bundle and etc."
|
||||||
echo " $TARBALLDIR/wxPython-docs-$VERSION.tar.gz"
|
echo " $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2"
|
||||||
echo "-------------------------------------------------------"
|
echo "-------------------------------------------------------"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@ pushd $BUILDROOT
|
|||||||
|
|
||||||
if [ $skiptar != yes ]; then
|
if [ $skiptar != yes ]; then
|
||||||
echo Unarchiving tarball...
|
echo Unarchiving tarball...
|
||||||
tar xzf $TARBALL
|
tar xjf $TARBALL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $inplace = no ]; then
|
if [ $inplace = no ]; then
|
||||||
@@ -543,7 +543,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
# wxDocs
|
# wxDocs
|
||||||
if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.gz ]; then
|
if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2 ]; then
|
||||||
cat > "$DMGAPPS/Docs/Build ERROR.txt" <<EOF
|
cat > "$DMGAPPS/Docs/Build ERROR.txt" <<EOF
|
||||||
|
|
||||||
The wxPython-docs tarball was not found when building this disk image!
|
The wxPython-docs tarball was not found when building this disk image!
|
||||||
@@ -552,7 +552,7 @@ EOF
|
|||||||
|
|
||||||
else
|
else
|
||||||
pushd $BUILDROOT
|
pushd $BUILDROOT
|
||||||
tar xzvf $TARBALLDIR/wxPython-docs-$VERSION.tar.gz
|
tar xjvf $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Make an app to launch viewdocs.py
|
# Make an app to launch viewdocs.py
|
||||||
@@ -585,7 +585,7 @@ EOF
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.gz ]; then
|
if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2 ]; then
|
||||||
cat > "$DMGAPPS/Samples/Build ERROR.txt" <<EOF
|
cat > "$DMGAPPS/Samples/Build ERROR.txt" <<EOF
|
||||||
|
|
||||||
The wxPython-$VERSION-demo tarball was not found when building this disk image!
|
The wxPython-$VERSION-demo tarball was not found when building this disk image!
|
||||||
@@ -597,7 +597,7 @@ EOF
|
|||||||
|
|
||||||
# Copy the demo and samples to the disk image from the tarball
|
# Copy the demo and samples to the disk image from the tarball
|
||||||
pushd $DMGAPPS/Samples
|
pushd $DMGAPPS/Samples
|
||||||
tar xzvf $TARBALLDIR/wxPython-demo-$VERSION.tar.gz
|
tar xjvf $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2
|
||||||
mv wxPython-$VERSION/* .
|
mv wxPython-$VERSION/* .
|
||||||
rm -rf wxPython-$VERSION
|
rm -rf wxPython-$VERSION
|
||||||
rm demo/b demo/.setup.sh
|
rm demo/b demo/.setup.sh
|
||||||
|
@@ -29,7 +29,7 @@ rm -f `find _distrib_tgz/wxPython-$VERSION -name ".#*"`
|
|||||||
cd _distrib_tgz
|
cd _distrib_tgz
|
||||||
|
|
||||||
tar cvf ../dist/wxPython-demo-$VERSION.tar wxPython-$VERSION
|
tar cvf ../dist/wxPython-demo-$VERSION.tar wxPython-$VERSION
|
||||||
gzip -9 -f ../dist/wxPython-demo-$VERSION.tar
|
bzip2 -9 -f ../dist/wxPython-demo-$VERSION.tar
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
rm -r _distrib_tgz
|
rm -r _distrib_tgz
|
||||||
|
@@ -69,7 +69,7 @@ rm del-dirs
|
|||||||
|
|
||||||
rem *** bundle it all up TODO: don't hard-code the 2.6
|
rem *** bundle it all up TODO: don't hard-code the 2.6
|
||||||
tar cvf ../dist/wxPython2.6-win32-devel-%1.tar wxPython-%1
|
tar cvf ../dist/wxPython2.6-win32-devel-%1.tar wxPython-%1
|
||||||
gzip -9 ../dist/wxPython2.6-win32-devel-%1.tar
|
bzip2 -9 ../dist/wxPython2.6-win32-devel-%1.tar
|
||||||
|
|
||||||
rem *** cleanup
|
rem *** cleanup
|
||||||
cd ..
|
cd ..
|
||||||
|
@@ -62,9 +62,9 @@ cp ../distrib/viewdocs.py $DEST
|
|||||||
cp ../distrib/README.viewdocs.txt $DEST/README.txt
|
cp ../distrib/README.viewdocs.txt $DEST/README.txt
|
||||||
##cp ../docs/xml/wxPython-metadata.xml $DEST
|
##cp ../docs/xml/wxPython-metadata.xml $DEST
|
||||||
|
|
||||||
rm -f ../dist/wxPython-docs-$VERSION.tar.gz
|
rm -f ../dist/wxPython-docs-$VERSION.tar.bz2
|
||||||
tar cvf ../dist/wxPython-docs-$VERSION.tar wxPython-$VERSION
|
tar cvf ../dist/wxPython-docs-$VERSION.tar wxPython-$VERSION
|
||||||
gzip -9 ../dist/wxPython-docs-$VERSION.tar
|
bzip2 -9 ../dist/wxPython-docs-$VERSION.tar
|
||||||
|
|
||||||
|
|
||||||
# **** Cleanup
|
# **** Cleanup
|
||||||
|
@@ -41,7 +41,7 @@ cd ..
|
|||||||
rem *** bundle it all up
|
rem *** bundle it all up
|
||||||
cd _distrib_zip
|
cd _distrib_zip
|
||||||
tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
|
tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
|
||||||
gzip -9 ../dist/wxPythonWIN32-preview-%1.tar
|
bzip2 -9 ../dist/wxPythonWIN32-preview-%1.tar
|
||||||
mv ../dist/wxPythonWIN32-preview-%1.tar.gz ../dist/wxPythonWIN32-preview-%1.tgz
|
mv ../dist/wxPythonWIN32-preview-%1.tar.gz ../dist/wxPythonWIN32-preview-%1.tgz
|
||||||
|
|
||||||
rem *** cleanup
|
rem *** cleanup
|
||||||
|
@@ -134,21 +134,14 @@ if [ -z "${skipcopy}" ]; then
|
|||||||
# copy root dir contents
|
# copy root dir contents
|
||||||
cp -pf --link ${wxdir}/* ${tarver} > /dev/null 2>&1
|
cp -pf --link ${wxdir}/* ${tarver} > /dev/null 2>&1
|
||||||
|
|
||||||
# copy all top dirs except CVS, build, demos, samples, utils, and wxPython
|
# copy all top dirs except CVS, demos, samples, and wxPython
|
||||||
for d in art build contrib debian distrib docs include lib locale misc patches src; do
|
for d in art build contrib debian docs include lib locale patches samples src utils; do
|
||||||
if [ -e ${wxdir}/$d ]; then
|
if [ -e ${wxdir}/$d ]; then
|
||||||
cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
|
cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# # and tex2rtf too
|
# now do the same thing for wxPython, but use the DIRLIST to select dirs to copy
|
||||||
# mkdir ${tarver}/utils
|
|
||||||
# cp -Rpf --link ${wxdir}/utils/tex2rtf ${tarver}/utils
|
|
||||||
# # tex2rtf needs these files
|
|
||||||
# mkdir ${tarver}/samples
|
|
||||||
# cp -Rpf --link ${wxdir}/samples/sample.* ${tarver}/samples
|
|
||||||
|
|
||||||
# now do the same thing for wxPython, skipping it's build dirs and such
|
|
||||||
for dir in `grep -v '#' ${wxdir}/wxPython/distrib/DIRLIST`; do
|
for dir in `grep -v '#' ${wxdir}/wxPython/distrib/DIRLIST`; do
|
||||||
mkdir ${tarver}/${dir}
|
mkdir ${tarver}/${dir}
|
||||||
##echo "cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir}"
|
##echo "cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir}"
|
||||||
@@ -172,9 +165,9 @@ if [ -z "${skipcopy}" ]; then
|
|||||||
rm *.spec
|
rm *.spec
|
||||||
rm -rf distrib/msw/tmake
|
rm -rf distrib/msw/tmake
|
||||||
rm -rf docs/html
|
rm -rf docs/html
|
||||||
rm -rf docs/latex
|
#rm -rf docs/latex
|
||||||
rm -rf contrib/docs
|
#rm -rf contrib/docs
|
||||||
rm -rf contrib/samples
|
#rm -rf contrib/samples
|
||||||
rm locale/*.mo
|
rm locale/*.mo
|
||||||
cleanup ".#*"
|
cleanup ".#*"
|
||||||
cleanup "#*#"
|
cleanup "#*#"
|
||||||
@@ -191,6 +184,8 @@ if [ -z "${skipcopy}" ]; then
|
|||||||
cleanup motif
|
cleanup motif
|
||||||
cleanup os2
|
cleanup os2
|
||||||
cleanup x11
|
cleanup x11
|
||||||
|
cleanup univ
|
||||||
|
cleanup wine
|
||||||
|
|
||||||
rm -f wxPython/wx/* > /dev/null 2>&1
|
rm -f wxPython/wx/* > /dev/null 2>&1
|
||||||
|
|
||||||
@@ -224,10 +219,10 @@ if [ -z "${skiptar}" ]; then
|
|||||||
tar cvf ${distdir}/${tarver}.tar ${tarver} > /dev/null
|
tar cvf ${distdir}/${tarver}.tar ${tarver} > /dev/null
|
||||||
|
|
||||||
echo "*** Compressing..."
|
echo "*** Compressing..."
|
||||||
if [ -e ${distdir}/${tarver}.tar.gz ]; then
|
if [ -e ${distdir}/${tarver}.tar.bz2 ]; then
|
||||||
rm ${distdir}/${tarver}.tar.gz
|
rm ${distdir}/${tarver}.tar.bz2
|
||||||
fi
|
fi
|
||||||
gzip --best ${distdir}/${tarver}.tar
|
bzip2 --best ${distdir}/${tarver}.tar
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -237,7 +232,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "${skiprpm}" ]; then
|
if [ -z "${skiprpm}" ]; then
|
||||||
echo "*** Building RPMs..."
|
echo "*** Building RPMs..."
|
||||||
cp ${distdir}/${tarver}.tar.gz ${rpmtop}/SOURCES
|
cp ${distdir}/${tarver}.tar.bz2 ${rpmtop}/SOURCES
|
||||||
|
|
||||||
if [ "${srpmonly}" = "1" ]; then
|
if [ "${srpmonly}" = "1" ]; then
|
||||||
rpmbuild -bs \
|
rpmbuild -bs \
|
||||||
|
@@ -111,7 +111,7 @@ Name: %{pkgname}%{ver2}
|
|||||||
Summary: Cross platform GUI toolkit for Python
|
Summary: Cross platform GUI toolkit for Python
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
Source0: %{tarname}-%{version}.tar.gz
|
Source0: %{tarname}-%{version}.tar.bz2
|
||||||
License: wx Library Licence, Version 3
|
License: wx Library Licence, Version 3
|
||||||
URL: http://wxPython.org/
|
URL: http://wxPython.org/
|
||||||
Packager: Robin Dunn <robin@alldunn.com>
|
Packager: Robin Dunn <robin@alldunn.com>
|
||||||
|
Reference in New Issue
Block a user