OLD | NEW |
1 This directory contains a partial snapshot of the libxslt library from | 1 This directory contains a partial snapshot of the libxslt library from |
2 http://xmlsoft.org/XSLT, with the following modification: | 2 http://xmlsoft.org/XSLT, with the following modification: |
3 * Modified win32/configure.js to be able to clobber a read-only Makefile | |
4 * Modified libxslt/security.c to use GetFileAttributesA instead of GetFileAttrib
utes. | |
5 * Modified configure to not generate Makefiles. | |
6 | 3 |
7 Current version: 1.1.24 | 4 1) Modified win32/configure.js to be able to clobber a read-only Makefile |
| 5 This consists of: |
| 6 replace --- |
| 7 fso.CopyFile(makefile, ".\\Makefile", true); |
| 8 with --- |
| 9 var new_makefile = ".\\Makefile"; |
| 10 var f = fso.FileExists(new_makefile); |
| 11 if (f) { |
| 12 var t = fso.GetFile(new_makefile); |
| 13 t.Attributes =0; |
| 14 } |
| 15 fso.CopyFile(makefile, new_makefile, true); |
| 16 done --- |
| 17 |
| 18 2) Modified libxslt/security.c to use GetFileAttributesA instead of GetFileAttri
butes. |
| 19 |
| 20 3) Modified configure to not generate Makefiles. |
| 21 This consists of: |
| 22 replace --- |
| 23 ac_config_files="$ac_config_files Makefile.... |
| 24 with --- |
| 25 ac_config_files="$ac_config_files libxslt/xsltconfig.h libxslt/xsltwin32config.h
libexslt/exsltconfig.h xslt-config" |
| 26 done --- |
| 27 |
| 28 4) Modified xsltconfig.h options: |
| 29 - Change LIBXSLT_VERSION_EXTRA define to "" |
| 30 - Change the DEBUG_MEMORY define to #if 0 |
| 31 - Change the WITH_MODULES define to #if 0 |
| 32 - Change the "Locale support" section to #if 0 |
| 33 - For good measure, change the LIBXSLT_DEFAULT_PLUGINS_PATH() define to "NULL" |
| 34 |
| 35 Current version: 1.1.26 |
| 36 |
8 | 37 |
9 To import a new snapshot of libxslt: | 38 To import a new snapshot of libxslt: |
10 | 39 |
11 - Visit http://xmlsoft.org/XSLT/downloads.html and download the latest source | 40 - Visit http://xmlsoft.org/XSLT/downloads.html and download the latest source |
12 distribution. | 41 distribution. |
13 - Copy the files into this directory, omitting files which have been omitted | 42 - Copy the files into this directory, omitting files which have been omitted |
14 here. | 43 here. |
15 - Run build/generate-win32-headers.bat to re-generate the configuration | 44 - Run build/generate-win32-headers.bat to re-generate the configuration |
16 headers. | 45 headers. |
17 - On Linux, 'cd linux && sh ../configure --with-libxml-src=../../libxml/linux/' | 46 - On Linux, 'cd linux && sh ../configure --with-libxml-src=../../libxml/linux/' |
18 to re-generate configuration headers. | 47 to re-generate configuration headers. |
19 - On Mac, 'cd mac && sh ../configure --with-libxml-src=../../libxml/mac/' | 48 - On Mac, 'cd mac && sh ../configure --with-libxml-src=../../libxml/mac/' |
20 to re-generate configuration headers. | 49 to re-generate configuration headers. |
21 - Perform the modification above. | 50 - Perform the modification above. |
22 - Update this README to reflect the new version number. | 51 - Update this README to reflect the new version number. |
| 52 - When creating your CL, make sure to "svn add" any new source files, but |
| 53 don't ever add in the files not needed for the Chromium build. (e.g. |
| 54 Changelog, configure, etc) -- these are just bloat. |
OLD | NEW |