X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b42b447cf4b272dd326c083af0f8ca64092630e0..cfe5e918e6cbb28da4e4041b3fccfdaf538b247c:/wxPython/distrib/mac/wxPythonOSX/build diff --git a/wxPython/distrib/mac/wxPythonOSX/build b/wxPython/distrib/mac/wxPythonOSX/build index b3221c8100..bb766cb256 100755 --- a/wxPython/distrib/mac/wxPythonOSX/build +++ b/wxPython/distrib/mac/wxPythonOSX/build @@ -158,19 +158,18 @@ if [ -z "$skipconfig" ]; then --with-mac \ --disable-monolithic \ --with-opengl \ - --enable-geometry \ - --enable-optimise \ --enable-sound \ --enable-display \ + --enable-geometry \ --enable-precomp=no \ - \ - --with-libjpeg=builtin \ - --with-libpng=builtin \ - --with-libtiff=builtin \ - --with-zlib=builtin \ - \ --enable-debug_flag +## --enable-optimise \ +## --with-libjpeg=builtin \ +## --with-libpng=builtin \ +## --with-libtiff=builtin \ +## --with-zlib=builtin \ + fi # Build wxWidgets and wxPython @@ -247,11 +246,11 @@ if [ -z "$skipinstall" ]; then cp $WXDIR/bld/contrib/utils/wxrc/wxrc $INSTALLROOT$BINPREFIX - # install the wxPython headers - cd $WXDIR/wxPython - cp -R include $INSTALLROOT$PREFIX - mkdir -p $INSTALLROOT$PREFIX/include/wx/wxPython/i_files - cp src/*.i $INSTALLROOT$PREFIX/include/wx/wxPython/i_files +# # install the wxPython headers +# cd $WXDIR/wxPython +# cp -R include $INSTALLROOT$PREFIX +# mkdir -p $INSTALLROOT$PREFIX/include/wx/wxPython/i_files +# cp src/*.i $INSTALLROOT$PREFIX/include/wx/wxPython/i_files # Set premissions for files in $INSTALLROOT @@ -362,15 +361,12 @@ package before you can use any of the items below. - Docs/wxDocs A folder containing the wxWidgets documentation - bundled in .zip files, and a small wxPython - application that can be used to view the docs. - Just run viewer.pyw. + Docs/wxDocsViewer An application that allows you to view the + wxWidgets documentation. Docs/licence License files. - Docs/other A few readmes, change log, etc. The full - documentation is downloadable separately. + Docs/other A few readmes, change log, etc. Samples/samples Several small sample applications that @@ -387,13 +383,30 @@ EOF # wxDocs - pushd $DMGDIR/root/Docs + pushd $BUILDROOT tar xzvf $TARBALLDIR/wxPythonDocs-$VERSION.tar.gz - mv wxPython-$VERSION/docs wxDocs - rm -r wxPython-$VERSION - mv wxDocs/viewdocs.py wxDocs/viewdocs.pyw + popd + + # Make an app to launch viewdocs.py + $PYTHONW $PROGDIR/../buildapp.py \ + --builddir=$DMGDIR/root/Docs \ + --name=wxDocsViewer \ + --mainprogram=$BUILDROOT/wxPython-$VERSION/docs/viewdocs.py \ + --iconfile=$PROGDIR/Info.icns \ + build + + cp $BUILDROOT/wxPython-$VERSION/docs/*.zip $DMGDIR/root/Docs/wxDocsViewer.app/Contents/Resources + + cat > "$DMGDIR/root/Docs/README 1st.txt" <