diff options
-rw-r--r-- | app-office/lyx/ChangeLog | 7 | ||||
-rw-r--r-- | app-office/lyx/Manifest | 10 | ||||
-rw-r--r-- | app-office/lyx/lyx-1.6.0_rc5.ebuild | 155 |
3 files changed, 167 insertions, 5 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog index 2923297ff01b..62f335414ced 100644 --- a/app-office/lyx/ChangeLog +++ b/app-office/lyx/ChangeLog @@ -1,6 +1,11 @@ # 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.148 2008/10/24 08:39:40 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.149 2008/10/29 08:58:14 aballier Exp $ + +*lyx-1.6.0_rc5 (29 Oct 2008) + + 29 Oct 2008; Alexis Ballier <aballier@gentoo.org> +lyx-1.6.0_rc5.ebuild: + Version bump, thanks Pavel *lyx-1.6.0_rc4 (24 Oct 2008) diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest index e6ff8b38edc8..15a2aaef3553 100644 --- a/app-office/lyx/Manifest +++ b/app-office/lyx/Manifest @@ -13,18 +13,20 @@ DIST lyx-1.5.5.tar.bz2 9082787 RMD160 d02147398bafc2ba4641d3206ef863f89655cae6 S DIST lyx-1.5.6.tar.bz2 9294565 RMD160 5b6659ae33cbb9a3c557914c5e12db97a0679a83 SHA1 9ac2d712ada5b8e6920ce94e509352533754fb99 SHA256 386c4f3232142386579d48c638a7611301552a59574b2a19a7ab5ee725817d32 DIST lyx-1.6.0rc3.tar.bz2 9909485 RMD160 9f978480c8ee9e7ae4ec3da3e8514350b831561d SHA1 0ebf6e17602accb10b79f10e3b6618f64f8d4f1b SHA256 c06af77616a082c0ae4b387a61fc2d65ebcd037c8f25207ddd6a028d26e47a12 DIST lyx-1.6.0rc4.tar.bz2 10224690 RMD160 624cbd7c733b5e621c2fd09868c55c6ba4797f77 SHA1 7445730fb10e7e4fe793ec550e8e4083b8047bdb SHA256 6fe52369a0dee390682b7c6303f6424e709b2b930362195c22a8e50fc70668fe +DIST lyx-1.6.0rc5.tar.bz2 10247954 RMD160 7855b6c9c06fbd68fefa3316d2147eb09bc5c30d SHA1 790319c570d2f8d5d67c70a4ac9b6b6521913a44 SHA256 5c01303f81887092a1319324f9a2dc448704384b4c2faca9b123e33449d87017 DIST preferences 1669 RMD160 26986d7bcc48c4ecf60f84d95490148a5e171785 SHA1 3567ad4d4a2a041c295e40fef76ca53de6cb260d SHA256 41867ac67bc729d1057253bf305aced1ff666ee4d648dfefc99fd0c3c0501d43 EBUILD lyx-1.4.4.ebuild 4435 RMD160 60cad06d90687bb0295cda4882b760787c524206 SHA1 352b25234233c4a251e57dd5bcd30eb124017c74 SHA256 76bc2068e86a798cf939ab03da88bb49c39acc7091039e6d450de2dcb2de2122 EBUILD lyx-1.5.5.ebuild 3429 RMD160 7329da3eaa48f467032ad9035501271a0db4591d SHA1 c6713cc1f5cb8e19e55f9fac0152066b4dcc6376 SHA256 a55291e6d0f0b5801245da4d4cecbf2be98806d1400052b6bc5f610de859a1bd EBUILD lyx-1.5.6.ebuild 3379 RMD160 24f02b10dc31ed4b426ea33d21f382192cd1728b SHA1 8ca66b72d774857d671990350476b9afcdfad65a SHA256 327c15f7ee114b6b8947d7e69cd25a3da4cb8fe0bb323bbda59eeb118c095f52 EBUILD lyx-1.6.0_rc3.ebuild 3803 RMD160 196de9d280f0a8255a26fa936c14e10d8f95553c SHA1 e84aa419cf09209bb34a19f95037826e434a6e4f SHA256 25fe70c6863b9c652280e8b68d4bd425d8bf309b9a2bae7219a5e6dc0a4577ad EBUILD lyx-1.6.0_rc4.ebuild 3782 RMD160 351c8fcf0b645f37e79f169f920659ea6b8edc6c SHA1 b131bc73b2587cedbc990027518d47e0759bfdfc SHA256 7e6ec8711f40363a2a9e9cd6116420968b3e5f745002221258b503b688c39f19 -MISC ChangeLog 21883 RMD160 cc31a7fd29e26a511d36b7e09a7a907b32587919 SHA1 58385f642b3c6a67a8377be4509c4958f5c2ae83 SHA256 557ed137b85363756efc7af0e95da52224711ae80bc3a6da19f6e751613adee2 +EBUILD lyx-1.6.0_rc5.ebuild 3870 RMD160 9b647a2ef6dcc838349aeff942d57c53c5d86016 SHA1 fa558498c719a7aca193daba1522f63cf10681ca SHA256 73eeaeb17ea0b6abc371de79cece5ace67e979747eed2ec4b9af01f484661142 +MISC ChangeLog 22018 RMD160 dc784676b2b21a263d136a6524f117f7f56f48f4 SHA1 40ed12fb31d92aaf48ba9c8bb075842d7b2db418 SHA256 9512438bbec0c28177905d17e58417c54c6e7912b6f55b9c54d5aee405517cb0 MISC metadata.xml 764 RMD160 0d85c210de871f0e5d21ee434cdb15a133a28714 SHA1 480f22ce5bba78fb37100f32f227c75e26c6e481 SHA256 e99d908356e7e70def47d62c82e47884b55fd37217f5d7a0c6d2a175f0ceddab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkkBidQACgkQvFcC4BYPU0ooJgCgnGTTbzs8OBhCjyPjI/Y7jyir -h+8An3x1WhF2VubRYbM9v44W3cjx3sZO -=XGTu +iEYEARECAAYFAkkIJa0ACgkQvFcC4BYPU0pzbQCfcDC2SMAqcZD3J/LIFsrkNm9b +qDYAn2kBE0pra8dsQAX79NZu7Mwl6r2S +=eg7G -----END PGP SIGNATURE----- diff --git a/app-office/lyx/lyx-1.6.0_rc5.ebuild b/app-office/lyx/lyx-1.6.0_rc5.ebuild new file mode 100644 index 000000000000..f385d683695f --- /dev/null +++ b/app-office/lyx/lyx-1.6.0_rc5.ebuild @@ -0,0 +1,155 @@ +# 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.6.0_rc5.ebuild,v 1.1 2008/10/29 08:58:14 aballier Exp $ + +EAPI=1 + +inherit qt4 eutils flag-o-matic font 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/${P}.tar.bz2 #for stable release +#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas +SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/pre/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cups debug nls latex monolithic-build html rtf dot docbook" +RESTRICT="test" + +LANGS="ar ca cs de en es eu fi fr gl he hu it ja ko nb nn pl pt ro ru tr uk zh_CN zh_TW" +for X in ${LANGS}; do + IUSE="${IUSE} linguas_${X}" +done + +COMMONDEPEND="|| ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) + 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 + dev-libs/libxml2 + app-text/aiksaurus + virtual/aspell-dict + >=dev-lang/python-2.3.4 + media-libs/fontconfig + media-libs/freetype + >=dev-libs/boost-1.34" + +RDEPEND="${COMMONDEPEND} + media-gfx/imagemagick + 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 + ) + ) + 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 )" + +DEPEND="${COMMONDEPEND} + x11-proto/xproto + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +src_compile() { + tc-export CXX + #bug 221921 + export VARTEXFONTS=${T}/fonts + + if use monolithic-build ; then + MONOLITHIC=" --enable-monolithic-boost --enable-monolithic-client \ + --enable-monolithic-insets --enable-monolithic-mathed \ + --enable-monolithic-core --enable-monolithic-tex2lyx \ + --enable-monolithic-frontend-qt4 " + fi + + econf \ + $(use_enable nls) \ + $(use_enable debug) \ + $MONOLITHIC \ + --with-aspell --without-included-boost --disable-stdlib-debug + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt + + 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 + fi + + doicon ${PN} "$S/development/Win32/packaging/icons/lyx_32x32.png" + make_desktop_entry ${PN} "LyX" "/usr/share/pixmaps/lyx_32x32.png" "Office" + + # fix for bug 91108 + if use latex ; then + dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx + fi + + # fonts needed for proper math display, see also bug #15629 + font_src_install +} + +pkg_postinst() { + font_pkg_postinst + + # 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 + + elog + elog "This is not stable version of LyX. Expect bugs, crashes and further" + elog "fileformat changes. Do not use it for production work." + elog +} + +pkg_postrm() { + if use latex ; then + texhash + fi +} |