Line
Link Here
|
0 |
-- texlive-2007.ebuild |
0 |
++ texlive-2007.ebuild |
Lines 13-24
Link Here
|
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
15 |
|
15 |
|
16 |
SRC_URI="http://134.60.104.12/gentoo/${P}-src.tar.bz2 |
16 |
SRC_URI="http://dev.gentoo.gr.jp/~hiyuh/misc/${P}-src.tar.bz2 |
17 |
!cdinstall? ( http://134.60.104.12/gentoo/${P}-texmf-dist.tar.bz2 ) |
17 |
!cdinstall? ( http://dev.gentoo.gr.jp/~hiyuh/misc/${P}-texmf-dist.tar.bz2 ) |
18 |
http://134.60.104.12/gentoo/${P}-texmf.tar.bz2" |
18 |
http://dev.gentoo.gr.jp/~hiyuh/misc/${P}-texmf.tar.bz2" |
19 |
|
19 |
|
20 |
KEYWORDS="amd64 x86" |
20 |
KEYWORDS="amd64 x86" |
21 |
IUSE="X doc tk Xaw3d lesstif motif neXt png zlib emacs cdinstall t1lib gd" |
21 |
# For security reasons, gd is not in IUSE anymore, see gentoo bug #182055 |
|
|
22 |
IUSE="X doc tk Xaw3d lesstif motif neXt png zlib emacs cdinstall t1lib" |
22 |
|
23 |
|
23 |
# This is less than an ideal name |
24 |
# This is less than an ideal name |
24 |
PROVIDE="virtual/tetex" |
25 |
PROVIDE="virtual/tetex" |
Lines 69-75
Link Here
|
69 |
!app-text/xdvik |
70 |
!app-text/xdvik |
70 |
t1lib? ( >=media-libs/t1lib-5 ) |
71 |
t1lib? ( >=media-libs/t1lib-5 ) |
71 |
) |
72 |
) |
72 |
gd? ( media-libs/gd ) |
73 |
media-libs/gd |
73 |
sys-apps/ed |
74 |
sys-apps/ed |
74 |
sys-libs/zlib |
75 |
sys-libs/zlib |
75 |
>=media-libs/libpng-1.2.1 |
76 |
>=media-libs/libpng-1.2.1 |
Lines 102-108
Link Here
|
102 |
epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf.patch" || die |
103 |
epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf.patch" || die |
103 |
epatch "${FILESDIR}/${PV}/${P}-mv-texmf.patch" || die |
104 |
epatch "${FILESDIR}/${PV}/${P}-mv-texmf.patch" || die |
104 |
epatch "${FILESDIR}/${PV}/${P}-mpware-libtool.patch" || die |
105 |
epatch "${FILESDIR}/${PV}/${P}-mpware-libtool.patch" || die |
|
|
106 |
# Modified security patch. See Gentoo bug #188172 (CVE-2007-3387) |
105 |
epatch "${FILESDIR}/${PV}/xpdf-3.02pl1.patch" || die |
107 |
epatch "${FILESDIR}/${PV}/xpdf-3.02pl1.patch" || die |
|
|
108 |
# Security patch. See Gentoo bug #170861 |
109 |
epatch "${FILESDIR}/${PV}/tetex-3.0_p1-CVE-2007-0650.patch" || die |
106 |
|
110 |
|
107 |
sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \ |
111 |
sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \ |
108 |
Makefile.in || die "sed" |
112 |
Makefile.in || die "sed" |
Lines 141-150
Link Here
|
141 |
my_conf="${my_conf} --with-system-t1lib" |
145 |
my_conf="${my_conf} --with-system-t1lib" |
142 |
fi |
146 |
fi |
143 |
|
147 |
|
144 |
if use gd; then |
|
|
145 |
my_conf="${my_conf} --with-system-gd" |
146 |
fi |
147 |
|
148 |
if use zlib ; then |
148 |
if use zlib ; then |
149 |
my_conf="${my_conf} --with-system-zlib" |
149 |
my_conf="${my_conf} --with-system-zlib" |
150 |
fi |
150 |
fi |
Lines 157-162
Link Here
|
157 |
--datadir="${S}" \ |
157 |
--datadir="${S}" \ |
158 |
--with-system-ncurses \ |
158 |
--with-system-ncurses \ |
159 |
--with-system-freetype2 \ |
159 |
--with-system-freetype2 \ |
|
|
160 |
--with-system-gd \ |
160 |
--with-freetype2-include=/usr/include \ |
161 |
--with-freetype2-include=/usr/include \ |
161 |
--without-texinfo \ |
162 |
--without-texinfo \ |
162 |
--without-dialog \ |
163 |
--without-dialog \ |