Gentoo Archives: gentoo-commits

From: David Heidelberger <d.okias@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-libs/libXft/files/, x11-libs/libXft/
Date: Sat, 07 Dec 2013 22:45:11
Message-Id: 1386456280.dde3f202bdccdc11a110d88af67b074ff8fb2a6b.okias@gentoo
1 commit: dde3f202bdccdc11a110d88af67b074ff8fb2a6b
2 Author: David Heidelberger <david.heidelberger <AT> ixit <DOT> cz>
3 AuthorDate: Sat Dec 7 22:44:40 2013 +0000
4 Commit: David Heidelberger <d.okias <AT> gmail <DOT> com>
5 CommitDate: Sat Dec 7 22:44:40 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=dde3f202
7
8 x11-libs/libXft: fixed compilation 2.3.1-r1 with freetype 2.5.1
9
10 ---
11 .../libXft/files/libXft-2.3.1-compile_fix.patch | 17 +++++++++++++++
12 x11-libs/libXft/libXft-2.3.1-r1.ebuild | 24 ++++++++++++++++++++++
13 2 files changed, 41 insertions(+)
14
15 diff --git a/x11-libs/libXft/files/libXft-2.3.1-compile_fix.patch b/x11-libs/libXft/files/libXft-2.3.1-compile_fix.patch
16 new file mode 100644
17 index 0000000..4fc944a
18 --- /dev/null
19 +++ b/x11-libs/libXft/files/libXft-2.3.1-compile_fix.patch
20 @@ -0,0 +1,17 @@
21 +--- src/xftglyphs.c.orig 2012-06-02 11:36:35.000000000 -0500
22 ++++ src/xftglyphs.c 2013-11-28 01:39:49.000000000 -0600
23 +@@ -21,10 +21,10 @@
24 + */
25 +
26 + #include "xftint.h"
27 +-#include <freetype/ftoutln.h>
28 +-#include <freetype/ftlcdfil.h>
29 +-
30 +-#include <freetype/ftsynth.h>
31 ++#include <ft2build.h>
32 ++#include FT_OUTLINE_H
33 ++#include FT_LCD_FILTER_H
34 ++#include FT_SYNTHESIS_H
35 +
36 + /*
37 + * Validate the memory info for a font
38
39 diff --git a/x11-libs/libXft/libXft-2.3.1-r1.ebuild b/x11-libs/libXft/libXft-2.3.1-r1.ebuild
40 new file mode 100644
41 index 0000000..423d9d5
42 --- /dev/null
43 +++ b/x11-libs/libXft/libXft-2.3.1-r1.ebuild
44 @@ -0,0 +1,24 @@
45 +# Copyright 1999-2013 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +# $Header: $
48 +
49 +EAPI=5
50 +
51 +XORG_MULTILIB=yes
52 +inherit xorg-2 flag-o-matic
53 +
54 +DESCRIPTION="X.Org Xft library"
55 +
56 +KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
57 +IUSE=""
58 +
59 +RDEPEND=">=x11-libs/libXrender-0.8.2[${MULTILIB_USEDEP}]
60 + x11-libs/libX11[${MULTILIB_USEDEP}]
61 + x11-libs/libXext[${MULTILIB_USEDEP}]
62 + media-libs/freetype[${MULTILIB_USEDEP}]
63 + media-libs/fontconfig[${MULTILIB_USEDEP}]
64 + x11-proto/xproto[${MULTILIB_USEDEP}]
65 + virtual/ttf-fonts"
66 +DEPEND="${RDEPEND}"
67 +
68 +PATCHES=( "${FILESDIR}/${PN}-2.3.1-compile_fix.patch" )