Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 306053 | Differences between
and this patch

Collapse All | Expand All

(-)cairo-1.8.8.ebuild.orig (-6 / +12 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.8.8.ebuild,v 1.17 2010/02/08 15:59:02 cardoe Exp $
3
# $Header: $
4
4
5
EAPI=2
5
EAPI=2
6
6
Lines 13-25 Link Here
13
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
13
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
15
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16
IUSE="aqua cleartype debug directfb doc glitz opengl +svg X xcb"
16
IUSE="aqua debug directfb doc glitz opengl +svg X xcb"
17
17
18
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
18
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
19
RESTRICT="test"
19
RESTRICT="test"
20
20
21
RDEPEND="media-libs/fontconfig
21
RDEPEND=">=media-libs/fontconfig-2.8.0-r1
22
	>=media-libs/freetype-2.1.9
22
	>=media-libs/freetype-2.3.12-r1
23
	sys-libs/zlib
23
	sys-libs/zlib
24
	media-libs/libpng
24
	media-libs/libpng
25
	>=x11-libs/pixman-0.12.0
25
	>=x11-libs/pixman-0.12.0
Lines 51-58 Link Here
51
	X? ( x11-proto/renderproto )"
51
	X? ( x11-proto/renderproto )"
52
52
53
src_prepare() {
53
src_prepare() {
54
	# ClearType-like patches applied by ArchLinux
54
	# Use Freetype API for subpixel filtering (patch from Ubuntu)
55
	use cleartype && epatch "${FILESDIR}"/cairo-1.2.4-lcd-cleartype-like.diff
55
	epatch "${FILESDIR}"/${P}-lcd-filter-ubuntu.patch
56
56
57
	epatch "${FILESDIR}"/${P}-interix.patch
57
	epatch "${FILESDIR}"/${P}-interix.patch
58
58
Lines 95-99 Link Here
95
		ewarn "to the Xrender and Xlib backends, which are the backends used"
95
		ewarn "to the Xrender and Xlib backends, which are the backends used"
96
		ewarn "by most applications. See:"
96
		ewarn "by most applications. See:"
97
		ewarn "http://lists.freedesktop.org/archives/xcb/2008-December/004139.html"
97
		ewarn "http://lists.freedesktop.org/archives/xcb/2008-December/004139.html"
98
		ewarn
98
	fi
99
	fi
100
101
	ewarn "Cairo now uses the Freetype 2 API for subpixel font filtering. To " 
102
	ewarn "enable the filter previously applied by the cleartype USE flag run:"
103
	ewarn
104
	ewarn "\teselect fontconfig enable 11-lcdfilter-default.conf"
99
}
105
}

Return to bug 306053