[packages/iceweasel] - proper fix for freetype 2.6

baggins baggins at pld-linux.org
Sun Jun 14 16:57:06 CEST 2015


commit 957d61d8aa7592fdac173db5460e7bfaec70c4e9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 14 16:56:52 2015 +0200

    - proper fix for freetype 2.6

 freetype-2.6.patch | 41 ++++++++++-------------------------------
 iceweasel.spec     |  2 +-
 2 files changed, 11 insertions(+), 32 deletions(-)
---
diff --git a/iceweasel.spec b/iceweasel.spec
index 1f474a2..172c48b 100644
--- a/iceweasel.spec
+++ b/iceweasel.spec
@@ -58,7 +58,7 @@ BuildRequires:	automake
 BuildRequires:	bzip2-devel
 BuildRequires:	cairo-devel >= 1.10.2-5
 BuildRequires:	dbus-glib-devel >= 0.60
-BuildRequires:	freetype-devel >= 1:2.6
+BuildRequires:	freetype-devel >= 1:2.1.8
 BuildRequires:	gcc-c++ >= 6:4.4
 BuildRequires:	glib2-devel >= 1:2.22
 BuildRequires:	gstreamer-devel >= 1.0
diff --git a/freetype-2.6.patch b/freetype-2.6.patch
index 6cd43bb..1b4403e 100644
--- a/freetype-2.6.patch
+++ b/freetype-2.6.patch
@@ -1,31 +1,10 @@
---- mozilla/gfx/skia/trunk/src/ports/SkFontHost_FreeType.cpp~	2015-05-25 23:28:39.000000000 +0200
-+++ mozilla/gfx/skia/trunk/src/ports/SkFontHost_FreeType.cpp	2015-06-14 11:20:11.673675291 +0200
-@@ -39,7 +39,7 @@
- #include FT_BITMAP_H
- // In the past, FT_GlyphSlot_Own_Bitmap was defined in this header file.
- #include FT_SYNTHESIS_H
--#include FT_XFREE86_H
-+#include FT_FONT_FORMATS_H
- #ifdef FT_LCD_FILTER_H
- #include FT_LCD_FILTER_H
- #endif
-@@ -557,7 +557,7 @@
-     info->fEmSize = 1000;
- 
-     bool cid = false;
--    const char* fontType = FT_Get_X11_Font_Format(face);
-+    const char* fontType = FT_Get_Font_Format(face);
-     if (strcmp(fontType, "Type 1") == 0) {
-         info->fType = SkAdvancedTypefaceMetrics::kType1_Font;
-     } else if (strcmp(fontType, "CID Type 1") == 0) {
---- mozilla/gfx/cairo/cairo/src/cairo-ft-font.c~	2015-05-25 23:28:55.000000000 +0200
-+++ mozilla/gfx/cairo/cairo/src/cairo-ft-font.c	2015-06-14 11:21:19.521750404 +0200
-@@ -1252,7 +1252,7 @@
- 
- 	    align = cairo_format_stride_for_width (format, bitmap->width);
- 
--	    FT_Bitmap_New( &tmp );
-+	    FT_Bitmap_Init( &tmp );
- 
- 	    if (FT_Bitmap_Convert( library, bitmap, &tmp, align ))
- 		return _cairo_error (CAIRO_STATUS_NO_MEMORY);
+--- mozilla/config/system-headers~	2015-05-25 23:28:44.000000000 +0200
++++ mozilla/config/system-headers	2015-06-11 23:07:35.000000000 +0200
+@@ -471,6 +470,7 @@
+ freetype/ftxf86.h
+ freetype.h
+ ftcache.h
++ftfntfmt.h
+ ftglyph.h
+ ftsynth.h
+ ftoutln.h
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iceweasel.git/commitdiff/957d61d8aa7592fdac173db5460e7bfaec70c4e9



More information about the pld-cvs-commit mailing list