Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: third_party/libxml/README.chromium

Issue 1752223002: Roll libxml to 2.9.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-cherry-pick fprintf formatting fix. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Name: libxml 1 Name: libxml
2 URL: http://xmlsoft.org 2 URL: http://xmlsoft.org
3 Version: 2.9.2 3 Version: 2.9.3
4 License: MIT 4 License: MIT
5 License File: src/Copyright 5 License File: src/Copyright
6 Security Critical: yes 6 Security Critical: yes
7 7
8 Description: 8 Description:
9 9
10 libxml2 from libxml.org. 10 libxml2 from libxml.org.
11 11
12 Modifications: 12 Modifications:
13 - Import https://git.gnome.org/browse/libxml2/commit/?id=a7a94612aa3b16779e2c74e 1fa353b5d9786c602 from upstream
13 - Add helper classes in chromium/libxml_utils.cc and 14 - Add helper classes in chromium/libxml_utils.cc and
14 chromium/include/libxml/libxml_utils.h. 15 chromium/include/libxml/libxml_utils.h.
15 - Import https://git.gnome.org/browse/libxml2/commit/?id=7580ce0a7f53891de520fed 2c0e360266c286da6
16 from upstream.
17 - Self-assignment removed https://bugzilla.gnome.org/show_bug.cgi?id=751679.
18 - Include fix for runtime blowups on larger xpath expressions, https://bugzilla. gnome.org/show_bug.cgi?id=760325 16 - Include fix for runtime blowups on larger xpath expressions, https://bugzilla. gnome.org/show_bug.cgi?id=760325
17 - Fix printf format specifiers, https://chromium.googlesource.com/chromium/src/+ /d31995076e55f1aac2f935c53b585a90ece27a11
19 18
20 To import a new snapshot: 19 To import a new snapshot:
21 20
22 On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/. 21 On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/.
23 22
24 Remove:
25 src/doc/
26 src/example/
27 src/os400/
28 src/python/
29 src/result/
30 src/test/
31 src/vms/
32 src/VxWorks/
33
34 Generate config.h, include/libxml/xmlversion.h, and xml2-config: 23 Generate config.h, include/libxml/xmlversion.h, and xml2-config:
35 24
36 cd linux 25 cd linux
37 ../src/configure --without-iconv --with-icu --without-ftp --without-http 26 ../src/configure --without-iconv --with-icu --without-ftp --without-http \
27 --without-lzma
38 cd .. 28 cd ..
39 Patch config.h to not define HAVE_RAND_R since we use this file on Android 29 Patch config.h to not define HAVE_RAND_R since we use this file on Android
40 and it does not have it. 30 and it does not have it.
41 31
42 On a Mac, do the same in the mac/ subdir for config.h and 32 On a Mac, do the same in the mac/ subdir for config.h and
43 include/libxml/xmlversion.h and copy those to the Linux box in mac/ 33 include/libxml/xmlversion.h and copy those to the Linux box in mac/
44 34
45 On a Windows box: 35 On a Windows box:
46 cd libxml2-2.9.2\win32 36 cd libxml2-2.9.2\win32
47 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no 37 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no
48 Then copy config.h and include/libxml/xmlversion.h to win32/ on Linux. 38 Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux.
49 39
40 Remove:
41 src/doc/
42 src/example/
43 src/macos/libxml2.mcp.xml.sit.hqx
44 src/os400/
45 src/python/
46 src/result/
47 src/test/
48 src/vms/
49 src/win32/wince
50 src/VxWorks/
50 51
51 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc. 52 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698