summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-01-13 19:20:15 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-01-13 19:20:15 +0000
commit2cebec0266519fe2fdd536cb61a58ee73160972a (patch)
treebf97b3eb3e99638ecb8e7b21d6b2b5e91427cbe6 /app-office/lyx
parentRemove duplicate of Old-MIT license. (diff)
downloadhistorical-2cebec0266519fe2fdd536cb61a58ee73160972a.tar.gz
historical-2cebec0266519fe2fdd536cb61a58ee73160972a.tar.bz2
historical-2cebec0266519fe2fdd536cb61a58ee73160972a.zip
version bump, thanks Pavel
Package-Manager: portage-2.2.0_alpha151/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/ChangeLog9
-rw-r--r--app-office/lyx/Manifest14
-rw-r--r--app-office/lyx/lyx-2.0.5.1.ebuild178
3 files changed, 198 insertions, 3 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index fdb6427aa453..fe4d37491fd5 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.278 2012/12/08 15:57:18 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.279 2013/01/13 19:20:07 aballier Exp $
+
+*lyx-2.0.5.1 (13 Jan 2013)
+
+ 13 Jan 2013; Alexis Ballier <aballier@gentoo.org> +lyx-2.0.5.1.ebuild:
+ version bump, thanks Pavel
08 Dec 2012; Agostino Sarubbo <ago@gentoo.org> lyx-2.0.4.ebuild:
Stable for ppc64, wrt bug #431186
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
index a65a2e6d2936..e15c4ad8b0e6 100644
--- a/app-office/lyx/Manifest
+++ b/app-office/lyx/Manifest
@@ -1,13 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX 1.6.10-gcc.patch 3854 SHA256 4d6b90463207787e7d50a3672222e29ed6738772e6e9fe3cf67cac0a9e07a609 SHA512 a2a39855b5c659f8fd11435963f1b30d402c1204aacf91d15d86faf4f6fc49e70f0d6116744706822908f09fb414b00b7ef49d10e3ee5eaf9d7ce0f1e0cdc77f WHIRLPOOL aab98ee136a5dfd50f4f20effff3eabd2629933dc810f0cbaeffc5dac7f1089e545df17da79a53dca54b904427458c038dcb2e30d8ef6a8ddbb12fa8fcdc02a2
AUX 1.6.7-python.patch 906 SHA256 ad4ebb8d3837536eea869e15b3759840a1153d64d74b744e956ce9bdf5e5651d SHA512 60d66a25788102da05e25e69297ba572ff62a5532c36a3c666e7f1d24c023e27e7b9056888b74f6e9ba4581198dcb51cba12f549c374fc7f0a520c39360d2886 WHIRLPOOL d573cb6b4804a65616b8595a9dae7b1f76a807e04335a318e22a1d8cfc7419d7eb04c5fc7cec647bb64b5a3fd4c1c154e2b0d6f4e044ccba756bd18bbbb37791
AUX 2.0-python.patch 1036 SHA256 954f96dab553024fb128924c7ba3d70a91946f6909d203ee0902d6ec8740ded8 SHA512 81bf78b837d9a4621a230d3d1d4e45c306598b4047227b88e83054268571a496a71babdfe5152b47370a3dbf91767aed366984555225c3900bf6d55dc0e43d31 WHIRLPOOL e47a40db707b68c923bce136c72742242a974fe17c8a167fa0ca6f428bf2937feba3122737417e0902f320c0a8df1d4da72702eea4e4d4fe699b5176bbe5ed19
DIST lyx-1.6.10.tar.bz2 12559454 SHA256 dcfb6fc0f6880e706d45ea16459ed2206265179f3882b4685e4955c18adaf569 SHA512 c6d3f18f555e45ef86e22f42f7c8727ad0e1ad2cc4cbf87557f3ef235d894d46c5a87fc5923e2c02a5d9ba342389bf213af156a12c17e3b5f2308b9602b182dc WHIRLPOOL 0543590df1cc353fee939fee83db55aa146418c36c9422faa07cf9a1723002b83deb92f7ff89d49abb4144fe62d0fcf917257c07aaeb0d6e016b39393a8ab542
DIST lyx-2.0.1.tar.xz 10119588 SHA256 a58b7e0f27afce0497fffec0d19fc95fb1b3ac36818e8d02ecaf9e882c8f3852 SHA512 5c73aab353aedd3093b718f566453bff7725c41040e8f0dc4ded2989bd7db7bde46a8ce19751d6bc3aa4f37c91fb10369adc7d384a294e4983637ffa782b74b8 WHIRLPOOL c916784962396df2efb469294972b2d87a9d3ac83961258098d5fb87be55b03336cbcef5f1d4f3b033d3bbd9c4ab8f3a51d0fd2846626490374dc057563f5d12
DIST lyx-2.0.4.tar.xz 10280308 SHA256 68317ba1c19fb372823421f967acd349033341acf521d96afa58991f7efded8c SHA512 8c07a5489787e1cd43f10fa1596649b4e4d8d071fbedfcef33890eded08a8327b89a8a500d8baba13cde8d9030534a329a3f90b54ab87d902761e15aacb72cf8 WHIRLPOOL 2937aefa6c222c63ccdb3b1277db0724740bbb5824e949cf5592199ed940aac076cf5f2f5dadb84730554c850145c5cc1e74338bc796dc98f99f0297c0f164ca
+DIST lyx-2.0.5.1.tar.xz 10312232 SHA256 36e527765daf8425fef83240a6ccb82472b2d9e6283de666c5d46c40fec269a2 SHA512 1fbabe7e5c9d752a510cb11e23df2be4a3ada21dc73820fa885693fbc7aa7623f694a37fbfccc82b550b32257ed455f05201fc0d57682af9dc70b5d60b4d1c4c WHIRLPOOL e22641888ae0267f88b112dfb702498e6f882adada5b386258e5fbb892b1de13dd839e4a1bab7a9e4d271aa6015424895d56e19fd9d8ffda08f1a54614e6dc17
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.4.ebuild 4536 SHA256 abd49f88684d1f3d815c286b3ed4396f859abe0e86b9289fd8c0d6e28526493e SHA512 aa67d90fadb2bfd7ff944a72d133e657b8ee386bb52a285d67508e408bdcd5e76f2160bc3f29105d234a29277b3f9ad733c55d348d37d0c7b0a59c4d68888f05 WHIRLPOOL 2d6013583e6bfb846f90ba021db8ee5b48f9511c35c1f5a13d5049a76bfa977107195d44805a3e2fe57cfeb2ec72b0edaf9c89ce185c66b1f0ac70d28738b39c
+EBUILD lyx-2.0.5.1.ebuild 4489 SHA256 6f60b179c99ab21874692dbc88a8ee1620077e451dc877d5b31bc8b37f745c74 SHA512 7fc742ae554dd2a95301f0039f7ce37afb3318f5be4db9dd4b9d2651f51d215c3adb4d45dd6fd20765c514e3bd8fadd3af208894f70e822fab107f5076ff96cb WHIRLPOOL 67c8bbc9d3b586e99b1b466cd2b9648a45fa40a7fbc45c53c22b53aa9001bb0245d52c633c450893d25b931eb1351e37dad6afa5f8d9c621a46430dfafbdb535
EBUILD lyx-2.0.5.ebuild 4487 SHA256 a26a10a9e0b96b839b69c96e61b490d8d166594a61690df039d66f2b7930003d SHA512 92f6d5d60be62812807e17cd109b70e331c3769827763a6ffa2034d112004b04763f8f4e26b026b74279202f3c1d3d18824fda90519e1967e45489cb4f942dfa WHIRLPOOL 91e1c3b881ac4ec4a964065ba8484a3051c1eb1fe83b2e353f1c2068b83770f995c175a0701c19a43c547ea4901879d7925151b65833f766e48818a8f7e502b6
-MISC ChangeLog 37547 SHA256 f7fb1a61c74f7d61ef04f9c67db3fa23656bd9fc2c221a1500c37efef7363583 SHA512 0a2615cf600c6bf0c39ac8e31d9d671fdb4c5335e51ac5ab0dcfdbcd3e8e643a6dd3febcf7f8c6b59b45e6021cb1c6acf4ab6c23b6eb3848aeba5c76013a21e2 WHIRLPOOL c32bf59071ce5569e160450a8d9feebf7ee34eb3970d100919efba2062d3db8cdb422a43fe82a6e279cf8e573ff8ed8771e88cc84626ee4849216246be06f334
+MISC ChangeLog 37683 SHA256 096eff46291a18217c1b4475e662c443f44a7dd29ecf9ee54cda4fc9278e4630 SHA512 0523ddcb72b076a5ed5ed45cba919b0df400ef89532245adc228f4a5f65c66e6feb1b5d089cb456c860fd7257612ea008326b54d7150ae3a0d413d6962af1577 WHIRLPOOL 5077fd15a956b1c6def64e1ae9e7d6b3a620f474daf2814aae64fda6d2a868512f9d69d79ea55c500000baabad75184ea3903a38ac7610a73f79743183be2010
MISC metadata.xml 1572 SHA256 330d0d86b06c6ce15cea6cfdd3bd070bddc82309346902481883575fd211ec14 SHA512 2098b388d76dc4a4f7110a44a99e6d928602fa73f902ef4dc2eeca5c25195db49fd0bd81bd4946209984027814d9aa451a2e0b7109998605fa73a3c4021bc49c WHIRLPOOL 7b1b245a443b71764601f6bf62aa040f00d403dcb877435ca5ff7d9e02116024403f01d2158615546d9fa6fe630cb4ad8e219c39e495c76df87283d4d6618096
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlDzCOkACgkQvFcC4BYPU0rpXgCggThErAIIA5cSHmu0243fbAvQ
+GsEAoIsBQ+HnsMUGkw0DneTZyIbY27Wj
+=1O3O
+-----END PGP SIGNATURE-----
diff --git a/app-office/lyx/lyx-2.0.5.1.ebuild b/app-office/lyx/lyx-2.0.5.1.ebuild
new file mode 100644
index 000000000000..c209770e658a
--- /dev/null
+++ b/app-office/lyx/lyx-2.0.5.1.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2013 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.1.ebuild,v 1.1 2013/01/13 19:20:07 aballier 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/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
+}