-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
# build the doc and demo tarballs
distrib/makedemo
distrib/makedocs
- mv dist/wxPython-docs-$VERSION.tar.gz $STAGING_DIR
- mv dist/wxPython-demo-$VERSION.tar.gz $STAGING_DIR
+ mv dist/wxPython-docs-$VERSION.tar.bz2 $STAGING_DIR
+ mv dist/wxPython-demo-$VERSION.tar.bz2 $STAGING_DIR
# build the new docs too
if [ $skipnewdocs != yes ]; then
docs/bin/everything
- mv dist/wxPython-newdocs-$VERSION.tar.gz $STAGING_DIR
+ mv dist/wxPython-newdocs-$VERSION.tar.bz2 $STAGING_DIR
fi
fi
echo "Copying source files and build script..."
ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"
- scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \
- $STAGING_DIR/wxPython-docs-$VERSION.tar.gz \
- $STAGING_DIR/wxPython-demo-$VERSION.tar.gz \
+ scp $STAGING_DIR/wxPython-src-$VERSION.tar.bz2 \
+ $STAGING_DIR/wxPython-docs-$VERSION.tar.bz2 \
+ $STAGING_DIR/wxPython-demo-$VERSION.tar.bz2 \
distrib/all/do-build-osx \
root@$host:$OSX_BUILD
fi
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 \
$WIN_HOST:$WIN_BUILD
#exit 0
# untar the source
-echo "Unarchiving wxPython-src-$VERSION.tar.gz"
+echo "Unarchiving wxPython-src-$VERSION.tar.bz2"
cd $DESTDIR
-tar xzf wxPython-src-$VERSION.tar.gz
-rm wxPython-src-$VERSION.tar.gz
+tar xjf wxPython-src-$VERSION.tar.bz2
+rm wxPython-src-$VERSION.tar.bz2
echo "Invoking wxPythonOSX build script..."
if [ $SKIPCLEAN != yes ]; then
echo "Cleaning up..."
rm -r $WXDIR || true
- rm wxPython-docs-$VERSION.tar.gz
- rm wxPython-demo-$VERSION.tar.gz
+ rm wxPython-docs-$VERSION.tar.bz2
+ rm wxPython-demo-$VERSION.tar.bz2
fi
echo "-=-=-=- Goodbye! -=-=-=-"
fi
done
-cp wxPython-src-$VERSION.tar.gz $rpmtop/SOURCES
+cp wxPython-src-$VERSION.tar.bz2 $rpmtop/SOURCES
echo "******************** PYVER = " $PYVER
for ver in $PYVER; do
rm -rf $rpmtop
echo "Cleaning up..."
- rm *.spec *.tar.gz
+ rm *.spec *.tar.bz2
fi
echo "-=-=-=- Goodbye! -=-=-=-"
# untar the source
-echo "Unarchiving wxPython-src-$VERSION.tar.gz"
+echo "Unarchiving wxPython-src-$VERSION.tar.bz2"
cd $DESTDIR
-tar xzf wxPython-src-$VERSION.tar.gz
-rm wxPython-src-$VERSION.tar.gz
+tar xjf wxPython-src-$VERSION.tar.bz2
+rm wxPython-src-$VERSION.tar.bz2
# Fix line endings
# TARBALLDIR before invoking this script...
TARBALLDIR=/stuff/Development/wxPython/dist/$VERSION
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 " WARNING: Demo tarball not found, will skip building "
echo " the Demo app bundle and etc."
- echo " $TARBALLDIR/wxPython-demo-$VERSION.tar.gz"
+ echo " $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2"
echo "-------------------------------------------------------"
fi
-if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.gz ]; then
+if [ ! -e $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2 ]; then
echo "-------------------------------------------------------"
echo " WARNING: Docs tarball not found, will skip building "
echo " the the wxDocsViewer app bundle and etc."
- echo " $TARBALLDIR/wxPython-docs-$VERSION.tar.gz"
+ echo " $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2"
echo "-------------------------------------------------------"
fi
if [ $skiptar != yes ]; then
echo Unarchiving tarball...
- tar xzf $TARBALL
+ tar xjf $TARBALL
fi
if [ $inplace = no ]; then
# 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
The wxPython-docs tarball was not found when building this disk image!
else
pushd $BUILDROOT
- tar xzvf $TARBALLDIR/wxPython-docs-$VERSION.tar.gz
+ tar xjvf $TARBALLDIR/wxPython-docs-$VERSION.tar.bz2
popd
# Make an app to launch viewdocs.py
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
The wxPython-$VERSION-demo tarball was not found when building this disk image!
# Copy the demo and samples to the disk image from the tarball
pushd $DMGAPPS/Samples
- tar xzvf $TARBALLDIR/wxPython-demo-$VERSION.tar.gz
+ tar xjvf $TARBALLDIR/wxPython-demo-$VERSION.tar.bz2
mv wxPython-$VERSION/* .
rm -rf wxPython-$VERSION
rm demo/b demo/.setup.sh
cd _distrib_tgz
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 ..
rm -r _distrib_tgz
rem *** bundle it all up TODO: don't hard-code the 2.6
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
cd ..
cp ../distrib/README.viewdocs.txt $DEST/README.txt
##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
-gzip -9 ../dist/wxPython-docs-$VERSION.tar
+bzip2 -9 ../dist/wxPython-docs-$VERSION.tar
# **** Cleanup
rem *** bundle it all up
cd _distrib_zip
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
rem *** cleanup
# copy root dir contents
cp -pf --link ${wxdir}/* ${tarver} > /dev/null 2>&1
- # copy all top dirs except CVS, build, demos, samples, utils, and wxPython
- for d in art build contrib debian distrib docs include lib locale misc patches src; do
+ # copy all top dirs except CVS, demos, samples, and wxPython
+ for d in art build contrib debian docs include lib locale patches samples src utils; do
if [ -e ${wxdir}/$d ]; then
cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
fi
done
-# # and tex2rtf too
-# 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
+ # now do the same thing for wxPython, but use the DIRLIST to select dirs to copy
for dir in `grep -v '#' ${wxdir}/wxPython/distrib/DIRLIST`; do
mkdir ${tarver}/${dir}
##echo "cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir}"
rm *.spec
rm -rf distrib/msw/tmake
rm -rf docs/html
- rm -rf docs/latex
- rm -rf contrib/docs
- rm -rf contrib/samples
+ #rm -rf docs/latex
+ #rm -rf contrib/docs
+ #rm -rf contrib/samples
rm locale/*.mo
cleanup ".#*"
cleanup "#*#"
cleanup motif
cleanup os2
cleanup x11
+ cleanup univ
+ cleanup wine
rm -f wxPython/wx/* > /dev/null 2>&1
tar cvf ${distdir}/${tarver}.tar ${tarver} > /dev/null
echo "*** Compressing..."
- if [ -e ${distdir}/${tarver}.tar.gz ]; then
- rm ${distdir}/${tarver}.tar.gz
+ if [ -e ${distdir}/${tarver}.tar.bz2 ]; then
+ rm ${distdir}/${tarver}.tar.bz2
fi
- gzip --best ${distdir}/${tarver}.tar
+ bzip2 --best ${distdir}/${tarver}.tar
popd > /dev/null
fi
if [ -z "${skiprpm}" ]; then
echo "*** Building RPMs..."
- cp ${distdir}/${tarver}.tar.gz ${rpmtop}/SOURCES
+ cp ${distdir}/${tarver}.tar.bz2 ${rpmtop}/SOURCES
if [ "${srpmonly}" = "1" ]; then
rpmbuild -bs \
Summary: Cross platform GUI toolkit for Python
Version: %{version}
Release: %{release}
-Source0: %{tarname}-%{version}.tar.gz
+Source0: %{tarname}-%{version}.tar.bz2
License: wx Library Licence, Version 3
URL: http://wxPython.org/
Packager: Robin Dunn <robin@alldunn.com>