summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/lyx/ChangeLog7
-rw-r--r--app-office/lyx/Manifest4
-rw-r--r--app-office/lyx/lyx-2.0.5.ebuild181
3 files changed, 190 insertions, 2 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 33082382a77e..4f735ca06ece 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/lyx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.274 2012/10/10 15:23:33 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.275 2012/11/16 09:10:51 patrick Exp $
+
+*lyx-2.0.5 (16 Nov 2012)
+
+ 16 Nov 2012; Patrick Lauer <patrick@gentoo.org> +lyx-2.0.5.ebuild:
+ Bump
10 Oct 2012; Brent Baude <ranger@gentoo.org> lyx-2.0.4.ebuild:
Marking lyx-2.0.4 ppc for bug 431186
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
index b708f983081d..c0e6db6a1b1d 100644
--- a/app-office/lyx/Manifest
+++ b/app-office/lyx/Manifest
@@ -5,9 +5,11 @@ DIST lyx-1.6.10.tar.bz2 12559454 SHA256 dcfb6fc0f6880e706d45ea16459ed2206265179f
DIST lyx-2.0.1.tar.xz 10119588 SHA256 a58b7e0f27afce0497fffec0d19fc95fb1b3ac36818e8d02ecaf9e882c8f3852 SHA512 5c73aab353aedd3093b718f566453bff7725c41040e8f0dc4ded2989bd7db7bde46a8ce19751d6bc3aa4f37c91fb10369adc7d384a294e4983637ffa782b74b8 WHIRLPOOL c916784962396df2efb469294972b2d87a9d3ac83961258098d5fb87be55b03336cbcef5f1d4f3b033d3bbd9c4ab8f3a51d0fd2846626490374dc057563f5d12
DIST lyx-2.0.3.tar.xz 10265532 SHA256 4e1c993754acfb14d5e0f2bd2521fb6686d08e0656ec6e5fde0406c285a05ac8 SHA512 cd5d9b7350beceabd5e2e8b57d7d2a4d2fd40b8975265850dea129c78a5597a4c997dc339151f6bced7cbc2cc1bf73babd0af8f64428ba56505e546e9f01154b WHIRLPOOL 6e6e985f746e22fbb9c9c5501787655c4411b27bf4b577b86e9ca0a82943ce0a689a4d2e20c65283d48c2e3404e13a8ecf4e7f4257de029c2ebaed0b8ad88316
DIST lyx-2.0.4.tar.xz 10280308 SHA256 68317ba1c19fb372823421f967acd349033341acf521d96afa58991f7efded8c SHA512 8c07a5489787e1cd43f10fa1596649b4e4d8d071fbedfcef33890eded08a8327b89a8a500d8baba13cde8d9030534a329a3f90b54ab87d902761e15aacb72cf8 WHIRLPOOL 2937aefa6c222c63ccdb3b1277db0724740bbb5824e949cf5592199ed940aac076cf5f2f5dadb84730554c850145c5cc1e74338bc796dc98f99f0297c0f164ca
+DIST lyx-2.0.5.tar.xz 10314440 SHA256 d39aada3390a0468b354ec1703f12734bdfe56b08baa7950373748745313fb02 SHA512 15490c9433997231baf841dc45c8697a80b40d1b190d2e5e2e84ab4f17377928458e8217a236653ec53c693bb6e1070e30e0dfcfbb3d1de9f3f3d9af3ae09a39 WHIRLPOOL 95762a73c6c730d27a81ac9291ce4b5ece35ae2c070c41c78800313836126f0763fe1494fb5525930ea90bfa035e3030756218d7da372b06c9e47c498a6c4291
EBUILD lyx-1.6.10.ebuild 4124 SHA256 98df1f9c29d7caca1604ba633a1284dd48d74d554cbf1c6380b4ec41bac3da5a SHA512 837ef83ae72ba8a6f4550a02320cf7019643af8321d3962103f028ac1c70f651ae0e0e8dc8fb4aadf261cd2a03eac1682b60896f9a755397eeb568799f226883 WHIRLPOOL fe49c93f3f78e847f0be92ca0d4c4833ec5e6df57632762fccc20772d6ad35e81620fd3c379d85d095267b629b2369c4a3a7f05d55ccc0fdd5fa6f90bfd5538c
EBUILD lyx-2.0.1.ebuild 4678 SHA256 1435fd3f2146e525a80919a600a698dbcdc6122364b48a00c6fb07c701daec28 SHA512 c6c4b92f21619a7d361a8039fd8c1fdf1c700ebe8c9d5300034e724e55af81646117f4816d48c42040d11ffe2ddcc2fbdcfa28820d02e7b90e48c923d05311b0 WHIRLPOOL 9b7fbcb53be20d49dfad03852a30d9ba49930bd360ed6a742310589baafd3e4259128251bb9a757b87114d79e5dccad04b842f486f95accac508c739f3f1b336
EBUILD lyx-2.0.3.ebuild 4560 SHA256 d18cc8cbdf39e9a20effbf4226176e0ee6beca9514cb9c63d77e4fd53d7f370d SHA512 99ea4ffd4125e02d21a2a0d5b3dd9c4e64c5c19843b6f99c07567e60a9b7ebf551684184046318c0738c2ea52ae888f6290d2c94fcf58ad4b861ef52b14ab964 WHIRLPOOL 8479a2b14a49cb5a34da8d60d3ae11b2f41204576d2f2bd8cb7d6470c824850a70e9047fe7d6a6fd5aee58af9f243a76a40c292627ed53a347a80389818a14ef
EBUILD lyx-2.0.4.ebuild 4540 SHA256 2e519fc612dd20d601756425d76c898f6cbedec38d67e7f590b54a2014457df8 SHA512 3a4ac6fd62d2f5a01d009a764ec1fa0918f59fc7dbd4c930ee433b00a9c9a9f5496a28069b8acf26ab8908b13d32cecac51fc875cdebeb0e68c0a0f4d48d45b7 WHIRLPOOL f4bc4111def371a87d8ac58292c163b169b5777b0860e6f27deae22dd3aea2409ff0e94d34dfa89274f52f0f4cd8c789de82c1345442326195eb8a5e3e36b415
-MISC ChangeLog 37156 SHA256 b6e10a7b9977b49bd032b88dd6d0c2c4965ba5c884966feb2863ae0730f1f311 SHA512 7e6df10e0a2ab5ce9f960fa74bd9378db4ab6a5b020239f255e52a1fd1135dd80f810729a23b9282b2b1c509417fcc48d99420d8551bd1b0f6ee41e8e0ee320f WHIRLPOOL ede4678bfa5b27b751f03fae0047c2dc7e55e6b5c43eae1f59abd7afeca0be2aa070a1611870f4efe498c095038b7faf993166986cd0b17d1ff1d0e2b40b60fd
+EBUILD lyx-2.0.5.ebuild 4548 SHA256 1a6837a89440504fa2d90ea7a5097d976cfbf90b6d9071613ce474e4e6599ee0 SHA512 ab9af2f9e2467296126288f5ae3fb7779b2ff4f6d689d86965e8d3401df98806bfc2ea7b8be0974e9d6d59e8f1724e4de94f24b0a59afcbe5e838b42cdacc105 WHIRLPOOL 12171c022cd93123be8c96825ff5161b3b2f78698e1cd98ef9c5d08507f7b5b208d9d23c7a3624494e41a1c51ab828a2e57bafb7e686b98fb0deab4a76a898d5
+MISC ChangeLog 37260 SHA256 9ad57cf6001652ad964c8b5a7b6969e9f8cb83be58c96bbd17ce6ffe1df9e591 SHA512 dd1bdaaf1cf8fdfbf0bc4f3bcfebf4bdc64a3a611e18b5caa22b909d9b1eb09d995a7fd742060fb9f58d1f2a8d9b82a8a45457733c4df7d5e3098b79768901c7 WHIRLPOOL 73b33ec74ac9d12402db8c5d102e30f7d1cf72bcf3e93cd451e443cf4ec2b3887f60f667a67b72b27314e83e480c32bb5cc9d11e08c42452f86103b9860fd945
MISC metadata.xml 1572 SHA256 330d0d86b06c6ce15cea6cfdd3bd070bddc82309346902481883575fd211ec14 SHA512 2098b388d76dc4a4f7110a44a99e6d928602fa73f902ef4dc2eeca5c25195db49fd0bd81bd4946209984027814d9aa451a2e0b7109998605fa73a3c4021bc49c WHIRLPOOL 7b1b245a443b71764601f6bf62aa040f00d403dcb877435ca5ff7d9e02116024403f01d2158615546d9fa6fe630cb4ad8e219c39e495c76df87283d4d6618096
diff --git a/app-office/lyx/lyx-2.0.5.ebuild b/app-office/lyx/lyx-2.0.5.ebuild
new file mode 100644
index 000000000000..e3ebb198422c
--- /dev/null
+++ b/app-office/lyx/lyx-2.0.5.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.5.ebuild,v 1.1 2012/11/16 09:10:51 patrick Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit gnome2-utils qt4-r2 eutils flag-o-matic font python toolchain-funcs
+
+MY_P="${P/_}"
+
+S="${WORKDIR}/${MY_P}"
+FONT_S="${S}/lib/fonts"
+FONT_SUFFIX="ttf"
+DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
+HOMEPAGE="http://www.lyx.org/"
+SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
+#SRC_URI="ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc3/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
+IUSE="cups debug nls +latex xetex luatex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
+
+LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
+
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+COMMONDEPEND="x11-libs/qt-gui:4
+ x11-libs/qt-core:4
+ dev-libs/libxml2
+ media-libs/fontconfig
+ media-libs/freetype
+ >=dev-libs/boost-1.34"
+
+RDEPEND="${COMMONDEPEND}
+ dev-texlive/texlive-fontsextra
+ || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
+ cups? ( net-print/cups )
+ latex? (
+ virtual/latex-base
+ app-text/ghostscript-gpl
+ app-text/noweb
+ app-text/dvipng
+ dev-tex/dvipost
+ dev-tex/chktex
+ app-text/ps2eps
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-pictures
+ dev-texlive/texlive-science
+ dev-texlive/texlive-genericextra
+ dev-texlive/texlive-fontsrecommended
+ || (
+ dev-tex/latex2html
+ dev-tex/tth
+ dev-tex/hevea
+ dev-tex/tex4ht
+ )
+ )
+ xetex? ( dev-texlive/texlive-xetex )
+ luatex? ( >=dev-texlive/texlive-luatex-2010 )
+ html? ( dev-tex/html2latex )
+ rtf? (
+ dev-tex/latex2rtf
+ app-text/unrtf
+ dev-tex/html2latex
+ )
+ linguas_he? ( dev-tex/culmus-latex )
+ docbook? ( app-text/sgmltools-lite )
+ dot? ( media-gfx/graphviz )
+ dia? ( app-office/dia )
+ subversion? ( <dev-vcs/subversion-1.7.0 )
+ rcs? ( dev-vcs/rcs )
+ svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
+ || ( gnome-base/librsvg media-gfx/inkscape )
+ )
+ gnumeric? ( app-office/gnumeric )
+ hunspell? ( app-text/hunspell )
+ aspell? ( app-text/aspell )
+ enchant? ( app-text/enchant )"
+
+DEPEND="${COMMONDEPEND}
+ sys-devel/bc
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ python_set_active_version 2
+ font_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/2.0-python.patch
+ echo "#!/bin/sh" > config/py-compile
+ sed "s:python -tt:$(PYTHON) -tt:g" -i lib/configure.py || die
+}
+
+src_configure() {
+ tc-export CXX
+ #bug 221921
+ export VARTEXFONTS=${T}/fonts
+
+ econf \
+ $(use_enable nls) \
+ $(use_enable debug) \
+ $(use_enable monolithic-build) \
+ $(use_with hunspell) \
+ $(use_with aspell) \
+ $(use_with enchant) \
+ --without-included-boost \
+ --disable-stdlib-debug \
+ --with-packaging=posix
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt || die
+
+ if use linguas_he ; then
+ echo "\bind_file cua" > "${T}"/hebrew.bind
+ echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
+
+ insinto /usr/share/lyx/bind
+ doins "${T}"/hebrew.bind || die
+ fi
+
+ newicon -s 32 "$S/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
+ make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
+
+ # fix for bug 91108
+ if use latex ; then
+ dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx || die
+ fi
+
+ # fonts needed for proper math display, see also bug #15629
+ font_src_install
+
+ python_convert_shebangs -r 2 "${ED}"/usr/share/${PN}
+
+ if use hunspell ; then
+ dosym /usr/share/myspell /usr/share/lyx/dicts
+ dosym /usr/share/myspell /usr/share/lyx/thes
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ font_pkg_postinst
+ gnome2_icon_cache_update
+
+ # fix for bug 91108
+ if use latex ; then
+ texhash
+ fi
+
+ # instructions for RTL support. See also bug 168331.
+ if use linguas_he || use linguas_ar; then
+ elog
+ elog "Enabling RTL support in LyX:"
+ elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
+ elog "You must enable RTL support in LyX. To do so start LyX and go to"
+ elog "Tools->Preferences->Language settings->Language"
+ elog "and make sure the \"Right-to-left language support\" is checked"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+
+ if use latex ; then
+ texhash
+ fi
+}