gimp/gimp-use-recommended-freetype-include.patch
Stephan Kulow f6a87e830d Accepting request 212065 from GNOME:Apps
- Add gimp-use-recommended-freetype-include.patch: 
  Freetype upstream recommends using their macros together with
  ft2build include. Positive sideeffect is that this patch makes
  it build with both freetype2 2.5.1, and older versions.

- Update to version 2.8.10:
  + Core:
    - Set manifest as Windows 8 compatible.
  + GUI:
    - Indicate if a file was exported in the Quit dialog.
    - Add shortcuts and hint labels to the close and quit dialogs
      that make closing and quitting easier and more consistent.
    - Rename the File->Export menu labels to match Save/Save as.
    - Fix keyboard shortcuts on OSX Mavericks.
    - Don't open lots of progress popups when opening many files.
    - Correctly restore the hidden state of docks in single window
      mode.
  + Libgimp:
    - Fix exporting an image consisting of a single layer group.
    - Don't attempt to pick transparent colors.
  + Plug-ins: Fix crash in LCMS plugin if RGB profile was missing.
  + General:
    - Fix compile on NetBSD (missing -lexecinfo).
    - Bug fixes.
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/212065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=89
2013-12-23 18:33:11 +00:00

29 lines
716 B
Diff

From 6c73f28b6d87a2afd11974552a075bffec52347f Mon Sep 17 00:00:00 2001
From: Michael Natterer <mitch@gimp.org>
Date: Fri, 29 Nov 2013 20:57:46 +0000
Subject: Bug 719560 - Build failure with freetype 2.5.1
Apply patch from su-v that fixes the freetype include to
the madness devised and recommended by freetype.
---
(limited to 'app/text/gimpfont.c')
diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c
index 4045ca9..66c6e52 100644
--- a/app/text/gimpfont.c
+++ b/app/text/gimpfont.c
@@ -28,7 +28,9 @@
#define PANGO_ENABLE_ENGINE 1 /* Argh */
#include <pango/pango-ot.h>
-#include <freetype/tttables.h>
+
+#include <ft2build.h>
+#include FT_TRUETYPE_TABLES_H
#include "text-types.h"
--
cgit v0.9.2