summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/lyx/files/digest-lyx-1.3.34
-rw-r--r--app-office/lyx/lyx-1.3.3.ebuild110
2 files changed, 0 insertions, 114 deletions
diff --git a/app-office/lyx/files/digest-lyx-1.3.3 b/app-office/lyx/files/digest-lyx-1.3.3
deleted file mode 100644
index 7410d416903a..000000000000
--- a/app-office/lyx/files/digest-lyx-1.3.3
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 0f22124b000feb3c471096a1031d3722 lyx-1.3.3.tar.bz2 5524439
-MD5 0f3275e403be5fdbd14117dd8a26675f latex-xft-fonts-0.1.tar.gz 91730
-MD5 f1df2f1426cca24c0dafa1dc1a832e6a hebrew.bind 45
-MD5 a0e3948595801a90d32d8b712596a5fe preferences 1669
diff --git a/app-office/lyx/lyx-1.3.3.ebuild b/app-office/lyx/lyx-1.3.3.ebuild
deleted file mode 100644
index 721e4afcf763..000000000000
--- a/app-office/lyx/lyx-1.3.3.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.3.3.ebuild,v 1.9 2004/02/09 09:05:13 absinthe Exp $
-
-DESCRIPTION="WYSIWYM frontend for LaTeX"
-HOMEPAGE="http://www.lyx.org/"
-SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
- http://movementarian.org/latex-xft-fonts-0.1.tar.gz
- http://www.math.tau.ac.il/~dekelts/lyx/files/hebrew.bind
- http://www.math.tau.ac.il/~dekelts/lyx/files/preferences"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc amd64"
-IUSE="nls cups qt debug gnome"
-
-# these dependencies need looking at.
-# does lyx only need qt to compile but not run ?
-# I'll look into it <obz@gentoo.org>
-DEPEND="virtual/x11
- virtual/tetex
- >=dev-lang/perl-5
- nls? ( sys-devel/gettext )
- app-text/aiksaurus
- qt? ( >=x11-libs/qt-3 ) !qt? ( =x11-libs/xforms-1* )
- "
-
-RDEPEND="${DEPEND}
- virtual/ghostscript
- app-text/xpdf
- virtual/aspell-dict
- app-text/gv
- dev-tex/latex2html
- media-gfx/imagemagick
- cups? ( virtual/lpr )
- app-text/rcs
- dev-util/cvs
- app-text/sgmltools-lite
- app-text/noweb
- dev-tex/chktex"
-
-DEPEND="$DEPEND >=sys-devel/autoconf-2.58"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PN}-1.3.2-nomktex.patch
- epatch ${FILESDIR}/${P}-configure-diff
-}
-
-src_compile() {
- local myconf=""
- if [ `use qt` ]; then
- inherit kde-functions
- set-qtdir 3
- myconf="$myconf --with-frontend=qt --with-qt-dir=${QTDIR}"
- else
- myconf="$myconf --with-frontend=xforms"
- fi
-
- export WANT_AUTOCONF=2.5
-
- local flags="${CFLAGS}"
- unset CFLAGS
- unset CXXFLAGS
- econf \
- `use_enable nls` \
- `use_enable debug` \
- ${myconf} \
- --enable-optimization="$flags" \
- || die
- emake || die "emake failed"
-
-}
-
-src_install() {
- einstall
- dodoc README* UPGRADING INSTALL* ChangeLog NEWS COPYING ANNOUNCE ABOUT-NLS $DISTDIR/preferences
- insinto /usr/share/lyx/bind
- doins $DISTDIR/hebrew.bind
-
- # gnome menu entry
- if use gnome; then
- insinto /usr/share/applications
- doins ${FILESDIR}/lyx.desktop
- fi
-
- # install the latex-xft fonts, which should fix
- # the problems outlined in bug #15629
- # <obz@gentoo.org>
- cd ${WORKDIR}/latex-xft-fonts-0.1
- make DESTDIR=${D} install || die "Font installation failed"
-
-}
-
-pkg_postinst() {
-
- einfo "Updating the font cache"
- fc-cache -f --system-only
-
- einfo ""
- einfo "================"
- einfo ""
- einfo "How to use Hebrew in LyX:"
- einfo "1. emerge app-text/ivritex."
- einfo "2. unzip /usr/share/doc/${P}/preferences.gz into ~/.lyx/preferences"
- einfo "or, read http://www.math.tau.ac.il/~dekelts/lyx/instructions2.html"
- einfo "for instructions on using lyx's own preferences dialog to equal effect."
- einfo "3. use lyx's qt interface (compile with USE=qt) for maximum effect."
-}