1 |
loki_val 09/01/01 12:30:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freetype-2.3.7-r1.ebuild |
5 |
Log: |
6 |
Fix bug 247104, segfault in cffparse.c:361, bug 253029, missing letters in certain fonts, thanks to Andreas Turriff for the patch-pointer. Also import patches for alien bugs: http://bugs.debian.org/487101, segfault when building certain fonts and http://savannah.nongnu.org/bugs/index.php?23973 , incorrect scaling of certain fonts. |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-rc9 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.204 media-libs/freetype/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freetype/ChangeLog?rev=1.204&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freetype/ChangeLog?rev=1.204&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freetype/ChangeLog?r1=1.203&r2=1.204 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v |
19 |
retrieving revision 1.203 |
20 |
retrieving revision 1.204 |
21 |
diff -u -r1.203 -r1.204 |
22 |
--- ChangeLog 20 Dec 2008 01:32:24 -0000 1.203 |
23 |
+++ ChangeLog 1 Jan 2009 12:30:30 -0000 1.204 |
24 |
@@ -1,6 +1,21 @@ |
25 |
# ChangeLog for media-libs/freetype |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.203 2008/12/20 01:32:24 loki_val Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.204 2009/01/01 12:30:30 loki_val Exp $ |
30 |
+ |
31 |
+*freetype-2.3.7-r1 (01 Jan 2009) |
32 |
+ |
33 |
+ 01 Jan 2009; Peter Alfredsen <loki_val@g.o> |
34 |
+ +files/freetype-2.3.7-b.g.o-247104.patch, |
35 |
+ +files/freetype-2.3.7-b.g.o-253029.patch, |
36 |
+ +files/freetype-2.3.7-fix-incorrect-scaling.patch, |
37 |
+ +files/freetype-2.3.7-no-segfault-on-load_mac_face.patch, |
38 |
+ +freetype-2.3.7-r1.ebuild: |
39 |
+ Fix bug 247104, segfault in cffparse.c:361, bug 253029, missing letters in |
40 |
+ certain fonts, thanks to Andreas Turriff for the patch-pointer. Also |
41 |
+ import patches for alien bugs: http://bugs.debian.org/487101, segfault |
42 |
+ when building certain fonts and |
43 |
+ http://savannah.nongnu.org/bugs/index.php?23973 , incorrect scaling of |
44 |
+ certain fonts. |
45 |
|
46 |
20 Dec 2008; Peter Alfredsen <loki_val@g.o> |
47 |
-files/freetype-1.3.1-malloc.patch, |
48 |
|
49 |
|
50 |
|
51 |
1.1 media-libs/freetype/freetype-2.3.7-r1.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freetype/freetype-2.3.7-r1.ebuild?rev=1.1&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/freetype/freetype-2.3.7-r1.ebuild?rev=1.1&content-type=text/plain |
55 |
|
56 |
Index: freetype-2.3.7-r1.ebuild |
57 |
=================================================================== |
58 |
# Copyright 1999-2009 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.7-r1.ebuild,v 1.1 2009/01/01 12:30:30 loki_val Exp $ |
61 |
|
62 |
inherit eutils flag-o-matic libtool |
63 |
|
64 |
DESCRIPTION="A high-quality and portable font engine" |
65 |
HOMEPAGE="http://www.freetype.org/" |
66 |
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2 |
67 |
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 ) |
68 |
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )" |
69 |
|
70 |
LICENSE="FTL GPL-2" |
71 |
SLOT="2" |
72 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
73 |
IUSE="X bindist debug doc utils" |
74 |
|
75 |
DEPEND="X? ( x11-libs/libX11 |
76 |
x11-libs/libXau |
77 |
x11-libs/libXdmcp )" |
78 |
|
79 |
# We also need a recent fontconfig version to prevent segfaults. #166029 |
80 |
# July 3 2007 dirtyepic |
81 |
RDEPEND="${DEPEND} |
82 |
!<media-libs/fontconfig-2.3.2-r2" |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
cd "${S}" |
87 |
|
88 |
enable_option() { |
89 |
sed -i -e "/#define $1/a #define $1" \ |
90 |
include/freetype/config/ftoption.h \ |
91 |
|| die "unable to enable option $1" |
92 |
} |
93 |
|
94 |
disable_option() { |
95 |
sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \ |
96 |
include/freetype/config/ftoption.h \ |
97 |
|| die "unable to disable option $1" |
98 |
} |
99 |
|
100 |
if ! use bindist; then |
101 |
# Bytecodes and subpixel hinting supports are patented |
102 |
# in United States; for safety, disable them while building |
103 |
# binaries, so that no risky code is distributed. |
104 |
# See http://freetype.org/patents.html |
105 |
|
106 |
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING |
107 |
enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER |
108 |
disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING |
109 |
fi |
110 |
|
111 |
if use debug; then |
112 |
enable_option FT_DEBUG_LEVEL_ERROR |
113 |
enable_option FT_DEBUG_MEMORY |
114 |
fi |
115 |
|
116 |
enable_option FT_CONFIG_OPTION_INCREMENTAL |
117 |
disable_option FT_CONFIG_OPTION_OLD_INTERNALS |
118 |
|
119 |
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch |
120 |
epatch "${FILESDIR}"/${P}-b.g.o-247104.patch |
121 |
epatch "${FILESDIR}"/${P}-b.g.o-253029.patch |
122 |
#Fixes Debian bug #487101. |
123 |
epatch "${FILESDIR}"/${P}-no-segfault-on-load_mac_face.patch |
124 |
#Fixes Savannah bug #23973. |
125 |
epatch "${FILESDIR}"/${P}-fix-incorrect-scaling.patch |
126 |
|
127 |
if use utils; then |
128 |
cd "${WORKDIR}"/ft2demos-${PV} |
129 |
sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile |
130 |
|
131 |
# Disable tests needing X11 when USE="-X". (bug #177597) |
132 |
if ! use X; then |
133 |
sed -i -e "/EXES\ +=\ ftview/ s:^:#:" Makefile |
134 |
fi |
135 |
fi |
136 |
|
137 |
elibtoolize |
138 |
epunt_cxx |
139 |
} |
140 |
|
141 |
src_compile() { |
142 |
append-flags -fno-strict-aliasing |
143 |
|
144 |
type -P gmake &> /dev/null && export GNUMAKE=gmake |
145 |
econf || die "econf failed" |
146 |
emake || die "emake failed" |
147 |
|
148 |
if use utils; then |
149 |
cd "${WORKDIR}"/ft2demos-${PV} |
150 |
emake || die "ft2demos emake failed" |
151 |
fi |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
emake DESTDIR="${D}" install || die "emake install failed" |
156 |
|
157 |
dodoc ChangeLog README |
158 |
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PATENTS,TODO} |
159 |
|
160 |
use doc && dohtml -r docs/* |
161 |
|
162 |
if use utils; then |
163 |
rm "${WORKDIR}"/ft2demos-${PV}/bin/README |
164 |
for ft2demo in ../ft2demos-${PV}/bin/*; do |
165 |
./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \ |
166 |
"${D}"/usr/bin |
167 |
done |
168 |
fi |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
echo |
173 |
ewarn "After upgrading to freetype-2.3.5, it is necessary to rebuild" |
174 |
ewarn "libXfont to avoid build errors in some packages." |
175 |
echo |
176 |
elog "The utilities and demos previously bundled with freetype are now" |
177 |
elog "optional. Enable the utils USE flag if you would like them" |
178 |
elog "to be installed." |
179 |
echo |
180 |
} |