1 |
dirtyepic 10/10/04 00:28:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freetype-2.4.3.ebuild |
5 |
Log: |
6 |
Version bump. This release fixes a regression in cubic spline flattening |
7 |
affecting S-shaped glyphs introduced in 2.4.0 (bug #339572). |
8 |
|
9 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.267 media-libs/freetype/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/ChangeLog?rev=1.267&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/ChangeLog?rev=1.267&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/ChangeLog?r1=1.266&r2=1.267 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v |
21 |
retrieving revision 1.266 |
22 |
retrieving revision 1.267 |
23 |
diff -u -r1.266 -r1.267 |
24 |
--- ChangeLog 30 Sep 2010 20:00:29 -0000 1.266 |
25 |
+++ ChangeLog 4 Oct 2010 00:28:28 -0000 1.267 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for media-libs/freetype |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.266 2010/09/30 20:00:29 ranger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.267 2010/10/04 00:28:28 dirtyepic Exp $ |
31 |
+ |
32 |
+*freetype-2.4.3 (04 Oct 2010) |
33 |
+ |
34 |
+ 04 Oct 2010; Ryan Hill <dirtyepic@g.o> +freetype-2.4.3.ebuild: |
35 |
+ Version bump. This release fixes a regression in cubic spline flattening |
36 |
+ affecting S-shaped glyphs introduced in 2.4.0 (bug #339572). |
37 |
|
38 |
30 Sep 2010; Brent Baude <ranger@g.o> freetype-2.3.12.ebuild: |
39 |
stable ppc64, bug 320715 |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-libs/freetype/freetype-2.4.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/freetype-2.4.3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/freetype-2.4.3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: freetype-2.4.3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.3.ebuild,v 1.1 2010/10/04 00:28:28 dirtyepic Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils flag-o-matic libtool |
57 |
|
58 |
DESCRIPTION="A high-quality and portable font engine" |
59 |
HOMEPAGE="http://www.freetype.org/" |
60 |
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2 |
61 |
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 ) |
62 |
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )" |
63 |
|
64 |
LICENSE="FTL GPL-2" |
65 |
SLOT="2" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
67 |
IUSE="X auto-hinter bindist debug doc utils fontforge" |
68 |
|
69 |
DEPEND="sys-libs/zlib |
70 |
X? ( x11-libs/libX11 |
71 |
x11-libs/libXau |
72 |
x11-libs/libXdmcp )" |
73 |
|
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
src_prepare() { |
77 |
enable_option() { |
78 |
sed -i -e "/#define $1/a #define $1" \ |
79 |
include/freetype/config/ftoption.h \ |
80 |
|| die "unable to enable option $1" |
81 |
} |
82 |
|
83 |
disable_option() { |
84 |
sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \ |
85 |
include/freetype/config/ftoption.h \ |
86 |
|| die "unable to disable option $1" |
87 |
} |
88 |
|
89 |
if ! use bindist; then |
90 |
# See http://freetype.org/patents.html |
91 |
# ClearType is covered by several Microsoft patents in the US |
92 |
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING |
93 |
fi |
94 |
|
95 |
if use auto-hinter; then |
96 |
disable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER |
97 |
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING |
98 |
fi |
99 |
|
100 |
if use debug; then |
101 |
enable_option FT_DEBUG_LEVEL_ERROR |
102 |
enable_option FT_DEBUG_MEMORY |
103 |
fi |
104 |
|
105 |
disable_option FT_CONFIG_OPTION_OLD_INTERNALS |
106 |
|
107 |
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch |
108 |
|
109 |
if use utils; then |
110 |
cd "${WORKDIR}/ft2demos-${PV}" |
111 |
sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile |
112 |
# Disable tests needing X11 when USE="-X". (bug #177597) |
113 |
if ! use X; then |
114 |
sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile |
115 |
fi |
116 |
fi |
117 |
|
118 |
elibtoolize |
119 |
epunt_cxx |
120 |
} |
121 |
|
122 |
src_configure() { |
123 |
append-flags -fno-strict-aliasing |
124 |
type -P gmake &> /dev/null && export GNUMAKE=gmake |
125 |
econf |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
emake || die "emake failed" |
130 |
|
131 |
if use utils; then |
132 |
cd "${WORKDIR}/ft2demos-${PV}" |
133 |
emake || die "ft2demos emake failed" |
134 |
fi |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
emake DESTDIR="${D}" install || die "emake install failed" |
139 |
|
140 |
dodoc ChangeLog README |
141 |
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO} |
142 |
|
143 |
use doc && dohtml -r docs/* |
144 |
|
145 |
if use utils; then |
146 |
rm "${WORKDIR}"/ft2demos-${PV}/bin/README |
147 |
for ft2demo in ../ft2demos-${PV}/bin/*; do |
148 |
./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \ |
149 |
"${D}"/usr/bin |
150 |
done |
151 |
fi |
152 |
|
153 |
if use fontforge; then |
154 |
# Probably fontforge needs less but this way makes things simplier... |
155 |
einfo "Installing internal headers required for fontforge" |
156 |
find src/truetype include/freetype/internal -name '*.h' | \ |
157 |
while read header; do |
158 |
mkdir -p "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" |
159 |
cp ${header} "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" |
160 |
done |
161 |
fi |
162 |
} |
163 |
|
164 |
pkg_postinst() { |
165 |
elog "The TrueType bytecode interpreter is no longer patented and thus no" |
166 |
elog "longer controlled by the bindist USE flag. Enable the auto-hinter" |
167 |
elog "USE flag if you want the old USE="bindist" hinting behavior." |
168 |
} |