summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-02-21 20:04:28 +0000
committerMamoru Komachi <usata@gentoo.org>2004-02-21 20:04:28 +0000
commit5194755e5753020a1ce36830122d28560d7a8ecd (patch)
treee055e76b8189c1b8d4aad63c95ca913862625722 /app-office/lyx
parentVersion bump + fixes. (Manifest recommit) (diff)
downloadgentoo-2-5194755e5753020a1ce36830122d28560d7a8ecd.tar.gz
gentoo-2-5194755e5753020a1ce36830122d28560d7a8ecd.tar.bz2
gentoo-2-5194755e5753020a1ce36830122d28560d7a8ecd.zip
Version bumped.
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/ChangeLog7
-rw-r--r--app-office/lyx/Manifest16
-rw-r--r--app-office/lyx/files/digest-lyx-1.3.44
-rw-r--r--app-office/lyx/lyx-1.3.4.ebuild110
4 files changed, 129 insertions, 8 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 2a3b7779baa2..00c80d07890b 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/lyx
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.39 2004/02/09 09:05:13 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.40 2004/02/21 20:04:28 usata Exp $
+
+*lyx-1.3.4 (22 Feb 2004)
+
+ 22 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> lyx-1.3.4.ebuild:
+ Version bumped.
09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> lyx-1.3.3.ebuild:
added amd64 keyword.
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
index 0aba4e57cd68..911f5c76d216 100644
--- a/app-office/lyx/Manifest
+++ b/app-office/lyx/Manifest
@@ -1,12 +1,14 @@
-MD5 9b8deacc25367d31e834ce0c17d9ff95 ChangeLog 6897
+MD5 a4bdf4cd3582024cdf54c88d6e46b877 lyx-1.3.4.ebuild 2768
MD5 138f44b8e5a273ed560a15cd92bbeb92 lyx-1.2.1.ebuild 1519
-MD5 00a0d9b4fd772539f20f8ad090fb0d93 lyx-1.3.2-r1.ebuild 3559
MD5 0acd80fb59c73d967f7aa83adef077ee lyx-1.3.3.ebuild 2754
+MD5 00a0d9b4fd772539f20f8ad090fb0d93 lyx-1.3.2-r1.ebuild 3559
+MD5 9b8deacc25367d31e834ce0c17d9ff95 ChangeLog 6897
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 adf50f8b30bcf7f72ae36842b3fce02d files/digest-lyx-1.2.1 62
-MD5 8de1b633e396a6902ee47cee4a56613d files/digest-lyx-1.3.2-r1 169
-MD5 4792953c07222743fef5e69276b5cf03 files/digest-lyx-1.3.3 239
+MD5 4dc1e1cc2b4e056a629fbfd1334c390e files/lyx.desktop 188
+MD5 363bfca924cf46b61d21faa4dbfcd43f files/lyx-1.3.3-configure-diff 1953
MD5 935b222f056a26177177f1b7790bc318 files/lyx-1.3.2-configure.diff 439
MD5 f6bf30211847fb321f0000cd415d9e5b files/lyx-1.3.2-nomktex.patch 449
-MD5 363bfca924cf46b61d21faa4dbfcd43f files/lyx-1.3.3-configure-diff 1953
-MD5 4dc1e1cc2b4e056a629fbfd1334c390e files/lyx.desktop 188
+MD5 adf50f8b30bcf7f72ae36842b3fce02d files/digest-lyx-1.2.1 62
+MD5 296163b72f99143379e73e616ce4e728 files/digest-lyx-1.3.4 239
+MD5 4792953c07222743fef5e69276b5cf03 files/digest-lyx-1.3.3 239
+MD5 8de1b633e396a6902ee47cee4a56613d files/digest-lyx-1.3.2-r1 169
diff --git a/app-office/lyx/files/digest-lyx-1.3.4 b/app-office/lyx/files/digest-lyx-1.3.4
new file mode 100644
index 000000000000..b849e36d3f7f
--- /dev/null
+++ b/app-office/lyx/files/digest-lyx-1.3.4
@@ -0,0 +1,4 @@
+MD5 13fe7a7bcec0430e9a9436f2e3cfa04e lyx-1.3.4.tar.bz2 5404453
+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.4.ebuild b/app-office/lyx/lyx-1.3.4.ebuild
new file mode 100644
index 000000000000..d37b6f4d9089
--- /dev/null
+++ b/app-office/lyx/lyx-1.3.4.ebuild
@@ -0,0 +1,110 @@
+# 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.4.ebuild,v 1.1 2004/02/21 20:04:28 usata Exp $
+
+inherit kde-functions
+
+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}/${PN}-1.3.3-configure-diff
+}
+
+src_compile() {
+ local myconf=""
+ if [ -n "`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
+ 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 [ -n "`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."
+}