Difference between revisions of "Building old versions"
m (→How to: Added hyperlinks to GitHub) |
(Update with commits for Python >= 3.8 and OpenSSL 1.1.x) |
||
Line 28: | Line 28: | ||
! SVN revision | ! SVN revision | ||
! Feature provided | ! Feature provided | ||
+ | |- | ||
+ | | [https://github.com/apache/openoffice/commit/f884850fece86ece56c7194bb1e746641f77c0a0 f884850fece86ece56c7194bb1e746641f77c0a0] | ||
+ | | | ||
+ | | Use functions and types compatible with both OpenSSL 1.0.x and 1.1.x. | ||
+ | |- | ||
+ | | [https://github.com/apache/openoffice/commit/f134535553051695dfbb71310003ab610fda2c83 f134535553051695dfbb71310003ab610fda2c83] | ||
+ | | | ||
+ | | Use the python-X.Y-embed package on system Python >= 3.8 | ||
|- | |- | ||
| [https://github.com/apache/openoffice/commit/9fbe0120861764e7e644476857de32c44186c400 9fbe0120861764e7e644476857de32c44186c400] | | [https://github.com/apache/openoffice/commit/9fbe0120861764e7e644476857de32c44186c400 9fbe0120861764e7e644476857de32c44186c400] |
Revision as of 15:30, 18 January 2023
Introduction
It can be useful to build an old version of Apache OpenOffice, for example in order to regression test a bug in the latest version.
However, over time, patches get committed to allow building on newer build environments (newer operating systems, newer settings, newer libraries (as old ones may be unavailable), etc). Thus old AOO versions may be unable to build with the latest operating systems and latest libraries. Instead of the long and difficult process of setting up an old build environment, we can backport certain patches that added the features we need, and still build older versions on newer build environments.
How to
From the base directory of trunk/, for each patch that is newer than the version you are building and that you need, run this in REVERSE ORDER of the order given below, (ie. bottom to top, which is oldest to newest):
git show <commit> | patch -p1
(eg. git show 9fbe0120861764e7e644476857de32c44186c400 | patch -p1)
or with SVN:
svn diff -c <version> | patch -p0
(eg. svn diff -c 1825798 | patch -p0)
Git commit | SVN revision | Feature provided |
---|---|---|
f884850fece86ece56c7194bb1e746641f77c0a0 | Use functions and types compatible with both OpenSSL 1.0.x and 1.1.x. | |
f134535553051695dfbb71310003ab610fda2c83 | Use the python-X.Y-embed package on system Python >= 3.8 | |
9fbe0120861764e7e644476857de32c44186c400 | 1863883 | *nix: detection of Java > 1.8 |
76c3a0c573cde39048d0726c858eb62004271068 | 1863875 | All: detection of AdoptOpenJDK's JRE. |
d496b0995fb8aa8b6c60a683761ad01f8d0d32d6 | 1825849 | All: fix building lucene with Java 1.9 |
16cc2feaee8ae594780687837b53b2d50018df78 d72465840bb64335098446c0558b486b239519f7 |
1825802 1825798 |
Windows: support building on Windows using Cygwin64. |
a77ce2d13c887a68f707e5b1c8c737146e59d1bf | 1825763 | Windows: allow oowintool to auto-detect Java 1.9 |
adb6f5d8a37c5b86304c6f182c17e5b29dcc384a | 1815542 | Windows: allow oowintool to auto-detect 32 bit VC++ on Cygwin64. |
668ddc0174366a152e11e62b3e5599a8fb50bcb2 | 1814757 | Windows: allow oowintool to auto-detect Java 1.8 |
910dbabb8417f5fbef278baca67290f523163a45 | 1729921 | #i126840# - Windows/MSVC build often fails in main/icu |
2ed47956e3ec22116d5164494008afeac3f699a1 | 1700078 | #i126258# Fix build on systems using a recent version of GNU Patch. |
cddbce83059662dad08c06a4f7b247d7fbbbaa9d | Move operator to the public section. This solves visibility issues with modern gcc. |