summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-05-11 19:44:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-05-11 19:44:21 +0000
commit313ed9407aec01c31c514652080149dc86bb3e6b (patch)
treef9f074d52de8456ac868ac4aa1255664dea4bad1
parentswitch to latex-base, allow split qt4 deps (diff)
downloadgentoo-2-313ed9407aec01c31c514652080149dc86bb3e6b.tar.gz
gentoo-2-313ed9407aec01c31c514652080149dc86bb3e6b.tar.bz2
gentoo-2-313ed9407aec01c31c514652080149dc86bb3e6b.zip
remove old
(Portage version: 2.1.5_rc10)
-rw-r--r--app-office/lyx/ChangeLog6
-rw-r--r--app-office/lyx/files/lyx-1.4.2-gentoo.patch42
-rw-r--r--app-office/lyx/lyx-1.4.2.ebuild168
-rw-r--r--app-office/lyx/lyx-1.5.3.ebuild147
4 files changed, 5 insertions, 358 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index b11b4fe3390e..bb5b74d38956 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/lyx
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.129 2008/03/27 18:43:16 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.130 2008/05/11 19:44:21 aballier Exp $
+
+ 11 May 2008; Alexis Ballier <aballier@gentoo.org>
+ -files/lyx-1.4.2-gentoo.patch, -lyx-1.4.2.ebuild, -lyx-1.5.3.ebuild:
+ remove old
27 Mar 2008; nixnut <nixnut@gentoo.org> lyx-1.5.4.ebuild:
Stable on ppc wrt bug 214456
diff --git a/app-office/lyx/files/lyx-1.4.2-gentoo.patch b/app-office/lyx/files/lyx-1.4.2-gentoo.patch
deleted file mode 100644
index 4a912e52f207..000000000000
--- a/app-office/lyx/files/lyx-1.4.2-gentoo.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naur lyx-1.4.2.orig/lib/configure.py lyx-1.4.2/lib/configure.py
---- lyx-1.4.2.orig/lib/configure.py 2006-07-08 11:53:50.000000000 +0900
-+++ lyx-1.4.2/lib/configure.py 2006-08-17 17:07:17.000000000 +0900
-@@ -185,7 +185,7 @@
- \\@@end
- ''')
- # run latex on chklatex.ltx and check result
-- if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
-+ if cmdOutput(LATEX + ' --no-mktex=tfm chklatex.ltx').find('ThisIsLaTeX2e') != -1:
- # valid latex2e
- return LATEX
- else:
-@@ -321,7 +321,7 @@
- checkProg('a PS to PDF converter', ['ps2pdf13 $$i $$o'],
- rc_entry = [ r'\converter ps pdf "%%" ""' ])
- #
-- checkProg('a DVI to PS converter', ['dvips -o $$o $$i'],
-+ checkProg('a DVI to PS converter', ['dvips -R0 -o $$o $$i'],
- rc_entry = [ r'\converter dvi ps "%%" ""' ])
- #
- checkProg('a DVI to PDF converter', ['dvipdfmx -o $$o $$i', 'dvipdfm -o $$o $$i'],
-@@ -549,7 +549,7 @@
- cl.close()
- #
- # we have chklayouts.tex, then process it
-- for line in cmdOutput(LATEX + ' wrap_chkconfig.ltx').splitlines():
-+ for line in cmdOutput(LATEX + ' --no-mktex=tfm wrap_chkconfig.ltx').splitlines():
- if re.match('^\+', line):
- print line
- #
-diff -Naur lyx-1.4.2.orig/lib/lyxrc.example lyx-1.4.2/lib/lyxrc.example
---- lyx-1.4.2.orig/lib/lyxrc.example 2005-09-08 18:20:16.000000000 +0900
-+++ lyx-1.4.2/lib/lyxrc.example 2006-08-17 16:53:24.000000000 +0900
-@@ -348,7 +348,7 @@
- # The converter command has 4 arguments: The source format, the target format,
- # the command, and additional flags.
- # For example, the following defines a DVI->Postscript converter:
--#\converter dvi ps "dvips -o $$o $$i" ""
-+#\converter dvi ps "dvips -R0 -o $$o $$i" ""
- # The variable name $$i is replaced with the name of the source file,
- # and $$o is replaced with the name of the target file.
- # The flags argument is a list of comma separated flags.
diff --git a/app-office/lyx/lyx-1.4.2.ebuild b/app-office/lyx/lyx-1.4.2.ebuild
deleted file mode 100644
index b5408bd52eb9..000000000000
--- a/app-office/lyx/lyx-1.4.2.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2007 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.10 2007/02/25 16:27:54 matsuu Exp $
-
-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/"
-SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
- ftp://ftp.lyx.org/pub/lyx/contrib/latex-xft-fonts-0.1.tar.gz
- http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind
- http://cs.haifa.ac.il/~dekelts//lyx/files/preferences
- qt3? ( cjk? ( ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/${CJK_PATCH} ) )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-IUSE="cjk cups debug gtk nls qt3 gnome"
-
-RDEPEND="x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXft
- virtual/ghostscript
- virtual/aspell-dict
- dev-tex/latex2html
- dev-tex/dvipost
- media-gfx/imagemagick
- cups? ( virtual/lpr )
- app-text/sgmltools-lite
- app-text/noweb
- dev-tex/chktex"
-
-# these dependencies need looking at.
-# does lyx only need qt to compile but not run ?
-# I'll look into it <obz@gentoo.org>
-DEPEND="${RDEPEND}
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXpm
- x11-proto/xproto
- virtual/tetex
- >=dev-lang/perl-5
- nls? ( sys-devel/gettext )
- app-text/aiksaurus
- dev-lang/python
- >=sys-devel/autoconf-2.58
- qt3? ( =x11-libs/qt-3* )
- !qt3? (
- gtk? (
- >=dev-cpp/gtkmm-2.4
- >=dev-cpp/libglademm-2.4
- )
- !gtk? (
- =x11-libs/xforms-1*
- )
- )"
-
-src_unpack() {
- unpack ${P}.tar.bz2 || die "unpacking lyx failed"
- unpack latex-xft-fonts-0.1.tar.gz || die "unpacking xft-fonts failed"
- cd "${S}"
- # bug #125309
- epatch "${FILESDIR}"/${P}-gentoo.patch || die
- if use qt3 && use cjk ; then
- elog
- elog "CJK-LyX now only supports the qt frontend"
- elog "the xforms frontend has been removed."
- elog
- epatch "${DISTDIR}"/${CJK_PATCH} || die
- fi
- elibtoolize || die "elibtoolize failed "
-}
-
-src_compile() {
- local myconf=""
-
- # Choose qt over gtk, since gtk is not feature complete
- if use qt3 ; then
- set-qtdir 3
- myconf="$myconf --with-frontend=qt --with-qt-dir=${QTDIR}"
- elif use gtk ; then
- ewarn
- ewarn "GTK support for lyx is currently not feature complete."
- ewarn "Don't report any bugs about missing or faulty features to gentoo,"
- ewarn "instead you have the option of turning GTK support off by removing"
- ewarn "the gtk use flag or enable the qt3 use flag"
- ewarn "(or help implement the missing features at lyx.org)"
- ewarn
- myconf="$myconf --with-frontend=gtk"
- else
- myconf="$myconf --with-frontend=xforms"
- fi
-
- export WANT_AUTOCONF=2.5
-
- append-flags "$(test-flags -fno-stack-protector -fno-stack-protector-all)"
- replace-flags "-Os" "-O2"
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- --with-aspell \
- ${myconf} \
- || die "econf failed"
-
- # bug 57479
- emake || die "emake failed"
-
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc README* UPGRADING ChangeLog NEWS ANNOUNCE ABOUT-NLS "${DISTDIR}"/preferences
-
- insinto /usr/share/lyx/bind
- doins "${DISTDIR}"/hebrew.bind
-
- domenu "${FILESDIR}"/lyx.desktop
-
- # install the latex-xft fonts, which should fix
- # the problems outlined in bug #15629
- # <obz@gentoo.org>
- cd "${WORKDIR}"/latex-xft-fonts-0.1
- emake DESTDIR="${D}" install || die "Font installation failed"
-
- font_src_install
-
- # bug #102310
- if use gnome ; then
- insinto /usr/share/icons/gnome/48x48/mimetypes
- doins "${FILESDIR}"/gnome-mime-application-x-lyx.png
- fi
-
- # fix for bug 91108
- dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx
-}
-
-pkg_postinst() {
- font_pkg_postinst
-
- # fix for bug 91108
- texhash
-
- # bug #102310
- if use gnome ; then
- fdo-mime_desktop_database_update
- fi
-
- elog
- elog "How to use Hebrew in LyX:"
- elog "1. emerge dev-tex/ivritex."
- elog "2. gunzip /usr/share/doc/${PF}/preferences.gz into ~/.lyx/preferences"
- elog "or, read http://www.math.tau.ac.il/~dekelts/lyx/instructions2.html"
- elog "for instructions on using lyx's own preferences dialog to equal effect."
- elog "3. use lyx's qt interface (compile with USE=qt3) for maximum effect."
- elog
-
- if ! use qt3 ; then
- elog
- elog "If you have a multi-head setup not using xinerama you can only use lyx"
- elog "on the 2nd head if not using qt (maybe due to a xforms bug). See bug #40392."
- elog
- fi
-}
diff --git a/app-office/lyx/lyx-1.5.3.ebuild b/app-office/lyx/lyx-1.5.3.ebuild
deleted file mode 100644
index c0b27a85b503..000000000000
--- a/app-office/lyx/lyx-1.5.3.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.5.3.ebuild,v 1.7 2008/02/14 17:26:55 armin76 Exp $
-
-inherit qt4 eutils flag-o-matic font toolchain-funcs
-
-MY_P="${P/_}"
-S="${WORKDIR}/${MY_P}"
-FONT_P="latex-xft-fonts-0.1"
-FONT_S="${WORKDIR}/${FONT_P}"
-DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
-HOMEPAGE="http://www.lyx.org/"
-SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
- ftp://ftp.lyx.org/pub/lyx/contrib/${FONT_P}.tar.gz
- linguas_he? (
- http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind
- http://cs.haifa.ac.il/~dekelts/lyx/files/preferences
- )"
-
-LICENSE="GPL-2"
-SLOT="0"
-#KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-KEYWORDS="alpha ~amd64 hppa ia64 ~ppc ~ppc64 ~sparc ~x86" # dev-tex/ivritex
-IUSE="cups debug nls linguas_he latex"
-RESTRICT="test"
-
-RDEPEND="$(qt4_min_version 4.1.1)
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXrender
- x11-libs/libXfixes
- x11-libs/libXext
- x11-libs/libSM
- x11-libs/libICE
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- media-gfx/imagemagick
- media-libs/libpng
- media-libs/fontconfig
- media-libs/freetype
- dev-libs/libxml2
- app-text/aiksaurus
- app-text/sgmltools-lite
- virtual/aspell-dict
- >=dev-lang/python-2.3.4
- cups? ( virtual/lpr )
- latex? (
- virtual/latex-base
- virtual/ghostscript
- app-text/noweb
- dev-tex/dvipost
- dev-tex/chktex
- || (
- dev-tex/latex2html
- dev-tex/tth
- dev-tex/hevea
- dev-tex/tex4ht
- )
- )
- linguas_he? ( dev-tex/ivritex )"
-
-DEPEND="${RDEPEND}
- x11-proto/xproto
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # bug #125309
- epatch "${FILESDIR}"/${PN}-1.5.0-gentoo.patch || die
-}
-
-src_compile() {
- append-flags "$(test-flags -fno-stack-protector -fno-stack-protector-all)"
- replace-flags "-Os" "-O2"
- tc-export CXX
-
- unset LINGUAS
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- --with-aspell || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- local mylinguas="${LINGUAS}"
-
- unset LINGUAS
- emake DESTDIR="${D}" install || die "emake install failed"
-
- LINGUAS="${mylinguas}"
-
- dodoc ANNOUNCE ChangeLog NEWS README RELEASE-NOTES UPGRADING
-
- if use linguas_he ; then
- insinto /usr/share/lyx/bind
- doins "${DISTDIR}"/hebrew.bind
- dodoc "${DISTDIR}"/preferences
- fi
-
- domenu "${FILESDIR}"/lyx.desktop
-
- # install the latex-xft fonts, which should fix
- # the problems outlined in bug #15629
- # <obz@gentoo.org>
- cd "${WORKDIR}"/${FONT_P}
- emake DESTDIR="${D}" install || die "Font installation failed"
-
- font_src_install
-
- # fix for bug 91108
- if use latex ; then
- dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx
- fi
-}
-
-pkg_postinst() {
- font_pkg_postinst
-
- # fix for bug 91108
- if use latex ; then
- texhash
- fi
-
- if use linguas_he ; then
- elog
- elog "How to use Hebrew in LyX:"
- elog "bunzip2 /usr/share/doc/${PF}/preferences.bz2 into ~/.lyx/preferences"
- elog "or, read http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html"
- elog "for instructions on using lyx's own preferences dialog to equal effect."
- elog
- fi
-
- elog
- elog "There are known issues in the case of 1.4->1.5 config files transition."
- elog "In case your File->Export list is incomplete try reconfiguring or even"
- elog "remove the old configuration files in ~/.lyx ."
- elog
-}
-
-pkg_postrm() {
- if use latex ; then
- texhash
- fi
-}