it also works on file names with special characters.
Build-tools/Do-compile:
Ever and again, some test creates a file name with special characters that need to be
escaped when passed to the shell; as this is not done, 'system("rm -f ...");' fails
on them, the old test tree is not deleted, and the build fails.
Prevent this by changing to Perl 'unlink()' which does not need escaping.
useful than *.old.<PID> - use the mtime of configure.in instead.
This gives us a time stamp of when this last build directory was created,
e.g. "mysql-4.0.24-build-2005-01-31-16:47"
Build-tools/Bootstrap:
- Rename already existing build directories to something more useful than
*.old.<PID> - use the mtime of configure.in instead. This gives us a time
stamp of when this last build directory was created, e.g.
"mysql-4.0.24-build-2005-01-31-16:47"
environment (using "build" on SUSE Linux)
Build-tools/Do-rpm:
- added functionality to perform RPM builds inside of a chrooted build
environment (using "build" on SUSE Linux) - see "--help" for more details
ChangeLog, too (to be more exact when tagging a release that's based on a
merge ChangeSet)
Build-tools/Bootstrap:
- include merge ChangeSets into the ChangeLog, too (to be more exact when
tagging a release that's based on a merge ChangeSet)
to run the standard tests with "--force" (default, can be switched off).
Build-tools/Do-compile:
1) For an automated log analysis, we need a clear marker in the build log
whether compile + link succeeded: Write it after successful "make".
2) Ensure the standard tests are run with "--force" in the default case,
but allow the old behaviour by an option "--one-error".
3) Correct a typing error in the usage message.
this is important because this 4.0 "Bootstrap" is the one generally used on host "build".
Build-tools/Bootstrap:
If the source tree does not contain any "Docs/Images/Makefile*" (due to an error,
or because it is not yet prepared to contain the Images in the source tar-ball),
a plain "rm" will fail and so cause "Bootstrap" to fail. (This has happened ...)
Prevent this danger by using "rm -f".
in the source tar-ball for distribution. This is done by using the "DISTFILES" macro
in a new "Docs/Images/Makefile". As the source BK tree does not contain these files,
they are copied from the "mysqldocs" tree at release build time.
This changeset relies on "bk commit - mysqldoc tree (joerg:1.2276)" of today.
Build-tools/Bootstrap:
Copy the relevant files with "Docs/Images" from the "mysqldocs" BK tree into the
build tree, ensuring that the "Makefile*" from the source BK tree are removed before.
Docs/Images/Makefile.am:
This dummy file is only needed to satisfy the Makefile hierarchy,
at release build time it will be replaced by its counterpart from the "mysqldocs" BK tree.
Docs/Makefile.am:
Include the new "Docs/Images/Makefile" in the Makefile hierarchy.
configure.in:
Ensure that the autotools will handle the new "Docs/Images/Makefile.am".
without trying to re-run autotools.
(Backport from 4.1.7 for 4.0.22)
Build-tools/mysql-copyright:
The top level Makefile will try to re-run the autotools unless the timestamps of the
relevant files are in truly ascending order. Ensure this order!
(Backport from 4.1.7 for 4.0.22)
other actions, as otherwise timestamps of "config.h.in" will
cause re-run on compilation machine (fatal version problem!).
Build-tools/mysql-copyright:
1) Ensure that autotools are run as last action, after copyright
change, for proper timestamps.
2) Move the trimming of subtrees to an own function "trim_the_fat".
3) Align 4.0 and 4.1 versions.
autom4te.cache directory and update the headers of the message files.
Build-tools/mysql-copyright-2:
- make sure to fix the copyright in the recently added GPL
headers of the message files, too
Build-tools/mysql-copyright:
- remove the autom4te.cache directory (leftover from running
autotools after modifying configure.in)
Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
Build-tools/Do-compile:
Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
when pulling BK trees before.
Build-tools/Bootstrap:
- thinko fix: we need to run the "bk pull" command on its own, if
we want to get its return value...
modifying configure.in for the commercial tarballs
- added my-innodb-heavy-4G.cnf to the distribution
Build-tools/mysql-copyright:
- make sure to recreate all autoconf/automake-related files after
modifying configure.in
support-files/Makefile.am:
- added my-innodb-heavy-4G.cnf to the distribution
- Changed the default log file name to Bootstrap-<repository>.log
(e.g. Bootstrap-mysql-4.0.log) (thanks to Joerg for the hint)
- added option "--archive-log" to automatically move the log file
into the Log directory of the exported tree
Build-tools/Bootstrap:
- Changed the default log file name to Bootstrap-<repository>.log
(e.g. Bootstrap-mysql-4.0.log) (thanks to Joerg for the hint)
- added option "--archive-log" to automatically move the log file
into the Log directory of the exported tree
file "EXCEPTIONS" and include it in the source and binary
distributions
Build-tools/mysql-copyright:
- remove COPYING and EXCEPTIONS from the commercial packages
Docs/Makefile.am:
- create the EXCEPTIONS file that includes the FOSS License exception
scripts/make_binary_distribution.sh:
- include EXCEPTIONS in the binary distribution, too.
support-files/mysql.spec.sh:
- add EXCEPTIONS to the server RPM
Small fix to handle the src rpm file correctly (contains '0', release number in spec file)
Build-tools/Do-rpm:
Small fix to handle the src rpm file correctly (contains '0', release number in spec file)
* added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
* removed the target dir removal (target dir is not a temp dir!)
* use split to create filelist (cleaner way than using chomp!)
* removed use of chomp because it caused some file names to be mangled
* print out which file is being processed if verbose
mysql-copyright-2:
* added cpp to list of files to be processed (for windows archives)
Build-tools/mysql-copyright-2:
* added cpp to list of files to be processed (for windows archives)
Build-tools/mysql-copyright:
* added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
* removed the target dir removal (target dir is not a temp dir!)
* use split to create filelist (cleaner way than using chomp!)
* removed use of chomp because it caused some file names to be mangled
* print out which file is being processed if verbose
Servers.fgl -> made sure all charset files were accounted for (cp 1256 was missing)
Build-tools/mysql-copyright:
more fixes to deal with problems in removing temporary tar directory. Had to use `cd $WD` vs chdir($WD).
VC++Files/InstallShield/4.0.XX-classic/File Groups/Servers.fgl:
made sure all charset files were accounted for (cp 1256 was missing)
VC++Files/InstallShield/4.0.XX-gpl/File Groups/Servers.fgl:
made sure all charset files were accounted for (cp 1256 was missing)
VC++Files/InstallShield/4.0.XX-pro/File Groups/Servers.fgl:
made sure all charset files were accounted for (cp 1256 was missing)
Small fixes to handle packaging of windows src (commercial) file
Build-tools/mysql-copyright:
Small fixes to handle packaging of windows src (commercial) file
Build-tools/Do-compile:
Added option --config-extra-env
include/my_global.h:
Cleaned up comment to follow same indentation style as the rest of the code
Build-tools/Do-compile:
Fixed indentation
configure.in:
Added patches from Novell
Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
extra/perror.c:
Fixed error number reporting to not report 'Unknown error'
include/my_global.h:
Defines to make NETWARE patches cleaner
include/thr_alarm.h:
Fixed wrong macro
netware/mysql_install_db.c:
Indentation fix
Build-tools/Do-compile:
Added two options that:
1. Clear logs on each host prior to build
2. Turn off ndbcluster
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
"-apple-darwin7.3.0-powerpc") - this is needed as we now will provide
Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of
how we name all other packages)
Build-tools/Do-pkg:
- PGK and DMG names now include the full arch name (e.g.
"-apple-darwin7.3.0-powerpc") - this is needed as we now will provide
Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of
how we name all other packages)
- more flexible removal of old cruft before creating the new binary
distribution
- more flexible globbing for the binary tarball (required for QNX, where
the file name ends on *.tgz instead of .tar.gz due to file name lenght
restrictions
Build-tools/Do-compile:
Some small enhancements:
- more flexible removal of old cruft before creating the new binary
distribution
- more flexible globbing for the binary tarball (required for QNX, where
the file name ends on *.tgz instead of .tar.gz due to file name lenght
restrictions
spec file after the build as RPM has its own option for this
Build-tools/Do-rpm:
- remove unnecessary code to delete the source tarball and spec file
after the build as RPM has its own option for this