Merge lp:~l3on/ubuntu/trusty/drawtk/ftbfs-1277213 into lp:ubuntu/trusty/drawtk

Proposed by Leo Iannacone
Status: Merged
Merge reported by: Andrew Starr-Bochicchio
Merged at revision: not available
Proposed branch: lp:~l3on/ubuntu/trusty/drawtk/ftbfs-1277213
Merge into: lp:ubuntu/trusty/drawtk
Diff against target: 91 lines (+41/-5)
6 files modified
.pc/applied-patches (+1/-0)
debian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/fix-freetype-includes.patch (+26/-0)
debian/patches/series (+1/-0)
src/fonttex.c (+4/-4)
To merge this branch: bzr merge lp:~l3on/ubuntu/trusty/drawtk/ftbfs-1277213
Reviewer Review Type Date Requested Status
Andrew Starr-Bochicchio (community) Approve
Ubuntu branches Pending
Review via email: mp+208506@code.launchpad.net

Description of the change

Fix FTBFS including freetype (LP: #1277213)

To post a comment you must log in.
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Uploaded. Good work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2012-06-14 15:03:39 +0000
3+++ .pc/applied-patches 2014-02-26 23:47:39 +0000
4@@ -1,1 +1,2 @@
5 fix-duplicated-font.patch
6+fix-freetype-includes.patch
7
8=== modified file 'debian/changelog'
9--- debian/changelog 2012-06-14 15:03:39 +0000
10+++ debian/changelog 2014-02-26 23:47:39 +0000
11@@ -1,3 +1,10 @@
12+drawtk (2.0-2ubuntu1) trusty; urgency=medium
13+
14+ * Fix FTBFS including freetype (LP: #1277213):
15+ - new patch fix-freetype-includes.patch
16+
17+ -- Leo Iannacone <l3on@ubuntu.com> Thu, 27 Feb 2014 00:39:56 +0100
18+
19 drawtk (2.0-2) unstable; urgency=low
20
21 * Add bugfix: fix-duplicated-font.patch
22
23=== modified file 'debian/control'
24--- debian/control 2012-05-16 19:36:38 +0000
25+++ debian/control 2014-02-26 23:47:39 +0000
26@@ -1,7 +1,8 @@
27 Source: drawtk
28 Section: libs
29 Priority: extra
30-Maintainer: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
31+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
32+XSBC-Original-Maintainer: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
33 Build-Depends: debhelper (>= 9), dh-autoreconf,
34 libsdl1.2-dev, libfreeimage-dev, libfreetype6-dev, libfontconfig-dev,
35 libgl1-mesa-dev | libgl-dev, libgstreamer-plugins-base0.10-dev
36
37=== added file 'debian/patches/fix-freetype-includes.patch'
38--- debian/patches/fix-freetype-includes.patch 1970-01-01 00:00:00 +0000
39+++ debian/patches/fix-freetype-includes.patch 2014-02-26 23:47:39 +0000
40@@ -0,0 +1,26 @@
41+Description: Fix build failure with freetype 2.5.1
42+Author: Juhani Numminen <juhaninumminen0@gmail.com>
43+Bug-Debian: http://bugs.debian.org/733365
44+Bug-Ubuntu: https://launchpad.net/bugs/1277213
45+
46+---
47+ src/fonttex.c | 8 ++++----
48+ 1 file changed, 4 insertions(+), 4 deletions(-)
49+
50+--- a/src/fonttex.c
51++++ b/src/fonttex.c
52+@@ -21,10 +21,10 @@
53+ #endif
54+
55+ #include <ft2build.h>
56+-#include <freetype/freetype.h>
57+-#include <freetype/ftglyph.h>
58+-#include <freetype/ftoutln.h>
59+-#include <freetype/fttrigon.h>
60++#include FT_FREETYPE_H
61++#include FT_GLYPH_H
62++#include FT_OUTLINE_H
63++#include FT_TRIGONOMETRY_H
64+ #include <fontconfig/fontconfig.h>
65+ #include <stdint.h>
66+
67
68=== modified file 'debian/patches/series'
69--- debian/patches/series 2012-06-14 15:03:39 +0000
70+++ debian/patches/series 2014-02-26 23:47:39 +0000
71@@ -1,1 +1,2 @@
72 fix-duplicated-font.patch
73+fix-freetype-includes.patch
74
75=== modified file 'src/fonttex.c'
76--- src/fonttex.c 2012-06-14 15:03:39 +0000
77+++ src/fonttex.c 2014-02-26 23:47:39 +0000
78@@ -21,10 +21,10 @@
79 #endif
80
81 #include <ft2build.h>
82-#include <freetype/freetype.h>
83-#include <freetype/ftglyph.h>
84-#include <freetype/ftoutln.h>
85-#include <freetype/fttrigon.h>
86+#include FT_FREETYPE_H
87+#include FT_GLYPH_H
88+#include FT_OUTLINE_H
89+#include FT_TRIGONOMETRY_H
90 #include <fontconfig/fontconfig.h>
91 #include <stdint.h>
92

Subscribers

People subscribed via source and target branches

to all changes: