diff options
author | Pavel Sanda <ps@twin.jikos.cz> | 2014-04-18 12:25:46 -0700 |
---|---|---|
committer | Pavel Sanda <ps@twin.jikos.cz> | 2014-04-18 12:25:46 -0700 |
commit | 5801efa14186b5e95cc995f88723c0d7429dd5fd (patch) | |
tree | 9f57e6cd509d8dc1049bb104e217bebc13bb0308 /app-office | |
parent | live lyx ebuild - change python patch (diff) | |
download | rebutia-5801efa14186b5e95cc995f88723c0d7429dd5fd.tar.gz rebutia-5801efa14186b5e95cc995f88723c0d7429dd5fd.tar.bz2 rebutia-5801efa14186b5e95cc995f88723c0d7429dd5fd.zip |
lyx 2.1.0 in main tree
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/lyx/Manifest | 6 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.1.0_beta1.ebuild | 178 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.1.0_beta2.ebuild | 178 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.1.0_rc1.ebuild | 180 |
4 files changed, 0 insertions, 542 deletions
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest index ddd5c86..c617280 100644 --- a/app-office/lyx/Manifest +++ b/app-office/lyx/Manifest @@ -2,10 +2,4 @@ AUX 1.6.7-python.patch 906 SHA256 ad4ebb8d3837536eea869e15b3759840a1153d64d74b74 AUX 2.0-python.patch 1036 SHA256 954f96dab553024fb128924c7ba3d70a91946f6909d203ee0902d6ec8740ded8 SHA512 81bf78b837d9a4621a230d3d1d4e45c306598b4047227b88e83054268571a496a71babdfe5152b47370a3dbf91767aed366984555225c3900bf6d55dc0e43d31 WHIRLPOOL e47a40db707b68c923bce136c72742242a974fe17c8a167fa0ca6f428bf2937feba3122737417e0902f320c0a8df1d4da72702eea4e4d4fe699b5176bbe5ed19 AUX 2.0.3-python.patch 1019 SHA256 a8f93b41bf55f823caec23487aee432bad6e7b55187c6f115decdda855380010 SHA512 039d3521bc1d646669fcccb43d04354dfe7ed32477a338c27a576c77e5ffcf15fcf0419c14df43aa37d727431cce6ab0327aa04199d09ce1749051ab12686df8 WHIRLPOOL 74ad7056a5e74a95b7150fd14d2aac410c367a1bf98d7d8e2d68b5102059951e8ec40a877b534effc9b3fea04a38acdbadc2d1ce819272cb7d5e4d63bc172404 AUX 2.0.patches 9724 SHA256 9bf26943ce4f27b4cdbfa924f3097aa1bfba6e23a10d8db494148066e9bf8a39 SHA512 99bdb8204d2f2d40adbb6280e8273b6d974ad6db5575388bedb6ed913a2afa17f693c6f35d600cc7d35d637f3426dcc485237be3548f47055588a5c199fb66db WHIRLPOOL b5c1555147329388d4bb1911712a38256c518a4d17cadba3911d125313a607e9eabd5b2f81c4831b6b9b8ae38c05ce0d9c37305b31286a0773fa3288e7c37a08 -DIST lyx-2.1.0beta1.tar.xz 10314988 SHA256 5d38caa23e156669da6ebfff8fb80125db24704d9733648eb21be7a2b01f6203 SHA512 77191e569f91ff9b993eb3ce867f45e66924cc293565c9d3bb4d75ce2e98ca3de254528e6f183b7f5fa2bf34b0cd1ba9c3f2d8d4e5daa7b08967365a6b722b01 WHIRLPOOL 79ef55f9a28c0eb9934a14dcda329c456c7f31d505c43adf260fd77db9727f08160236d8104ca1df255cc343608a9f3a8255b27227a275749643f136fbde1a82 -DIST lyx-2.1.0beta2.tar.xz 10335516 SHA256 a5a8ee45b6e5c58848dd887fd2c9b6a04273ae4b8a79c7c301472bd0c0eab1b1 SHA512 1697505ea1f4112076b041a488d347a86e53b97e205c2c39afa02bc7bf533a31b944ff1270dc53e240beb815ea74c3460bfc0f2baf3bc396025fcc39e200e0a5 WHIRLPOOL ecea0c9371b41addefe702d77c5c2c49a8f230d0e284b52b0ae30b6b7fbdc6d27acb8b276f2c032a08453643392e20940ae9622f37c3bc089ab7c22e8d92bc20 -DIST lyx-2.1.0rc1.tar.xz 10604636 SHA256 c4a74b73a2fd53470a3457e8ad94c6fb501f712fb7e1d9c91c22d8f327614807 SHA512 c1a25cfcfd6a6b980f84959eedff9684bee2959c318b37621b3d47b0fce65bcb3ce6289d0f99cdba347361c60ca5b396c3df006a6e1ebbfc73c511c23306dbdf WHIRLPOOL 4f21d9dfa24ab163cd4083285706fdd1d26dca5e98c99bacc3b9f13f41dd9062ade1ca2dc1fd7da2a11962963e3b533bf0b002b38c1d8da286eb422a385b7ecc EBUILD lyx-2.0.9999.ebuild 4385 SHA256 95b7b8253e553148055d20e18c723d3f6599045f95a5cdcb027f14dfab653aac SHA512 7d01fad672584bf94c282ed5ddc30546373013ed8c531269a47cdab1eeebde837fb5796e692e2bb2ffd7b3d711227e5193a27777b88352b7892966a92fe0d7d5 WHIRLPOOL 5cbc722f032dc4232ee02a84383513ea065880dd2fa024b8a95201fd910f757bd017d2b600781bce048ce11b55db065310ee975a3cd1ddd07dccc6ed142e37dc -EBUILD lyx-2.1.0_beta1.ebuild 4471 SHA256 e2a993537b8223ba42f7aacc71abad5bb29feeeb35a3f01b77b832013f562b67 SHA512 d64c05af4f4a1da15e367894159a8b09ca6a9240faa8968c9829fef2ed7d603a012f7b760a2d79f5442662944f21ee06faa6a170cb5c8c9dafdecef087b340ef WHIRLPOOL f95ff85b3f2b00cc4cfab1f04a92c8f37cccb37ff6a2ec423c483c968b6125b7624a9b9b744f1c33354aeb6673ccc5851dcc2165cb80e0ceb7badbeecb32d622 -EBUILD lyx-2.1.0_beta2.ebuild 4471 SHA256 e2a993537b8223ba42f7aacc71abad5bb29feeeb35a3f01b77b832013f562b67 SHA512 d64c05af4f4a1da15e367894159a8b09ca6a9240faa8968c9829fef2ed7d603a012f7b760a2d79f5442662944f21ee06faa6a170cb5c8c9dafdecef087b340ef WHIRLPOOL f95ff85b3f2b00cc4cfab1f04a92c8f37cccb37ff6a2ec423c483c968b6125b7624a9b9b744f1c33354aeb6673ccc5851dcc2165cb80e0ceb7badbeecb32d622 -EBUILD lyx-2.1.0_rc1.ebuild 4495 SHA256 eed74088546c3994dd66b30a1b2d9bae0dadbc482205119c218c0cf8098d5d8b SHA512 6508fb6f1a252d8ccc93b2722cfce064979c2bd7734db7e5337b54d0b5f4952acc9b2bdf36c991b26460bdc0d0b3e07013bc872965a502073a531c67166d3b2a WHIRLPOOL b98cc8641a1529f40bb19ff0c9aaa58bdc842b653d100dcb7bab6608b78a70f87c80872ddec05f40d76e27ed4488be60c766fb37cb2e73c494473ceff4807084 diff --git a/app-office/lyx/lyx-2.1.0_beta1.ebuild b/app-office/lyx/lyx-2.1.0_beta1.ebuild deleted file mode 100644 index e59134b..0000000 --- a/app-office/lyx/lyx-2.1.0_beta1.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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.6.ebuild,v 1.10 2013/06/29 16:21:16 ago 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.1/${MY_P}/${MY_P}.tar.xz" -RESTRICT="test" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="cups debug nls +latex 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="dev-qt/qtgui:4 - dev-qt/qtcore: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? ( - app-text/texlive - 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 - ) - ) - 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} - 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 - doicon -s 48 "${S}/lib/images/lyx.png" - doicon -s scalable "${S}/lib/images/lyx.svg" - 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 -} diff --git a/app-office/lyx/lyx-2.1.0_beta2.ebuild b/app-office/lyx/lyx-2.1.0_beta2.ebuild deleted file mode 100644 index e59134b..0000000 --- a/app-office/lyx/lyx-2.1.0_beta2.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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.6.ebuild,v 1.10 2013/06/29 16:21:16 ago 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.1/${MY_P}/${MY_P}.tar.xz" -RESTRICT="test" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="cups debug nls +latex 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="dev-qt/qtgui:4 - dev-qt/qtcore: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? ( - app-text/texlive - 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 - ) - ) - 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} - 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 - doicon -s 48 "${S}/lib/images/lyx.png" - doicon -s scalable "${S}/lib/images/lyx.svg" - 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 -} diff --git a/app-office/lyx/lyx-2.1.0_rc1.ebuild b/app-office/lyx/lyx-2.1.0_rc1.ebuild deleted file mode 100644 index 408ba10..0000000 --- a/app-office/lyx/lyx-2.1.0_rc1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.7.1-r2.ebuild,v 1.1 2014/02/17 15:46:47 dlan Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_6,2_7} ) -inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 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/devel/lyx-2.1/${MY_P}/${MY_P}.tar.xz" -#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${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 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 - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING ) - -COMMONDEPEND="dev-qt/qtgui:4 - dev-qt/qtcore:4 - >=dev-libs/boost-1.34 - ${PYTHON_DEPS}" - -RDEPEND="${COMMONDEPEND} - dev-texlive/texlive-fontsextra - || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) - cups? ( net-print/cups ) - latex? ( - app-text/texlive - 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[java] - ) - ) - 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 ) - 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} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -pkg_setup() { - python-single-r1_pkg_setup - font_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}"/2.0-python.patch - sed "s:python -tt:${EPYTHON} -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() { - default - - 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 - doicon -s 48 "${S}/lib/images/lyx.png" - doicon -s scalable "${S}/lib/images/lyx.svg" - 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-site/tex/latex/lyx || die - fi - - # fonts needed for proper math display, see also bug #15629 - font_src_install - - python_fix_shebang "${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 - fdo-mime_desktop_database_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 - fdo-mime_desktop_database_update - - if use latex ; then - texhash - fi -} |