| OLD | NEW |
| 1 Name: freetype2 | 1 Name: freetype2 |
| 2 URL: git://git.sv.nongnu.org/freetype/freetype2.git | 2 URL: git://git.sv.nongnu.org/freetype/freetype2.git |
| 3 Version: 2.4.8-1ubuntu2.1 | 3 Version: 2.4.8-1ubuntu2.2 |
| 4 Security Critical: no | 4 Security Critical: no |
| 5 License: BSD | 5 License: BSD |
| 6 License File: NOT_SHIPPED | 6 License File: NOT_SHIPPED |
| 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 version of Freetype2 that was distributed with Ubuntu Precise |
| 11 (Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus | 11 (Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus |
| 12 applicable debian/patches-freetype as seen in | 12 applicable debian/patches-freetype as seen in |
| 13 https://launchpad.net/ubuntu/lucid/+source/freetype ). On Ubuntu Precise | 13 https://launchpad.net/ubuntu/lucid/+source/freetype ). |
| 14 this code should be the same as the result of | |
| 15 | 14 |
| 16 apt-get source freetype && cd freetype-2.4.8/ && ./debian/rules patch | 15 To get the code and patches: |
| 16 |
| 17 sudo apt-add-repository -s "deb http://archive.ubuntu.com/ubuntu precise-securit
y main" |
| 18 sudo apt-key update |
| 19 sudo apt-get update |
| 20 apt-get source -t precise freetype=2.4.8-1ubuntu2.2 |
| 21 |
| 22 and then to apply the patches (quilt): |
| 23 |
| 24 cd freetype-2.4.8/ |
| 25 ./debian/rules patch |
| 26 |
| 27 The tree produced by this should match the tree in this repo on the |
| 28 chromium/ubuntu/precise branch. |
| 17 | 29 |
| 18 The build files should approximate the output of | 30 The build files should approximate the output of |
| 19 | 31 |
| 20 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort | 32 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort |
| 21 | 33 |
| 22 Currently the cache, validators, patent checker (no longer used), and bzip2 | 34 Currently the cache, validators, patent checker (no longer used), and bzip2 |
| 23 are excluded. | 35 are excluded. |
| 24 | 36 |
| 25 We link this library into DumpRenderTree so that we can run the layout tests | 37 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 | 38 on later versions of Ubuntu and still get the same font rendering so that |
| (...skipping 11 matching lines...) Expand all Loading... |
| 38 % cp objs/ftmodule.h ../include | 50 % cp objs/ftmodule.h ../include |
| 39 % cp builds/unix/ftconfig.h ../include | 51 % cp builds/unix/ftconfig.h ../include |
| 40 % git apply freetype2.patch | 52 % git apply freetype2.patch |
| 41 | 53 |
| 42 (Basically we use the stock list of modules, and define the FT_EXPORT | 54 (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.) | 55 and FT_EXPORT_DEF macros to work properly when building a linux shared lib.) |
| 44 | 56 |
| 45 This code is not considered security critical since it is only to be linked | 57 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 | 58 into test binaries! This should never be linked into chrome or any production |
| 47 code. | 59 code. |
| OLD | NEW |