summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-05-11 06:52:36 +0000
committerMamoru Komachi <usata@gentoo.org>2004-05-11 06:52:36 +0000
commit5802c7fc67fc7fbe49221a7b5b4ebf8fdde95ac8 (patch)
tree3ebf1f70a4542b46a17f5ed2d72f1277c2a8f97a /app-office/lyx
parent~amd64,~ppc (Manifest recommit) (diff)
downloadgentoo-2-5802c7fc67fc7fbe49221a7b5b4ebf8fdde95ac8.tar.gz
gentoo-2-5802c7fc67fc7fbe49221a7b5b4ebf8fdde95ac8.tar.bz2
gentoo-2-5802c7fc67fc7fbe49221a7b5b4ebf8fdde95ac8.zip
Fixed several bugs. See bug #50703. Removed previous version.
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/ChangeLog6
-rw-r--r--app-office/lyx/files/digest-lyx-1.3.2-r13
-rw-r--r--app-office/lyx/files/lyx-1.3.2-configure.diff11
-rw-r--r--app-office/lyx/lyx-1.3.2-r1.ebuild114
-rw-r--r--app-office/lyx/lyx-1.3.4.ebuild16
5 files changed, 14 insertions, 136 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 2a0f99527ca1..bbcacb214aa7 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,10 @@
# 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.42 2004/05/09 16:52:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.43 2004/05/11 06:52:36 usata Exp $
+
+ 11 May 2004; Mamoru KOMACHI <usata@gentoo.org> lyx-1.3.2-r1.ebuild,
+ lyx-1.3.4.ebuild, files/lyx-1.3.2-configure.diff:
+ Fixed several bugs. See bug #50703. Removed previous version.
08 May 2004; Mamoru KOMACHI <usata@gentoo.org> lyx-1.2.1.ebuild,
lyx-1.3.2-r1.ebuild, lyx-1.3.4.ebuild:
diff --git a/app-office/lyx/files/digest-lyx-1.3.2-r1 b/app-office/lyx/files/digest-lyx-1.3.2-r1
deleted file mode 100644
index 2028cdfa4661..000000000000
--- a/app-office/lyx/files/digest-lyx-1.3.2-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e33cf84f7c5be4ab9bbcc6ea587d4fdc lyx-1.3.2.tar.bz2 5469070
-MD5 f1df2f1426cca24c0dafa1dc1a832e6a hebrew.bind 45
-MD5 a0e3948595801a90d32d8b712596a5fe preferences 1669
diff --git a/app-office/lyx/files/lyx-1.3.2-configure.diff b/app-office/lyx/files/lyx-1.3.2-configure.diff
deleted file mode 100644
index 013cf2c21924..000000000000
--- a/app-office/lyx/files/lyx-1.3.2-configure.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/configure 2003-05-12 20:59:38.000000000 +0000
-+++ lib/configure 2003-05-12 20:59:57.000000000 +0000
-@@ -1134,7 +1134,7 @@
- echo "$ac_t""default values"
- else
- echo "$ac_t""auto"
-- rm -f wrap_chkconfig.ltx chkconfig.vars chkconfig.classes chklayouts.tex
-+ rm -f wrap_chkconfig.ltx -no-mktex=tfm chkconfig.vars chkconfig.classes chklayouts.tex
- cat >wrap_chkconfig.ltx <<EOF
- \\newcommand\\srcdir{${srcdir}}
- ${linuxdoc_cmd}
diff --git a/app-office/lyx/lyx-1.3.2-r1.ebuild b/app-office/lyx/lyx-1.3.2-r1.ebuild
deleted file mode 100644
index 8b4746924d4f..000000000000
--- a/app-office/lyx/lyx-1.3.2-r1.ebuild
+++ /dev/null
@@ -1,114 +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.2-r1.ebuild,v 1.17 2004/05/09 16:52:27 usata Exp $
-
-inherit kde-functions eutils
-
-DESCRIPTION="WYSIWYM frontend for LaTeX"
-HOMEPAGE="http://www.lyx.org/"
-SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
- 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"
-IUSE="nls cups qt debug gnome"
-
-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}/$P-nomktex.patch
-}
-
-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
-
- # Aiksaurus.h fix, see bug #27648, by brandy.
- # <obz@gentoo.org>
- einfo "Checking for local Aiksaurus.h"
- [ -d /usr/include/Aiksaurus ] \
- && myconf="${myconf} --with-extra-inc=/usr/include/Aiksaurus"
-
- 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 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
-}
-
-pkg_postinst() {
- if use qt ; then
- einfo "WARNING: the QT gui, together with xft2+fontconfig (which you"
- einfo "almost certainly have), suffer from one infamous bug that causes"
- einfo "the matheditor not to display any special characters (the ones from"
- einfo "the Computer Modern font family). Generated documents (.dvi, .ps...)"
- einfo "are ok, since tex has right fonts from the bluesky package."
- einfo "A proper solution was being worked on. Meanwhile you can install the"
- einfo "BaKoMa fonts package; however they are not licensed for redistribution"
- einfo "(not even embedded inside generated documents) and cannot be used in"
- einfo "commercial environments (without a special agreement from the author)."
- einfo "If that suits you, you can get them on CTAN or at ftp.lyx.org as"
- einfo "latex-ttf-fonts-0.1.tar.gz. I was working on an alternative, free"
- einfo "fonts package derived from bluesky, but got stuck; wuold be glad"
- einfo "to see someone continuing the effort (see the relevant threads on the"
- einfo "lyx-devel mailing list or mail me if you want to know more)."
- fi
- 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."
-}
diff --git a/app-office/lyx/lyx-1.3.4.ebuild b/app-office/lyx/lyx-1.3.4.ebuild
index 7b813219f0c1..d7737af4b211 100644
--- a/app-office/lyx/lyx-1.3.4.ebuild
+++ b/app-office/lyx/lyx-1.3.4.ebuild
@@ -1,8 +1,8 @@
# 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.4 2004/05/09 16:52:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.3.4.ebuild,v 1.5 2004/05/11 06:52:36 usata Exp $
-inherit kde-functions eutils
+inherit kde-functions eutils libtool
DESCRIPTION="WYSIWYM frontend for LaTeX"
HOMEPAGE="http://www.lyx.org/"
@@ -43,11 +43,12 @@ RDEPEND="${DEPEND}
DEPEND="$DEPEND >=sys-devel/autoconf-2.58"
src_unpack() {
- unpack ${A}
+ 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
+ elibtoolize || die
}
src_compile() {
@@ -75,10 +76,11 @@ src_compile() {
}
src_install() {
- einstall
- dodoc README* UPGRADING INSTALL* ChangeLog NEWS COPYING ANNOUNCE ABOUT-NLS $DISTDIR/preferences
+ einstall || die
+ dodoc README* UPGRADING INSTALL* ChangeLog NEWS COPYING \
+ ANNOUNCE ABOUT-NLS ${DISTDIR}/preferences
insinto /usr/share/lyx/bind
- doins $DISTDIR/hebrew.bind
+ doins ${DISTDIR}/hebrew.bind
# gnome menu entry
if [ -n "`use gnome`" ]; then