summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-12-07 01:14:58 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2013-12-21 19:16:52 +0100
commit9068da8453af4756cd97998903b9a8e0b4151243 (patch)
treec243ec828fc3accc2477e8b6120fbebff4ccb5cf /meta-oe/recipes-graphics
parent1cf6cecfeb93091f450ec0745c63100d4496648c (diff)
downloadmeta-openembedded-9068da8453af4756cd97998903b9a8e0b4151243.tar.gz
gimp: Upgrade 2.8.2 -> 2.8.10
Also fix build with freetype 2.5.1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/gimp/gimp/freetype.patch30
-rw-r--r--meta-oe/recipes-graphics/gimp/gimp_2.8.10.bb (renamed from meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb)9
2 files changed, 36 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/gimp/gimp/freetype.patch b/meta-oe/recipes-graphics/gimp/gimp/freetype.patch
new file mode 100644
index 0000000000..ed6c097915
--- /dev/null
+++ b/meta-oe/recipes-graphics/gimp/gimp/freetype.patch
@@ -0,0 +1,30 @@
1Include the freetype headers via macros ( recommended way)
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Backport
5
6From 6c73f28b6d87a2afd11974552a075bffec52347f Mon Sep 17 00:00:00 2001
7From: Michael Natterer <mitch@gimp.org>
8Date: Fri, 29 Nov 2013 20:57:46 +0000
9Subject: Bug 719560 - Build failure with freetype 2.5.1
10
11Apply patch from su-v that fixes the freetype include to
12the madness devised and recommended by freetype.
13---
14diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c
15index 4045ca9..66c6e52 100644
16--- a/app/text/gimpfont.c
17+++ b/app/text/gimpfont.c
18@@ -28,7 +28,9 @@
19
20 #define PANGO_ENABLE_ENGINE 1 /* Argh */
21 #include <pango/pango-ot.h>
22-#include <freetype/tttables.h>
23+
24+#include <ft2build.h>
25+#include FT_TRUETYPE_TABLES_H
26
27 #include "text-types.h"
28
29--
30cgit v0.9.2
diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb b/meta-oe/recipes-graphics/gimp/gimp_2.8.10.bb
index e9bbdcf70a..c74716842c 100644
--- a/meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb
+++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.10.bb
@@ -8,9 +8,11 @@ DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff webk
8 8
9inherit gnome 9inherit gnome
10 10
11SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2" 11SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \
12SRC_URI[md5sum] = "b542138820ca3a41cbd63fc331907955" 12 file://freetype.patch \
13SRC_URI[sha256sum] = "0cd1a7e67e132ead810e16e31ff929394c83fcf841e4a295c45d6f3829601ad9" 13 "
14SRC_URI[md5sum] = "84c964aab7044489af69f7319bb59b47"
15SRC_URI[sha256sum] = "e7fd8b19f989138d826003c75f56bd5b6f136eef597e86e3978ede0bba470ae6"
14 16
15EXTRA_OECONF = "--disable-python \ 17EXTRA_OECONF = "--disable-python \
16 --without-wmf" 18 --without-wmf"
@@ -21,3 +23,4 @@ do_configure_append() {
21} 23}
22 24
23FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug" 25FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug"
26FILES_${PN} += "${datadir}/appdata"