Remove all obsolete release-generation scripts.
Only leave the files which are still used for the daily snapshots generation. Also remove the obsolete release-making instructions. See #11610. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# This config file format allows for different people to store their own
|
||||
# build environment settings. If you want to make considerable changes, then
|
||||
# you should create your own settings file and specify that to create-release.sh.
|
||||
|
||||
|
||||
# the local spot that we put everything when done, before possibly copying
|
||||
# to remote hosts
|
||||
STAGING_DIR=./BUILD
|
||||
|
||||
# directory to store the wx tree we pull from CVS
|
||||
WX_TEMP_DIR=/tmp/wx-temp
|
||||
SCRIPTDIR=`dirname $0`
|
||||
WX_WEB_DIR=$WX_TEMP_DIR/wxWebSite
|
||||
WX_SRC_DIR=$WX_TEMP_DIR/wxWidgets
|
||||
DOCDIR=${WX_TEMP_DIR}/wxWidgets/docs/
|
||||
# don't make this a subdir of wxWidgets... (or tar will bite recursively)
|
||||
DIST_DIR=${WX_TEMP_DIR}/deliver
|
||||
|
||||
echo "temp dir is $WX_TEMP_DIR"
|
||||
echo script dir is $SCRIPTDIR
|
||||
CURDATE=`date -I`
|
||||
|
||||
# build info
|
||||
BUILD_VERSION=2.9.1
|
||||
BUILD_TAG=HEAD
|
||||
|
||||
if [ "$KIND" = "release" ]; then
|
||||
FTPDIR=/home/ftp/pub/${BUILD_VERSION}
|
||||
else
|
||||
KIND=daily
|
||||
BUILD_VERSION=${CURDATE}
|
||||
FTPDIR=/home/ftp/pub/Daily_HEAD
|
||||
fi
|
||||
|
||||
echo "Building for ${BUILD_VERSION}"
|
||||
|
||||
# Default build settings
|
||||
skipwin=no
|
||||
skipmac=no
|
||||
skiplinux=no
|
||||
setup_msvc_for_cygwin=yes
|
||||
|
||||
# this can take time too, so turn it off if we know we don't need to.
|
||||
rebake=yes
|
||||
|
||||
# If building is successful, delete temp files?
|
||||
delete_temps=no
|
||||
|
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ $skiplinux != yes ]; then
|
||||
# test if the target machine is online
|
||||
#if ping -q -c1 $WIN_HOST > /dev/null; then
|
||||
#echo " The $WIN_HOST machine is online, Windows build continuing..."
|
||||
#else
|
||||
#echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
|
||||
#exit 0
|
||||
#fi
|
||||
|
||||
echo "Copying source file and build script..."
|
||||
scp -r $STAGING_DIR/* $LINUX_HOST:$LINUX_BUILD
|
||||
|
||||
echo "Untarring dist on $LINUX_HOST..."
|
||||
wxtarball=$LINUX_BUILD/wxWidgets-$BUILD_VERSION.tar.gz
|
||||
cmd="tar xzvf"
|
||||
ssh $LINUX_HOST "cd $LINUX_BUILD && $cmd $wxtarball"
|
||||
|
||||
echo "Running build script on $LINUX_HOST..."
|
||||
wxdir=$LINUX_BUILD/wxWidgets
|
||||
cmd="./distrib/scripts/unix/maketarballs $wxdir $wxdir/deliver $BUILD_VERSION --wxgtk --wxmotif --wxx11 --wxbase --wxmgl --silent"
|
||||
ssh $LINUX_HOST "cd $wxdir && chmod +x distrib/scripts/unix/maketarballs && $cmd"
|
||||
|
||||
echo "Fetching the results..."
|
||||
scp "$LINUX_HOST:$wxdir/deliver/*.tar.gz " $DIST_DIR
|
||||
scp "$LINUX_HOST:$wxdir/deliver/*.tar.bz2 " $DIST_DIR
|
||||
|
||||
echo "Done!"
|
||||
fi
|
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ $skiplinux != yes ]; then
|
||||
# test if the target machine is online
|
||||
#if ping -q -c1 $WIN_HOST > /dev/null; then
|
||||
#echo " The $WIN_HOST machine is online, Windows build continuing..."
|
||||
#else
|
||||
#echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
|
||||
#exit 0
|
||||
#fi
|
||||
|
||||
echo "Copying source file and build script..."
|
||||
scp -r $STAGING_DIR/* $MAC_HOST:$MAC_BUILD
|
||||
|
||||
echo "Untarring dist on $MAC_HOST..."
|
||||
wxtarball=$MAC_BUILD/wxWidgets-$BUILD_VERSION.tar.gz
|
||||
cmd="tar xzvf"
|
||||
ssh $MAC_HOST "cd $MAC_BUILD && $cmd $wxtarball"
|
||||
|
||||
echo "Running build script on $MAC_HOST..."
|
||||
wxdir=$MAC_BUILD/wxWidgets
|
||||
cmd="./distrib/scripts/mac/tardist $wxdir $wxdir/deliver $BUILD_VERSION --wxmac --wxall --silent"
|
||||
ssh $MAC_HOST "cd $wxdir && chmod +x distrib/scripts/mac/tardist && $cmd"
|
||||
|
||||
echo "Fetching the results..."
|
||||
scp "$MAC_HOST:$wxdir/deliver/*.tar.gz " $DIST_DIR
|
||||
scp "$MAC_HOST:$wxdir/deliver/*.tar.bz2 " $DIST_DIR
|
||||
|
||||
echo "Done!"
|
||||
fi
|
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ $skipwin != yes ]; then
|
||||
# test if the target machine is online
|
||||
#if ping -q -c1 $WIN_HOST > /dev/null; then
|
||||
#echo " The $WIN_HOST machine is online, Windows build continuing..."
|
||||
#else
|
||||
#echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
|
||||
#exit 0
|
||||
#fi
|
||||
|
||||
echo "Copying source file and build script..."
|
||||
scp -r $STAGING_DIR/* $WIN_HOST:$WIN_BUILD
|
||||
|
||||
echo "Untarring dist on $WIN_HOST..."
|
||||
wxtarball=$WIN_BUILD/wxWidgets-$BUILD_VERSION.tar.gz
|
||||
cmd="tar xzvf"
|
||||
ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxtarball"
|
||||
|
||||
echo "Running build script on $WIN_HOST..."
|
||||
wxdir=$WIN_BUILD/wxWidgets
|
||||
cmd="./makesetup.sh --wxmsw --wxos2 --wxbase --wxall --no-inno"
|
||||
ssh $WIN_HOST "cd $wxdir/distrib/scripts/msw && chmod +x makesetup.sh && WXWIN=$wxdir VERSION=$BUILD_VERSION $cmd"
|
||||
|
||||
echo "Fetching the results..."
|
||||
scp "$WIN_HOST:$wxdir/deliver/*.zip " $DIST_DIR
|
||||
#ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"
|
||||
|
||||
echo "Done!"
|
||||
fi
|
@@ -1,67 +0,0 @@
|
||||
import sys, os, string, time, shutil
|
||||
#import ReleaseForge
|
||||
|
||||
from taskrunner import Job, Task, TaskRunner, Config
|
||||
|
||||
# read in the build settings...
|
||||
|
||||
CFGFILE = "./scripts/build-environ.cfg"
|
||||
config = Config()
|
||||
config.read(CFGFILE)
|
||||
|
||||
config.WXWIN = os.path.abspath("..")
|
||||
|
||||
class Job(Job):
|
||||
LOGBASE = "./tmp"
|
||||
|
||||
# ensure the staging area exists
|
||||
if not os.path.exists(config.STAGING_DIR):
|
||||
os.makedirs(config.STAGING_DIR)
|
||||
|
||||
# Figure out the wxPython version number, possibly adjusted for being a daily build
|
||||
if config.KIND == "daily":
|
||||
t = time.localtime()
|
||||
config.DAILY = time.strftime("%Y%m%d") # should it include the hour too? 2-digit year?
|
||||
file("DAILY_BUILD", "w").write(config.DAILY)
|
||||
# stamp the date on daily builds
|
||||
config.BUILD_VERSION=config.BUILD_VERSION + "-" + config.DAILY
|
||||
|
||||
# Let the user override build machine names, etc., etc. with their own
|
||||
# config file settings
|
||||
myconfig = None
|
||||
myconfig_file = os.path.expanduser("~/wxrelease-environ.cfg")
|
||||
if os.path.exists(myconfig_file):
|
||||
myconfig = Config()
|
||||
myconfig.read(myconfig_file)
|
||||
|
||||
# TODO: Set up different environs for daily, release, etc.
|
||||
# so that people can have different configs for different builds
|
||||
|
||||
# prepare the environment file
|
||||
config_env = config.asDict()
|
||||
config_env.update(os.environ)
|
||||
if myconfig:
|
||||
config_env.update(myconfig.asDict())
|
||||
|
||||
tasks = Task([ Job("pre-flight", "./scripts/pre-flight.sh", env=config_env),
|
||||
Job("win_build", "./scripts/build-windows.sh", env=config_env),
|
||||
Job("lin_build", "./scripts/build-linux.sh", env=config_env),
|
||||
Job("mac_build", "./scripts/build-mac.sh", env=config_env),
|
||||
])
|
||||
|
||||
print "Build getting started at: ", time.ctime()
|
||||
|
||||
|
||||
# Run the first task, which will create the docs and sources tarballs
|
||||
tr = TaskRunner(tasks)
|
||||
rc = tr.run()
|
||||
|
||||
if rc == 0 and config.delete_temps == "yes":
|
||||
shutil.rmtree(config.WX_TEMP_DIR)
|
||||
|
||||
# cleanup the DAILY_BUILD file
|
||||
if config.KIND == "daily":
|
||||
os.unlink("DAILY_BUILD")
|
||||
|
||||
print "Build finished at: ", time.ctime()
|
||||
sys.exit(0)
|
@@ -1,227 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Build a range of Unix demos for uploading to the wxWidgets web site.
|
||||
# Example:
|
||||
# builddemos.sh --wxmsw --verbose &> log
|
||||
|
||||
PROGNAME=$0
|
||||
WXSRCDIR=$WXWIN
|
||||
WXDESTDIR=$WXSRCDIR/deliver
|
||||
PLATFORM=linux
|
||||
|
||||
# Default binary subdirectory to copy sample executable from
|
||||
WINBINDIR=vc_msw
|
||||
|
||||
# Suffix to append to each demo tarball, e.g. SuSE92 for widgets-SuSE92
|
||||
SUFFIX=linux
|
||||
|
||||
# Determine if the binary name is .app or not
|
||||
determine_binary()
|
||||
{
|
||||
if [ "$PLATFORM" = "mac" ]; then
|
||||
BINARYNAME=$1.app
|
||||
else
|
||||
BINARYNAME=$1
|
||||
fi
|
||||
}
|
||||
|
||||
dobuilddemos_unix()
|
||||
{
|
||||
if [ ! -d "$WXSRCDIR" ] ; then
|
||||
echo Cannot find wxWidgets source directory. Use --wxdir option.
|
||||
exit
|
||||
fi
|
||||
if [ ! -d "$WXDESTDIR" ] ; then
|
||||
echo Cannot find wxWidgets destination directory. Use --deliver option.
|
||||
exit
|
||||
fi
|
||||
if [ ! -d samples ] ; then
|
||||
echo Cannot find samples directory. Invoke this script from the root of the build folder.
|
||||
exit
|
||||
fi
|
||||
if [ -d include ] ; then
|
||||
echo Do not invoke this from the source directory - invoke from the build directory.
|
||||
exit
|
||||
fi
|
||||
|
||||
echo wxWidgets build directory is `pwd`
|
||||
echo wxWidgets source directory is $WXSRCDIR
|
||||
echo wxWidgets deliver directory is $WXDESTDIR
|
||||
echo Suffix is $SUFFIX
|
||||
|
||||
rm -f $WXDESTDIR/*.tar.gz
|
||||
|
||||
# Dialogs
|
||||
|
||||
pushd samples/dialogs
|
||||
make
|
||||
if [ -f dialogs ] ; then
|
||||
determine_binary dialogs
|
||||
cp $WXSRCDIR/samples/dialogs/*.cpp $WXSRCDIR/samples/dialogs/*.h .
|
||||
tar cfz $WXDESTDIR/wxWidgets-DialogsDemo-$SUFFIX.tar.gz $BINARYNAME *.cpp *.h
|
||||
rm -f *.cpp *.h
|
||||
else
|
||||
echo "*** Warning: dialogs sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# HTML
|
||||
|
||||
pushd samples/html/test
|
||||
make
|
||||
if [ -f test ] ; then
|
||||
if [ "$PLATFORM" = "mac" ]; then
|
||||
# Don't rename app on Mac in case it messes up the bundle
|
||||
determine_binary test
|
||||
else
|
||||
mv test htmldemo
|
||||
determine_binary htmldemo
|
||||
fi
|
||||
cp $WXSRCDIR/samples/html/test/*.cpp $WXSRCDIR/samples/html/test/*.htm* $WXSRCDIR/samples/html/test/*.png $WXSRCDIR/samples/html/test/*.gif .
|
||||
tar cfz $WXDESTDIR/wxWidgets-HtmlDemo-$SUFFIX.tar.gz $BINARYNAME *.cpp *.png *.gif *.htm*
|
||||
rm -f *.cpp *.gif *.png *.htm*
|
||||
else
|
||||
echo "*** Warning: HTML sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# Widgets
|
||||
|
||||
pushd samples/widgets
|
||||
make
|
||||
if [ -f widgets ] ; then
|
||||
determine_binary widgets
|
||||
cp $WXSRCDIR/samples/widgets/*.cpp $WXSRCDIR/samples/widgets/*.h .
|
||||
tar cfz $WXDESTDIR/wxWidgets-WidgetsDemo-$SUFFIX.tar.gz $BINARYNAME *.cpp *.h
|
||||
rm -f *.cpp *.h
|
||||
else
|
||||
echo "*** Warning: widgets sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# Life
|
||||
|
||||
pushd demos/life
|
||||
make
|
||||
if [ -f life ] ; then
|
||||
determine_binary life
|
||||
cp $WXSRCDIR/demos/life/*.cpp $WXSRCDIR/demos/life/*.h $WXSRCDIR/demos/life/*.xpm $WXSRCDIR/demos/life/*.inc $WXSRCDIR/demos/life/*.lif .
|
||||
mkdir bitmaps
|
||||
cp $WXSRCDIR/demos/life/bitmaps/*.* bitmaps
|
||||
tar cfz $WXDESTDIR/wxWidgets-LifeDemo-$SUFFIX.tar.gz $BINARYNAME *.cpp *.h *.xpm *.inc *.lif bitmaps/*.*
|
||||
rm -f *.cpp *.h *.xpm *.inc *.lif
|
||||
rm -f -r bitmaps
|
||||
else
|
||||
echo "*** Warning: life demo did not build"
|
||||
fi
|
||||
popd
|
||||
}
|
||||
|
||||
dobuilddemos_windows()
|
||||
{
|
||||
if [ ! -d "$WXSRCDIR" ] ; then
|
||||
echo Cannot find wxWidgets source directory. Use --wxdir option.
|
||||
exit
|
||||
fi
|
||||
if [ ! -d "$WXDESTDIR" ] ; then
|
||||
echo Cannot find wxWidgets destination directory. Use --deliver option.
|
||||
exit
|
||||
fi
|
||||
if [ ! -d samples ] ; then
|
||||
echo Cannot find samples directory. Invoke this script from the root of the build folder.
|
||||
exit
|
||||
fi
|
||||
|
||||
echo wxWidgets build directory is `pwd`
|
||||
echo wxWidgets source directory is $WXSRCDIR
|
||||
echo wxWidgets deliver directory is $WXDESTDIR
|
||||
echo Suffix is $SUFFIX
|
||||
|
||||
rm -f $WXDESTDIR/*.zip
|
||||
|
||||
# Dialogs
|
||||
|
||||
pushd samples/dialogs
|
||||
if [ -f $WINBINDIR/dialogs.exe ] ; then
|
||||
cp $WINBINDIR/dialogs.exe .
|
||||
zip $WXDESTDIR/wxWidgets-DialogsDemo-$SUFFIX.zip dialogs.exe *.cpp *.h
|
||||
rm -f dialogs.exe
|
||||
else
|
||||
echo "*** Warning: dialogs sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# HTML
|
||||
|
||||
pushd samples/html/test
|
||||
if [ -f $WINBINDIR/test.exe ] ; then
|
||||
cp $WINBINDIR/test.exe htmldemo.exe
|
||||
zip $WXDESTDIR/wxWidgets-HtmlDemo-$SUFFIX.zip htmldemo.exe *.cpp *.png *.gif *.htm*
|
||||
rm -f htmldemo.exe
|
||||
else
|
||||
echo "*** Warning: HTML sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# Widgets
|
||||
|
||||
pushd samples/widgets
|
||||
if [ -f $WINBINDIR/widgets.exe ] ; then
|
||||
cp $WINBINDIR/widgets.exe .
|
||||
zip $WXDESTDIR/wxWidgets-WidgetsDemo-$SUFFIX.zip widgets.exe *.cpp *.h
|
||||
else
|
||||
echo "*** Warning: widgets sample did not build"
|
||||
fi
|
||||
popd
|
||||
|
||||
# Life
|
||||
|
||||
pushd demos/life
|
||||
if [ -f $WINBINDIR/life.exe ] ; then
|
||||
cp $WINBINDIR/life.exe .
|
||||
zip $WXDESTDIR/wxWidgets-LifeDemo-$SUFFIX.zip life.exe *.cpp *.h *.xpm *.inc *.lif bitmaps/*.*
|
||||
else
|
||||
echo "*** Warning: life demo did not build"
|
||||
fi
|
||||
popd
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $PROGNAME [ options ]" 1>&2
|
||||
echo Options:
|
||||
echo " --help Display this help message"
|
||||
echo " --suffix Append suffix to each tarball"
|
||||
echo " --wxdir wxWidgets source dir"
|
||||
echo " --deliver Tarball destination dir"
|
||||
echo " --mac Whether we're building on Mac"
|
||||
echo.
|
||||
echo Note that options only override settings in $SCRIPTDIR/setup.var.
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Process command line options.
|
||||
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
case "$1" in
|
||||
--suffix) SUFFIX=$2; shift;;
|
||||
--wxdir) WXSRCDIR=$2; WXDESTDIR=$WXSRCDIR/deliver; shift;;
|
||||
--deliver) WXDESTDIR=$2; shift;;
|
||||
--mac) PLATFORM=mac;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ "$OS" = "Windows_NT" ]; then
|
||||
dobuilddemos_windows
|
||||
else
|
||||
dobuilddemos_unix
|
||||
fi
|
||||
|
||||
|
||||
|
@@ -1,218 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import glob
|
||||
import optparse
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import string
|
||||
import sys
|
||||
import tempfile
|
||||
import types
|
||||
|
||||
|
||||
## CONSTANTS
|
||||
|
||||
scriptDir = os.path.join(sys.path[0])
|
||||
rootDir = os.path.abspath(os.path.join(scriptDir, "..", ".."))
|
||||
contribDir = os.path.join("contrib", "src")
|
||||
|
||||
dirsToCopy = ["art", "build", "debian", "demos", "distrib/mac", "docs", "include", "interface", "lib",
|
||||
"locale", "samples", "src", "tests", "utils"]
|
||||
|
||||
dirsToIgnore = [".svn", "CVS", ".git"]
|
||||
excludeExtensions = [".rej", ".orig", ".mine", ".tmp"]
|
||||
|
||||
option_dict = {
|
||||
"compression" : ("gzip", "Compression to use. Values are: gzip, bzip, zip, all (default: gzip)"),
|
||||
"docs" : ("html", "Doc formats to build. Comma separated. Values are: none, html (default: html)"),
|
||||
"name" : ("wxWidgets", "Name given to the tarball created (default: wxWidgets)"),
|
||||
"postfix" : ("", "String appended to the version to indicate a special release (default: none)"),
|
||||
"wxpython" : (False, "Produce wxPython source tarball (name defaults to wxPython-src)")
|
||||
}
|
||||
|
||||
mswProjectFiles = [ ".vcproj", ".sln", ".dsp", ".dsw", ".vc", ".bat"]
|
||||
nativeLineEndingFiles = [".cpp", ".h", ".c", ".txt"]
|
||||
|
||||
|
||||
|
||||
## PARSE OPTIONS
|
||||
|
||||
usage="""usage: %prog [options] <output directory>\n
|
||||
Create a wxWidgets archive and store it in <output directory>.
|
||||
The output directory must be an absolute, existing path.
|
||||
Type %prog --help for options.
|
||||
"""
|
||||
|
||||
parser = optparse.OptionParser(usage, version="%prog 1.0")
|
||||
|
||||
for opt in option_dict:
|
||||
default = option_dict[opt][0]
|
||||
|
||||
action = "store"
|
||||
if type(default) == types.BooleanType:
|
||||
action = "store_true"
|
||||
parser.add_option("--" + opt, default=default, action=action, dest=opt, help=option_dict[opt][1])
|
||||
|
||||
options, arguments = parser.parse_args()
|
||||
|
||||
if len(arguments) < 1 or not os.path.exists(arguments[0]) or not os.path.isabs(arguments[0]):
|
||||
parser.print_usage()
|
||||
sys.exit(1)
|
||||
|
||||
destDir = arguments[0]
|
||||
if not os.path.exists(destDir):
|
||||
os.makedirs(destDir)
|
||||
|
||||
wxVersion = None
|
||||
VERSION_FILE = os.path.join(rootDir, 'include/wx/version.h')
|
||||
|
||||
|
||||
## HELPER FUNCTIONS
|
||||
|
||||
def makeDOSLineEndings(dir, extensions):
|
||||
fileList = []
|
||||
for root, subFolders, files in os.walk(dir):
|
||||
for file in files:
|
||||
if os.path.splitext(file)[1] in extensions:
|
||||
os.system("unix2dos %s" % os.path.join(root, file))
|
||||
|
||||
def getVersion(includeSubrelease=False):
|
||||
"""Returns wxWidgets version as a tuple: (major,minor,release)."""
|
||||
|
||||
wxVersion = None
|
||||
major = None
|
||||
minor = None
|
||||
release = None
|
||||
subrelease = None
|
||||
if wxVersion == None:
|
||||
f = open(VERSION_FILE, 'rt')
|
||||
lines = f.readlines()
|
||||
f.close()
|
||||
major = minor = release = None
|
||||
for l in lines:
|
||||
if not l.startswith('#define'): continue
|
||||
splitline = l.strip().split()
|
||||
if splitline[0] != '#define': continue
|
||||
if len(splitline) < 3: continue
|
||||
name = splitline[1]
|
||||
value = splitline[2]
|
||||
if value == None: continue
|
||||
if name == 'wxMAJOR_VERSION': major = int(value)
|
||||
if name == 'wxMINOR_VERSION': minor = int(value)
|
||||
if name == 'wxRELEASE_NUMBER': release = int(value)
|
||||
if name == 'wxSUBRELEASE_NUMBER': subrelease = int(value)
|
||||
if major != None and minor != None and release != None:
|
||||
if not includeSubrelease or subrelease != None:
|
||||
break
|
||||
|
||||
if includeSubrelease:
|
||||
wxVersion = (major, minor, release, subrelease)
|
||||
else:
|
||||
wxVersion = (major, minor, release)
|
||||
return wxVersion
|
||||
|
||||
def allFilesRecursive(dir):
|
||||
fileList = []
|
||||
for root, subFolders, files in os.walk(dir):
|
||||
shouldCopy = True
|
||||
for ignoreDir in dirsToIgnore:
|
||||
if ignoreDir in root:
|
||||
shouldCopy = False
|
||||
|
||||
if shouldCopy:
|
||||
for file in files:
|
||||
path = os.path.join(root,file)
|
||||
for exclude in excludeExtensions:
|
||||
if not os.path.splitext(file)[1] in excludeExtensions:
|
||||
fileList.append(os.path.join(root,file))
|
||||
return fileList
|
||||
|
||||
|
||||
## MAKE THE RELEASE!
|
||||
|
||||
str_version = "%d.%d.%d" % getVersion()
|
||||
archive_name = options.name
|
||||
|
||||
if options.wxpython:
|
||||
dirsToCopy.append("wxPython")
|
||||
archive_name = "wxPython-src"
|
||||
str_version = "%d.%d.%d.%d" % getVersion(includeSubrelease=True)
|
||||
options.docs = "none"
|
||||
|
||||
if options.postfix != "":
|
||||
str_version += "-" + options.postfix
|
||||
|
||||
full_name = archive_name + "-" + str_version
|
||||
|
||||
copyDir = tempfile.mkdtemp()
|
||||
wxCopyDir = os.path.join(copyDir, full_name)
|
||||
|
||||
os.makedirs(wxCopyDir)
|
||||
|
||||
os.chdir(rootDir)
|
||||
fileList = []
|
||||
rootFiles = glob.glob("*")
|
||||
for afile in rootFiles:
|
||||
if os.path.isfile(os.path.abspath(afile)):
|
||||
fileList.append(afile)
|
||||
|
||||
for dir in dirsToCopy:
|
||||
print "Determining files to copy from %s..." % dir
|
||||
fileList.extend(allFilesRecursive(dir))
|
||||
|
||||
print "Copying files to the temporary folder %s..." % copyDir
|
||||
for afile in fileList:
|
||||
destFile = os.path.join(wxCopyDir, afile)
|
||||
dirName = os.path.dirname(destFile)
|
||||
if not os.path.exists(dirName):
|
||||
os.makedirs(dirName)
|
||||
shutil.copy(os.path.join(rootDir, afile), destFile)
|
||||
|
||||
# copy include/wx/msw/setup0.h -> include/wx/msw/setup.h
|
||||
mswSetup0 = os.path.join(wxCopyDir, "include","wx","msw","setup0.h")
|
||||
shutil.copy(mswSetup0, mswSetup0.replace("setup0.h", "setup.h")),
|
||||
|
||||
all = options.compression == "all"
|
||||
|
||||
# make sure they have the DOS line endings everywhere
|
||||
print "Setting MSW Project files to use DOS line endings..."
|
||||
makeDOSLineEndings(wxCopyDir, mswProjectFiles)
|
||||
|
||||
if all or options.compression == "gzip":
|
||||
print "Creating gzip archive..."
|
||||
os.chdir(copyDir)
|
||||
os.system("tar -czvf %s/%s.tar.gz %s" % (destDir, full_name, "*"))
|
||||
os.chdir(rootDir)
|
||||
|
||||
if all or options.compression == "bzip":
|
||||
print "Creating bzip archive..."
|
||||
os.chdir(copyDir)
|
||||
os.system("tar -cjvf %s/%s.tar.bz2 %s" % (destDir, full_name, "*"))
|
||||
os.chdir(rootDir)
|
||||
|
||||
if all or options.compression == "zip":
|
||||
os.chdir(copyDir)
|
||||
print "Setting DOS line endings on source and text files..."
|
||||
makeDOSLineEndings(copyDir, nativeLineEndingFiles)
|
||||
print "Creating zip archive..."
|
||||
os.system("zip -9 -r %s/%s.zip %s" % (destDir, full_name, "*"))
|
||||
os.chdir(rootDir)
|
||||
|
||||
shutil.rmtree(copyDir)
|
||||
|
||||
# build any docs packages:
|
||||
doc_formats = string.split(options.docs, ",")
|
||||
doxy_dir = "docs/doxygen"
|
||||
output_dir = doxy_dir + "/out"
|
||||
for format in doc_formats:
|
||||
if not format == "none":
|
||||
os.system("%s/regen.sh %s" % (doxy_dir, format))
|
||||
os.chdir(output_dir)
|
||||
docs_full_name = "%s-%s" % (full_name, format.upper())
|
||||
os.rename(format, docs_full_name)
|
||||
os.system("zip -9 -r %s/%s.zip %s" % (destDir, docs_full_name, "*"))
|
||||
|
||||
os.chdir(rootDir)
|
||||
if os.path.exists(output_dir):
|
||||
shutil.rmtree(output_dir)
|
@@ -1,297 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make a distribution of an application on MSW.
|
||||
# Example:
|
||||
# ../distrib/msw/makesetup.sh --wxmsw --verbose &> log
|
||||
|
||||
# If your zip accepts Cygwin-style paths, then
|
||||
# use cygpath, else substitute echo
|
||||
CYGPATHPROG=cygpath
|
||||
#CYGPATHPROG=echo
|
||||
|
||||
SPINMSW=0
|
||||
SPINOS2=0
|
||||
SPINDOCS=0
|
||||
SPINALL=0
|
||||
SPINWXALL=0
|
||||
SPINBASE=0
|
||||
GETMAKEFILES=0
|
||||
VERBOSE=0
|
||||
ZIPFLAGS=
|
||||
|
||||
PROGNAME=$0
|
||||
|
||||
. $SCRIPTDIR/utils.inc
|
||||
|
||||
MANIFESTDIR=$WXWIN/distrib/scripts/manifests
|
||||
WEBFILES=$WXWIN/../wxWebSite
|
||||
if [ ! "$CYGPATH" = "" ]; then
|
||||
WEBFILES=`$CYGPATH "$WEBFILES"`
|
||||
fi
|
||||
|
||||
# Set this to the required version
|
||||
if [ "$VERSION" = "" ]; then
|
||||
VERSION=2.9.0
|
||||
fi
|
||||
|
||||
getfilelist(){
|
||||
port=$1
|
||||
outfile=$2
|
||||
|
||||
filelist="base.rsp"
|
||||
utilsfiles="tex2rtf.rsp utils.rsp utilmake.rsp"
|
||||
commonfiles="generic.rsp generic_samples.rsp stc.rsp jpeg.rsp tiff.rsp xml.rsp makefile.rsp $utilsfiles"
|
||||
|
||||
if [ ! $port = "base" ]; then
|
||||
filelist="$filelist $commonfiles"
|
||||
fi
|
||||
|
||||
if [ $port = "msw" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist msw.rsp univ.rsp vc.rsp wince.rsp dmc.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "os2" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist os2.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "x11" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist univ.rsp x11.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "mgl" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist univ.rsp mgl.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "dfb" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist univ.rsp dfb.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "gtk" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist gtk.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "motif" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist motif.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "mac" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist mac.rsp cocoa.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "all" ]; then
|
||||
filelist="$filelist gtk1.rsp palmos.rsp docsrc.rsp"
|
||||
fi
|
||||
|
||||
tempfile="/tmp/wx$port.files.in"
|
||||
rm -f $outfile
|
||||
|
||||
olddir=$PWD
|
||||
cd $MANIFESTDIR
|
||||
|
||||
cat $filelist > $outfile
|
||||
|
||||
cd $olddir
|
||||
}
|
||||
|
||||
copyfilelist(){
|
||||
FILELIST=$1
|
||||
APPDIR=$2
|
||||
DESTDIR=$3
|
||||
|
||||
for line in `cat $FILELIST` ; do
|
||||
if [ "$line" != "" ]; then
|
||||
subdir=`dirname $line`
|
||||
mkdir -p $DESTDIR/$subdir
|
||||
cp -rf $APPDIR/$line $DESTDIR/$subdir
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
doinit()
|
||||
{
|
||||
if [ "$VERBOSE" != "1" ]; then
|
||||
ZIPFLAGS=-q
|
||||
fi
|
||||
}
|
||||
|
||||
dospinport(){
|
||||
port=$1
|
||||
|
||||
case "$port" in
|
||||
all)
|
||||
portname="Widgets";;
|
||||
base)
|
||||
portname="Base";;
|
||||
motif)
|
||||
portname="Motif";;
|
||||
mac)
|
||||
portname="Mac";;
|
||||
*)
|
||||
# for all the others (DFB, GTK, MGL, DFB, MSW, X11) just use the
|
||||
# upper-case version as they are abbreviations
|
||||
portname=`echo $port | tr '[a-z]' '[A-Z]'`;;
|
||||
esac
|
||||
|
||||
echo "Creating wx$portname distribution..."
|
||||
|
||||
cd $APPDIR
|
||||
portfiles="/tmp/wx$port.files"
|
||||
getfilelist "$port" "$portfiles"
|
||||
|
||||
TMPFILESDIR=/tmp/wx$port/wx$portname-$VERSION
|
||||
rm -rf $TMPFILESDIR
|
||||
mkdir -p $TMPFILESDIR
|
||||
|
||||
copyfilelist $portfiles $APPDIR $TMPFILESDIR
|
||||
|
||||
if [ $port = "msw" ]; then
|
||||
FILES=`find . -type f \( -path '*/.svn/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
|
||||
echo "$FILES" > /tmp/textfiles
|
||||
fi
|
||||
|
||||
pushd /tmp/wx$port
|
||||
# use DOS line endings for text files for MSW archives.
|
||||
if [ $port = "msw" ]; then
|
||||
pushd /tmp/wx$port/wx$portname-$VERSION
|
||||
for file in `cat /tmp/textfiles`; do
|
||||
unix2dos $file
|
||||
done
|
||||
popd
|
||||
fi
|
||||
echo "Creating wx$portname-$VERSION.zip..."
|
||||
zip $ZIPFLAGS -r -9 $DIST_DIR/wx$portname-$VERSION.zip .
|
||||
echo "Creating wx$portname-$VERSION.tar.gz..."
|
||||
tar czf $DIST_DIR/wx$portname-$VERSION.tar.gz wx$portname-$VERSION
|
||||
echo "Creating wx$portname-$VERSION.tar.bz2..."
|
||||
tar ch wx$portname-$VERSION | bzip2 -f9 > $DIST_DIR//wx$portname-$VERSION.tar.bz2
|
||||
popd
|
||||
rm -rf /tmp/wx$port
|
||||
rm ${portfiles}
|
||||
rm /tmp/textfiles
|
||||
}
|
||||
|
||||
prepareforrelease()
|
||||
{
|
||||
pushd $APPDIR
|
||||
echo Copying FAQ and other files from $WEBFILES
|
||||
cp $WEBFILES/site/faq*.htm $APPDIR/docs/html
|
||||
cp $WEBFILES/site/platform.htm $APPDIR/docs/html
|
||||
cp $WEBFILES/site/i18n.htm $APPDIR/docs/html
|
||||
|
||||
echo Copying readme files...
|
||||
cp $APPDIR/docs/msw/readme.txt README-MSW.txt
|
||||
cp $APPDIR/docs/msw/install.txt INSTALL-MSW.txt
|
||||
cp $APPDIR/docs/os2/install.txt INSTALL-OS2.txt
|
||||
cp $APPDIR/docs/licence.txt LICENCE.txt
|
||||
cp $APPDIR/docs/lgpl.txt COPYING.LIB
|
||||
cp $APPDIR/docs/changes.txt CHANGES.txt
|
||||
cp $APPDIR/docs/readme.txt README.txt
|
||||
|
||||
cp $APPDIR/docs/mgl/readme.txt $APPDIR/readme-mgl.txt
|
||||
cp $APPDIR/docs/mgl/install.txt $APPDIR/install-mgl.txt
|
||||
|
||||
cp $APPDIR/docs/dfb/install.txt $APPDIR/install-dfb.txt
|
||||
|
||||
cp $APPDIR/docs/x11/readme.txt $APPDIR/readme-x11.txt
|
||||
cp $APPDIR/docs/x11/install.txt $APPDIR/install-x11.txt
|
||||
|
||||
cp $APPDIR/docs/motif/readme.txt $APPDIR/readme-motif.txt
|
||||
cp $APPDIR/docs/motif/install.txt $APPDIR/install-motif.txt
|
||||
|
||||
cp $APPDIR/docs/gtk/readme.txt $APPDIR/readme-gtk.txt
|
||||
cp $APPDIR/docs/gtk/install.txt $APPDIR/install-gtk.txt
|
||||
|
||||
cp $APPDIR/docs/mac/readme.txt $APPDIR/readme-mac.txt
|
||||
cp $APPDIR/docs/mac/install.txt $APPDIR/install-mac.txt
|
||||
|
||||
cp $APPDIR/docs/cocoa/readme.txt $APPDIR/readme-cocoa.txt
|
||||
cp $APPDIR/docs/cocoa/install.txt $APPDIR/install-cocoa.txt
|
||||
|
||||
# Now delete a few files that are unnecessary
|
||||
rm -f BuildSVN.txt descrip.mms
|
||||
rm -f setup.h_vms
|
||||
rm -f docs/html/wxbook.htm docs/html/roadmap.htm
|
||||
rm -f src/mingegcs.bat
|
||||
rm -f src/gtk/descrip.mms src/motif/descrip.mms
|
||||
|
||||
# Copy setup0.h files to setup.h
|
||||
# OS/2 always built with configure now
|
||||
# cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h
|
||||
cp $APPDIR/include/wx/msw/setup0.h $APPDIR/include/wx/msw/setup.h
|
||||
cp $APPDIR/include/wx/univ/setup0.h $APPDIR/include/wx/univ/setup.h
|
||||
|
||||
# Make MSW project files always have DOS line endings.
|
||||
unix2dos `cat $MANIFESTDIR/vc.rsp`
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $PROGNAME [ options ]" 1>&2
|
||||
echo Options:
|
||||
echo " --help Display this help message"
|
||||
echo " --wxmac Build wxMac distribution"
|
||||
echo " --wxmsw Build wxMSW distribution"
|
||||
echo " --wxos2 Build wxOS2 distribution"
|
||||
echo " --wxall Build wxAll zip distribution"
|
||||
echo " --wxbase Build wxBase zip distribution"
|
||||
echo " --all Build all distributions (the default)"
|
||||
echo " --verbose Verbose zip operation"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Process command line options.
|
||||
|
||||
for i in "$@"; do
|
||||
|
||||
case "$i" in
|
||||
--wxmac) SPINMAC=1; SPINALL=0 ;;
|
||||
--wxmsw) SPINMSW=1; SPINALL=0 ;;
|
||||
--wxos2) SPINOS2=1; SPINALL=0 ;;
|
||||
--wxall) SPINWXALL=1; SPINALL=0 ;;
|
||||
--wxbase) SPINBASE=1; SPINALL=0 ;;
|
||||
--getmakefiles) GETMAKEFILES=1; SPINALL=0 ;;
|
||||
--docs) SPINDOCS=1; SPINALL=0 ;;
|
||||
--all) SPINALL=1 ;;
|
||||
--verbose) VERBOSE=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
doinit
|
||||
prepareforrelease
|
||||
|
||||
# Do OS/2 spin
|
||||
if [ "$SPINOS2" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "os2"
|
||||
fi
|
||||
|
||||
# Do MSW spin
|
||||
if [ "$SPINMSW" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "msw"
|
||||
fi
|
||||
|
||||
# Do wxBase spin
|
||||
if [ "$SPINBASE" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "base"
|
||||
fi
|
||||
|
||||
# Do wxAll spin
|
||||
if [ "$SPINWXALL" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "all"
|
||||
fi
|
||||
|
||||
if [ "$SPINALL" = "1" ]; then
|
||||
dospinport "mgl"
|
||||
dospinport "dfb"
|
||||
dospinport "gtk"
|
||||
dospinport "x11"
|
||||
dospinport "motif"
|
||||
dospinport "mac"
|
||||
fi
|
||||
|
@@ -1,81 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Untitled Document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><font size="5"><b>Setting up your environment to automatically generate wxWidgets releases.</b></font></p>
|
||||
<p><b><font size="4">Contents</font></b></p>
|
||||
<ul>
|
||||
<li><a href="#overview">Overview</a></li>
|
||||
<li><a href="#checklist">Software checklist</a></li>
|
||||
<li><a href="#sshd">Setting up sshd</a></li>
|
||||
<li><a href="#configuring">Configuring your environment </a></li>
|
||||
<li><a href="#running">Running the automated release system </a></li>
|
||||
</ul>
|
||||
<p><b><font size="4">Overview<a name="overview"></a></font></b></p>
|
||||
<p>The wxWidgets automated release system works by preparing a tarball of the CVS tree with the specified tag, then pushing that tag to the Windows, Linux and Mac build machines to perform the various steps required to create the tarballs, generate the docs, and perform test builds. In order for it to be able to do this, the release process needs to be broken up into two components:</p>
|
||||
<ul>
|
||||
<li>The build management machine, which we'll refer to as the MANAGER, that performs pre- and post-flight steps, monitors the builds for errors, keeps a running log of the various processes on the build machines, and halts the release process in case a fatal error has occurred.</li>
|
||||
<li>The build machines, which we'll call the BUILDERS, are accessed via sshd and perform the actual build steps. You will need 3 BUILDER machines - one Win box, one Linux box, and one Mac OS X box. </li>
|
||||
</ul>
|
||||
<p>Note that for the purposes of this document, I will refer to the root wxWidgets source tree directory using the name wxSrc. So the readme file, for example, would be located at wxSrc/readme.txt. </p>
|
||||
<p><b><font size="4">Software checklist </font></b><a name="checklist"></a></p>
|
||||
<p>On all platforms, you will need to have the following programs installed. Unless otherwise specified, the package is available from the OS vendor (or Cygwin on Windows).</p>
|
||||
<p>On all machines: </p>
|
||||
<ul>
|
||||
<li>OpenSSH, for ssh and sshd</li>
|
||||
<li>make</li>
|
||||
<li>bash shell </li>
|
||||
<li>Cygwin (Windows) </li>
|
||||
<li>Apple Developer Tools (OS X) </li>
|
||||
</ul>
|
||||
<p>On the MANAGER box: </p>
|
||||
<ul>
|
||||
<li>ReleaseForge (for uploading, announcing releases) </li>
|
||||
<li>Bakefile (if re-baking) </li>
|
||||
<li>scp/sftp</li>
|
||||
<li>Python 2.4 (should work with Python 2.3 too, but I've only tested against 2.4) </li>
|
||||
<li>TaskRunner (located in the wxPython/distrib/all dir) </li>
|
||||
<li>Cygwin if Win (MANAGER not yet tested on Windows box) </li>
|
||||
</ul>
|
||||
<p>On BUILDERS:</p>
|
||||
<ul>
|
||||
<li>Tools necessary to build using the various compilers we support. </li>
|
||||
<li>Mac OS X needs to have unix2dos installed. You can get it from http://osxgnu.org.</li>
|
||||
|
||||
</ul>
|
||||
<p>On the doc building machine (Win only right now...):</p>
|
||||
<ul>
|
||||
<li>nmake</li>
|
||||
<li>HTML Help Workshop</li>
|
||||
</ul>
|
||||
<p><b>NOTE: </b>There is a script wxSrc/distrib/scripts/build-environ.sh which will install Bakefile, TaskRunner and ReleaseForge for you if you do not have them installed. Note you currently need to use this installer for ReleaseForge as it removes a bug with the command line mode upon install. </p>
|
||||
<p><b>NOTE 2: </b>You will also need to create C:\wx2dev and C:\transit directories on Win, and ~/wx2dev on Unix and Mac. In the future these dirs will probably be auto-created. </p>
|
||||
<p>Once you have the required software installed, you will need to setup sshd on the 3 BUILDER boxes so that the MANAGER box can send files to them and send them commands. ssh is used to communicate between the MANAGER and BUILDERS. </p>
|
||||
<p><b><font size="4">Setting up sshd </font></b><a name="sshd"></a></p>
|
||||
<p><b>Windows</b></p>
|
||||
<p>You will need to setup sshd to run as a Windows XP process, which isn't too complicated but unfortunately takes a few more steps than setting *nix sshd. Instructions on how to do this can be found here: </p>
|
||||
<p><a href="http://lee.org/reading/computers/sshd/cygwin-sshd.html">http://lee.org/reading/computers/sshd/cygwin-sshd.html</a></p>
|
||||
<p><b>Mac</b> </p>
|
||||
<p>The ability to run sshd is built into OS X (at least, on 10.3+). To turn it on, go to Apple menu->System Preferences. Then select "Sharing" and check the "Remote login" box. </p>
|
||||
<p><b>Linux</b></p>
|
||||
<p>I used Fedora Core 4 for my Linux box, and there sshd came with the system, and I simply needed to enable it from the Desktop->System Settings->Server Settings->Services dialog. </p>
|
||||
<p><b>Enabling remote login via ssh</b></p>
|
||||
<p>Once you've setup sshd on the BUILDERS, you will also need to create an ssh key on the MASTER build machine and distribute it to the BUILDERS. First, run ssh-keygen to create your public/private key on the MASTER build machine:</p>
|
||||
<p>master@: ssh-keygen -t rsa</p>
|
||||
<p>It will ask you if you want to use a passphrase. Usually, it is recommended that you create a passphrase, but if you don't want to enter a password when logging in (which you'll want for completely automated builds) and are behind a private network, just hit RETURN. This will create two files: ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub. Then, the next step is to distribute the public key to the BUILDERS. To do this, run the following command: </p>
|
||||
<p>scp ~/.ssh/id_rsa.pub <BUILDER_ALIAS_OR_IP>:~/.ssh/authorized_keys2</p>
|
||||
<p>Once you copy the file over, you will be able to perform ssh and scp commands on the BUILDER without logging in. Note that if you are concerned about security, another way to handle the login is to create a passphrase and then use a tool such as ssh-agent to automatically log you in. </p>
|
||||
<p><b><font size="4">Configuring your environment </font></b><a name="configuring"></a></p>
|
||||
<p>The only thing left to do before running the automated release system is to configure it to match your environment. There are two ways of doing this. First, you can modify the wxSrc/distrib/scripts/build-environ.cfg file and specify your own values. Second, you can create a ~/wxrelease-environ.cfg file and store your values there. (They will override the values loaded from build-environ.cfg.) Although I hope to further document the options later, necessary options and some documentation on them can be found by reading the wxSrc/distrib/scripts/build-environ.cfg file. </p>
|
||||
<p><b><font size="4">Running the automated release system</font></b><a name="running"></a></p>
|
||||
<p>You should now be ready to run the automated release process. To start it, do the following (assumes you are using a terminal in the root wx directory):</p>
|
||||
<p>cd distrib<br>
|
||||
python2.4 ./scripts/build_controller.py</p>
|
||||
<p>Then, watch the build process move forward and do it's magic. If all goes well, the results should be placed in wxSrc/deliver on the MASTER build machine. </p>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
</body>
|
||||
</html>
|
@@ -1,57 +0,0 @@
|
||||
|
||||
if [ "$INSTALLDIR" = "" ]; then
|
||||
INSTALLDIR=$BUILDDIR/install
|
||||
mkdir -p $INSTALLDIR
|
||||
fi
|
||||
|
||||
# wxPython needs this option so that it can build extensions that store the
|
||||
# right install_name (e.g. /usr/local/lib) even if the files aren't actually
|
||||
# in /usr/local/lib at the time they're being linked against
|
||||
# we do this by setting the "official" prefix at build time, and later
|
||||
if [ "$BUILDPREFIX" = "" ]; then
|
||||
BUILDPREFIX=$INSTALLDIR
|
||||
fi
|
||||
|
||||
|
||||
DEBUG_OPTS="--enable-debug"
|
||||
|
||||
UNICODE_OPTS="--enable-unicode"
|
||||
|
||||
ANSI_OPTS="--enable-ansi"
|
||||
|
||||
WXPYTHON_OPTS="--enable-monolithic \
|
||||
--with-opengl \
|
||||
--enable-sound \
|
||||
--enable-mediactrl \
|
||||
--enable-display \
|
||||
--enable-geometry \
|
||||
--enable-debug_flag \
|
||||
--enable-optimise \
|
||||
--disable-debugreport "
|
||||
|
||||
|
||||
do_build(){
|
||||
OPTS=""
|
||||
if [ "$WXPYTHON" == "1" ]; then
|
||||
OPTS="$WXPYTHON_OPTS"
|
||||
fi
|
||||
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
OPTS="$OPTS $DEBUG_OPTS "
|
||||
fi
|
||||
|
||||
if [ "$UNICODE" == "1" ]; then
|
||||
OPTS="$OPTS $UNICODE_OPTS "
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ "$STATIC" == "1" ]; then
|
||||
OPTS="$OPTS --enable-static"
|
||||
fi
|
||||
|
||||
OPTS="$OPTS $OTHER_OPTS"
|
||||
|
||||
$WXROOT/configure --prefix=$BUILDPREFIX $OPTS
|
||||
make
|
||||
}
|
@@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
###############################################################################
|
||||
# Name: is_text.sh
|
||||
# Purpose: returns 0 if the file in cvs tree is text, 1 if binary
|
||||
# Version: $Id$
|
||||
# Author: VZ
|
||||
# Created: 2006-07-19
|
||||
# Copyright: (c) Vadim Zeitlin 2006 <vadim@wxwindows.org>
|
||||
###############################################################################
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
echo "Usage: $0 <file>" >&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
# don't do configure; config.sub; config.guess
|
||||
if [ `basename $1` = "configure" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
if [ `basename $1` = "config.sub" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
if [ `basename $1` = "config.guess" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ignore makefile.wat etc
|
||||
if [ `basename $1` = "makefile.wat" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
if [ `basename $1` = "config.wat" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if svn proplist $1 | grep -q "eol-style" ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#either not a svn file or not one with eol-style
|
||||
exit 3
|
@@ -1,34 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
HOMEDIR="$PWD"
|
||||
|
||||
BUILDDIR_ROOT="$PWD/builds"
|
||||
|
||||
export WXROOT="$HOMEDIR/../../.."
|
||||
|
||||
do_builds {
|
||||
PORT=$1
|
||||
BUILDDIR=$BUILDDIR_ROOT/$PORT
|
||||
mkdir -p $BUILDDIR
|
||||
pushd $BUILDDIR
|
||||
|
||||
# TODO: add the lipo universal builds to this
|
||||
export WXROOT="$HOMEDIR/../../.."
|
||||
export INSTALLDIR="$BUILDDIR/install-ansi"
|
||||
$HOMEDIR/macbuild $PORT
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-unicode"
|
||||
$HOMEDIR/macbuild $PORT unicode
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-static-ansi"
|
||||
$HOMEDIR/macbuild $PORT static
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-static-unicode"
|
||||
$HOMEDIR/macbuild $PORT static unicode
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
do_builds "carbon"
|
||||
|
||||
do_builds "cocoa"
|
@@ -1,56 +0,0 @@
|
||||
import os, sys, shutil
|
||||
|
||||
outputdir = "."
|
||||
ppc_basedir = "."
|
||||
intel_basedir = "."
|
||||
|
||||
def lipo_walker(data, dirname, names):
|
||||
global outputdir
|
||||
global ppc_basedir
|
||||
global intel_basedir
|
||||
|
||||
for name in names:
|
||||
fullpath = os.path.join(dirname, name)
|
||||
intel_fullpath = fullpath.replace(ppc_basedir, intel_basedir)
|
||||
outputfile = fullpath.replace(ppc_basedir, outputdir)
|
||||
outdir = os.path.dirname(outputfile)
|
||||
if not os.path.exists(outdir):
|
||||
os.makedirs(outdir)
|
||||
|
||||
# this call will only succeed if the file is a binary that can
|
||||
# be lipoed.
|
||||
if not os.path.islink(fullpath) and os.system("lipo -info %s" % fullpath) == 0:
|
||||
if os.system("lipo -output %s -create %s %s" % (outputfile, fullpath, intel_fullpath)) == 0:
|
||||
print "Successfully created %s" % outputfile
|
||||
else:
|
||||
if os.path.islink(fullpath):
|
||||
if os.path.exists(outputfile):
|
||||
os.remove(outputfile)
|
||||
linkto = os.readlink(fullpath)
|
||||
|
||||
if linkto.startswith(ppc_basedir):
|
||||
linkto = linkto.replace(ppc_basedir, outputdir)
|
||||
elif linkto.startswith(intel_basedir):
|
||||
linkto = linkto.replace(intel_basedir, outputdir)
|
||||
|
||||
os.symlink(linkto, outputfile)
|
||||
|
||||
elif not os.path.isdir(fullpath):
|
||||
shutil.copy(fullpath, outputfile)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) < 4:
|
||||
print "Usage: %s <ppcdir> <inteldir> <outputdir>"
|
||||
print ""
|
||||
print "Takes a directory containing a Mac ppc application, and a directory"
|
||||
print "containing a Mac intel application, and merges them into a universal"
|
||||
print "binary."
|
||||
sys.exit(1)
|
||||
|
||||
ppc_basedir = sys.argv[1]
|
||||
intel_basedir = sys.argv[2]
|
||||
outputdir = sys.argv[3]
|
||||
|
||||
os.path.walk(ppc_basedir, lipo_walker, None)
|
||||
|
@@ -1,28 +0,0 @@
|
||||
|
||||
UNIVERSAL=0
|
||||
WXPYTHON=0
|
||||
UNICODE=0
|
||||
DEBUG=0
|
||||
CARBON=1
|
||||
PORT="mac"
|
||||
STATIC=0
|
||||
|
||||
# Process command line options.
|
||||
for i in "$@"; do
|
||||
case "$i" in
|
||||
unicode) UNICODE=1 ;;
|
||||
ansi) UNICODE=0 ;;
|
||||
debug) DEBUG=1 ;;
|
||||
wxpython) WXPYTHON=1 ;;
|
||||
universal) UNIVERSAL=1 ;;
|
||||
carbon) PORT="mac" ;;
|
||||
cocoa) PORT="cocoa" ;;
|
||||
static) STATIC=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
OTHER_OPTS="--with-$PORT "
|
@@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# you need to change this if you run from outside this dir.
|
||||
if [ "$WXROOT" = "" ]; then
|
||||
scriptDir="$(cd $(dirname $0);pwd)"
|
||||
WXROOT=$scriptDir/../../..
|
||||
fi
|
||||
|
||||
. $WXROOT/distrib/scripts/includes/configure_build.inc
|
||||
|
||||
. $WXROOT/distrib/scripts/mac/mac_options.inc
|
||||
|
||||
# most of this script is shared with other Mac-based and other
|
||||
# configure-based build scripts, which is why this looks a little empty.
|
||||
|
||||
if [ "$UNIVERSAL" = "1" ]; then
|
||||
OTHER_OPTS="$OTHER_OPTS --enable-universal_binary --with-libjpeg=builtin --with-libpng=builtin"
|
||||
fi
|
||||
|
||||
mkdir -p builds
|
||||
cd builds
|
||||
do_build
|
||||
|
||||
make prefix=$INSTALLDIR install
|
||||
|
||||
if [ "$WXPYTHON" == "1" ]; then
|
||||
make -C contrib/src/gizmos prefix=$INSTALLDIR install
|
||||
make -C contrib/src/stc prefix=$INSTALLDIR install
|
||||
fi
|
||||
|
||||
cd $OLDDIR
|
@@ -1,59 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO: Get these from somewhere...
|
||||
MAJOR_VERSION=2
|
||||
MINOR_VERSION=9
|
||||
REVISION=0
|
||||
BRANCH="$MAJOR_VERSION.$MINOR_VERSION"
|
||||
RELEASE="$BRANCH.$REVISION"
|
||||
|
||||
if [ "$WXROOT" = "" ]; then
|
||||
scriptDir="$(cd $(dirname $0);pwd)"
|
||||
WXROOT=$scriptDir/../../..
|
||||
fi
|
||||
|
||||
export INSTALLDIR=/Library/Frameworks/wx.Framework/Versions/$BRANCH
|
||||
rm -rf $INSTALLDIR
|
||||
|
||||
mkdir -p builds
|
||||
cd builds
|
||||
$scriptDir/macbuild universal unicode wxpython
|
||||
|
||||
cd $INSTALLDIR
|
||||
|
||||
ln -s bin Resources
|
||||
ln -s lib/libwx_macud-$RELEASE.dylib ./wx
|
||||
ln -s include Headers
|
||||
cd include
|
||||
|
||||
ln -s wx-$BRANCH/wx wx
|
||||
touch wx.h
|
||||
|
||||
echo "#ifndef __WX_FRAMEWORK_HEADER__" 1>> wx.h
|
||||
echo "#define __WX_FRAMEWORK_HEADER__" 1>> wx.h
|
||||
echo "" 1>> wx.h
|
||||
echo "" 1>> wx.h
|
||||
|
||||
for header in `ls wx/*.h`
|
||||
do
|
||||
echo "#include <$header>" 1>> wx.h
|
||||
done
|
||||
|
||||
echo "" 1>> wx.h
|
||||
echo "" 1>> wx.h
|
||||
echo "#endif // __WX_FRAMEWORK_HEADER__" 1>> wx.h
|
||||
|
||||
cd ..
|
||||
|
||||
# keep the gl library there since we link against it.
|
||||
#rm lib/libwx_macud-$MAJOR_VERSION.$MINOR_VERSION.*
|
||||
|
||||
#mkdir Resources
|
||||
#cp bin/wx-config Resources/wx-config
|
||||
#cp bin/wxrc Resources/wxrc
|
||||
#rm -rf bin
|
||||
#rm -rf lib/wx/config
|
||||
#mv share Resources/share
|
||||
|
||||
cd $INSTALLDIR/..
|
||||
ln -s $BRANCH Current
|
@@ -1,54 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# you need to change this if you run from outside this dir.
|
||||
if [ "$WXROOT" = "" ]; then
|
||||
scriptDir="$(cd $(dirname $0);pwd)"
|
||||
WXROOT=$scriptDir/../../..
|
||||
fi
|
||||
|
||||
. $WXROOT/distrib/scripts/includes/configure_build.inc
|
||||
|
||||
. $WXROOT/distrib/scripts/mac/mac_options.inc
|
||||
|
||||
OTHER_OPTS="$OTHER_OPTS --disable-precomp-headers"
|
||||
|
||||
do_lipo_build(){
|
||||
DIR="bld-$1"
|
||||
|
||||
if [ "$1" = "ppc" ]; then
|
||||
export CXX="g++-3.3 -arch ppc -DMAC_OS_X_VERSION_MAX_ALLOWED=1040"
|
||||
export CC="gcc-3.3 -arch ppc -DMAC_OS_X_VERSION_MAX_ALLOWED=1040"
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.3
|
||||
else
|
||||
export CXX="g++-4.0 -arch i386"
|
||||
export CC="gcc-4.0 -arch i386"
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.4
|
||||
fi
|
||||
|
||||
mkdir -p $DIR
|
||||
cd $DIR
|
||||
do_build
|
||||
|
||||
mkdir -p $INSTALLDIR/$1
|
||||
|
||||
make prefix=$INSTALLDIR/$1 install
|
||||
|
||||
if [ "$WXPYTHON" == "1" ]; then
|
||||
make -C contrib/src/gizmos prefix=$INSTALLDIR/$1 install
|
||||
make -C contrib/src/stc prefix=$INSTALLDIR/$1 install
|
||||
fi
|
||||
|
||||
cd ..
|
||||
}
|
||||
|
||||
do_lipo_build "ppc"
|
||||
do_lipo_build "i386"
|
||||
|
||||
python $WXROOT/distrib/scripts/mac/lipo-dir.py $INSTALLDIR/ppc $INSTALLDIR/i386 $INSTALLDIR
|
||||
|
||||
rm -rf $INSTALLDIR/ppc $INSTALLDIR/i386
|
||||
python -c "import os; fname = os.path.abspath('$INSTALLDIR/bin/wx-config'); data = open(fname).read(); data = data.replace('ppc/', ''); open(fname, 'w').write(data)"
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
exit $?
|
||||
fi
|
@@ -1,290 +0,0 @@
|
||||
#!/bin/sh
|
||||
# tardist: make up a tar.gz distribution of wxWidgets 2
|
||||
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
|
||||
|
||||
# We can't use e.g. this:
|
||||
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
|
||||
# because there's not enough space on the command line, plus we need to ignore the
|
||||
# blank lines.
|
||||
|
||||
PROGNAME=$0
|
||||
WXSRC=$1
|
||||
WXDEST=$2
|
||||
WXVER=$3
|
||||
|
||||
# for docopyreadmefiles and docopysetup_h
|
||||
SCRIPTDIR=$WXSRC/distrib/scripts
|
||||
. $SCRIPTDIR/utils.inc
|
||||
|
||||
TAR=tar
|
||||
ARCH=`arch`
|
||||
if [ "$ARCH" = "ppc" ]; then
|
||||
TAR=gnutar
|
||||
fi
|
||||
|
||||
expandlines()
|
||||
{
|
||||
toexpand=$1
|
||||
outputfile=$2
|
||||
|
||||
rm -f $outputfile
|
||||
touch $outputfile
|
||||
for line in `cat $toexpand` ; do
|
||||
if [ "$line" != "" ]; then
|
||||
ls $line >> $outputfile
|
||||
fi
|
||||
uniq < $outputfile > /tmp/uniqtemp.txt
|
||||
mv /tmp/uniqtemp.txt $outputfile
|
||||
done
|
||||
}
|
||||
|
||||
doinit()
|
||||
{
|
||||
cd $WXSRC
|
||||
echo Removing backup files...
|
||||
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
|
||||
|
||||
rm -f $WXDEST/wx*-${WXVER}*.tar.gz
|
||||
# Copy setup files
|
||||
cp $WXSRC/include/wx/msw/setup0.h $WXSRC/include/wx/msw/setup.h
|
||||
cp $WXSRC/include/wx/univ/setup0.h $WXSRC/include/wx/univ/setup.h
|
||||
|
||||
# Copy readme and other files
|
||||
docopydocs $WXSRC $WXDEST
|
||||
|
||||
# Make .mo files
|
||||
cd $WXSRC/locale
|
||||
make allmo
|
||||
}
|
||||
|
||||
dospinwxmac()
|
||||
{
|
||||
echo Tarring wxMac...
|
||||
### wxMac
|
||||
cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/setup.h
|
||||
cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/mac/setup.h
|
||||
cd $WXSRC
|
||||
cat $SCRIPTDIR/manifests/mac.rsp \
|
||||
$SCRIPTDIR/manifests/cocoa.rsp \
|
||||
$SCRIPTDIR/manifests/generic.rsp \
|
||||
$SCRIPTDIR/manifests/generic_samples.rsp \
|
||||
$SCRIPTDIR/manifests/cw_mac.rsp \
|
||||
$SCRIPTDIR/manifests/tex2rtf.rsp \
|
||||
$SCRIPTDIR/manifests/utils.rsp \
|
||||
$SCRIPTDIR/manifests/xml.rsp \
|
||||
$SCRIPTDIR/manifests/makefile.rsp \
|
||||
$SCRIPTDIR/manifests/tiff.rsp \
|
||||
$SCRIPTDIR/manifests/jpeg.rsp \
|
||||
> /tmp/wxmac_in.txt
|
||||
expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt
|
||||
$TAR cf $WXDEST/wxMac-${WXVER}.tar -T /tmp/wxmac.txt
|
||||
|
||||
rm -f $WXSRC/include/wx/setup.h
|
||||
|
||||
echo Re-tarring wxMac in a subdirectory...
|
||||
cd $WXDEST
|
||||
mkdir wxMac-${WXVER}
|
||||
cd wxMac-${WXVER}
|
||||
|
||||
$TAR xf ../wxMac-${WXVER}.tar
|
||||
echo Copying readme files...
|
||||
cp $WXSRC/docs/mac/readme.txt README-MAC.txt
|
||||
cp $WXSRC/docs/mac/install.txt INSTALL-MAC.txt
|
||||
|
||||
cd ..
|
||||
rm -f wxMac-${WXVER}.tar
|
||||
$TAR cf $WXDEST/wxMac-${WXVER}.tar wxMac-${WXVER}/*
|
||||
rm -f -r wxMac-${WXVER}
|
||||
gzip $WXDEST/wxMac-${WXVER}.tar
|
||||
}
|
||||
|
||||
### wxUniv: universal-specific files
|
||||
#cd $WXSRC
|
||||
#cat $SCRIPTDIR/manifests/univ.rsp > /tmp/wxuniv_in.txt
|
||||
#expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt
|
||||
#$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar -T /tmp/wxuniv.txt
|
||||
#
|
||||
#echo Re-tarring wxUniversal in a subdirectory...
|
||||
#cd $WXDEST
|
||||
#mkdir wxWidgets-${WXVER}
|
||||
#cd wxWidgets-${WXVER}
|
||||
#$TAR xf ../wxWidgets-${WXVER}-Univ.tar
|
||||
#cd ..
|
||||
#rm -f wxWidgets-${WXVER}-Univ.tar
|
||||
#$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar wxWidgets-${WXVER}/*
|
||||
#rm -f -r wxWidgets-${WXVER}
|
||||
#gzip $WXDEST/wxWidgets-${WXVER}-Univ.tar
|
||||
|
||||
dospinwxall()
|
||||
{
|
||||
echo Tarring wxAll...
|
||||
|
||||
### wxAll: all distributions in one giant archive
|
||||
cd $WXSRC
|
||||
cat $SCRIPTDIR/manifests/generic.rsp \
|
||||
$SCRIPTDIR/manifests/generic_samples.rsp \
|
||||
$SCRIPTDIR/manifests/msw.rsp \
|
||||
$SCRIPTDIR/manifests/wince.rsp \
|
||||
$SCRIPTDIR/manifests/vc.rsp \
|
||||
$SCRIPTDIR/manifests/cw.rsp \
|
||||
$SCRIPTDIR/manifests/cw_mac.rsp \
|
||||
$SCRIPTDIR/manifests/gtk.rsp \
|
||||
$SCRIPTDIR/manifests/x11.rsp \
|
||||
$SCRIPTDIR/manifests/motif.rsp \
|
||||
$SCRIPTDIR/manifests/mac.rsp \
|
||||
$SCRIPTDIR/manifests/cocoa.rsp \
|
||||
$SCRIPTDIR/manifests/os2.rsp \
|
||||
$SCRIPTDIR/manifests/palmos.rsp \
|
||||
$SCRIPTDIR/manifests/x11.rsp \
|
||||
$SCRIPTDIR/manifests/univ.rsp \
|
||||
$SCRIPTDIR/manifests/mgl.rsp \
|
||||
$SCRIPTDIR/manifests/dfb.rsp \
|
||||
$SCRIPTDIR/manifests/utilmake.rsp \
|
||||
$SCRIPTDIR/manifests/utils.rsp \
|
||||
$SCRIPTDIR/manifests/tex2rtf.rsp \
|
||||
$SCRIPTDIR/manifests/xml.rsp \
|
||||
$SCRIPTDIR/manifests/makefile.rsp \
|
||||
$SCRIPTDIR/manifests/tiff.rsp \
|
||||
$SCRIPTDIR/manifests/jpeg.rsp \
|
||||
$SCRIPTDIR/manifests/docsrc.rsp \
|
||||
| uniq > /tmp/wxall_in.txt
|
||||
expandlines /tmp/wxall_in.txt /tmp/wxall.txt
|
||||
$TAR cf $WXDEST/wxWidgets-${WXVER}.tar -T /tmp/wxall.txt
|
||||
|
||||
echo Re-tarring wxAll in a subdirectory...
|
||||
cd $WXDEST
|
||||
mkdir wxWidgets-${WXVER}
|
||||
|
||||
cd wxWidgets-${WXVER}
|
||||
|
||||
# If we have the full set of VC++ project files,
|
||||
# get them
|
||||
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-VC.zip ]; then
|
||||
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-VC.zip
|
||||
else
|
||||
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip"
|
||||
fi
|
||||
|
||||
# If we have the full set of eVC++ project files,
|
||||
# get them
|
||||
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip ]; then
|
||||
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip
|
||||
else
|
||||
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-eVC.zip"
|
||||
fi
|
||||
|
||||
# If we have the full set of DMC project files,
|
||||
# get them
|
||||
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip ]; then
|
||||
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip
|
||||
else
|
||||
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-DMC.zip"
|
||||
fi
|
||||
|
||||
$TAR xf ../wxWidgets-${WXVER}.tar
|
||||
|
||||
# Translate all .dsp and .dsw files to DOS format
|
||||
unix2dos --unix2dos `cat $SCRIPTDIR/manifests/vc.rsp`
|
||||
|
||||
cd ..
|
||||
rm -f wxWidgets-${WXVER}.tar
|
||||
$TAR cf $WXDEST/wxWidgets-${WXVER}.tar wxWidgets-${WXVER}/*
|
||||
rm -f -r wxWidgets-${WXVER}
|
||||
gzip -c $WXDEST/wxWidgets-${WXVER}.tar > $WXDEST/wxWidgets-${WXVER}.tar.gz
|
||||
bzip2 $WXDEST/wxWidgets-${WXVER}.tar
|
||||
}
|
||||
|
||||
domakedocs()
|
||||
{
|
||||
mkdir -p $WXSRC/docs/html/wx
|
||||
mkdir -p $WXSRC/docs/html/tex2rtf
|
||||
mkdir -p $WXSRC/docs/html/fl
|
||||
mkdir -p $WXSRC/docs/html/ogl
|
||||
mkdir -p $WXSRC/docs/htb
|
||||
|
||||
rm -f -r $WXSRC/docs/html/wx/*.htm*
|
||||
rm -f -r $WXSRC/docs/htb/wx.htb
|
||||
|
||||
echo Making HTML wxWidgets manual...
|
||||
cd $WXSRC/docs/latex/wx
|
||||
cp *.gif $WXSRC/docs/html/wx
|
||||
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
|
||||
|
||||
echo Making HTB wxWidgets manual...
|
||||
cd $WXSRC/docs/html/wx
|
||||
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
|
||||
|
||||
echo Done making manuals.
|
||||
}
|
||||
|
||||
init=""
|
||||
if [ "$1" = "" ]
|
||||
then
|
||||
echo Usage: tardist wx-dir output-dir version
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$2" = "" ]
|
||||
then
|
||||
echo Usage: tardist wx-dir output-dir version
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$3" = "" ]
|
||||
then
|
||||
echo Usage: tardist wx-dir output-dir version
|
||||
exit
|
||||
fi
|
||||
|
||||
SPINWXALL=0
|
||||
SPINWXMAC=0
|
||||
SPINEVERYTHING=0
|
||||
SILENT=0
|
||||
|
||||
usage()
|
||||
{
|
||||
echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
|
||||
echo Options:
|
||||
echo " --help Display this help message"
|
||||
echo " --wxall Spin wxAll"
|
||||
echo " --wxmac Spin wxMac"
|
||||
echo " --all Spin EVERYTHING"
|
||||
echo " --silent Don't ask for confirmation before running"
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Process command line options.
|
||||
shift 3
|
||||
for i in "$@"; do
|
||||
case "$i" in
|
||||
--wxall) SPINWXALL=1 ;;
|
||||
--wxmac) SPINWXMAC=1 ;;
|
||||
--all) SPINEVERYTHING=1 ;;
|
||||
--silent) SILENT=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "$SILENT" = "0" ]; then
|
||||
echo About to archive wxWidgets:
|
||||
echo From $WXSRC
|
||||
echo To $WXDEST
|
||||
echo Version $WXVER
|
||||
echo CTRL-C if this is not correct.
|
||||
read dummy
|
||||
fi
|
||||
|
||||
doinit
|
||||
|
||||
if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxmac
|
||||
fi
|
||||
|
||||
if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxall
|
||||
fi
|
||||
|
@@ -1,98 +0,0 @@
|
||||
*.spec
|
||||
BuildCVS.txt
|
||||
*.m4
|
||||
autogen.sh
|
||||
configure
|
||||
config.guess
|
||||
config.sub
|
||||
configure.in
|
||||
setup.h.in
|
||||
install-sh
|
||||
Makefile.in
|
||||
mkinstalldirs
|
||||
wx-config.in
|
||||
wx-config-inplace.in
|
||||
version-script.in
|
||||
setup.h_vms
|
||||
regen
|
||||
|
||||
build/msw/config.*
|
||||
build/msw/makefile.*
|
||||
build/msw/wx_base.dsp
|
||||
|
||||
src/common/*.cpp
|
||||
src/common/extended.c
|
||||
src/common/*.inc
|
||||
src/common/base.rc
|
||||
|
||||
src/msdos/*.cpp
|
||||
|
||||
src/msw/*.cpp
|
||||
src/msw/makefile.*
|
||||
src/msw/makebase.b32
|
||||
src/msw/winestub.c
|
||||
src/msw/version.rc
|
||||
|
||||
src/msw/ole/*.cpp
|
||||
|
||||
src/msw/wince/*.cpp
|
||||
|
||||
src/unix/*.cpp
|
||||
|
||||
src/zlib/*.c
|
||||
src/zlib/*.h
|
||||
src/zlib/INDEX
|
||||
src/zlib/README
|
||||
src/zlib/ChangeLog
|
||||
src/zlib/*.txt
|
||||
src/zlib/*.com
|
||||
src/zlib/*.3
|
||||
|
||||
src/regex/COPYRIGHT
|
||||
src/regex/makefile*
|
||||
src/regex/README
|
||||
src/regex/WHATSNEW
|
||||
src/regex/mkh
|
||||
src/regex/*.h
|
||||
src/regex/*.ih
|
||||
src/regex/*.c
|
||||
src/regex/tests
|
||||
src/regex/regex.3
|
||||
src/regex/regex.7
|
||||
|
||||
include/wx/*.h
|
||||
include/wx/meta/*.h
|
||||
include/wx/*.inl
|
||||
include/wx/*.cpp
|
||||
include/wx/private/*.h
|
||||
include/wx/protocol/*.h
|
||||
include/wx/wx_setup.vms
|
||||
include/wx/unix/*.h
|
||||
include/wx/unix/private/*.h
|
||||
lib/dummy
|
||||
|
||||
include/wx/msw/*.h
|
||||
include/wx/msw/*.rc
|
||||
include/wx/msw/wx.manifest
|
||||
include/wx/msw/ole/*.h
|
||||
include/wx/msw/*.cur
|
||||
include/wx/msw/*.ico
|
||||
include/wx/msw/*.bmp
|
||||
|
||||
include/wx/msw/wince/*.h
|
||||
|
||||
include/wx/msdos/*.h
|
||||
|
||||
samples/console/testdata.fc
|
||||
samples/console/*.cpp
|
||||
samples/console/*.h
|
||||
samples/console/makefile*
|
||||
samples/console/Makefile*
|
||||
samples/console/*.rc
|
||||
samples/console/*.def
|
||||
samples/console/*.xpm
|
||||
samples/console/*.xbm
|
||||
samples/console/*.txt
|
||||
samples/console/*.pro
|
||||
samples/console/*.bkl
|
||||
|
@@ -1,8 +0,0 @@
|
||||
install-cocoa.txt
|
||||
readme-cocoa.txt
|
||||
|
||||
include/wx/cocoa/*.h
|
||||
src/cocoa/*.cpp
|
||||
src/cocoa/*.mm
|
||||
src/cocoa/*.r
|
||||
docs/cocoa/*.txt
|
@@ -1,7 +0,0 @@
|
||||
install-dfb.txt
|
||||
|
||||
include/wx/dfb/*.h
|
||||
include/wx/dfb/private/*.h
|
||||
include/wx/generic/private/*.h
|
||||
src/dfb/*.cpp
|
||||
docs/dfb/*.txt
|
@@ -1,224 +0,0 @@
|
||||
build/msw/config.dmc
|
||||
build/msw/config.dms
|
||||
build/msw/makefile.dmc
|
||||
build/msw/makefile.dms
|
||||
demos/bombs/makefile.dmc
|
||||
demos/bombs/makefile.dms
|
||||
demos/forty/makefile.dmc
|
||||
demos/forty/makefile.dms
|
||||
demos/fractal/makefile.dmc
|
||||
demos/fractal/makefile.dms
|
||||
demos/life/makefile.dmc
|
||||
demos/life/makefile.dms
|
||||
demos/makefile.dmc
|
||||
demos/makefile.dms
|
||||
demos/poem/makefile.dmc
|
||||
demos/poem/makefile.dms
|
||||
samples/access/makefile.dmc
|
||||
samples/access/makefile.dms
|
||||
samples/animate/makefile.dmc
|
||||
samples/animate/makefile.dms
|
||||
samples/artprov/makefile.dmc
|
||||
samples/artprov/makefile.dms
|
||||
samples/aui/makefile.dmc
|
||||
samples/aui/makefile.dms
|
||||
samples/calendar/makefile.dmc
|
||||
samples/calendar/makefile.dms
|
||||
samples/caret/makefile.dmc
|
||||
samples/caret/makefile.dms
|
||||
samples/checklst/makefile.dmc
|
||||
samples/checklst/makefile.dms
|
||||
samples/collpane/makefile.dmc
|
||||
samples/collpane/makefile.dms
|
||||
samples/combo/makefile.dmc
|
||||
samples/combo/makefile.dms
|
||||
samples/config/makefile.dmc
|
||||
samples/config/makefile.dms
|
||||
samples/console/makefile.dmc
|
||||
samples/console/makefile.dms
|
||||
samples/controls/makefile.dmc
|
||||
samples/controls/makefile.dms
|
||||
samples/dataview/makefile.dmc
|
||||
samples/dataview/makefile.dms
|
||||
samples/db/makefile.dmc
|
||||
samples/db/makefile.dms
|
||||
samples/debugrpt/makefile.dmc
|
||||
samples/debugrpt/makefile.dms
|
||||
samples/dialogs/makefile.dmc
|
||||
samples/dialogs/makefile.dms
|
||||
samples/dialup/makefile.dmc
|
||||
samples/dialup/makefile.dms
|
||||
samples/display/makefile.dmc
|
||||
samples/display/makefile.dms
|
||||
samples/dnd/makefile.dmc
|
||||
samples/dnd/makefile.dms
|
||||
samples/docview/makefile.dmc
|
||||
samples/docview/makefile.dms
|
||||
samples/docvwmdi/makefile.dmc
|
||||
samples/docvwmdi/makefile.dms
|
||||
samples/dragimag/makefile.dmc
|
||||
samples/dragimag/makefile.dms
|
||||
samples/drawing/makefile.dmc
|
||||
samples/drawing/makefile.dms
|
||||
samples/dynamic/makefile.dmc
|
||||
samples/dynamic/makefile.dms
|
||||
samples/erase/makefile.dmc
|
||||
samples/erase/makefile.dms
|
||||
samples/event/makefile.dmc
|
||||
samples/event/makefile.dms
|
||||
samples/except/makefile.dmc
|
||||
samples/except/makefile.dms
|
||||
samples/exec/makefile.dmc
|
||||
samples/exec/makefile.dms
|
||||
samples/font/makefile.dmc
|
||||
samples/font/makefile.dms
|
||||
samples/grid/makefile.dmc
|
||||
samples/grid/makefile.dms
|
||||
samples/help/makefile.dmc
|
||||
samples/help/makefile.dms
|
||||
samples/htlbox/makefile.dmc
|
||||
samples/htlbox/makefile.dms
|
||||
samples/html/about/makefile.dmc
|
||||
samples/html/about/makefile.dms
|
||||
samples/html/help/makefile.dmc
|
||||
samples/html/help/makefile.dms
|
||||
samples/html/helpview/makefile.dmc
|
||||
samples/html/helpview/makefile.dms
|
||||
samples/html/makefile.dmc
|
||||
samples/html/makefile.dms
|
||||
samples/html/printing/makefile.dmc
|
||||
samples/html/printing/makefile.dms
|
||||
samples/html/test/makefile.dmc
|
||||
samples/html/test/makefile.dms
|
||||
samples/html/virtual/makefile.dmc
|
||||
samples/html/virtual/makefile.dms
|
||||
samples/html/widget/makefile.dmc
|
||||
samples/html/widget/makefile.dms
|
||||
samples/html/zip/makefile.dmc
|
||||
samples/html/zip/makefile.dms
|
||||
samples/image/makefile.dmc
|
||||
samples/image/makefile.dms
|
||||
samples/internat/makefile.dmc
|
||||
samples/internat/makefile.dms
|
||||
samples/ipc/makefile.dmc
|
||||
samples/ipc/makefile.dms
|
||||
samples/joytest/makefile.dmc
|
||||
samples/joytest/makefile.dms
|
||||
samples/keyboard/makefile.dmc
|
||||
samples/keyboard/makefile.dms
|
||||
samples/layout/makefile.dmc
|
||||
samples/layout/makefile.dms
|
||||
samples/listbox/makefile.dmc
|
||||
samples/listbox/makefile.dms
|
||||
samples/listctrl/makefile.dmc
|
||||
samples/listctrl/makefile.dms
|
||||
samples/makefile.dmc
|
||||
samples/makefile.dms
|
||||
samples/mdi/makefile.dmc
|
||||
samples/mdi/makefile.dms
|
||||
samples/mediaplayer/makefile.dmc
|
||||
samples/mediaplayer/makefile.dms
|
||||
samples/memcheck/makefile.dmc
|
||||
samples/memcheck/makefile.dms
|
||||
samples/menu/makefile.dmc
|
||||
samples/menu/makefile.dms
|
||||
samples/mfc/makefile.dmc
|
||||
samples/mfc/makefile.dms
|
||||
samples/minifram/makefile.dmc
|
||||
samples/minifram/makefile.dms
|
||||
samples/minimal/makefile.dmc
|
||||
samples/minimal/makefile.dms
|
||||
samples/multimon/makefile.dmc
|
||||
samples/multimon/makefile.dms
|
||||
samples/nativdlg/makefile.dmc
|
||||
samples/nativdlg/makefile.dms
|
||||
samples/notebook/makefile.dmc
|
||||
samples/notebook/makefile.dms
|
||||
samples/oleauto/makefile.dmc
|
||||
samples/oleauto/makefile.dms
|
||||
samples/opengl/cube/makefile.dmc
|
||||
samples/opengl/cube/makefile.dms
|
||||
samples/opengl/isosurf/makefile.dmc
|
||||
samples/opengl/isosurf/makefile.dms
|
||||
samples/opengl/makefile.dmc
|
||||
samples/opengl/makefile.dms
|
||||
samples/opengl/penguin/makefile.dmc
|
||||
samples/opengl/penguin/makefile.dms
|
||||
samples/ownerdrw/makefile.dmc
|
||||
samples/ownerdrw/makefile.dms
|
||||
samples/png/makefile.dmc
|
||||
samples/png/makefile.dms
|
||||
samples/popup/makefile.dmc
|
||||
samples/popup/makefile.dms
|
||||
samples/power/makefile.dmc
|
||||
samples/power/makefile.dms
|
||||
samples/printing/makefile.dmc
|
||||
samples/printing/makefile.dms
|
||||
samples/propgrid/makefile.dmc
|
||||
samples/propgrid/makefile.dms
|
||||
samples/propsize/makefile.dmc
|
||||
samples/propsize/makefile.dms
|
||||
samples/regtest/makefile.dmc
|
||||
samples/regtest/makefile.dms
|
||||
samples/render/makefile.dmc
|
||||
samples/render/makefile.dms
|
||||
samples/richtext/makefile.dmc
|
||||
samples/richtext/makefile.dms
|
||||
samples/rotate/makefile.dmc
|
||||
samples/rotate/makefile.dms
|
||||
samples/sashtest/makefile.dmc
|
||||
samples/sashtest/makefile.dms
|
||||
samples/scroll/makefile.dmc
|
||||
samples/scroll/makefile.dms
|
||||
samples/shaped/makefile.dmc
|
||||
samples/shaped/makefile.dms
|
||||
samples/sockets/makefile.dmc
|
||||
samples/sockets/makefile.dms
|
||||
samples/sound/makefile.dmc
|
||||
samples/sound/makefile.dms
|
||||
samples/splash/makefile.dmc
|
||||
samples/splash/makefile.dms
|
||||
samples/splitter/makefile.dmc
|
||||
samples/splitter/makefile.dms
|
||||
samples/statbar/makefile.dmc
|
||||
samples/statbar/makefile.dms
|
||||
samples/stc/makefile.dmc
|
||||
samples/stc/makefile.dms
|
||||
samples/svg/makefile.dmc
|
||||
samples/svg/makefile.dms
|
||||
samples/taskbar/makefile.dmc
|
||||
samples/taskbar/makefile.dms
|
||||
samples/text/makefile.dmc
|
||||
samples/text/makefile.dms
|
||||
samples/thread/makefile.dmc
|
||||
samples/thread/makefile.dms
|
||||
samples/toolbar/makefile.dmc
|
||||
samples/toolbar/makefile.dms
|
||||
samples/treectrl/makefile.dmc
|
||||
samples/treectrl/makefile.dms
|
||||
samples/typetest/makefile.dmc
|
||||
samples/typetest/makefile.dms
|
||||
samples/validate/makefile.dmc
|
||||
samples/validate/makefile.dms
|
||||
samples/vscroll/makefile.dmc
|
||||
samples/vscroll/makefile.dms
|
||||
samples/widgets/makefile.dmc
|
||||
samples/widgets/makefile.dms
|
||||
samples/wizard/makefile.dmc
|
||||
samples/wizard/makefile.dms
|
||||
samples/xrc/makefile.dmc
|
||||
samples/xrc/makefile.dms
|
||||
tests/makefile.dmc
|
||||
tests/makefile.dms
|
||||
utils/emulator/src/makefile.dmc
|
||||
utils/emulator/src/makefile.dms
|
||||
utils/helpview/src/makefile.dmc
|
||||
utils/helpview/src/makefile.dms
|
||||
utils/hhp2cached/makefile.dmc
|
||||
utils/hhp2cached/makefile.dms
|
||||
utils/makefile.dmc
|
||||
utils/makefile.dms
|
||||
utils/tex2rtf/src/makefile.dmc
|
||||
utils/tex2rtf/src/makefile.dms
|
||||
utils/wxrc/makefile.dmc
|
||||
utils/wxrc/makefile.dms
|
@@ -1,23 +0,0 @@
|
||||
docs/latex/wx/*.tex
|
||||
docs/latex/wx/*.sty
|
||||
docs/latex/wx/*.bib
|
||||
docs/latex/wx/*.hpj
|
||||
docs/latex/wx/*.inc
|
||||
docs/latex/wx/*.ini
|
||||
docs/latex/wx/*.txt
|
||||
docs/latex/wx/*.cnt
|
||||
docs/latex/wx/*.eps
|
||||
docs/latex/wx/*.bmp
|
||||
docs/latex/wx/*.gif
|
||||
docs/latex/wx/*.wmf
|
||||
|
||||
utils/tex2rtf/docs/*.tex
|
||||
utils/tex2rtf/docs/*.txt
|
||||
utils/tex2rtf/docs/*.hpj
|
||||
utils/tex2rtf/docs/*.bib
|
||||
utils/tex2rtf/docs/*.ini
|
||||
utils/tex2rtf/docs/*.sty
|
||||
utils/tex2rtf/docs/*.bmp
|
||||
utils/tex2rtf/docs/*.shg
|
||||
utils/tex2rtf/docs/*.wmf
|
||||
utils/tex2rtf/docs/*.gif
|
@@ -1,254 +0,0 @@
|
||||
*.spec
|
||||
BuildCVS.txt
|
||||
*.m4
|
||||
autogen.sh
|
||||
configure
|
||||
config.guess
|
||||
config.sub
|
||||
configure.in
|
||||
setup.h.in
|
||||
install-sh
|
||||
mkinstalldirs
|
||||
wx-config.in
|
||||
wx-config-inplace.in
|
||||
version-script.in
|
||||
setup.h_vms
|
||||
regen
|
||||
|
||||
build/bakefiles/*.bkl
|
||||
build/bakefiles/Bakefiles.bkgen
|
||||
build/bakefiles/README
|
||||
build/bakefiles/*.py
|
||||
build/bakefiles/*.mk
|
||||
build/bakefiles/formats/*.bkl
|
||||
build/bakefiles/formats/*.empy
|
||||
build/bakefiles/formats/README
|
||||
build/bakefiles/formats/*.bkmanifest
|
||||
build/bakefiles/wxpresets/*.txt
|
||||
build/bakefiles/wxpresets/presets/*.bkl
|
||||
build/bakefiles/wxpresets/sample/*.bkl
|
||||
build/bakefiles/wxpresets/sample/*.in
|
||||
build/bakefiles/wxpresets/sample/*.cpp
|
||||
build/update-setup-h
|
||||
|
||||
build/aclocal/*.m4
|
||||
|
||||
misc/scripts/makegtktags
|
||||
misc/scripts/*.sh
|
||||
misc/scripts/*.bat
|
||||
|
||||
locale/*.po
|
||||
locale/msw/*.po
|
||||
locale/Makefile
|
||||
|
||||
art/*.xpm
|
||||
art/*.ico
|
||||
art/*.png
|
||||
art/motif/*.xpm
|
||||
art/gtk/*.xpm
|
||||
|
||||
docs/readme.txt
|
||||
docs/readme_vms.txt
|
||||
docs/changes.txt
|
||||
docs/todo.txt
|
||||
docs/licence.txt
|
||||
docs/licendoc.txt
|
||||
docs/preamble.txt
|
||||
docs/gpl.txt
|
||||
docs/lgpl.txt
|
||||
docs/index.htm
|
||||
docs/html/*.htm
|
||||
docs/html/*.gif
|
||||
docs/html/images/*.gif
|
||||
docs/tech/*.txt
|
||||
docs/tech/*.htm
|
||||
|
||||
src/common/*.cpp
|
||||
src/common/extended.c
|
||||
src/common/*.inc
|
||||
src/common/base.rc
|
||||
|
||||
src/generic/*.cpp
|
||||
src/generic/*.c
|
||||
src/generic/*.inc
|
||||
|
||||
src/html/*.cpp
|
||||
src/html/*.h
|
||||
src/html/bitmaps/*.xpm
|
||||
|
||||
src/richtext/*.cpp
|
||||
|
||||
src/aui/*.cpp
|
||||
|
||||
src/propgrid/*.cpp
|
||||
|
||||
src/png/*.c
|
||||
src/png/*.h
|
||||
src/png/makefile*
|
||||
src/png/INSTALL
|
||||
src/png/CHANGES
|
||||
src/png/README
|
||||
src/png/TODO
|
||||
src/png/*.1
|
||||
src/png/*.3
|
||||
src/png/*.5
|
||||
src/png/scripts/*.ppc
|
||||
src/png/scripts/*.bat
|
||||
src/png/scripts/makefile*
|
||||
src/png/scripts/*.com
|
||||
src/png/scripts/*.def
|
||||
|
||||
include/wx/wx_setup.vms
|
||||
include/wx/common/*.h
|
||||
include/wx/generic/*.h
|
||||
include/wx/generic/private/*.h
|
||||
include/wx/generic/*.xpm
|
||||
include/wx/html/*.h
|
||||
include/wx/persist/*.h
|
||||
include/wx/richtext/*.h
|
||||
include/wx/aui/*.h
|
||||
include/wx/propgrid/*.h
|
||||
lib/dummy
|
||||
|
||||
utils/*.bkl
|
||||
utils/make*.*
|
||||
utils/configure
|
||||
utils/configure.in
|
||||
|
||||
utils/hhp2cached/*.h
|
||||
utils/hhp2cached/*.cpp
|
||||
utils/hhp2cached/*.rc
|
||||
utils/hhp2cached/makefile*
|
||||
utils/hhp2cached/*.bkl
|
||||
utils/hhp2cached/*.xbm
|
||||
utils/hhp2cached/*.xpm
|
||||
utils/hhp2cached/*.txt
|
||||
|
||||
demos/demos.bkl
|
||||
demos/makefile*
|
||||
|
||||
demos/bombs/*.cpp
|
||||
demos/bombs/*.h
|
||||
demos/bombs/makefile*
|
||||
demos/bombs/*.xbm
|
||||
demos/bombs/*.xpm
|
||||
demos/bombs/*.txt
|
||||
demos/bombs/*.ico
|
||||
demos/bombs/*.bmp
|
||||
demos/bombs/*.rc
|
||||
demos/bombs/*.pro
|
||||
demos/bombs/*.bkl
|
||||
|
||||
demos/forty/*.cpp
|
||||
demos/forty/*.h
|
||||
demos/forty/makefile*
|
||||
demos/forty/*.rc
|
||||
demos/forty/*.bmp
|
||||
demos/forty/*.xpm
|
||||
demos/forty/*.xbm
|
||||
demos/forty/*.png
|
||||
demos/forty/*.ico
|
||||
demos/forty/*.txt
|
||||
demos/forty/*.pro
|
||||
demos/forty/*.bkl
|
||||
demos/forty/*.r
|
||||
demos/forty/*.htm
|
||||
|
||||
demos/fractal/*.cpp
|
||||
demos/fractal/*.h
|
||||
demos/fractal/makefile*
|
||||
demos/fractal/*.xbm
|
||||
demos/fractal/*.xpm
|
||||
demos/fractal/*.ico
|
||||
demos/fractal/*.rc
|
||||
demos/fractal/*.pro
|
||||
demos/fractal/*.bkl
|
||||
|
||||
demos/life/*.cpp
|
||||
demos/life/*.inc
|
||||
demos/life/*.h
|
||||
demos/life/makefile*
|
||||
demos/life/*.rc
|
||||
demos/life/*.ico
|
||||
demos/life/*.xpm
|
||||
demos/life/*.txt
|
||||
demos/life/*.lif
|
||||
demos/life/*.pro
|
||||
demos/life/bitmaps/*.xpm
|
||||
demos/life/bitmaps/*.bmp
|
||||
demos/life/*.bkl
|
||||
|
||||
demos/poem/*.cpp
|
||||
demos/poem/*.h
|
||||
demos/poem/*.rc
|
||||
demos/poem/*.inf
|
||||
demos/poem/*.txt
|
||||
demos/poem/makefile*
|
||||
demos/poem/*.xbm
|
||||
demos/poem/*.xpm
|
||||
demos/poem/*.ico
|
||||
demos/poem/*.bmp
|
||||
demos/poem/*.dat
|
||||
demos/poem/*.pro
|
||||
demos/poem/*.bkl
|
||||
|
||||
tests/*.bkl
|
||||
tests/makefile*.*
|
||||
tests/*.cpp
|
||||
tests/*.h
|
||||
tests/*.fc
|
||||
|
||||
tests/archive/*.cpp
|
||||
tests/archive/*.h
|
||||
tests/arrays/*.cpp
|
||||
tests/base64/*.cpp
|
||||
tests/benchmarks/*.cpp
|
||||
tests/benchmarks/*.h
|
||||
tests/cmdline/*.cpp
|
||||
tests/config/*.cpp
|
||||
tests/controls/*.cpp
|
||||
tests/controls/*.h
|
||||
tests/datetime/*.cpp
|
||||
tests/events/*.cpp
|
||||
tests/exec/*.cpp
|
||||
tests/fileconf/*.cpp
|
||||
tests/filekind/*.cpp
|
||||
tests/filename/*.cpp
|
||||
tests/filesys/*.cpp
|
||||
tests/font/*.cpp
|
||||
tests/fontmap/*.cpp
|
||||
tests/formatconverter/*.cpp
|
||||
tests/geometry/*.cpp
|
||||
tests/hashes/*.cpp
|
||||
tests/html/*.cpp
|
||||
tests/image/*.cpp
|
||||
tests/intl/*.cpp
|
||||
tests/intl/fr/internat.*
|
||||
tests/lists/*.cpp
|
||||
tests/longlong/*.cpp
|
||||
tests/mbconv/*.cpp
|
||||
tests/misc/*.cpp
|
||||
tests/net/*.cpp
|
||||
tests/net/*.cpp
|
||||
|
||||
tests/regex/*.cpp
|
||||
tests/regex/*.inc
|
||||
tests/regex/*.pl
|
||||
tests/regex/*.test
|
||||
|
||||
tests/scopeguard/*.cpp
|
||||
|
||||
tests/streams/*.cpp
|
||||
tests/streams/*.h
|
||||
|
||||
tests/strings/*.cpp
|
||||
tests/textfile/*.cpp
|
||||
tests/thread/*.cpp
|
||||
|
||||
tests/uris/*.cpp
|
||||
|
||||
tests/vectors/*.cpp
|
||||
tests/weakref/*.cpp
|
||||
tests/window/*.cpp
|
||||
tests/xlocale/*.cpp
|
||||
tests/xml/*.cpp
|
File diff suppressed because it is too large
Load Diff
@@ -1,31 +0,0 @@
|
||||
install-gtk.txt
|
||||
readme-gtk.txt
|
||||
|
||||
docs/gtk/*.html
|
||||
docs/gtk/*.txt
|
||||
docs/gtk/COPYING.LIB
|
||||
docs/gtk/makewxgtk
|
||||
|
||||
include/wx/gtk/*.h
|
||||
include/wx/gtk/*.xpm
|
||||
include/wx/gtk/gnome/*.h
|
||||
include/wx/gtk/private/*.h
|
||||
|
||||
include/wx/mac/corefoundation/*.h
|
||||
src/mac/corefoundation/*.cpp
|
||||
|
||||
src/gtk/files.lst
|
||||
src/gtk/*.cpp
|
||||
src/gtk/*.c
|
||||
src/gtk/*.xbm
|
||||
src/gtk/*.h
|
||||
src/gtk/gnome/*.cpp
|
||||
src/gtk/hildon/*.cpp
|
||||
|
||||
misc/afm/*.afm
|
||||
misc/gs_afm/*.afm
|
||||
|
||||
distrib/autopackage/sample/autopackage/*.apspec
|
||||
distrib/autopackage/sample/*.bkl
|
||||
distrib/autopackage/sample/*.cpp
|
||||
distrib/autopackage/sample/README
|
@@ -1,21 +0,0 @@
|
||||
install-gtk.txt
|
||||
readme-gtk.txt
|
||||
|
||||
docs/gtk/*.html
|
||||
docs/gtk/*.txt
|
||||
docs/gtk/COPYING.LIB
|
||||
docs/gtk/makewxgtk
|
||||
|
||||
include/wx/gtk1/*.h
|
||||
include/wx/gtk1/*.xpm
|
||||
include/wx/gtk1/gnome/*.h
|
||||
|
||||
src/gtk1/*.cpp
|
||||
src/gtk1/*.c
|
||||
src/gtk1/*.xbm
|
||||
src/gtk1/*.h
|
||||
src/gtk1/gnome/*.cpp
|
||||
|
||||
misc/afm/*.afm
|
||||
misc/gs_afm/*.afm
|
||||
|
@@ -1,22 +0,0 @@
|
||||
src/jpeg/make*
|
||||
src/jpeg/jpeg.dsp
|
||||
src/jpeg/jpeg.dsw
|
||||
src/jpeg/*.c
|
||||
src/jpeg/*.h
|
||||
src/jpeg/README
|
||||
src/jpeg/*.doc
|
||||
src/jpeg/jconfig.bcc
|
||||
src/jpeg/jconfig.cfg
|
||||
src/jpeg/jconfig.dj
|
||||
src/jpeg/jconfig.mac
|
||||
src/jpeg/jconfig.manx
|
||||
src/jpeg/jconfig.mc6
|
||||
src/jpeg/jconfig.sas
|
||||
src/jpeg/jconfig.st
|
||||
src/jpeg/jconfig.vc
|
||||
src/jpeg/jconfig.vms
|
||||
src/jpeg/jconfig.wat
|
||||
src/jpeg/*.1
|
||||
src/jpeg/*.opt
|
||||
src/jpeg/change.log
|
||||
|
@@ -1,67 +0,0 @@
|
||||
install-mac.txt
|
||||
readme-mac.txt
|
||||
|
||||
lib/dummy
|
||||
|
||||
distrib/mac/pbsetup-sh
|
||||
|
||||
docs/licence.txt
|
||||
docs/mac/*.txt
|
||||
docs/mac/*.hqx
|
||||
docs/mac/*.sh
|
||||
docs/mac/*.applescript
|
||||
docs/mac/*.diff
|
||||
|
||||
docs/metrowerks/*.txt
|
||||
docs/metrowerks/*.sh
|
||||
docs/metrowerks/mwar
|
||||
docs/metrowerks/mwpefar
|
||||
docs/metrowerks/wchar_t_panther_fix/machine/ansi.h
|
||||
|
||||
src/html/htmlctrl/webkit/*.mm
|
||||
|
||||
samples/Info.plist
|
||||
|
||||
samples/html/htmlctrl/*.cpp
|
||||
samples/html/htmlctrl/Makefile.in
|
||||
samples/html/htmlctrl/makefile.gcc
|
||||
samples/html/htmlctrl/makefile.vc
|
||||
samples/html/htmlctrl/makefile.wat
|
||||
samples/html/htmlctrl/makefile.bcc
|
||||
samples/html/htmlctrl/*.bkl
|
||||
|
||||
src/wxWindows.pbproj/project.pbxproj
|
||||
src/wxWindows.xcode/project.pbxproj
|
||||
|
||||
src/wxWindows.xcodeproj/project.pbxproj
|
||||
|
||||
src/mac/wxmac.icns
|
||||
|
||||
src/mac/carbon/*.cpp
|
||||
src/mac/carbon/*.mm
|
||||
src/mac/carbon/*.c
|
||||
src/mac/carbon/*.r
|
||||
src/mac/carbon/*.h
|
||||
src/mac/carbon/morefile/*.c
|
||||
src/mac/carbon/morefile/*.cpp
|
||||
src/mac/carbon/morefile/*.h
|
||||
src/mac/carbon/morefilex/*.c
|
||||
src/mac/carbon/morefilex/*.cpp
|
||||
src/mac/carbon/morefilex/*.h
|
||||
src/mac/carbon/Info.plist.in
|
||||
src/mac/carbon/wxmac.icns
|
||||
|
||||
src/mac/corefoundation/*.cpp
|
||||
|
||||
include/wx_pb.h
|
||||
include/wx/mac/*.h
|
||||
include/wx/mac/carbon/*.h
|
||||
include/wx/mac/carbon/private/*.h
|
||||
include/wx/mac/private/*.h
|
||||
|
||||
include/wx/mac/corefoundation/*.h
|
||||
include/wx/mac/corefoundation/private/*.h
|
||||
|
||||
samples/minimal/minimal.xcode/project.pbxproj
|
||||
samples/minimal/minimal.xcodeproj/project.pbxproj
|
||||
|
@@ -1,153 +0,0 @@
|
||||
autoconf_inc.m4
|
||||
demos/bombs/Makefile.in
|
||||
demos/forty/Makefile.in
|
||||
demos/fractal/Makefile.in
|
||||
demos/life/Makefile.in
|
||||
demos/Makefile.in
|
||||
demos/poem/Makefile.in
|
||||
Makefile.in
|
||||
samples/access/Makefile.in
|
||||
samples/animate/Makefile.in
|
||||
samples/artprov/Makefile.in
|
||||
samples/aui/Makefile.in
|
||||
samples/calendar/Makefile.in
|
||||
samples/caret/Makefile.in
|
||||
samples/checklst/Makefile.in
|
||||
samples/collpane/Makefile.in
|
||||
samples/combo/Makefile.in
|
||||
samples/config/Makefile.in
|
||||
samples/console/Makefile.in
|
||||
samples/controls/Makefile.in
|
||||
samples/dataview/Makefile.in
|
||||
samples/db/Makefile.in
|
||||
samples/debugrpt/Makefile.in
|
||||
samples/dialogs/Makefile.in
|
||||
samples/dialup/Makefile.in
|
||||
samples/display/Makefile.in
|
||||
samples/dnd/Makefile.in
|
||||
samples/docview/Makefile.in
|
||||
samples/docvwmdi/Makefile.in
|
||||
samples/dragimag/Makefile.in
|
||||
samples/drawing/Makefile.in
|
||||
samples/dynamic/Makefile.in
|
||||
samples/erase/Makefile.in
|
||||
samples/event/Makefile.in
|
||||
samples/except/Makefile.in
|
||||
samples/exec/Makefile.in
|
||||
samples/font/Makefile.in
|
||||
samples/grid/Makefile.in
|
||||
samples/help/Makefile.in
|
||||
samples/htlbox/Makefile.in
|
||||
samples/html/about/Makefile.in
|
||||
samples/html/help/Makefile.in
|
||||
samples/html/helpview/Makefile.in
|
||||
samples/html/htmlctrl/Makefile.in
|
||||
samples/html/Makefile.in
|
||||
samples/html/printing/Makefile.in
|
||||
samples/html/test/Makefile.in
|
||||
samples/html/virtual/Makefile.in
|
||||
samples/html/widget/Makefile.in
|
||||
samples/html/zip/Makefile.in
|
||||
samples/image/Makefile.in
|
||||
samples/internat/Makefile.in
|
||||
samples/ipc/Makefile.in
|
||||
samples/joytest/Makefile.in
|
||||
samples/keyboard/Makefile.in
|
||||
samples/layout/Makefile.in
|
||||
samples/listbox/Makefile.in
|
||||
samples/listctrl/Makefile.in
|
||||
samples/mdi/Makefile.in
|
||||
samples/mediaplayer/Makefile.in
|
||||
samples/memcheck/Makefile.in
|
||||
samples/menu/Makefile.in
|
||||
samples/mfc/Makefile.in
|
||||
samples/minifram/Makefile.in
|
||||
samples/minimal/Makefile.in
|
||||
samples/multimon/Makefile.in
|
||||
samples/nativdlg/Makefile.in
|
||||
samples/notebook/Makefile.in
|
||||
samples/oleauto/Makefile.in
|
||||
samples/opengl/cube/Makefile.in
|
||||
samples/opengl/isosurf/Makefile.in
|
||||
samples/opengl/Makefile.in
|
||||
samples/opengl/penguin/Makefile.in
|
||||
samples/ownerdrw/Makefile.in
|
||||
samples/png/Makefile.in
|
||||
samples/popup/Makefile.in
|
||||
samples/power/Makefile.in
|
||||
samples/printing/Makefile.in
|
||||
samples/propgrid/Makefile.in
|
||||
samples/propsize/Makefile.in
|
||||
samples/regtest/Makefile.in
|
||||
samples/render/Makefile.in
|
||||
samples/richtext/Makefile.in
|
||||
samples/rotate/Makefile.in
|
||||
samples/sashtest/Makefile.in
|
||||
samples/scroll/Makefile.in
|
||||
samples/shaped/Makefile.in
|
||||
samples/sockets/Makefile.in
|
||||
samples/sound/Makefile.in
|
||||
samples/splash/Makefile.in
|
||||
samples/splitter/Makefile.in
|
||||
samples/statbar/Makefile.in
|
||||
samples/stc/Makefile.in
|
||||
samples/svg/Makefile.in
|
||||
samples/taskbar/Makefile.in
|
||||
samples/text/Makefile.in
|
||||
samples/thread/Makefile.in
|
||||
samples/toolbar/Makefile.in
|
||||
samples/treectrl/Makefile.in
|
||||
samples/typetest/Makefile.in
|
||||
samples/validate/Makefile.in
|
||||
samples/vscroll/Makefile.in
|
||||
samples/widgets/Makefile.in
|
||||
samples/wizard/Makefile.in
|
||||
samples/xrc/Makefile.in
|
||||
tests/Makefile.in
|
||||
utils/emulator/src/Makefile.in
|
||||
utils/helpview/src/Makefile.in
|
||||
utils/hhp2cached/Makefile.in
|
||||
utils/Makefile.in
|
||||
utils/tex2rtf/src/Makefile.in
|
||||
utils/wxrc/Makefile.in
|
||||
locale/Makefile
|
||||
samples/Makefile.in
|
||||
libs/vms.opt
|
||||
libs/vms_gtk.opt
|
||||
./src/aui/descrip.mms
|
||||
./src/gtk/descrip.mms
|
||||
./src/png/scripts/descrip.mms
|
||||
./src/x11/descrip.mms
|
||||
./src/xml/descrip.mms
|
||||
./src/xrc/descrip.mms
|
||||
./src/gtk1/descrip.mms
|
||||
./src/html/descrip.mms
|
||||
./src/univ/descrip.mms
|
||||
./src/unix/descrip.mms
|
||||
./src/expat/vms/descrip.mms
|
||||
./src/motif/descrip.mms
|
||||
./src/common/descrip.mms
|
||||
./src/generic/descrip.mms
|
||||
./demos/bombs/descrip.mms
|
||||
./samples/db/descrip.mms
|
||||
./samples/aui/descrip.mms
|
||||
./samples/dnd/descrip.mms
|
||||
./samples/mdi/descrip.mms
|
||||
./samples/xrc/descrip.mms
|
||||
./samples/font/descrip.mms
|
||||
./samples/menu/descrip.mms
|
||||
./samples/dialogs/descrip.mms
|
||||
./samples/caret/descrip.mms
|
||||
./samples/erase/descrip.mms
|
||||
./samples/image/descrip.mms
|
||||
./samples/docview/descrip.mms
|
||||
./samples/drawing/descrip.mms
|
||||
./samples/checklst/descrip.mms
|
||||
./samples/calendar/descrip.mms
|
||||
./samples/minimal/descrip.mms
|
||||
./samples/access/descrip.mms
|
||||
./samples/config/descrip.mms
|
||||
./samples/dialup/descrip.mms
|
||||
./samples/controls/descrip.mms
|
||||
./samples/shaped/descrip.mms
|
||||
./descrip.mms
|
@@ -1,13 +0,0 @@
|
||||
install-mgl.txt
|
||||
readme-mgl.txt
|
||||
|
||||
build/mgl/*
|
||||
|
||||
include/wx/mgl/*.h
|
||||
include/wx/mgl/private/*.h
|
||||
src/mgl/*.cpp
|
||||
src/mgl/*.lst
|
||||
|
||||
include/wx/msdos/*.h
|
||||
src/msdos/*.cpp
|
||||
|
@@ -1,34 +0,0 @@
|
||||
install-motif.txt
|
||||
readme-motif.txt
|
||||
|
||||
src/motif/files.lst
|
||||
src/motif/*.cpp
|
||||
src/motif/*.c
|
||||
src/motif/*.h
|
||||
src/motif/makefile*
|
||||
src/motif/*.inc
|
||||
src/motif/*.xbm
|
||||
src/motif/xmcombo/*.c
|
||||
src/motif/xmcombo/*.h
|
||||
src/motif/xmcombo/*.doc
|
||||
src/motif/xmcombo/*.man
|
||||
src/motif/xmcombo/*.txt
|
||||
src/x11/files.lst
|
||||
src/x11/*.cpp
|
||||
src/x11/*.c
|
||||
src/x11/*.h
|
||||
src/x11/makefile*
|
||||
src/x11/*.inc
|
||||
src/x11/*.xbm
|
||||
|
||||
include/wx/motif/*.h
|
||||
include/wx/x11/*.h
|
||||
|
||||
docs/motif/*.txt
|
||||
docs/motif/makewxmotif
|
||||
|
||||
lib/dummy
|
||||
|
||||
misc/afm/*.afm
|
||||
misc/gs_afm/*.afm
|
||||
|
@@ -1,107 +0,0 @@
|
||||
README-MSW.txt
|
||||
INSTALL-MSW.txt
|
||||
|
||||
build/msw/config.*
|
||||
build/msw/makefile.*
|
||||
|
||||
lib/dummy
|
||||
lib/wx*.def
|
||||
lib/_sc/*.txt
|
||||
lib/_sc/*.def
|
||||
|
||||
docs/licence.txt
|
||||
docs/msw/*.txt
|
||||
docs/wine/*.txt
|
||||
docs/wine/COPYING.LIB
|
||||
docs/microwin/readme.txt
|
||||
docs/microwin/microwindows.patches
|
||||
|
||||
src/cwcopysetup.bat
|
||||
src/cwdcopysetup.bat
|
||||
src/common/*.rc
|
||||
|
||||
src/msw/*.cpp
|
||||
src/msw/*.h
|
||||
src/msw/*.lst
|
||||
src/msw/*.inc
|
||||
src/msw/winestub.c
|
||||
src/msw/gsocket.c
|
||||
src/msw/gsockmsw.c
|
||||
src/msw/version.rc
|
||||
|
||||
src/msw/ole/*.cpp
|
||||
src/msw/*.prj
|
||||
|
||||
src/msw/wince/*.cpp
|
||||
src/msw/wince/*.c
|
||||
|
||||
include/wx/msw/*.h
|
||||
include/wx/msw/*.rc
|
||||
include/wx/msw/*.manifest
|
||||
include/wx/msw/ole/*.h
|
||||
include/wx/msw/private/*.h
|
||||
include/wx/msw/*.cur
|
||||
include/wx/msw/*.ico
|
||||
include/wx/msw/*.bmp
|
||||
include/msvc/wx/*.h
|
||||
|
||||
include/wx/msw/wince/*.h
|
||||
include/wx/msw/wince/*.rc
|
||||
|
||||
samples/*.rc
|
||||
samples/*.xpm
|
||||
samples/*.ico
|
||||
samples/makefile*
|
||||
|
||||
samples/ownerdrw/*.cpp
|
||||
samples/ownerdrw/*.h
|
||||
samples/ownerdrw/makefile.*
|
||||
samples/ownerdrw/*.rc
|
||||
samples/ownerdrw/*.def
|
||||
samples/ownerdrw/*.bmp
|
||||
samples/ownerdrw/*.png
|
||||
samples/ownerdrw/*.ico
|
||||
samples/ownerdrw/*.txt
|
||||
samples/ownerdrw/*.bkl
|
||||
|
||||
samples/regtest/*.cpp
|
||||
samples/regtest/*.h
|
||||
samples/regtest/makefile.*
|
||||
samples/regtest/*.rc
|
||||
samples/regtest/*.def
|
||||
samples/regtest/*.bmp
|
||||
samples/regtest/*.ico
|
||||
samples/regtest/*.txt
|
||||
samples/regtest/*.bkl
|
||||
|
||||
samples/nativdlg/*.cpp
|
||||
samples/nativdlg/*.h
|
||||
samples/nativdlg/*.def
|
||||
samples/nativdlg/*.rc
|
||||
samples/nativdlg/*.txt
|
||||
samples/nativdlg/makefile.*
|
||||
samples/nativdlg/*.xbm
|
||||
samples/nativdlg/*.ico
|
||||
samples/nativdlg/*.bmp
|
||||
samples/nativdlg/*.bkl
|
||||
|
||||
samples/mfc/*.h
|
||||
samples/mfc/*.cpp
|
||||
samples/mfc/*.def
|
||||
samples/mfc/*.rc
|
||||
samples/mfc/makefile.*
|
||||
samples/mfc/*.txt
|
||||
samples/mfc/*.bmp
|
||||
samples/mfc/*.ico
|
||||
samples/mfc/*.bkl
|
||||
|
||||
samples/oleauto/*.h
|
||||
samples/oleauto/*.cpp
|
||||
samples/oleauto/*.def
|
||||
samples/oleauto/*.rc
|
||||
samples/oleauto/makefile.*
|
||||
samples/oleauto/*.txt
|
||||
samples/oleauto/*.bmp
|
||||
samples/oleauto/*.ico
|
||||
samples/oleauto/*.bkl
|
||||
|
@@ -1,40 +0,0 @@
|
||||
INSTALL-OS2.txt
|
||||
|
||||
lib/dummy
|
||||
|
||||
build/os2/*
|
||||
|
||||
docs/licence.txt
|
||||
docs/os2/*.txt
|
||||
|
||||
src/makeva.env
|
||||
src/makefile.va
|
||||
src/makeprog.va
|
||||
|
||||
src/common/dosyacc.c
|
||||
src/common/doslex.c
|
||||
src/common/y_tab.c
|
||||
src/common/lex_yy.c
|
||||
src/common/*.rc
|
||||
|
||||
src/os2/*.cpp
|
||||
src/os2/*.c
|
||||
src/os2/makefile.va
|
||||
src/os2/*.def
|
||||
src/os2/*.lst
|
||||
src/os2/*.sh
|
||||
src/*.icc
|
||||
src/unix/appunix.cpp
|
||||
src/unix/evtloop.cpp
|
||||
src/unix/timerunx.cpp
|
||||
|
||||
include/wx/os2/*.h
|
||||
include/wx/os2/*.rc
|
||||
include/wx/os2/*.res
|
||||
include/wx/msw/*.cur
|
||||
include/wx/msw/*.ico
|
||||
include/wx/msw/*.bmp
|
||||
wx/unix/evtloop.h
|
||||
|
||||
samples/minimal/Minimal.icc
|
||||
|
@@ -1,18 +0,0 @@
|
||||
build/palmos/.cdtproject
|
||||
build/palmos/.project
|
||||
build/palmos/*.mk
|
||||
build/palmos/makefile
|
||||
|
||||
docs/palmos/*.txt
|
||||
|
||||
src/palmos/*.cpp
|
||||
src/palmos/*.c
|
||||
src/palmos/*.h
|
||||
|
||||
include/wx/palmos/*.h
|
||||
include/wx/palmos/*.xrd
|
||||
include/wx/palmos/*.def
|
||||
include/wx/palmos/*.sld
|
||||
include/wx/palmos/*.xrd
|
||||
include/wx/palmos/Icons/*.bmp
|
||||
|
@@ -1,24 +0,0 @@
|
||||
|
||||
src/stc/*.cpp
|
||||
src/stc/stc.cpp.in
|
||||
src/stc/stc.h.in
|
||||
src/stc/gen_iface.py
|
||||
src/stc/*.h
|
||||
src/stc/*.rc
|
||||
src/stc/*.def
|
||||
src/stc/*.xbm
|
||||
src/stc/*.xpm
|
||||
src/stc/make*.*
|
||||
src/stc/*.ico
|
||||
src/stc/*.bmp
|
||||
src/stc/README.txt
|
||||
|
||||
src/stc/scintilla/README.txt
|
||||
src/stc/scintilla/include/Scintilla.iface
|
||||
src/stc/scintilla/include/*.h
|
||||
src/stc/scintilla/src/*.cpp
|
||||
src/stc/scintilla/src/*.cxx
|
||||
src/stc/scintilla/src/*.h
|
||||
include/wx/stc/*.h
|
||||
|
||||
|
@@ -1,46 +0,0 @@
|
||||
utils/tex2rtf/Makefile.in
|
||||
utils/tex2rtf/src/*.cpp
|
||||
utils/tex2rtf/src/*.h
|
||||
utils/tex2rtf/src/makefile.bcc
|
||||
utils/tex2rtf/src/makefile.b32
|
||||
utils/tex2rtf/src/makefile.wat
|
||||
utils/tex2rtf/src/makefile.unx
|
||||
utils/tex2rtf/src/makefile.vms
|
||||
utils/tex2rtf/src/makefile.g95
|
||||
utils/tex2rtf/src/makefile.gcc
|
||||
utils/tex2rtf/src/makefile.dmc
|
||||
utils/tex2rtf/src/makengui.nt
|
||||
utils/tex2rtf/src/Makefile.in
|
||||
utils/tex2rtf/src/*.bkl
|
||||
utils/tex2rtf/src/*.dsp
|
||||
utils/tex2rtf/src/*.xbm
|
||||
utils/tex2rtf/src/*.xpm
|
||||
utils/tex2rtf/src/*.sty
|
||||
utils/tex2rtf/src/*.ini
|
||||
utils/tex2rtf/lib/dummy
|
||||
utils/tex2rtf/src/*.bmp
|
||||
utils/tex2rtf/src/*.ico
|
||||
utils/tex2rtf/src/*.def
|
||||
utils/tex2rtf/src/*.rc
|
||||
|
||||
utils/tex2rtf/tools/*.1
|
||||
utils/tex2rtf/tools/*.exe
|
||||
utils/tex2rtf/tools/*.lex
|
||||
utils/tex2rtf/tools/*.rea
|
||||
utils/tex2rtf/tools/*.txt
|
||||
|
||||
utils/tex2rtf/docs/*.tex
|
||||
utils/tex2rtf/docs/*.sty
|
||||
utils/tex2rtf/docs/*.bib
|
||||
utils/tex2rtf/docs/*.hpj
|
||||
utils/tex2rtf/docs/*.ini
|
||||
utils/tex2rtf/docs/*.txt
|
||||
utils/tex2rtf/docs/*.cnt
|
||||
utils/tex2rtf/docs/*.eps
|
||||
utils/tex2rtf/docs/*.bmp
|
||||
utils/tex2rtf/docs/*.gif
|
||||
utils/tex2rtf/docs/*.wmf
|
||||
utils/tex2rtf/docs/*.shg
|
||||
utils/tex2rtf/docs/makefile.vc
|
||||
utils/tex2rtf/docs/Makefile
|
||||
|
@@ -1,26 +0,0 @@
|
||||
src/tiff/libtiff/Makefile.am
|
||||
src/tiff/libtiff/Makefile.in
|
||||
src/tiff/libtiff/Makefile.vc
|
||||
src/tiff/libtiff/libtiff.def
|
||||
src/tiff/libtiff/tif_config.h.in
|
||||
src/tiff/libtiff/tif_config.h.vc
|
||||
src/tiff/libtiff/tiffconf.h.in
|
||||
src/tiff/libtiff/tiffconf.h.vc
|
||||
src/tiff/libtiff/*.c
|
||||
src/tiff/libtiff/*.cxx
|
||||
src/tiff/libtiff/*.h
|
||||
src/tiff/libtiff/*.hxx
|
||||
src/tiff/COPYRIGHT
|
||||
src/tiff/ChangeLog
|
||||
src/tiff/Makefile.am
|
||||
src/tiff/Makefile.in
|
||||
src/tiff/Makefile.vc
|
||||
src/tiff/README
|
||||
src/tiff/RELEASE-DATE
|
||||
src/tiff/TODO
|
||||
src/tiff/VERSION
|
||||
src/tiff/aclocal.m4
|
||||
src/tiff/autogen.sh
|
||||
src/tiff/configure
|
||||
src/tiff/configure.ac
|
||||
src/tiff/nmake.opt
|
@@ -1,12 +0,0 @@
|
||||
include/wx/unix/*.h
|
||||
include/wx/univ/*.h
|
||||
|
||||
src/unix/*.cpp
|
||||
src/unix/*.c
|
||||
src/univ/*.cpp
|
||||
src/univ/*.c
|
||||
src/univ/*.lst
|
||||
src/univ/themes/*.cpp
|
||||
|
||||
docs/univ/*.txt
|
||||
|
@@ -1,3 +0,0 @@
|
||||
utils/makegen/Makefile.in
|
||||
utils/helpview/Makefile.in
|
||||
utils/helpview/src/Makefile.in
|
@@ -1,42 +0,0 @@
|
||||
utils/emulator/Makefile.in
|
||||
utils/emulator/src/*.cpp
|
||||
utils/emulator/src/*.h
|
||||
utils/emulator/src/makefile.vc
|
||||
utils/emulator/src/makefile.bcc
|
||||
utils/emulator/src/makefile.b32
|
||||
utils/emulator/src/makefile.wat
|
||||
utils/emulator/src/makefile.unx
|
||||
utils/emulator/src/makefile.vms
|
||||
utils/emulator/src/makefile.g95
|
||||
utils/emulator/src/*.bkl
|
||||
utils/emulator/src/*.xbm
|
||||
utils/emulator/src/*.xpm
|
||||
utils/emulator/src/*.sty
|
||||
utils/emulator/src/*.ini
|
||||
utils/emulator/src/*.bmp
|
||||
utils/emulator/src/*.ico
|
||||
utils/emulator/src/*.rc
|
||||
utils/emulator/src/*.wxe
|
||||
utils/emulator/src/*.jpg
|
||||
|
||||
utils/emulator/docs/*.txt
|
||||
utils/emulator/docs/*.jpg
|
||||
|
||||
utils/helpview/src/*.h
|
||||
utils/helpview/src/*.cpp
|
||||
utils/helpview/src/*.rc
|
||||
utils/helpview/src/makefile*
|
||||
utils/helpview/src/*.xbm
|
||||
utils/helpview/src/*.xpm
|
||||
utils/helpview/src/*.txt
|
||||
utils/helpview/src/*.htb
|
||||
utils/helpview/src/*.ico
|
||||
utils/helpview/src/*.xml
|
||||
utils/helpview/src/*.bkl
|
||||
utils/helpview/src/test.zip
|
||||
utils/helpview/src/bitmaps/*.xpm
|
||||
|
||||
utils/ifacecheck/src/*.*
|
||||
utils/ifacecheck/gcc*.*
|
||||
utils/ifacecheck/rungccxml.sh.in
|
||||
|
@@ -1,248 +0,0 @@
|
||||
build/msw/wx_adv.dsp
|
||||
build/msw/wx_aui.dsp
|
||||
build/msw/wx_base.dsp
|
||||
build/msw/wx_core.dsp
|
||||
build/msw/wx_dbgrid.dsp
|
||||
build/msw/wx_gl.dsp
|
||||
build/msw/wx_html.dsp
|
||||
build/msw/wx_media.dsp
|
||||
build/msw/wx_net.dsp
|
||||
build/msw/wx_odbc.dsp
|
||||
build/msw/wx_propgrid.dsp
|
||||
build/msw/wx_qa.dsp
|
||||
build/msw/wx_richtext.dsp
|
||||
build/msw/wx_stc.dsp
|
||||
build/msw/wx_wxexpat.dsp
|
||||
build/msw/wx_wxjpeg.dsp
|
||||
build/msw/wx_wxpng.dsp
|
||||
build/msw/wx_wxregex.dsp
|
||||
build/msw/wx_wxscintilla.dsp
|
||||
build/msw/wx_wxtiff.dsp
|
||||
build/msw/wx_wxzlib.dsp
|
||||
build/msw/wx_xml.dsp
|
||||
build/msw/wx_xrc.dsp
|
||||
build/msw/wx.dsw
|
||||
build/msw/wx_dll.dsw
|
||||
demos/bombs/bombs.dsp
|
||||
demos/bombs/bombs.dsw
|
||||
demos/forty/forty.dsp
|
||||
demos/forty/forty.dsw
|
||||
demos/fractal/fractal.dsp
|
||||
demos/fractal/fractal.dsw
|
||||
demos/life/life.dsp
|
||||
demos/life/life.dsw
|
||||
demos/poem/poem.dsp
|
||||
demos/poem/poem.dsw
|
||||
samples/access/access.dsp
|
||||
samples/access/access.dsw
|
||||
samples/animate/anitest.dsp
|
||||
samples/animate/anitest.dsw
|
||||
samples/artprov/artprov.dsp
|
||||
samples/artprov/artprov.dsw
|
||||
samples/aui/auidemo.dsp
|
||||
samples/aui/auidemo.dsw
|
||||
samples/calendar/calendar.dsp
|
||||
samples/calendar/calendar.dsw
|
||||
samples/caret/caret.dsp
|
||||
samples/caret/caret.dsw
|
||||
samples/checklst/checklst.dsp
|
||||
samples/checklst/checklst.dsw
|
||||
samples/collpane/collpane.dsp
|
||||
samples/collpane/collpane.dsw
|
||||
samples/combo/combo.dsp
|
||||
samples/combo/combo.dsw
|
||||
samples/config/config.dsp
|
||||
samples/config/config.dsw
|
||||
samples/console/console.dsp
|
||||
samples/console/console.dsw
|
||||
samples/controls/controls.dsp
|
||||
samples/controls/controls.dsw
|
||||
samples/dataview/dataview.dsp
|
||||
samples/dataview/dataview.dsw
|
||||
samples/db/db.dsp
|
||||
samples/db/db.dsw
|
||||
samples/debugrpt/debugrpt.dsp
|
||||
samples/debugrpt/debugrpt.dsw
|
||||
samples/dialogs/dialogs.dsp
|
||||
samples/dialogs/dialogs.dsw
|
||||
samples/dialup/dialup.dsp
|
||||
samples/dialup/dialup.dsw
|
||||
samples/display/display.dsp
|
||||
samples/display/display.dsw
|
||||
samples/dnd/dnd.dsp
|
||||
samples/dnd/dnd.dsw
|
||||
samples/docview/docview.dsp
|
||||
samples/docview/docview.dsw
|
||||
samples/docvwmdi/docvwmdi.dsp
|
||||
samples/docvwmdi/docvwmdi.dsw
|
||||
samples/dragimag/dragimag.dsp
|
||||
samples/dragimag/dragimag.dsw
|
||||
samples/drawing/drawing.dsp
|
||||
samples/drawing/drawing.dsw
|
||||
samples/dynamic/dynamic.dsp
|
||||
samples/dynamic/dynamic.dsw
|
||||
samples/erase/erase.dsp
|
||||
samples/erase/erase.dsw
|
||||
samples/event/event.dsp
|
||||
samples/event/event.dsw
|
||||
samples/except/except.dsp
|
||||
samples/except/except.dsw
|
||||
samples/exec/exec.dsp
|
||||
samples/exec/exec.dsw
|
||||
samples/font/font.dsp
|
||||
samples/font/font.dsw
|
||||
samples/grid/grid.dsp
|
||||
samples/grid/grid.dsw
|
||||
samples/help/help.dsp
|
||||
samples/help/help.dsw
|
||||
samples/htlbox/htlbox.dsp
|
||||
samples/htlbox/htlbox.dsw
|
||||
samples/html/about/about.dsp
|
||||
samples/html/about/about.dsw
|
||||
samples/html/help/help.dsp
|
||||
samples/html/help/help.dsw
|
||||
samples/html/helpview/helpview.dsp
|
||||
samples/html/helpview/helpview.dsw
|
||||
samples/html/printing/printing.dsp
|
||||
samples/html/printing/printing.dsw
|
||||
samples/html/test/test.dsp
|
||||
samples/html/test/test.dsw
|
||||
samples/html/virtual/virtual.dsp
|
||||
samples/html/virtual/virtual.dsw
|
||||
samples/html/widget/widget.dsp
|
||||
samples/html/widget/widget.dsw
|
||||
samples/html/zip/zip.dsp
|
||||
samples/html/zip/zip.dsw
|
||||
samples/image/image.dsp
|
||||
samples/image/image.dsw
|
||||
samples/internat/internat.dsp
|
||||
samples/internat/internat.dsw
|
||||
samples/ipc/ipc.dsw
|
||||
samples/ipc/ipc_ipcclient.dsp
|
||||
samples/ipc/ipc_ipcserver.dsp
|
||||
samples/joytest/joytest.dsp
|
||||
samples/joytest/joytest.dsw
|
||||
samples/keyboard/keyboard.dsp
|
||||
samples/keyboard/keyboard.dsw
|
||||
samples/layout/layout.dsp
|
||||
samples/layout/layout.dsw
|
||||
samples/listbox/listbox.dsp
|
||||
samples/listbox/listbox.dsw
|
||||
samples/listctrl/listctrl.dsp
|
||||
samples/listctrl/listctrl.dsw
|
||||
samples/mdi/mdi.dsp
|
||||
samples/mdi/mdi.dsw
|
||||
samples/mediaplayer/mediaplayer.dsp
|
||||
samples/mediaplayer/mediaplayer.dsw
|
||||
samples/memcheck/memcheck.dsp
|
||||
samples/memcheck/memcheck.dsw
|
||||
samples/menu/menu.dsp
|
||||
samples/menu/menu.dsw
|
||||
samples/mfc/mfc.dsp
|
||||
samples/mfc/mfc.dsw
|
||||
samples/minifram/minifram.dsp
|
||||
samples/minifram/minifram.dsw
|
||||
samples/minimal/minimal.dsp
|
||||
samples/minimal/minimal.dsw
|
||||
samples/multimon/multimon.dsp
|
||||
samples/multimon/multimon.dsw
|
||||
samples/nativdlg/nativdlg.dsp
|
||||
samples/nativdlg/nativdlg.dsw
|
||||
samples/notebook/notebook.dsp
|
||||
samples/notebook/notebook.dsw
|
||||
samples/oleauto/oleauto.dsp
|
||||
samples/oleauto/oleauto.dsw
|
||||
samples/opengl/cube/cube.dsp
|
||||
samples/opengl/cube/cube.dsw
|
||||
samples/opengl/isosurf/isosurf.dsp
|
||||
samples/opengl/isosurf/isosurf.dsw
|
||||
samples/opengl/penguin/penguin.dsp
|
||||
samples/opengl/penguin/penguin.dsw
|
||||
samples/ownerdrw/ownerdrw.dsp
|
||||
samples/ownerdrw/ownerdrw.dsw
|
||||
samples/png/png.dsp
|
||||
samples/png/png.dsw
|
||||
samples/popup/popup.dsp
|
||||
samples/popup/popup.dsw
|
||||
samples/power/power.dsp
|
||||
samples/power/power.dsw
|
||||
samples/printing/printing.dsp
|
||||
samples/printing/printing.dsw
|
||||
samples/propgrid/propgrid.dsp
|
||||
samples/propgrid/propgrid.dsw
|
||||
samples/propsize/propsize.dsp
|
||||
samples/propsize/propsize.dsw
|
||||
samples/regtest/regtest.dsp
|
||||
samples/regtest/regtest.dsw
|
||||
samples/render/render.dsw
|
||||
samples/render/render_renddll.dsp
|
||||
samples/render/render_render.dsp
|
||||
samples/richtext/richtext.dsp
|
||||
samples/richtext/richtext.dsw
|
||||
samples/rotate/rotate.dsp
|
||||
samples/rotate/rotate.dsw
|
||||
samples/sashtest/sashtest.dsp
|
||||
samples/sashtest/sashtest.dsw
|
||||
samples/scroll/scroll.dsp
|
||||
samples/scroll/scroll.dsw
|
||||
samples/shaped/shaped.dsp
|
||||
samples/shaped/shaped.dsw
|
||||
samples/sockets/sockets_client.dsp
|
||||
samples/sockets/sockets.dsw
|
||||
samples/sockets/sockets_server.dsp
|
||||
samples/sound/sound.dsp
|
||||
samples/sound/sound.dsw
|
||||
samples/splash/splash.dsp
|
||||
samples/splash/splash.dsw
|
||||
samples/splitter/splitter.dsp
|
||||
samples/splitter/splitter.dsw
|
||||
samples/statbar/statbar.dsp
|
||||
samples/statbar/statbar.dsw
|
||||
samples/stc/stctest.dsp
|
||||
samples/stc/stctest.dsw
|
||||
samples/svg/svgtest.dsp
|
||||
samples/svg/svgtest.dsw
|
||||
samples/taskbar/taskbar.dsp
|
||||
samples/taskbar/taskbar.dsw
|
||||
samples/text/text.dsp
|
||||
samples/text/text.dsw
|
||||
samples/thread/thread.dsp
|
||||
samples/thread/thread.dsw
|
||||
samples/toolbar/toolbar.dsp
|
||||
samples/toolbar/toolbar.dsw
|
||||
samples/treectrl/treectrl.dsp
|
||||
samples/treectrl/treectrl.dsw
|
||||
samples/typetest/typetest.dsp
|
||||
samples/typetest/typetest.dsw
|
||||
samples/validate/validate.dsp
|
||||
samples/validate/validate.dsw
|
||||
samples/vscroll/vscroll.dsp
|
||||
samples/vscroll/vscroll.dsw
|
||||
samples/widgets/widgets.dsp
|
||||
samples/widgets/widgets.dsw
|
||||
samples/wizard/wizard.dsp
|
||||
samples/wizard/wizard.dsw
|
||||
samples/xrc/xrcdemo.dsp
|
||||
samples/xrc/xrcdemo.dsw
|
||||
tests/test.dsw
|
||||
tests/test_printfbench.dsp
|
||||
tests/test_test.dsp
|
||||
tests/test_test_gui.dsp
|
||||
utils/emulator/src/emulator.dsp
|
||||
utils/emulator/src/emulator.dsw
|
||||
utils/helpview/src/helpview.dsp
|
||||
utils/helpview/src/helpview.dsw
|
||||
utils/hhp2cached/hhp2cached.dsp
|
||||
utils/hhp2cached/hhp2cached.dsw
|
||||
utils/tex2rtf/src/tex2rtf.dsw
|
||||
utils/tex2rtf/src/tex2rtf_tex2rtf.dsp
|
||||
utils/tex2rtf/src/tex2rtf_tex2rtf_gui.dsp
|
||||
utils/wxrc/wxrc.dsp
|
||||
utils/wxrc/wxrc.dsw
|
||||
include/msvc/wx/setup.h
|
||||
expat/expat.dsp
|
||||
jpeg/jpeg.dsp
|
||||
png/png.dsp
|
||||
regex/regex.dsp
|
||||
tiff/tiff.dsp
|
||||
zlib/zlib.dsp
|
@@ -1,228 +0,0 @@
|
||||
build/wince/wx_gl.vcp
|
||||
build/wince/wx_mono.vcp
|
||||
build/wince/wx.vcw
|
||||
build/wince/wx_wxexpat.vcp
|
||||
build/wince/wx_wxjpeg.vcp
|
||||
build/wince/wx_wxpng.vcp
|
||||
build/wince/wx_wxzlib.vcp
|
||||
demos/bombs/bombs.vcp
|
||||
demos/bombs/bombs.vcw
|
||||
demos/forty/forty.vcp
|
||||
demos/forty/forty.vcw
|
||||
demos/fractal/fractal.vcp
|
||||
demos/fractal/fractal.vcw
|
||||
demos/life/life.vcp
|
||||
demos/life/life.vcw
|
||||
demos/poem/poem.vcp
|
||||
demos/poem/poem.vcw
|
||||
samples/access/access.vcp
|
||||
samples/access/access.vcw
|
||||
samples/animate/anitest.vcp
|
||||
samples/animate/anitest.vcw
|
||||
samples/artprov/artprov.vcp
|
||||
samples/artprov/artprov.vcw
|
||||
samples/aui/auidemo.vcp
|
||||
samples/aui/auidemo.vcw
|
||||
samples/calendar/calendar.vcp
|
||||
samples/calendar/calendar.vcw
|
||||
samples/caret/caret.vcp
|
||||
samples/caret/caret.vcw
|
||||
samples/checklst/checklst.vcp
|
||||
samples/checklst/checklst.vcw
|
||||
samples/collpane/collpane.vcp
|
||||
samples/collpane/collpane.vcw
|
||||
samples/combo/combo.vcp
|
||||
samples/combo/combo.vcw
|
||||
samples/config/config.vcp
|
||||
samples/config/config.vcw
|
||||
samples/controls/controls.vcp
|
||||
samples/controls/controls.vcw
|
||||
samples/dataview/dataview.vcp
|
||||
samples/dataview/dataview.vcw
|
||||
samples/db/db.vcp
|
||||
samples/db/db.vcw
|
||||
samples/debugrpt/debugrpt.vcp
|
||||
samples/debugrpt/debugrpt.vcw
|
||||
samples/dialogs/dialogs.vcp
|
||||
samples/dialogs/dialogs.vcw
|
||||
samples/dialup/dialup.vcp
|
||||
samples/dialup/dialup.vcw
|
||||
samples/display/display.vcp
|
||||
samples/display/display.vcw
|
||||
samples/dnd/dnd.vcp
|
||||
samples/dnd/dnd.vcw
|
||||
samples/docview/docview.vcp
|
||||
samples/docview/docview.vcw
|
||||
samples/docvwmdi/docvwmdi.vcp
|
||||
samples/docvwmdi/docvwmdi.vcw
|
||||
samples/dragimag/dragimag.vcp
|
||||
samples/dragimag/dragimag.vcw
|
||||
samples/drawing/drawing.vcp
|
||||
samples/drawing/drawing.vcw
|
||||
samples/dynamic/dynamic.vcp
|
||||
samples/dynamic/dynamic.vcw
|
||||
samples/erase/erase.vcp
|
||||
samples/erase/erase.vcw
|
||||
samples/event/event.vcp
|
||||
samples/event/event.vcw
|
||||
samples/except/except.vcp
|
||||
samples/except/except.vcw
|
||||
samples/exec/exec.vcp
|
||||
samples/exec/exec.vcw
|
||||
samples/font/font.vcp
|
||||
samples/font/font.vcw
|
||||
samples/grid/grid.vcp
|
||||
samples/grid/grid.vcw
|
||||
samples/help/help.vcp
|
||||
samples/help/help.vcw
|
||||
samples/htlbox/htlbox.vcp
|
||||
samples/htlbox/htlbox.vcw
|
||||
samples/html/about/about.vcp
|
||||
samples/html/about/about.vcw
|
||||
samples/html/help/help.vcp
|
||||
samples/html/help/help.vcw
|
||||
samples/html/helpview/helpview.vcp
|
||||
samples/html/helpview/helpview.vcw
|
||||
samples/html/printing/printing.vcp
|
||||
samples/html/printing/printing.vcw
|
||||
samples/html/test/test.vcp
|
||||
samples/html/test/test.vcw
|
||||
samples/html/virtual/virtual.vcp
|
||||
samples/html/virtual/virtual.vcw
|
||||
samples/html/widget/widget.vcp
|
||||
samples/html/widget/widget.vcw
|
||||
samples/html/zip/zip.vcp
|
||||
samples/html/zip/zip.vcw
|
||||
samples/image/image.vcp
|
||||
samples/image/image.vcw
|
||||
samples/internat/internat.vcp
|
||||
samples/internat/internat.vcw
|
||||
samples/ipc/ipc_ipcclient.vcp
|
||||
samples/ipc/ipc_ipcserver.vcp
|
||||
samples/ipc/ipc.vcw
|
||||
samples/joytest/joytest.vcp
|
||||
samples/joytest/joytest.vcw
|
||||
samples/keyboard/keyboard.vcp
|
||||
samples/keyboard/keyboard.vcw
|
||||
samples/layout/layout.vcp
|
||||
samples/layout/layout.vcw
|
||||
samples/listbox/listbox.vcp
|
||||
samples/listbox/listbox.vcw
|
||||
samples/listctrl/listctrl.vcp
|
||||
samples/listctrl/listctrl.vcw
|
||||
samples/mdi/mdi.vcp
|
||||
samples/mdi/mdi.vcw
|
||||
samples/mediaplayer/mediaplayer.vcp
|
||||
samples/mediaplayer/mediaplayer.vcw
|
||||
samples/memcheck/memcheck.vcp
|
||||
samples/memcheck/memcheck.vcw
|
||||
samples/menu/menu.vcp
|
||||
samples/menu/menu.vcw
|
||||
samples/mfc/mfc.vcp
|
||||
samples/mfc/mfc.vcw
|
||||
samples/minifram/minifram.vcp
|
||||
samples/minifram/minifram.vcw
|
||||
samples/minimal/minimal.vcp
|
||||
samples/minimal/minimal.vcw
|
||||
samples/multimon/multimon.vcp
|
||||
samples/multimon/multimon.vcw
|
||||
samples/nativdlg/nativdlg.vcp
|
||||
samples/nativdlg/nativdlg.vcw
|
||||
samples/notebook/notebook.vcp
|
||||
samples/notebook/notebook.vcw
|
||||
samples/oleauto/oleauto.vcp
|
||||
samples/oleauto/oleauto.vcw
|
||||
samples/opengl/cube/cube.vcp
|
||||
samples/opengl/cube/cube.vcw
|
||||
samples/opengl/isosurf/isosurf.vcp
|
||||
samples/opengl/isosurf/isosurf.vcw
|
||||
samples/opengl/penguin/penguin.vcp
|
||||
samples/opengl/penguin/penguin.vcw
|
||||
samples/ownerdrw/ownerdrw.vcp
|
||||
samples/ownerdrw/ownerdrw.vcw
|
||||
samples/png/png.vcp
|
||||
samples/png/png.vcw
|
||||
samples/popup/popup.vcp
|
||||
samples/popup/popup.vcw
|
||||
samples/power/power.vcp
|
||||
samples/power/power.vcw
|
||||
samples/printing/printing.vcp
|
||||
samples/printing/printing.vcw
|
||||
samples/propsize/propsize.vcp
|
||||
samples/propsize/propsize.vcw
|
||||
samples/regtest/regtest.vcp
|
||||
samples/regtest/regtest.vcw
|
||||
samples/render/render_renddll.vcp
|
||||
samples/render/render_render.vcp
|
||||
samples/render/render.vcw
|
||||
samples/richtext/richtext.vcp
|
||||
samples/richtext/richtext.vcw
|
||||
samples/rotate/rotate.vcp
|
||||
samples/rotate/rotate.vcw
|
||||
samples/sashtest/sashtest.vcp
|
||||
samples/sashtest/sashtest.vcw
|
||||
samples/scroll/scroll.vcp
|
||||
samples/scroll/scroll.vcw
|
||||
samples/shaped/shaped.vcp
|
||||
samples/shaped/shaped.vcw
|
||||
samples/sockets/sockets_client.vcp
|
||||
samples/sockets/sockets_server.vcp
|
||||
samples/sockets/sockets.vcw
|
||||
samples/sound/sound.vcp
|
||||
samples/sound/sound.vcw
|
||||
samples/splash/splash.vcp
|
||||
samples/splash/splash.vcw
|
||||
samples/splitter/splitter.vcp
|
||||
samples/splitter/splitter.vcw
|
||||
samples/statbar/statbar.vcp
|
||||
samples/statbar/statbar.vcw
|
||||
samples/stc/stctest.vcp
|
||||
samples/stc/stctest.vcw
|
||||
samples/svg/svgtest.vcp
|
||||
samples/svg/svgtest.vcw
|
||||
samples/taskbar/taskbar.vcp
|
||||
samples/taskbar/taskbar.vcw
|
||||
samples/text/text.vcp
|
||||
samples/text/text.vcw
|
||||
samples/thread/thread.vcp
|
||||
samples/thread/thread.vcw
|
||||
samples/toolbar/toolbar.vcp
|
||||
samples/toolbar/toolbar.vcw
|
||||
samples/treectrl/treectrl.vcp
|
||||
samples/treectrl/treectrl.vcw
|
||||
samples/typetest/typetest.vcp
|
||||
samples/typetest/typetest.vcw
|
||||
samples/validate/validate.vcp
|
||||
samples/validate/validate.vcw
|
||||
samples/vscroll/vscroll.vcp
|
||||
samples/vscroll/vscroll.vcw
|
||||
samples/widgets/widgets.vcp
|
||||
samples/widgets/widgets.vcw
|
||||
samples/wizard/wizard.vcp
|
||||
samples/wizard/wizard.vcw
|
||||
samples/xrc/xrcdemo.vcp
|
||||
samples/xrc/xrcdemo.vcw
|
||||
utils/emulator/src/emulator.vcp
|
||||
utils/emulator/src/emulator.vcw
|
||||
utils/helpview/src/helpview.vcp
|
||||
utils/helpview/src/helpview.vcw
|
||||
utils/hhp2cached/hhp2cached.vcp
|
||||
utils/hhp2cached/hhp2cached.vcw
|
||||
utils/tex2rtf/src/tex2rtf.vcp
|
||||
utils/tex2rtf/src/tex2rtf.vcw
|
||||
build/wince/missing/*.*
|
||||
build/wince/missing/AGL/*.*
|
||||
build/wince/missing/Carbon/*.*
|
||||
build/wince/missing/CoreFoundation/*.*
|
||||
build/wince/missing/CoreServices/*.*
|
||||
build/wince/missing/ext/*.*
|
||||
build/wince/missing/gdk/*.*
|
||||
build/wince/missing/GL/*.*
|
||||
build/wince/missing/gtk/*.*
|
||||
build/wince/missing/machine/*.*
|
||||
build/wince/missing/OpenGL/*.*
|
||||
build/wince/missing/pango/*.*
|
||||
build/wince/missing/sys/*.*
|
||||
build/wince/missing/X11/*.*
|
||||
build/wince/missing/Xm/*.*
|
||||
|
@@ -1,26 +0,0 @@
|
||||
install-x11.txt
|
||||
readme-x11.txt
|
||||
|
||||
src/x11/files.lst
|
||||
src/x11/*.cpp
|
||||
src/x11/*.c
|
||||
src/x11/*.h
|
||||
src/x11/makefile*
|
||||
src/x11/*.inc
|
||||
src/x11/*.xbm
|
||||
|
||||
include/wx/x11/*.h
|
||||
include/wx/gtk/private/string.h
|
||||
include/wx/x11/nanox/X11/*.h
|
||||
|
||||
include/wx/mac/corefoundation/*.h
|
||||
src/mac/corefoundation/*.cpp
|
||||
|
||||
docs/x11/*.txt
|
||||
docs/x11/makewxx11
|
||||
|
||||
lib/dummy
|
||||
|
||||
misc/afm/*.afm
|
||||
misc/gs_afm/*.afm
|
||||
|
@@ -1,97 +0,0 @@
|
||||
src/expat/Changes
|
||||
src/expat/configure
|
||||
src/expat/configure.in
|
||||
src/expat/COPYING
|
||||
src/expat/expat_config.h.in
|
||||
src/expat/Makefile.in
|
||||
src/expat/MANIFEST
|
||||
src/expat/README
|
||||
src/expat/bcb5/*.bpf
|
||||
src/expat/bcb5/*.bpr
|
||||
src/expat/bcb5/*.mak
|
||||
src/expat/bcb5/*.def
|
||||
src/expat/bcb5/README.txt
|
||||
src/expat/conftools/*.m4
|
||||
src/expat/conftools/*.guess
|
||||
src/expat/conftools/*.sub
|
||||
src/expat/conftools/install-sh
|
||||
src/expat/conftools/*.sh
|
||||
src/expat/conftools/mkinstalldirs
|
||||
src/expat/conftools/PrintPath
|
||||
src/expat/doc/*.html
|
||||
src/expat/doc/*.png
|
||||
src/expat/doc/*.css
|
||||
src/expat/doc/*.1
|
||||
src/expat/doc/*.sgml
|
||||
src/expat/examples/*.c
|
||||
src/expat/lib/*.h
|
||||
src/expat/lib/*.c
|
||||
src/expat/tests/*.c
|
||||
src/expat/tests/*.h
|
||||
src/expat/tests/*.sh
|
||||
src/expat/tests/README.txt
|
||||
src/expat/vms/*.mms
|
||||
src/expat/vms/*.h
|
||||
src/expat/vms/README.vms
|
||||
src/expat/win32/*.iss
|
||||
src/expat/win32/MANIFEST.txt
|
||||
src/expat/xmlwf/*.c
|
||||
src/expat/xmlwf/*.h
|
||||
src/expat/xmlwf/*.cxx
|
||||
|
||||
src/xml/xml.cpp
|
||||
include/wx/xml/*.h
|
||||
|
||||
src/xrc/*.cpp
|
||||
src/xrc/*.h
|
||||
src/xrc/*.rc
|
||||
src/xrc/*.def
|
||||
src/xrc/*.xbm
|
||||
src/xrc/*.xpm
|
||||
src/xrc/makefile.vc
|
||||
src/xrc/makefile.bcc
|
||||
src/xrc/makefile.b32
|
||||
src/xrc/makefile.wat
|
||||
src/xrc/makefile.g95
|
||||
src/xrc/makefile.unx
|
||||
src/xrc/makefile.vms
|
||||
src/xrc/Makefile.in
|
||||
src/xrc/*.txt
|
||||
src/xrc/*.ico
|
||||
src/xrc/*.bmp
|
||||
src/xrc/README
|
||||
src/xrc/README.EXPAT
|
||||
|
||||
include/wx/xrc/*.h
|
||||
|
||||
samples/xrc/*.cpp
|
||||
samples/xrc/*.h
|
||||
samples/xrc/*.rc
|
||||
samples/xrc/*.def
|
||||
samples/xrc/*.xbm
|
||||
samples/xrc/makefile.*
|
||||
samples/xrc/*.txt
|
||||
samples/xrc/*.ico
|
||||
samples/xrc/*.bmp
|
||||
samples/xrc/*.xpm
|
||||
samples/xrc/xrcdemo.dsp
|
||||
samples/xrc/xrcdemo.bkl
|
||||
samples/xrc/rc/*.bmp
|
||||
samples/xrc/rc/*.gif
|
||||
samples/xrc/rc/*.ico
|
||||
samples/xrc/rc/*.xpm
|
||||
samples/xrc/rc/*.xrc
|
||||
|
||||
utils/wxrc/*.cpp
|
||||
utils/wxrc/*.h
|
||||
utils/wxrc/*.rc
|
||||
utils/wxrc/*.def
|
||||
utils/wxrc/*.xbm
|
||||
utils/wxrc/makefile.*
|
||||
utils/wxrc/*.txt
|
||||
utils/wxrc/*.ico
|
||||
utils/wxrc/*.bmp
|
||||
utils/wxrc/*.xpm
|
||||
utils/wxrc/wxrc.dsp
|
||||
utils/wxrc/*.bkl
|
||||
|
@@ -1,8 +0,0 @@
|
||||
VSCommonDir=$MSVS6_DIR/Common
|
||||
MSDevDir=$VSCommonDir/msdev98
|
||||
MSVCDir=$MSVS6_DIR/VC98
|
||||
MSSdk=$MSPSDK_DIR
|
||||
|
||||
export INCLUDE=$MSSdk/Include:$MSVCDir/ATL/INCLUDE:$MSVCDir/INCLUDE:$MSVCDir/MFC/INCLUDE:$INCLUDE
|
||||
export LIB=$MSSdk/Lib:$MSVCDir/LIB:$MSVCDir/MFC/LIB:$LIB
|
||||
export PATH=$MSSdk/Bin:$MSSdk/Bin/win95:$MSDevDir/BIN:$MSVCDir/BIN:$VSCommonDir/TOOLS/WINNT:$VSCommonDir/TOOLS:$PATH
|
@@ -1,8 +0,0 @@
|
||||
MSVCDir=$MSVS7_DIR/VC7
|
||||
VCINSTALLDIR=$MSVS7_DIR
|
||||
FrameworkSDKDir=$MSVS7_DIR/SDK/v1.1
|
||||
FrameworkDir=$NET_FrameworkDir
|
||||
FrameworkVersion=v1.1.4322
|
||||
export PATH=$MSVS7_DIR:$MSVCDir/BIN:$MSVS7_DIR/Common7/Tools:$MSVS7_DIR/Common7/Tools/bin/prerelease:$MSVS7_DIR/Common7/Tools/bin:$FrameworkSDKDir/bin:$FrameworkDir/$FrameworkVersion:$PATH
|
||||
export INCLUDE=$MSVCDir/ATLMFC/INCLUDE:$MSVCDir/INCLUDE:$MSVCDir/PlatformSDK/include/prerelease:$MSVCDir/PlatformSDK/include:$FrameworkSDKDir/include:$INCLUDE
|
||||
export LIB=$MSVCDir/ATLMFC/LIB:$MSVCDir/LIB:$MSVCDir/PlatformSDK/lib/prerelease:$MSVCDir/PlatformSDK/lib:$FrameworkSDKDir/lib:$LIB
|
@@ -1,132 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Make an Inno Setup distribution list, where files and dirs are represented by
|
||||
# sections like this:
|
||||
# [Dirs]
|
||||
# Name: {app}\backgrounds
|
||||
#
|
||||
# [Files]
|
||||
# Source: C:\program\setup\about.htm; DestDir: {app}\; DestName: about.htm
|
||||
#
|
||||
#
|
||||
# Usage: makeinno.sh sourcedir inno-topfile inno-bottomfile destfile
|
||||
# For example: makeinno.sh c:/project/allfiles c:/project/innotop.txt c:/project/innobott.txt c:/project/project.iss
|
||||
#
|
||||
|
||||
PROGNAME=$0
|
||||
SOURCEDIR=$1
|
||||
TOPFILE=$2
|
||||
BOTTOMFILE=$3
|
||||
INNOFILE=$4
|
||||
TEMPDIR=/tmp
|
||||
|
||||
dochecks()
|
||||
{
|
||||
if [ "$SOURCEDIR" = "" ] || [ "$TOPFILE" = "" ] || [ "$BOTTOMFILE" = "" ] || [ "$INNOFILE" = "" ] ; then
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ ! -d $SOURCEDIR ]; then
|
||||
echo "Sorry, the source directory $SOURCEDIR does not exist."
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ ! -f $TOPFILE ]; then
|
||||
echo "Sorry, the Inno Setup header $TOPFILE does not exist."
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ ! -f $BOTTOMFILE ]; then
|
||||
echo "Sorry, the Inno Setup header $BOTTOMFILE does not exist."
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ ! -d $TEMPDIR ]; then
|
||||
mkdir $TEMPDIR
|
||||
fi
|
||||
}
|
||||
|
||||
doreplace()
|
||||
{
|
||||
thefile=$1
|
||||
theexpr=$2
|
||||
|
||||
if [ -f $thefile ]; then
|
||||
sed -e "$theexpr" < $thefile > $thefile.tmp
|
||||
mv $thefile.tmp $thefile
|
||||
else
|
||||
echo "*** $thefile not found."
|
||||
fi
|
||||
}
|
||||
|
||||
generateinno()
|
||||
{
|
||||
# SRCDIR=`cygpath -u $SRCDIR`
|
||||
# DESTDIR=`cygpath -u $DESTDIR`
|
||||
# TEMPDIR=`cygpath -u $TEMP`
|
||||
|
||||
|
||||
# Generate a list of all files in the distribution.
|
||||
# We pass the output through sed in order to remove the preceding "./"
|
||||
cd $SOURCEDIR
|
||||
find . -print | sed -e "s/\.\\///g" > $TEMPDIR/files1.tmp
|
||||
|
||||
echo "[Dirs]" > $TEMPDIR/files2.tmp
|
||||
|
||||
for line in `cat $TEMPDIR/files1.tmp` ; do
|
||||
|
||||
# If a directory, add to file
|
||||
if [ -d $line ] ; then
|
||||
# The relative path
|
||||
# TODO: make into DOS filename form
|
||||
#line2=`cygpath -w $line`
|
||||
line2=$line
|
||||
|
||||
echo " Name: {app}\\"$line2 >> $TEMPDIR/files2.tmp
|
||||
fi
|
||||
done
|
||||
|
||||
echo "" >> $TEMPDIR/files2.tmp
|
||||
echo "[Files]" >> $TEMPDIR/files2.tmp
|
||||
|
||||
for line in `cat $TEMPDIR/files1.tmp` ; do
|
||||
|
||||
# If not a directory, add to file
|
||||
if [ ! -d $line ] ; then
|
||||
# The relative path
|
||||
# TODO: make into DOS filename form
|
||||
#line2=`cygpath -w $line`
|
||||
line2=$line
|
||||
|
||||
# The absolute path
|
||||
# TODO: make into DOS filename form
|
||||
#line1=`cygpath -w $SOURCEDIR`"\\"$line2
|
||||
line1=$SOURCEDIR"\\"$line2
|
||||
#pathonly=`find $line -printf "%h"`
|
||||
pathonly=`dirname $line`
|
||||
|
||||
echo " Source: "$line1"; DestDir: {app}\\"$pathonly >> $TEMPDIR/files2.tmp
|
||||
fi
|
||||
done
|
||||
|
||||
echo "" >> $TEMPDIR/files2.tmp
|
||||
|
||||
doreplace $TEMPDIR/files2.tmp "s/\//\\\/g"
|
||||
|
||||
# Concatenate the 3 sections
|
||||
cat $TOPFILE $TEMPDIR/files2.tmp $BOTTOMFILE > $INNOFILE
|
||||
|
||||
rm -f $TEMPDIR/files1.tmp
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
echo Usage: $PROGNAME sourcedir inno-topfile inno-bottomfile destfile
|
||||
echo For example: $PROGNAME c:/project/allfiles c:/project/innotop.txt c:/project/innobott.txt c:/project/project.iss
|
||||
echo Remember to use paths of the form c:/thing rather than /c/thing.
|
||||
exit 1
|
||||
}
|
||||
|
||||
dochecks
|
||||
generateinno
|
||||
|
||||
|
@@ -1,738 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make a distribution of an application on MSW.
|
||||
# Example:
|
||||
# ../distrib/msw/makesetup.sh --wxmsw --verbose &> log
|
||||
|
||||
# If your zip accepts Cygwin-style paths, then
|
||||
# use cygpath, else substitute echo
|
||||
CYGPATHPROG=cygpath
|
||||
#CYGPATHPROG=echo
|
||||
|
||||
INNO=1
|
||||
SPINMSW=0
|
||||
SPINOS2=0
|
||||
SPINDOCS=0
|
||||
SPINALL=0
|
||||
SPINWXALL=0
|
||||
SPINBASE=0
|
||||
GETMAKEFILES=0
|
||||
VERBOSE=0
|
||||
ZIPFLAGS=
|
||||
|
||||
PROGNAME=$0
|
||||
SCRIPTDIR=$WXWIN/distrib/scripts
|
||||
. $SCRIPTDIR/msw/setup.var
|
||||
. $SCRIPTDIR/utils.inc
|
||||
|
||||
MANIFESTDIR=$SCRIPTDIR/manifests
|
||||
WEBFILES=c:/wx2dev/wxWebSite
|
||||
if [ ! "$CYGPATH" = "" ]; then
|
||||
WEBFILES=`$CYGPATH "$WEBFILES"`
|
||||
fi
|
||||
|
||||
# Set this to the required version
|
||||
if [ "$VERSION" = "" ]; then
|
||||
VERSION=2.6.2
|
||||
fi
|
||||
|
||||
getfilelist(){
|
||||
port=$1
|
||||
outfile=$2
|
||||
|
||||
filelist="base.rsp"
|
||||
utilsfiles="tex2rtf.rsp utils.rsp utilmake.rsp"
|
||||
commonfiles="generic.rsp generic_samples.rsp jpeg.rsp tiff.rsp xml.rsp makefile.rsp $utilsfiles"
|
||||
|
||||
if [ ! $port = "base" ]; then
|
||||
filelist="$filelist $commonfiles"
|
||||
fi
|
||||
|
||||
if [ $port = "msw" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist msw.rsp univ.rsp vc.rsp mmedia.rsp wince.rsp dmc.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "os2" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist os2.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "x11" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist x11.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "mgl" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist mgl.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "gtk" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist gtk.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "cocoa" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist cocoa.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "motif" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist motif.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "mac" ] || [ $port = "all" ]; then
|
||||
filelist="$filelist mac.rsp"
|
||||
fi
|
||||
|
||||
if [ $port = "all" ]; then
|
||||
filelist="$filelist palmos.rsp"
|
||||
fi
|
||||
|
||||
tempfile="/tmp/wx$port.files.in"
|
||||
rm -f $tempfile
|
||||
rm -f $outfile
|
||||
|
||||
olddir=$PWD
|
||||
cd $MANIFESTDIR
|
||||
|
||||
cat $filelist > $tempfile
|
||||
|
||||
cd $APPDIR
|
||||
expandlines $tempfile $outfile
|
||||
|
||||
cd $olddir
|
||||
}
|
||||
|
||||
doreplace()
|
||||
{
|
||||
thefile=$1
|
||||
theexpr=$2
|
||||
|
||||
if [ -f $thefile ]; then
|
||||
sed -e "$theexpr" < $thefile > $thefile.tmp
|
||||
mv $thefile.tmp $thefile
|
||||
else
|
||||
echo "*** $thefile not found."
|
||||
fi
|
||||
}
|
||||
|
||||
unix2dosname()
|
||||
{
|
||||
echo $1 | sed -e "s/\//\\\\\\\/g" > /tmp/filename.tmp
|
||||
RETVALUE=`cat /tmp/filename.tmp`
|
||||
rm -f /tmp/filename.tmp
|
||||
}
|
||||
|
||||
unix2dosname2()
|
||||
{
|
||||
echo $1 | sed -e "s/\//\\\\/g" > /tmp/filename.tmp
|
||||
RETVALUE=`cat /tmp/filename.tmp`
|
||||
rm -f /tmp/filename.tmp
|
||||
}
|
||||
|
||||
doinit()
|
||||
{
|
||||
if [ "$VERBOSE" != "1" ]; then
|
||||
ZIPFLAGS=-q
|
||||
fi
|
||||
}
|
||||
|
||||
rearchive()
|
||||
{
|
||||
archive=$1
|
||||
dirname=$2
|
||||
changeto=$3
|
||||
|
||||
echo Re-archiving $archive as $dirname
|
||||
|
||||
pushd $changeto
|
||||
|
||||
if [ -d $dirname ]; then
|
||||
rm -f -r $dirname
|
||||
fi
|
||||
mkdir $dirname
|
||||
cd $dirname
|
||||
unzip $ZIPFLAGS ../$archive
|
||||
cd ..
|
||||
rm -f $archive
|
||||
zip $ZIPFLAGS -r $archive $dirname/*
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
ziptotar()
|
||||
{
|
||||
archive=$1
|
||||
dirname=$2
|
||||
changeto=$3
|
||||
|
||||
pushd $changeto
|
||||
|
||||
unzip $ZIPFLAGS $archive
|
||||
|
||||
tar cfz $archive.tar.gz $dirname
|
||||
|
||||
tar -cvf $dirname | bzip2 -9 > $archive.tar.bz2
|
||||
|
||||
rm -rf $dirname
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
|
||||
rearchivetar()
|
||||
{
|
||||
archive=$1
|
||||
dirname=$2
|
||||
changeto=$3
|
||||
|
||||
echo Re-tarring $archive as $dirname
|
||||
|
||||
pushd $changeto
|
||||
|
||||
if [ -d $dirname ]; then
|
||||
rm -f -r $dirname
|
||||
fi
|
||||
mkdir $dirname
|
||||
cd $dirname
|
||||
tar xfz ../$archive
|
||||
cd ..
|
||||
rm -f $archive
|
||||
tar cfz $archive $dirname/*
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
# Find the version from wx/version.h
|
||||
# Not yet used
|
||||
findversion()
|
||||
{
|
||||
echo "#include <stdio.h>" > /tmp/appver.c
|
||||
echo "#include \"$VERSIONSYMBOLFILE\"" >> /tmp/appver.c
|
||||
echo "int main() { printf(\"%.2f\", $VERSIONSYMBOL); }" >> /tmp/appver.c
|
||||
gcc /tmp/appver.c -I$APPDIR -o /tmp/appver
|
||||
VERSION=`/tmp/appver`
|
||||
rm -f /tmp/appver /tmp/appver.c
|
||||
}
|
||||
|
||||
dospinos2()
|
||||
{
|
||||
echo Zipping OS/2...
|
||||
|
||||
cd $APPDIR
|
||||
getfilelist "os2" /tmp/os2files
|
||||
|
||||
# Zip up the complete wxOS2-xxx.zip file
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxOS2-$VERSION.zip < /tmp/os2files
|
||||
|
||||
# Rearchive under wxWidgets-$VERSION
|
||||
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
|
||||
rm -f -r $DESTDIR/wxWidgets-$VERSION
|
||||
fi
|
||||
|
||||
mkdir $DESTDIR/wxWidgets-$VERSION
|
||||
cd $DESTDIR/wxWidgets-$VERSION
|
||||
unzip $ZIPFLAGS ../wxOS2-$VERSION.zip
|
||||
|
||||
echo Copying readme files...
|
||||
cp $APPDIR/docs/os2/install.txt INSTALL-OS2.txt
|
||||
|
||||
cd $DESTDIR
|
||||
|
||||
rm -f wxOS2-$VERSION.zip
|
||||
zip $ZIPFLAGS -r wxOS2-$VERSION.zip wxWidgets-$VERSION/*
|
||||
}
|
||||
|
||||
dospinmsw()
|
||||
{
|
||||
echo Zipping wxMSW...
|
||||
|
||||
cd $APPDIR
|
||||
|
||||
# now expand the wildcards to actual file names
|
||||
getfilelist "msw" /tmp/mswfiles
|
||||
|
||||
# Create wxWidgets-$VERSION-win.zip which is used to create wxMSW
|
||||
echo Zipping individual components
|
||||
rm -f $DESTDIR/wxWidgets-$VERSION-win.zip
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-win.zip < /tmp/mswfiles
|
||||
}
|
||||
|
||||
dospinwxall()
|
||||
{
|
||||
echo Zipping wxAll...
|
||||
cd $APPDIR
|
||||
|
||||
echo Zipping individual components
|
||||
rm -f $DESTDIR/wxWidgets-$VERSION-all.zip
|
||||
|
||||
# Save adding all the wxMSW files again
|
||||
if [ ! -f $DESTDIR/wxWidgets-$VERSION-win.zip ]; then
|
||||
dospinmsw
|
||||
fi
|
||||
cp $DESTDIR/wxWidgets-$VERSION-win.zip $DESTDIR/wxWidgets-$VERSION-all.zip
|
||||
|
||||
cat $MANIFESTDIR/cw_mac.rsp $MANIFESTDIR/vc.rsp $MANIFESTDIR/x11.rsp $MANIFESTDIR/gtk.rsp $MANIFESTDIR/cocoa.rsp $MANIFESTDIR/motif.rsp $MANIFESTDIR/mac.rsp $MANIFESTDIR/mgl.rsp $MANIFESTDIR/os2.rsp $MANIFESTDIR/palmos.rsp | sort | uniq > /tmp/all.txt
|
||||
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-all.zip < /tmp/all.txt
|
||||
|
||||
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
|
||||
rm -f -r $DESTDIR/wxWidgets-$VERSION
|
||||
fi
|
||||
|
||||
mkdir $DESTDIR/wxWidgets-$VERSION
|
||||
cd $DESTDIR/wxWidgets-$VERSION
|
||||
unzip $ZIPFLAGS ../wxWidgets-$VERSION-all.zip
|
||||
|
||||
cd $DESTDIR
|
||||
|
||||
rm -f $DESTDIR/wxWidgets-$VERSION-all.zip
|
||||
zip $ZIPFLAGS -r wxWidgets-$VERSION.zip wxWidgets-$VERSION/*
|
||||
}
|
||||
|
||||
dospinbase()
|
||||
{
|
||||
cd $APPDIR
|
||||
|
||||
echo Zipping wxBase...
|
||||
rm -f $DESTDIR/wxBase-$VERSION.zip
|
||||
expandlines $MANIFESTDIR/base.rsp /tmp/basefiles
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxBase-$VERSION.zip < /tmp/basefiles
|
||||
|
||||
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
|
||||
rm -f -r $DESTDIR/wxWidgets-$VERSION
|
||||
fi
|
||||
|
||||
mkdir $DESTDIR/wxWidgets-$VERSION
|
||||
cd $DESTDIR/wxWidgets-$VERSION
|
||||
unzip $ZIPFLAGS ../wxBase-$VERSION.zip
|
||||
|
||||
echo Copying readme files...
|
||||
cp $APPDIR/docs/base/readme.txt README.txt
|
||||
|
||||
cd $DESTDIR
|
||||
|
||||
rm -f wxBase-$VERSION.zip
|
||||
zip $ZIPFLAGS -r wxBase-$VERSION.zip wxWidgets-$VERSION/*
|
||||
}
|
||||
|
||||
dospindocs()
|
||||
{
|
||||
cd $APPDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-DocSource.zip
|
||||
expandlines $MANIFESTDIR/docsrc.rsp /tmp/docsources
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-DocSource.zip < /tmp/docsources
|
||||
rearchive wxWidgets-$VERSION-DocSource.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-WinHelp.zip
|
||||
expandlines $MANIFESTDIR/wx_hlp.rsp /tmp/winhelp
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-WinHelp.zip < /tmp/winhelp
|
||||
rearchive wxWidgets-$VERSION-WinHelp.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-HTML.zip
|
||||
expandlines $MANIFESTDIR/wx_html.rsp /tmp/htmldocs
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTML.zip < /tmp/htmldocs
|
||||
rearchive wxWidgets-$VERSION-HTML.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-PDF.zip
|
||||
expandlines $MANIFESTDIR/wx_pdf.rsp /tmp/pdfdocs
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-PDF.zip < /tmp/pdfdocs
|
||||
rearchive wxWidgets-$VERSION-PDF.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-PDF.tar.gz
|
||||
tar zcf /c/wx2dev/wxWindows/deliver/wxWidgets-$VERSION-PDF.tar.gz docs/pdf/*.pdf
|
||||
rearchivetar wxWidgets-$VERSION-PDF.tar.gz wxWidgets-$VERSION /c/wx2dev/wxWindows/deliver
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-HTB.zip
|
||||
expandlines $MANIFESTDIR/wx_htb.rsp /tmp/htbdocs
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTB.zip < /tmp/htbdocs
|
||||
rearchive wxWidgets-$VERSION-HTB.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip
|
||||
expandlines $MANIFESTDIR/wx_chm.rsp /tmp/chmdocs
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip < /tmp/chmdocs
|
||||
rearchive wxWidgets-$VERSION-HTMLHelp.zip wxWidgets-$VERSION $DESTDIR
|
||||
|
||||
# Add Linuxy docs to a separate archive to be transported to Linux for the
|
||||
# Linux-based releases
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip
|
||||
|
||||
cat $MANIFESTDIR/wx_html.rsp $MANIFESTDIR/wx_pdf.rsp $MANIFESTDIR/wx_htb.rsp > /tmp/linuxdocs.in
|
||||
expandlines /tmp/linuxdocs.in /tmp/linuxdocs
|
||||
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip < /tmp/linuxdocs
|
||||
|
||||
# PDF/HTML docs that should go into the Windows setup because
|
||||
# there are no WinHelp equivalents
|
||||
echo Creating $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip
|
||||
expandlines $SCRIPT/extradoc.rsp /tmp/extradocs
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip < /tmp/extradocs
|
||||
rearchive wxWidgets-$VERSION-ExtraDoc.zip wxWidgets-$VERSION $DESTDIR
|
||||
}
|
||||
|
||||
|
||||
dospinport(){
|
||||
port=$1
|
||||
|
||||
if [ $port != "all" ]; then
|
||||
portname="`echo $port|tr '[a-z]' '[A-Z]'`"
|
||||
else
|
||||
portname="wxWidgets"
|
||||
fi
|
||||
|
||||
echo "Zipping wx$portname..."
|
||||
|
||||
cd $APPDIR
|
||||
portfiles="/tmp/wx$port.files"
|
||||
getfilelist "$port" "$portfiles"
|
||||
|
||||
zip $ZIPFLAGS -@ $DESTDIR/wx$portname-$VERSION.zip < $portfiles
|
||||
zip $ZIPFLAGS -g $DESTDIR/wx$portname-$VERSION.zip LICENSE.txt COPYING.LIB CHANGES.txt README.txt
|
||||
|
||||
if [ $port = "msw" ] || [ $port = "all" ]; then
|
||||
zip $ZIPFLAGS -g $DESTDIR/wx$portname-$VERSION.zip README-MSW.txt INSTALL-MSW.txt
|
||||
fi
|
||||
|
||||
if [ $port = "os2" ] || [ $port = "all" ]; then
|
||||
zip $ZIPFLAGS -g $DESTDIR/wx$portname-$VERSION.zip INSTALL-OS2.txt
|
||||
fi
|
||||
|
||||
# put all files in a wxWidgets-$VERSION subdir in the zip archive
|
||||
rearchive wx$portname-$VERSION.zip wxWidgets-$VERSION $DESTDIR
|
||||
}
|
||||
|
||||
dospininstaller()
|
||||
{
|
||||
cd $DESTDIR
|
||||
|
||||
rm -f -r wxWidgets-$VERSION
|
||||
|
||||
echo Unzipping the Windows files into wxWidgets-$VERSION
|
||||
|
||||
mkdir -p wxWidgets-$VERSION
|
||||
|
||||
unzip $ZIPFLAGS -o wxWidgets-$VERSION-HTMLHelp.zip
|
||||
unzip $ZIPFLAGS -o wxWidgets-$VERSION-ExtraDoc.zip
|
||||
|
||||
# After this change of directory, we're in the
|
||||
# temporary 'wx' directory and not acting on
|
||||
# the source wxWidgets directory.
|
||||
cd $DESTDIR/wxWidgets-$VERSION
|
||||
|
||||
# Now delete a few files that are unnecessary
|
||||
#attrib -R *
|
||||
rm -f BuildCVS.txt descrip.mms
|
||||
rm -f setup.h_vms
|
||||
rm -f docs/html/wxbook.htm docs/html/roadmap.htm
|
||||
rm -f src/mingegcs.bat
|
||||
rm -f -r distrib
|
||||
rm -f *.spec
|
||||
rm -f src/gtk/descrip.mms src/motif/descrip.mms
|
||||
|
||||
|
||||
# Disabled for now - Now cp some binary files to 'bin'
|
||||
if [ ! -d bin ]; then
|
||||
mkdir bin
|
||||
fi
|
||||
|
||||
#cp $APPDIR/bin/tex2rtf.exe bin
|
||||
#cp $APPDIR/bin/tex2rtf.chm bin
|
||||
#cp $APPDIR/bin/widgets.exe bin
|
||||
#cp $APPDIR/bin/life.exe bin
|
||||
#cp $APPDIR/demos/life/breeder.lif bin
|
||||
#cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
|
||||
|
||||
if [ ! -d docs/pdf ]; then
|
||||
mkdir docs/pdf
|
||||
fi
|
||||
#cp $APPDIR/docs/pdf/wxTutorial.pdf docs/pdf
|
||||
|
||||
# Make wxMSW-xxx.zip
|
||||
cd $DESTDIR
|
||||
zip $ZIPFLAGS -r wxMSW-$VERSION.zip wxWidgets-$VERSION/*
|
||||
cd wxWidgets-$VERSION
|
||||
|
||||
if [ "$INNO" != "0" ]; then
|
||||
echo Generating $SETUPSCRIPTNAME
|
||||
rm -f $SETUPSCRIPTNAME
|
||||
|
||||
sh $SCRIPTDIR/msw/makeinno.sh $SETUPIMAGEDIR $INNOTOP $INNOBOTTOM $SETUPSCRIPTNAME
|
||||
|
||||
if [ ! -f $SETUPSCRIPTNAME ]; then
|
||||
echo "*** Error - something went wrong with the script file generation."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Now replace %VERSION% with the real application version, and other
|
||||
# variables
|
||||
echo Replacing variables in the setup script
|
||||
doreplace $SETUPSCRIPTNAME "s/%VERSION%/$VERSION/g"
|
||||
doreplace $SETUPSCRIPTNAME "s/%COPYRIGHTHOLDER%/$AUTHOR/g"
|
||||
doreplace $SETUPSCRIPTNAME "s/%VENDOR%/$VENDOR/g"
|
||||
|
||||
unix2dosname $READMEFILE
|
||||
doreplace $SETUPSCRIPTNAME "s;%READMEFILE%;$RETVALUE;g"
|
||||
|
||||
unix2dosname $READMEAFTERFILE
|
||||
doreplace $SETUPSCRIPTNAME "s;%READMEAFTERFILE%;$RETVALUE;g"
|
||||
|
||||
unix2dosname $LICENSEFILE
|
||||
doreplace $SETUPSCRIPTNAME "s;%LICENSEFILE%;$RETVALUE;g"
|
||||
|
||||
doreplace $SETUPSCRIPTNAME "s/%APPNAME%/$APPNAME/g"
|
||||
doreplace $SETUPSCRIPTNAME "s/%APPTITLE%/$APPTITLE/g"
|
||||
|
||||
unix2dosname $SETUPIMAGEDIR
|
||||
doreplace $SETUPSCRIPTNAME "s;%SOURCEDIR%;$RETVALUE;g"
|
||||
|
||||
unix2dosname $DESTDIR
|
||||
doreplace $SETUPSCRIPTNAME "s;%OUTPUTDIR%;$RETVALUE;g"
|
||||
|
||||
doreplace $SETUPSCRIPTNAME "s/%APPEXTENSION%/$APPEXTENSION/g"
|
||||
|
||||
# FIXME: how do we get the first name in the list?
|
||||
if [ "$MANUALFILES" != "" ]; then
|
||||
HELPFILE=`basename $MANUALFILES`
|
||||
unix2dosname $HELPFILE
|
||||
doreplace $SETUPSCRIPTNAME "s;%HELPFILE%;$RETVALUE;g"
|
||||
fi
|
||||
|
||||
rm -f $DESTDIR/setup*.* $DESTDIR/wxMSW-$VERSION-Setup.exe
|
||||
|
||||
# Inno Setup complains if this step is not done
|
||||
unix2dos --unix2dos $SETUPSCRIPTNAME
|
||||
|
||||
# Now invoke INNO compiler on the new ISS file
|
||||
# First, make a DOS filename or Inno Setup will get confused.
|
||||
|
||||
unix2dosname2 $SETUPSCRIPTNAME
|
||||
DOSFILENAME=$RETVALUE
|
||||
|
||||
# Note: the double slash is Mingw32/MSYS convention for
|
||||
# denoting a switch, that must not be converted into
|
||||
# a path (otherwise /c = c:/)
|
||||
|
||||
cd `dirname $SETUPSCRIPTNAME`
|
||||
BASESCRIPTNAME=`basename $SETUPSCRIPTNAME`
|
||||
echo Invoking Inno Setup compiler on $BASESCRIPTNAME
|
||||
|
||||
"$SETUPCOMPILER" //cc $BASESCRIPTNAME
|
||||
|
||||
if [ ! -f $DESTDIR/setup.exe ]; then
|
||||
echo "*** Error - the setup.exe was not generated."
|
||||
exit
|
||||
fi
|
||||
|
||||
cd $DESTDIR
|
||||
mv setup.exe wxMSW-$VERSION-Setup.exe
|
||||
|
||||
fi
|
||||
# echo Putting all the setup files into a single zip archive
|
||||
# zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.*
|
||||
|
||||
rm -f wxWidgets-$VERSION-ExtraDoc.zip
|
||||
rm -f wxWidgets-$VERSION-DocSource.zip
|
||||
rm -f wxWidgets-$VERSION-LinuxDocs.zip
|
||||
|
||||
echo If you saw no warnings or errors, $APPTITLE was successfully spun.
|
||||
echo
|
||||
}
|
||||
|
||||
makesetup()
|
||||
{
|
||||
|
||||
if [ ! -d $SETUPIMAGEDIR ]; then
|
||||
echo Making the $SETUPIMAGEDIR for preparing the setup
|
||||
mkdir -p $SETUPIMAGEDIR
|
||||
fi
|
||||
|
||||
# Copying readmes
|
||||
if [ "$READMEFILE" != "" ] && [ -f $READMEFILE ]; then
|
||||
echo Copying readme.txt
|
||||
cp $READMEFILE $SETUPIMAGEDIR
|
||||
# else
|
||||
# echo "*** Warning - $READMEFILE not found"
|
||||
fi
|
||||
|
||||
if [ "$LICENSEFILE" != "" ] && [ -f $LICENSEFILE ]; then
|
||||
echo Copying licence.txt
|
||||
cp $LICENSEFILE $SETUPIMAGEDIR
|
||||
# else
|
||||
# echo "*** Warning - $LICENSEFILE not found"
|
||||
fi
|
||||
|
||||
if [ "$MAKEMANUAL" != "0" ]; then
|
||||
if [ -d $MANUALDIR ]; then
|
||||
cd $MANUALDIR
|
||||
make
|
||||
else
|
||||
echo "*** Warning - $MANUALDIR not found"
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f $DESTDIR/wx*.zip
|
||||
rm -f $DESTDIR/*.htb
|
||||
rm -f $DESTDIR/ogl3*.zip
|
||||
rm -f $DESTDIR/tex2rtf2*.zip
|
||||
rm -f $DESTDIR/jpeg*.zip
|
||||
rm -f $DESTDIR/tiff*.zip
|
||||
rm -f $DESTDIR/utils*.zip
|
||||
rm -f $DESTDIR/extradoc*.zip
|
||||
rm -f $DESTDIR/stc*.zip
|
||||
rm -f $DESTDIR/*-win32*.zip
|
||||
rm -f $DESTDIR/setup*.*
|
||||
rm -f $DESTDIR/*.txt
|
||||
rm -f $DESTDIR/make*
|
||||
|
||||
if [ -d $DESTDIR/wx ]; then
|
||||
rm -f -r $DESTDIR/wx
|
||||
fi
|
||||
|
||||
if [ ! -d $DESTDIR ]; then
|
||||
mkdir $DESTDIR
|
||||
fi
|
||||
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
|
||||
rm -f -r $DESTDIR/wxWidgets-$VERSION
|
||||
fi
|
||||
|
||||
# Copy FAQ from wxWebSite CVS
|
||||
#if [ ! -d $WEBFILES ]; then
|
||||
# echo Error - $WEBFILES does not exist
|
||||
# exit
|
||||
#fi
|
||||
|
||||
echo Copying FAQ and other files from $WEBFILES
|
||||
cp $WEBFILES/site/faq*.htm $APPDIR/docs/html
|
||||
cp $WEBFILES/site/platform.htm $APPDIR/docs/html
|
||||
cp $WEBFILES/site/i18n.htm $APPDIR/docs/html
|
||||
|
||||
echo Copying readme files...
|
||||
cp $APPDIR/docs/msw/readme.txt README-MSW.txt
|
||||
cp $APPDIR/docs/msw/install.txt INSTALL-MSW.txt
|
||||
cp $APPDIR/docs/os2/install.txt INSTALL-OS2.txt
|
||||
cp $APPDIR/docs/licence.txt LICENCE.txt
|
||||
cp $APPDIR/docs/lgpl.txt COPYING.LIB
|
||||
cp $APPDIR/docs/changes.txt CHANGES.txt
|
||||
cp $APPDIR/docs/readme.txt README.txt
|
||||
|
||||
# Copy setup0.h files to setup.h
|
||||
# OS/2 always built with configure now
|
||||
# cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h
|
||||
cp $APPDIR/include/wx/msw/setup0.h $APPDIR/include/wx/msw/setup.h
|
||||
cp $APPDIR/include/wx/univ/setup0.h $APPDIR/include/wx/univ/setup.h
|
||||
|
||||
# Do OS/2 spin
|
||||
if [ "$SPINOS2" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "os2" #dospinos2
|
||||
fi
|
||||
|
||||
# Do MSW spin
|
||||
if [ "$SPINMSW" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "msw" #dospinmsw
|
||||
fi
|
||||
|
||||
# Do wxBase spin
|
||||
if [ "$SPINBASE" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "base" #dospinbase
|
||||
fi
|
||||
|
||||
# Do wxAll spin
|
||||
if [ "$SPINWXALL" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospinport "all" #dospinwxall
|
||||
fi
|
||||
|
||||
if [ "$SPINALL" = "1" ]; then
|
||||
dospinport "mgl"
|
||||
dospinport "gtk"
|
||||
dospinport "x11"
|
||||
dospinport "motif"
|
||||
dospinport "mac"
|
||||
dospinport "cocoa"
|
||||
#dospinwxall
|
||||
fi
|
||||
|
||||
|
||||
# Do docs spin
|
||||
if [ "$SPINDOCS" = "1" ] || [ "$SPINALL" = "1" ]; then
|
||||
dospindocs
|
||||
fi
|
||||
|
||||
docopydocs $APPDIR $DESTDIR
|
||||
|
||||
# Time to regenerate the Inno Install script
|
||||
dospininstaller
|
||||
}
|
||||
|
||||
# Get the makefiles that aren't in CVS and unarchive them
|
||||
getmakefiles()
|
||||
{
|
||||
echo Getting eVC++ project files...
|
||||
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-evcprj.zip --output /c/transit/wx-mk-evcprj.zip
|
||||
echo Getting Digital Mars makefiles...
|
||||
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-dmars.zip --output /c/transit/wx-mk-dmars.zip
|
||||
echo Getting VC++ makefiles...
|
||||
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-msvc.zip --output /c/transit/wx-mk-msvc.zip
|
||||
|
||||
cd $APPDIR
|
||||
echo Unarchiving makefiles and project files...
|
||||
unzip -o -a /c/transit/wx-mk-evcprj.zip
|
||||
unzip -o -a /c/transit/wx-mk-dmars.zip
|
||||
unzip -o -a /c/transit/wx-mk-msvc.zip
|
||||
echo Done getting makefiles and project files.
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: $PROGNAME [ options ]" 1>&2
|
||||
echo Options:
|
||||
echo " --help Display this help message"
|
||||
echo " --upx Compress executable with UPX"
|
||||
echo " --no-upx Do not compress executable with UPX"
|
||||
echo " --inno Build the setup.exe"
|
||||
echo " --no-inno Do not build the setup.exe"
|
||||
echo " --wxmac Build wxMac distribution"
|
||||
echo " --wxmsw Build wxMSW distribution"
|
||||
echo " --wxos2 Build wxOS2 distribution"
|
||||
echo " --wxall Build wxAll zip distribution"
|
||||
echo " --wxbase Build wxBase zip distribution"
|
||||
echo " --docs Build docs archives"
|
||||
echo " --all Build all distributions (the default)"
|
||||
echo " --getmakefiles Get out-of-CVS makefiles and unarchive into the wxWidgets source tree"
|
||||
echo " --verbose Verbose zip operation"
|
||||
echo.
|
||||
echo Note that options only override settings in $SCRIPTDIR/msw/setup.var.
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Process command line options.
|
||||
|
||||
for i in "$@"; do
|
||||
|
||||
case "$i" in
|
||||
--inno) INNO=1 ;;
|
||||
--no-inno) INNO=0 ;;
|
||||
--upx) UPX=1 ;;
|
||||
--no-upx) UPX=0 ;;
|
||||
--wxmac) SPINMAC=1; SPINALL=0 ;;
|
||||
--wxmsw) SPINMSW=1; SPINALL=0 ;;
|
||||
--wxos2) SPINOS2=1; SPINALL=0 ;;
|
||||
--wxall) SPINWXALL=1; SPINALL=0 ;;
|
||||
--wxbase) SPINBASE=1; SPINALL=0 ;;
|
||||
--getmakefiles) GETMAKEFILES=1; SPINALL=0 ;;
|
||||
--docs) SPINDOCS=1; SPINALL=0 ;;
|
||||
--all) SPINALL=1 ;;
|
||||
--verbose) VERBOSE=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
doinit
|
||||
|
||||
if [ "$GETMAKEFILES" = "1" ]; then
|
||||
getmakefiles
|
||||
exit
|
||||
fi
|
||||
|
||||
# findversion
|
||||
makesetup
|
||||
|
@@ -1,155 +0,0 @@
|
||||
### List of variables for the purposes of generating an application's
|
||||
### setup.exe
|
||||
|
||||
CYGPATH=
|
||||
if [ "$OSTYPE" = "cygwin" ]; then
|
||||
CYGPATH=cygpath
|
||||
fi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The application name
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
APPNAME=wxwin
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The application title
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
APPTITLE="wxWidgets"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The application author (copyright holder)
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
AUTHOR="The wxWidgets Team"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The application vendor (organisation)
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
VENDOR="Anthemion"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The application data file extension
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
APPEXTENSION=
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The symbol to use when querying for the version number (not used)
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
VERSIONSYMBOL=wxVERSION
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The top-level directory of the application source tree
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
APPDIR=C:/wx2dev/wxWidgets
|
||||
if [ ! $CYGPATH = "" ]; then
|
||||
APPDIR=`$CYGPATH "$APPDIR"`
|
||||
fi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The destination directory of the setup
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
DESTDIR=$APPDIR/deliver
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The temporary image directory to use when preparing the setup
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SETUPIMAGEDIR=$APPDIR/deliver/wxWidgets-$VERSION
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The name of the file with $VERSIONSYMBOL in it
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
VERSIONSYMBOLFILE=$APPDIR/include/wx/version.h
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The locations of the project's Inno Setup header and footer files
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
INNOTOP=$APPDIR/distrib/msw/innotop.txt
|
||||
INNOBOTTOM=$APPDIR/distrib/msw/innobott.txt
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The location of the generated setup script
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SETUPSCRIPTNAME=$APPDIR/distrib/msw/wxwin2.iss
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The locations of the readme and license files
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
READMEFILE=$APPDIR/docs/readme.txt
|
||||
READMEAFTERFILE=$APPDIR/docs/msw/install.txt
|
||||
LICENSEFILE=$APPDIR/docs/licence.txt
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The binary to include in the setup
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
APPBINARY=$APPDIR/src/ReleaseStable/$APPNAME.exe
|
||||
#APPBINARY=$APPDIR/src/ReleaseDev/$APPNAME.exe
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The location of the setup compiler
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
#SETUPCOMPILER="c:/Program Files/Inno Setup 4/compil32.exe"
|
||||
SETUPCOMPILER="c:/Program Files/Inno Setup 5/compil32.exe"
|
||||
if [ ! $CYGPATH = "" ]; then
|
||||
SETUPCOMPILER=`$CYGPATH "$SETUPCOMPILER"`
|
||||
fi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# Whether we will compress the binary (0 or 1).
|
||||
# Use --upx or --no-upx to override this default value.
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
UPX=0
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# Whether we will make a manual (0 or 1)
|
||||
# Use --make-manual or --no-make-manual to override this default value.
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
MAKEMANUAL=0
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The manual filename(s)
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
MANUALFILES=wx.chm
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The directory containing the manual source. We assume
|
||||
# that there is a Makefile in this directory for making the
|
||||
# manual.
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
MANUALDIR=$APPDIR/docs
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The resources file to compile, if any (e.g. myapp.bin).
|
||||
# This is just a zip containing files to be used by the
|
||||
# application, usually stored in src/resources.
|
||||
#
|
||||
# If this is left empty, no resources will be compiled.
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
RESOURCESFILE=
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# The directory containing the resources.
|
||||
#
|
||||
# If this is left empty, no resources will be compiled.
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
RESOURCESDIR=
|
||||
|
@@ -1,75 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
OLDDIR="$PWD"
|
||||
|
||||
# Install TaskRunner to manage the build process...
|
||||
cd ../wxPython/distrib/all
|
||||
sudo python2.4 setup.py install
|
||||
|
||||
cd $OLDDIR
|
||||
|
||||
BASE_CMD="wget"
|
||||
if [ "$OSTYPE" = "darwin" ]; then
|
||||
BASE_CMD="curl -LO"
|
||||
fi
|
||||
|
||||
if which ls > /dev/null 2>&1; then echo YES; else echo NO; fi
|
||||
|
||||
if which bogus > /dev/null 2>&1; then echo YES; else echo NO; fi
|
||||
|
||||
# unix2dos is needed for the build process.
|
||||
# this commonly only happens on Mac...
|
||||
U2D_TARBALL="unix2dos-2.2.src.tar.gz"
|
||||
U2D_URL="http://opendarwin.org/~olegb/src/$U2D_TARBALL"
|
||||
|
||||
CMD="$BASE_CMD $U2D_URL"
|
||||
echo "$CMD"
|
||||
$CMD
|
||||
|
||||
tar xzvf $U2D_TARBALL
|
||||
cd unix2dos-2.2.src
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
|
||||
# Install ReleaseForge to manage the SF upload
|
||||
RF_TARBALL="releaseforge-0.9.8.tar.gz"
|
||||
RF_URL="http://voxel.dl.sourceforge.net/sourceforge/releaseforge/$RF_TARBALL"
|
||||
|
||||
if [ ! -d ./scripts/ReleaseForge ]; then
|
||||
CMD="$BASE_CMD $RF_URL"
|
||||
echo "$CMD"
|
||||
$CMD
|
||||
|
||||
tar xzvf $RF_TARBALL
|
||||
|
||||
# There's one line of code that makes this not work from command line,
|
||||
# and that's an import that is no longer used, so we'll remove it. :-)
|
||||
cd "releaseforge-0.9.8"
|
||||
sed "s/from workerThread/\#from workerThread/" < ReleaseForge/sfcomm.py > temp
|
||||
mv temp ReleaseForge/sfcomm.py
|
||||
|
||||
cd ..
|
||||
mv releaseforge-0.9.8/ReleaseForge ./scripts/ReleaseForge
|
||||
|
||||
rm -rf releaseforge*
|
||||
fi
|
||||
|
||||
BF_TARBALL="bakefile-0.2.0.tar.gz"
|
||||
BF_URL="http://umn.dl.sourceforge.net/sourceforge/bakefile/$BF_TARBALL"
|
||||
|
||||
if which bakefile; then
|
||||
|
||||
else
|
||||
CMD="$BASE_CMD $BF_URL"
|
||||
echo "$CMD"
|
||||
$CMD
|
||||
|
||||
tar xzvf $BF_TARBALL
|
||||
cd bakefile-0.2.0
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
fi
|
@@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
HOMEDIR="$PWD"
|
||||
|
||||
BUILDDIR_ROOT="$PWD/builds"
|
||||
|
||||
do_builds {
|
||||
PORT=$1
|
||||
BUILDDIR=$BUILDDIR_ROOT/$PORT
|
||||
mkdir -p $BUILDDIR
|
||||
cd $BUILDDIR
|
||||
|
||||
export WXROOT="$HOMEDIR/../../.."
|
||||
export INSTALLDIR="$BUILDDIR/install-ansi"
|
||||
$HOMEDIR/unixbuild $PORT
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-unicode"
|
||||
$HOMEDIR/unixbuild $PORT unicode
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-static-ansi"
|
||||
$HOMEDIR/unixbuild $PORT static
|
||||
|
||||
export INSTALLDIR="$BUILDDIR/install-static-unicode"
|
||||
$HOMEDIR/unixbuild $PORT static unicode
|
||||
}
|
||||
|
||||
do_builds "gtk2"
|
@@ -1,284 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Makes the wxWidgets tarballs with 'make dist'
|
||||
|
||||
PROGNAME=$0
|
||||
WXSRC=$1
|
||||
WXDEST=$2
|
||||
WXVER=$3
|
||||
|
||||
# for docopyreadmefiles and docopysetup_h
|
||||
SCRIPTDIR=$WXSRC/distrib/scripts
|
||||
. $SCRIPTDIR/utils.inc
|
||||
|
||||
doupdatecvs()
|
||||
{
|
||||
cd $WXSRC
|
||||
echo Updating from CVS...
|
||||
cvswx update -d -P
|
||||
}
|
||||
|
||||
dospinwxgtk()
|
||||
{
|
||||
echo Making wxGTK tarballs...
|
||||
|
||||
if [ ! -d $WXDEST ]; then
|
||||
mkdir $WXDEST
|
||||
fi
|
||||
|
||||
rm -f -r $WXDEST/wxgtk
|
||||
mkdir $WXDEST/wxgtk
|
||||
mkdir $WXDEST/wxgtk/release
|
||||
|
||||
cd $WXSRC
|
||||
cd locale
|
||||
make allmo
|
||||
cd $WXDEST/wxgtk/release
|
||||
echo Configuring...
|
||||
$WXSRC/configure --no-recursion
|
||||
echo Making...
|
||||
make -j1 dist bzip-dist-only
|
||||
mv $WXDEST/wxgtk/release/*.gz $WXDEST/wxgtk/release/*.bz2 $WXDEST
|
||||
}
|
||||
|
||||
dospinwxmgl()
|
||||
{
|
||||
echo Making wxMGL tarballs...
|
||||
|
||||
if [ ! -d $WXDEST ]; then
|
||||
mkdir $WXDEST
|
||||
fi
|
||||
|
||||
rm -f -r $WXDEST/wxmgl
|
||||
mkdir $WXDEST/wxmgl
|
||||
mkdir $WXDEST/wxmgl/release
|
||||
|
||||
cd $WXSRC
|
||||
cd locale
|
||||
make allmo
|
||||
cd $WXDEST/wxmgl/release
|
||||
echo Configuring...
|
||||
$WXSRC/configure --no-recursion --with-mgl
|
||||
echo Making...
|
||||
make -j1 dist bzip-dist-only
|
||||
mv $WXDEST/wxmgl/release/*.gz $WXDEST/wxmgl/release/*.bz2 $WXDEST
|
||||
}
|
||||
|
||||
dospinwxbase()
|
||||
{
|
||||
echo Making wxBase tarballs...
|
||||
|
||||
if [ ! -d $WXDEST ]; then
|
||||
mkdir $WXDEST
|
||||
fi
|
||||
|
||||
rm -f -r $WXDEST/wxbase
|
||||
mkdir $WXDEST/wxbase
|
||||
mkdir $WXDEST/wxbase/release
|
||||
|
||||
cd $WXSRC
|
||||
cd locale
|
||||
make allmo
|
||||
cd $WXDEST/wxbase/release
|
||||
echo Configuring...
|
||||
$WXSRC/configure --no-recursion --disable-gui
|
||||
echo Making...
|
||||
make -j1 dist bzip-dist-only
|
||||
mv $WXDEST/wxbase/release/*.gz $WXDEST/wxbase/release/*.bz2 $WXDEST
|
||||
}
|
||||
|
||||
dospinwxx11()
|
||||
{
|
||||
echo Making wxX11 tarballs...
|
||||
|
||||
if [ ! -d $WXDEST ]; then
|
||||
mkdir $WXDEST
|
||||
fi
|
||||
|
||||
rm -f -r $WXDEST/wxx11
|
||||
mkdir $WXDEST/wxx11
|
||||
mkdir $WXDEST/wxx11/release
|
||||
|
||||
cd $WXSRC
|
||||
cd locale
|
||||
make allmo
|
||||
cd $WXDEST/wxx11/release
|
||||
echo Configuring...
|
||||
$WXSRC/configure --with-x11 --no-recursion
|
||||
echo Making...
|
||||
make -j1 dist bzip-dist-only
|
||||
|
||||
cp $WXDEST/wxx11/release/*.tar.gz $WXDEST
|
||||
cp $WXDEST/wxx11/release/*.tar.bz2 $WXDEST
|
||||
}
|
||||
|
||||
dospinwxmotif()
|
||||
{
|
||||
echo Making wxMotif tarballs...
|
||||
|
||||
if [ ! -d $WXDEST ]; then
|
||||
mkdir $WXDEST
|
||||
fi
|
||||
|
||||
rm -f -r $WXDEST/wxmotif
|
||||
mkdir $WXDEST/wxmotif
|
||||
mkdir $WXDEST/wxmotif/release
|
||||
|
||||
cd $WXSRC
|
||||
cd locale
|
||||
make allmo
|
||||
cd $WXDEST/wxmotif/release
|
||||
echo Configuring...
|
||||
$WXSRC/configure --with-motif --no-recursion
|
||||
echo Making...
|
||||
make -j1 dist bzip-dist-only
|
||||
|
||||
cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST
|
||||
cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST
|
||||
|
||||
echo Rearchiving wxMotif tarballs to change wxMOTIF to wxMotif...
|
||||
cd $WXDEST
|
||||
mkdir wxMotif.tmp
|
||||
cd wxMotif.tmp
|
||||
rm -f -r *
|
||||
tar xfz ../wxMOTIF-$WXVER.tar.gz
|
||||
mv wxMOTIF-$WXVER wxMotif-$WXVER
|
||||
rm -f ../wxMOTIF-$WXVER.tar.gz
|
||||
rm -f ../wxMOTIF-$WXVER.tar.bz2
|
||||
tar cf ../wxMotif-$WXVER.tar *
|
||||
gzip -c ../wxMotif-$WXVER.tar > ../wxMotif-$WXVER.tar.gz
|
||||
bzip2 -f9 ../wxMotif-$WXVER.tar
|
||||
cd ..
|
||||
rm -f -r wxMotif.tmp
|
||||
# rm -f -r $WXDEST/wxmotif
|
||||
}
|
||||
|
||||
dospindocs()
|
||||
{
|
||||
mkdir -p $WXSRC/docs/html/wx
|
||||
mkdir -p $WXSRC/docs/html/tex2rtf
|
||||
mkdir -p $WXSRC/docs/html/fl
|
||||
mkdir -p $WXSRC/docs/html/ogl
|
||||
mkdir -p $WXSRC/docs/htb
|
||||
|
||||
rm -f -r $WXSRC/docs/html/wx/*.htm*
|
||||
rm -f -r $WXSRC/docs/htb/wx.htb
|
||||
|
||||
echo Making HTML wxWidgets manual...
|
||||
cd $WXSRC/docs/latex/wx
|
||||
cp *.gif $WXSRC/docs/html/wx
|
||||
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
|
||||
|
||||
echo Making HTB wxWidgets manual...
|
||||
cd $WXSRC/docs/html/wx
|
||||
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
|
||||
|
||||
echo Archiving manuals...
|
||||
# TODO
|
||||
|
||||
echo Done making manuals.
|
||||
}
|
||||
|
||||
SPINWXX11=0
|
||||
SPINWXGTK=0
|
||||
SPINWXMOTIF=0
|
||||
SPINWXMAC=0
|
||||
SPINWXBASE=0
|
||||
SPINWXMGL=0
|
||||
SPINDOCS=0
|
||||
SPINEVERYTHING=0
|
||||
UPDATECVS=0
|
||||
SILENT=0
|
||||
|
||||
usage()
|
||||
{
|
||||
echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
|
||||
echo Options:
|
||||
echo " --help Display this help message"
|
||||
echo " --wxgtk Spin wxGTK"
|
||||
echo " --wxbase Spin wxBase"
|
||||
echo " --wxx11 Spin wxX11"
|
||||
echo " --wxmotif Spin wxMotif"
|
||||
echo " --wxmgl Spin wxMGL"
|
||||
echo " --docs Spin docs"
|
||||
echo " --all Spin EVERYTHING"
|
||||
echo " --updatecvs Update from CVS"
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
init=""
|
||||
if [ "$1" = "" ]
|
||||
then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$2" = "" ]
|
||||
then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$3" = "" ]
|
||||
then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
# Process command line options.
|
||||
shift 3
|
||||
for i in "$@"; do
|
||||
case "$i" in
|
||||
--wxx11) SPINWXX11=1 ;;
|
||||
--wxgtk) SPINWXGTK=1 ;;
|
||||
--wxmac) SPINWXMAC=1 ;;
|
||||
--wxbase) SPINWXBASE=1 ;;
|
||||
--wxmgl) SPINWXMGL=1 ;;
|
||||
--wxmotif) SPINWXMOTIF=1 ;;
|
||||
--all) SPINEVERYTHING=1 ;;
|
||||
--updatecvs) UPDATECVS=1 ;;
|
||||
--silent) SILENT=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# we don't want this when batch building tarballs.
|
||||
if [ "$SILENT" = "0" ]; then
|
||||
echo CTRL-C if this is not correct.
|
||||
read dummy
|
||||
fi
|
||||
|
||||
if [ "$UPDATECVS" = "1" ]; then
|
||||
doupdatecvs
|
||||
fi
|
||||
|
||||
if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxx11
|
||||
fi
|
||||
|
||||
if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxgtk
|
||||
fi
|
||||
|
||||
if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxmotif
|
||||
fi
|
||||
|
||||
if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxmac
|
||||
fi
|
||||
|
||||
if [ "$SPINWXMGL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxmgl
|
||||
fi
|
||||
|
||||
if [ "$SPINWXBASE" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospinwxbase
|
||||
fi
|
||||
|
||||
if [ "$SPINDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
|
||||
dospindocs
|
||||
fi
|
@@ -1,47 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# you need to change this if you run from outside this dir.
|
||||
if [ "$WXROOT" = "" ]; then
|
||||
WXROOT=../../..
|
||||
fi
|
||||
|
||||
. $WXROOT/distrib/scripts/includes/configure_build.inc
|
||||
|
||||
WXPYTHON=0
|
||||
UNICODE=0
|
||||
DEBUG=0
|
||||
STATIC=0
|
||||
PORT=""
|
||||
|
||||
# Process command line options.
|
||||
for i in "$@"; do
|
||||
case "$i" in
|
||||
unicode) UNICODE=1 ;;
|
||||
ansi) UNICODE=0 ;;
|
||||
debug) DEBUG=1 ;;
|
||||
wxpython) WXPYTHON=1 ;;
|
||||
gtk2) PORT="gtk2" ;;
|
||||
gtk) PORT="gtk" ;;
|
||||
x11) PORT="x11" ;;
|
||||
motif) PORT="motif" ;;
|
||||
static) STATIC=1 ;;
|
||||
*)
|
||||
usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
OTHER_OPTS="--with-$PORT "
|
||||
|
||||
do_build
|
||||
|
||||
make prefix=$INSTALLDIR install
|
||||
|
||||
if [ "$WXPYTHON" == "1" ]; then
|
||||
make -C contrib/src/animate prefix=$INSTALLDIR install
|
||||
make -C contrib/src/gizmos prefix=$INSTALLDIR install
|
||||
make -C contrib/src/stc prefix=$INSTALLDIR install
|
||||
fi
|
||||
|
||||
cd $OLDDIR
|
@@ -1,103 +0,0 @@
|
||||
#!/bin/sh
|
||||
##############################################################################
|
||||
# Name: distrib/scripts/update-manifests.sh
|
||||
# Purpose: Run from this directory to update some of the manifests/*.rsp
|
||||
# files that can be generated automatically (vc, dmc, makefile,
|
||||
# wince).
|
||||
#
|
||||
# Note that it's best to run this after running bakefile_gen,
|
||||
# otherwise this script can be quite slow.
|
||||
# Created: 2006-11-13
|
||||
# RCS-ID: $Id$
|
||||
# Copyright: (c) 2006 Vaclav Slavik <vaclav@wxwindows.org>
|
||||
# Licence: wxWindows licence
|
||||
##############################################################################
|
||||
|
||||
MANIFESTS_DIR=$(pwd)/manifests
|
||||
WX_ROOT=$(cd ../.. ; pwd)
|
||||
|
||||
cd $WX_ROOT
|
||||
|
||||
# generates manifest from bakefile output files:
|
||||
generate_manifest()
|
||||
{
|
||||
manifest_file="${MANIFESTS_DIR}/$1"
|
||||
formats="$2"
|
||||
shift
|
||||
shift
|
||||
|
||||
# generate files from given format:
|
||||
(
|
||||
cd ${WX_ROOT}/build/bakefiles
|
||||
bakefile_gen -d ../../distrib/scripts/Bakefiles.release.bkgen \
|
||||
--format $formats --list-files | \
|
||||
sed -e "s@^${WX_ROOT}/@@" | sort | uniq \
|
||||
>$manifest_file
|
||||
)
|
||||
|
||||
# and add manually added files to the list:
|
||||
for f in $* ; do
|
||||
echo $f >>$manifest_file
|
||||
done
|
||||
}
|
||||
|
||||
# generates manifest from all files present in CVS under given directories:
|
||||
do_list_all_cvs_files()
|
||||
{
|
||||
local manifest manifest_file files subdirs d f ff s ss
|
||||
|
||||
manifest="$1"
|
||||
manifest_file="${MANIFESTS_DIR}/${manifest}"
|
||||
shift
|
||||
|
||||
for d in $* ; do
|
||||
# list all files:
|
||||
files=$(cat $d/CVS/Entries | sed -ne 's@^/\([^/]*\)/.*@\1@p')
|
||||
for f in $files ; do
|
||||
ff="$d/$f"
|
||||
if [ -f $ff ] ; then
|
||||
echo "$ff" >>$manifest_file
|
||||
fi
|
||||
done
|
||||
|
||||
# recurse into subdirs:
|
||||
subdirs=$(cat $d/CVS/Entries | sed -ne 's@^D/\([^/]*\)/.*@\1@p')
|
||||
for s in $subdirs ; do
|
||||
ss="$d/$s"
|
||||
if [ -d $ss ] ; then
|
||||
do_list_all_cvs_files "$manifest" "$ss"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
list_all_cvs_files()
|
||||
{
|
||||
rm -f "${MANIFESTS_DIR}/$1"
|
||||
do_list_all_cvs_files $*
|
||||
}
|
||||
|
||||
|
||||
list_all_cvs_files generic_samples.rsp \
|
||||
samples
|
||||
|
||||
|
||||
generate_manifest dmc.rsp \
|
||||
dmars,dmars_smake
|
||||
|
||||
generate_manifest vc.rsp \
|
||||
msvc6prj \
|
||||
"include/msvc/wx/setup.h" \
|
||||
`(cd $WX_ROOT/src ; ls */*.ds?)`
|
||||
|
||||
generate_manifest makefile.rsp \
|
||||
autoconf \
|
||||
"locale/Makefile" \
|
||||
"samples/Makefile.in" \
|
||||
"libs/vms.opt" \
|
||||
"libs/vms_gtk.opt" \
|
||||
`find . -name descrip.mms`
|
||||
|
||||
generate_manifest wince.rsp \
|
||||
msevc4prj \
|
||||
"build/wince/missing"
|
@@ -1,69 +0,0 @@
|
||||
# We can't use e.g. this:
|
||||
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
|
||||
# because there's not enough space on the command line, plus we need to ignore the
|
||||
# blank lines.
|
||||
# So if we need to (not in this script so far) we do something like this instead:
|
||||
# expandlines $SRC/setup/files.rsp temp.txt
|
||||
# zip -@ `$CYGPATHPROG -w $DEST/archive.zip` < temp.txt
|
||||
|
||||
expandlines()
|
||||
{
|
||||
toexpand=$1
|
||||
outputfile=$2
|
||||
|
||||
rm -f $outputfile
|
||||
touch $outputfile
|
||||
for line in `cat $toexpand` ; do
|
||||
if [ "$line" != "" ]; then
|
||||
ls $line >> $outputfile
|
||||
fi
|
||||
uniq < $outputfile > /tmp/uniqtemp.txt
|
||||
mv /tmp/uniqtemp.txt $outputfile
|
||||
done
|
||||
}
|
||||
|
||||
docopydocs()
|
||||
{
|
||||
APPDIR=$1
|
||||
DESTDIR=$2
|
||||
|
||||
cp $APPDIR/docs/readme.txt $DESTDIR/README.txt
|
||||
cp $APPDIR/docs/changes.txt $DESTDIR/CHANGES.txt
|
||||
cp $APPDIR/docs/licence.txt $DESTDIR/LICENCE.txt
|
||||
cp $APPDIR/docs/lgpl.txt $DESTDIR/COPYING.LIB
|
||||
|
||||
cp $APPDIR/docs/changes.txt $DESTDIR/changes-$VERSION.txt
|
||||
cp $APPDIR/docs/readme.txt $DESTDIR/readme-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/msw/readme.txt $DESTDIR/readme-msw-$VERSION.txt
|
||||
cp $APPDIR/docs/msw/install.txt $DESTDIR/install-msw-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/mac/readme.txt $DESTDIR/readme-mac-$VERSION.txt
|
||||
cp $APPDIR/docs/mac/install.txt $DESTDIR/install-mac-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/motif/readme.txt $DESTDIR/readme-motif-$VERSION.txt
|
||||
cp $APPDIR/docs/motif/install.txt $DESTDIR/install-motif-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/gtk/readme.txt $DESTDIR/readme-gtk-$VERSION.txt
|
||||
cp $APPDIR/docs/gtk/install.txt $DESTDIR/install-gtk-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/x11/readme.txt $DESTDIR/readme-x11-$VERSION.txt
|
||||
cp $APPDIR/docs/x11/install.txt $DESTDIR/install-x11-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/mgl/readme.txt $DESTDIR/readme-mgl-$VERSION.txt
|
||||
cp $APPDIR/docs/mgl/install.txt $DESTDIR/install-mgl-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/dfb/install.txt $DESTDIR/install-dfb-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/cocoa/readme.txt $DESTDIR/readme-cocoa-$VERSION.txt
|
||||
cp $APPDIR/docs/cocoa/install.txt $DESTDIR/install-cocoa-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/base/readme.txt $DESTDIR/readme-base-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/os2/install.txt $DESTDIR/install-os2-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/univ/readme.txt $DESTDIR/readme-univ-$VERSION.txt
|
||||
|
||||
cp $APPDIR/docs/readme_vms.txt $DESTDIR/readme-vms-$VERSION.txt
|
||||
|
||||
}
|
Reference in New Issue
Block a user