| OLD | NEW |
| 1 Name: freetype2 | 1 Name: freetype2 |
| 2 URL: git://git.sv.nongnu.org/freetype/freetype2.git | 2 URL: http://download.savannah.gnu.org/releases/freetype/ |
| 3 Version: 2.4.8-1ubuntu2.1 | 3 Version: 2.6.2 |
| 4 Security Critical: no | 4 Security Critical: yes |
| 5 License: BSD | 5 License: BSD |
| 6 License File: NOT_SHIPPED | 6 License File: src/docs/LICENSE.TXT |
| 7 | 7 |
| 8 Description: | 8 Description: |
| 9 | 9 |
| 10 This mirrors the version of Freetype2 that was distributed with Ubuntu Precise | 10 This mirrors the Freetype2, version 2.6.2. |
| 11 (Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus | |
| 12 applicable debian/patches-freetype as seen in | |
| 13 https://launchpad.net/ubuntu/lucid/+source/freetype ). On Ubuntu Precise | |
| 14 this code should be the same as the result of | |
| 15 | |
| 16 apt-get source freetype && cd freetype-2.4.8/ && ./debian/rules patch | |
| 17 | |
| 18 The build files should approximate the output of | |
| 19 | |
| 20 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort | |
| 21 | |
| 22 Currently the cache, validators, patent checker (no longer used), and bzip2 | |
| 23 are excluded. | |
| 24 | |
| 25 We link this library into DumpRenderTree so that we can run the layout tests | |
| 26 on later versions of Ubuntu and still get the same font rendering so that | |
| 27 we don't have to support two sets of pixel test baselines. | |
| 28 | 11 |
| 29 Freetype depends on two header files to be supplied by the user to specify | 12 Freetype depends on two header files to be supplied by the user to specify |
| 30 how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames | 13 how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames |
| 31 as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines). | 14 as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines). |
| 32 | 15 |
| 33 The versions in include/ were generated as follows (on a Precise machine): | 16 The versions in include/ were generated as follows (on a Trusty machine): |
| 34 | 17 |
| 35 % cd ext | 18 % cd ext |
| 36 % bash autogen.sh | 19 % bash autogen.sh |
| 37 % ./configure | 20 % ./configure |
| 38 % cp objs/ftmodule.h ../include | 21 % cp objs/ftmodule.h ../include |
| 39 % cp builds/unix/ftconfig.h ../include | 22 % cp builds/unix/ftconfig.h ../include |
| 40 % git apply freetype2.patch | |
| 41 | 23 |
| 42 (Basically we use the stock list of modules, and define the FT_EXPORT | 24 (Basically we use the stock list of modules, and define the FT_EXPORT |
| 43 and FT_EXPORT_DEF macros to work properly when building a linux shared lib.) | 25 and FT_EXPORT_DEF macros to work properly when building a linux shared lib.) |
| 44 | |
| 45 This code is not considered security critical since it is only to be linked | |
| 46 into test binaries! This should never be linked into chrome or any production | |
| 47 code. | |
| OLD | NEW |