summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-10 12:32:39 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-10 12:32:39 +0000
commit24ef8e2294da89bd0c511fedbac647fad012a84a (patch)
tree495947910d3233222ba9ff9fecd8db3252d781db /app-office/lyx
parentAdded ~sparc keyword. (diff)
downloadhistorical-24ef8e2294da89bd0c511fedbac647fad012a84a.tar.gz
historical-24ef8e2294da89bd0c511fedbac647fad012a84a.tar.bz2
historical-24ef8e2294da89bd0c511fedbac647fad012a84a.zip
Version bumped; bug #66922.
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/ChangeLog7
-rw-r--r--app-office/lyx/Manifest4
-rw-r--r--app-office/lyx/files/digest-lyx-1.3.54
-rw-r--r--app-office/lyx/lyx-1.3.5.ebuild125
4 files changed, 138 insertions, 2 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 3ed9423d5273..baace20d343d 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/lyx
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.47 2004/09/08 18:40:33 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.48 2004/10/10 12:32:39 usata Exp $
+
+*lyx-1.3.5 (10 Oct 2004)
+
+ 10 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +lyx-1.3.5.ebuild:
+ Version bumped; bug #66922.
09 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +files/lyx-1.3.4-gcc34.patch,
lyx-1.3.4.ebuild:
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
index ce681c3101c3..0548cb960672 100644
--- a/app-office/lyx/Manifest
+++ b/app-office/lyx/Manifest
@@ -1,6 +1,8 @@
-MD5 0e5c35c8527aa429acd28569b2642fc1 ChangeLog 7798
+MD5 6324121a9e9f2a0d3374e3dc40344323 ChangeLog 7923
+MD5 f4c372d6faa5fad1037d5903da388ba8 lyx-1.3.5.ebuild 3308
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 f25127a7ddcdf89a9e199787ef7d552a lyx-1.3.4.ebuild 3115
+MD5 5ccd191a3dc796feeda9dcee291d2863 files/digest-lyx-1.3.5 239
MD5 296163b72f99143379e73e616ce4e728 files/digest-lyx-1.3.4 239
MD5 b86918456f67f911e357a76308cd0fdb files/lyx-1.3.4-gcc34.patch 6589
MD5 f6bf30211847fb321f0000cd415d9e5b files/lyx-1.3.2-nomktex.patch 449
diff --git a/app-office/lyx/files/digest-lyx-1.3.5 b/app-office/lyx/files/digest-lyx-1.3.5
new file mode 100644
index 000000000000..66a6b93deef0
--- /dev/null
+++ b/app-office/lyx/files/digest-lyx-1.3.5
@@ -0,0 +1,4 @@
+MD5 f4c70d2565ba9c974b1f94fc1dfd63bf lyx-1.3.5.tar.bz2 5459049
+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.5.ebuild b/app-office/lyx/lyx-1.3.5.ebuild
new file mode 100644
index 000000000000..54f75f986f34
--- /dev/null
+++ b/app-office/lyx/lyx-1.3.5.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.3.5.ebuild,v 1.1 2004/10/10 12:32:39 usata Exp $
+
+inherit kde-functions eutils libtool
+
+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 ${P}.tar.bz2
+ unpack latex-xft-fonts-0.1.tar.gz
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.3.2-nomktex.patch
+ epatch ${FILESDIR}/${PN}-1.3.3-configure-diff
+ elibtoolize || die
+}
+
+src_compile() {
+ local myconf=""
+ if use qt ; then
+ 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 || die
+ 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"
+
+ 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
+}
+
+pkg_postinst() {
+
+ 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."
+ einfo ""
+
+ if ! use qt ; then
+ einfo "================"
+ einfo ""
+ einfo "If you have a multi-head setup not using xinerama you can only use lyx"
+ einfo "on the 2nd head if not using qt (maybe due to a xforms bug). See bug #40392."
+ einfo ""
+ fi
+}