diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-16 22:15:25 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-16 22:15:25 +0000 |
commit | 4ee3d802686c163089f3c5ea8727562ffb7bcfdd (patch) | |
tree | 9390e894b1b97ad9713f193af1492404ea27da47 /app-office | |
parent | Version bump. (diff) | |
download | gentoo-2-4ee3d802686c163089f3c5ea8727562ffb7bcfdd.tar.gz gentoo-2-4ee3d802686c163089f3c5ea8727562ffb7bcfdd.tar.bz2 gentoo-2-4ee3d802686c163089f3c5ea8727562ffb7bcfdd.zip |
version bump, thanks to Pavel Sanda <ps@twin.jikos.cz>
(Portage version: 2.1.4)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/lyx/ChangeLog | 10 | ||||
-rw-r--r-- | app-office/lyx/files/digest-lyx-1.5.3 | 12 | ||||
-rw-r--r-- | app-office/lyx/files/lyx.desktop | 2 | ||||
-rw-r--r-- | app-office/lyx/lyx-1.5.3.ebuild | 146 |
4 files changed, 167 insertions, 3 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog index e76015899b27..473bd45fd775 100644 --- a/app-office/lyx/ChangeLog +++ b/app-office/lyx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/lyx -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.104 2007/12/18 22:23:03 jer Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.105 2008/01/16 22:15:25 aballier Exp $ + +*lyx-1.5.3 (16 Jan 2008) + + 16 Jan 2008; Alexis Ballier <aballier@gentoo.org> files/lyx.desktop, + +lyx-1.5.3.ebuild: + version bump, thanks to Pavel Sanda <ps@twin.jikos.cz> 18 Dec 2007; Jeroen Roovers <jer@gentoo.org> lyx-1.5.1.ebuild: Marked ~hppa (bug #195815). diff --git a/app-office/lyx/files/digest-lyx-1.5.3 b/app-office/lyx/files/digest-lyx-1.5.3 new file mode 100644 index 000000000000..4dc4bd1767cb --- /dev/null +++ b/app-office/lyx/files/digest-lyx-1.5.3 @@ -0,0 +1,12 @@ +MD5 f1df2f1426cca24c0dafa1dc1a832e6a hebrew.bind 45 +RMD160 1621bd311aa053798815fd6c795406a505761531 hebrew.bind 45 +SHA256 fc3b1e19560f7a22af1c6bca13c0c0d7786d6453e292201645abff54fd0b67dd hebrew.bind 45 +MD5 0f3275e403be5fdbd14117dd8a26675f latex-xft-fonts-0.1.tar.gz 91730 +RMD160 0a516eeba71ddc474e97f315e45e41028efa2e4d latex-xft-fonts-0.1.tar.gz 91730 +SHA256 78bceea8a055bc43bd0d246ae8e69f81d2f161ae4d8f1aaaa2dfff9e293ae964 latex-xft-fonts-0.1.tar.gz 91730 +MD5 4fe013248713bb126877c317cad57238 lyx-1.5.3.tar.bz2 8743035 +RMD160 562f64d73081855c8a64b09e050854d7bca47b91 lyx-1.5.3.tar.bz2 8743035 +SHA256 5b6d051f243e5595bf8fb56a57ece1b77049d4745bfc3473e2f120b933a41de0 lyx-1.5.3.tar.bz2 8743035 +MD5 a0e3948595801a90d32d8b712596a5fe preferences 1669 +RMD160 26986d7bcc48c4ecf60f84d95490148a5e171785 preferences 1669 +SHA256 41867ac67bc729d1057253bf305aced1ff666ee4d648dfefc99fd0c3c0501d43 preferences 1669 diff --git a/app-office/lyx/files/lyx.desktop b/app-office/lyx/files/lyx.desktop index 8d642049cbf9..3dfdd9cb7b61 100644 --- a/app-office/lyx/files/lyx.desktop +++ b/app-office/lyx/files/lyx.desktop @@ -7,4 +7,4 @@ Terminal=false Type=Application StartupNotify=false Categories=GNOME;Application;Office; -MimeType=application/x-lyx +MimeType=application/x-lyx; diff --git a/app-office/lyx/lyx-1.5.3.ebuild b/app-office/lyx/lyx-1.5.3.ebuild new file mode 100644 index 000000000000..c20d3f3454f0 --- /dev/null +++ b/app-office/lyx/lyx-1.5.3.ebuild @@ -0,0 +1,146 @@ +# 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.1 2008/01/16 22:15:25 aballier Exp $ + +inherit qt4 eutils flag-o-matic font + +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 ~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 + cups? ( virtual/lpr ) + latex? ( + 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 + latex? ( virtual/latex-base ) + nls? ( sys-devel/gettext ) + >=dev-lang/python-2.3.4" + +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" + + 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 +} |