summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-10-16 06:11:43 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-10-16 06:11:43 +0000
commit447d79123b206ee05cd2c352ed789bedcf402b29 (patch)
treee31e2b192bf6a8bc61f673e2cbd68b6e3ea5801e /app-office/lyx
parentversion bump (diff)
downloadgentoo-2-447d79123b206ee05cd2c352ed789bedcf402b29.tar.gz
gentoo-2-447d79123b206ee05cd2c352ed789bedcf402b29.tar.bz2
gentoo-2-447d79123b206ee05cd2c352ed789bedcf402b29.zip
(#131524) Use font.eclass to avoid sandbox violations with >=fontconfig-2.4. nattfodd says fine to commit.
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/ChangeLog6
-rw-r--r--app-office/lyx/lyx-1.4.2.ebuild15
2 files changed, 12 insertions, 9 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 0b5adc11a113..782b0ecf00fa 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/lyx
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.88 2006/09/25 08:31:32 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.89 2006/10/16 06:11:43 dberkholz Exp $
+
+ 16 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; lyx-1.4.2.ebuild:
+ (#131524) Use font.eclass to avoid sandbox violations with >=fontconfig-2.4.
+ nattfodd says fine to commit.
25 Sep 2006; Markus Rothe <corsair@gentoo.org> lyx-1.4.2.ebuild:
Added ~ppc64; bug #149013
diff --git a/app-office/lyx/lyx-1.4.2.ebuild b/app-office/lyx/lyx-1.4.2.ebuild
index da56b7a28d9b..8d29dff66a79 100644
--- a/app-office/lyx/lyx-1.4.2.ebuild
+++ b/app-office/lyx/lyx-1.4.2.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.2.ebuild,v 1.2 2006/09/25 08:31:32 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.2.ebuild,v 1.3 2006/10/16 06:11:43 dberkholz Exp $
-inherit kde-functions fdo-mime eutils libtool flag-o-matic
+inherit kde-functions fdo-mime eutils libtool flag-o-matic font
+FONT_PN="latex-xft-fonts"
+FONT_S="${WORKDIR}/${FONT_PN}"
CJK_PATCH="CJK-LyX-qt-${PV}-1.patch"
DESCRIPTION="WYSIWYM frontend for LaTeX"
HOMEPAGE="http://www.lyx.org/"
@@ -135,12 +137,7 @@ src_install() {
cd "${WORKDIR}"/latex-xft-fonts-0.1
emake DESTDIR="${D}" install || die "Font installation failed"
- mkfontscale "${D}"/usr/share/fonts/latex-xft-fonts
- mkfontdir -e /usr/share/fonts/encodings \
- -e /usr/share/fonts/encodings/large \
- -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \
- "${D}"/usr/share/fonts/latex-xft-fonts
- HOME=/root fc-cache -f "${D}"/usr/share/fonts/latex-xft-fonts
+ font_src_install
# bug #102310
if use gnome ; then
@@ -153,6 +150,8 @@ src_install() {
}
pkg_postinst() {
+ font_pkg_postinst
+
# fix for bug 91108
texhash