diff options
-rw-r--r-- | app-office/lyx/Manifest | 8 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.2.0.ebuild | 193 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.2.0_alpha2.ebuild | 179 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.2.0_beta2.ebuild | 179 | ||||
-rw-r--r-- | app-office/lyx/lyx-2.2.0_rc1.ebuild | 179 |
5 files changed, 0 insertions, 738 deletions
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest index dcd630b..6297a53 100644 --- a/app-office/lyx/Manifest +++ b/app-office/lyx/Manifest @@ -3,12 +3,4 @@ AUX 2.0-python.patch 1036 SHA256 954f96dab553024fb128924c7ba3d70a91946f6909d203e AUX 2.0.3-python.patch 1019 SHA256 a8f93b41bf55f823caec23487aee432bad6e7b55187c6f115decdda855380010 SHA512 039d3521bc1d646669fcccb43d04354dfe7ed32477a338c27a576c77e5ffcf15fcf0419c14df43aa37d727431cce6ab0327aa04199d09ce1749051ab12686df8 WHIRLPOOL 74ad7056a5e74a95b7150fd14d2aac410c367a1bf98d7d8e2d68b5102059951e8ec40a877b534effc9b3fea04a38acdbadc2d1ce819272cb7d5e4d63bc172404 AUX 2.0.patches 9724 SHA256 9bf26943ce4f27b4cdbfa924f3097aa1bfba6e23a10d8db494148066e9bf8a39 SHA512 99bdb8204d2f2d40adbb6280e8273b6d974ad6db5575388bedb6ed913a2afa17f693c6f35d600cc7d35d637f3426dcc485237be3548f47055588a5c199fb66db WHIRLPOOL b5c1555147329388d4bb1911712a38256c518a4d17cadba3911d125313a607e9eabd5b2f81c4831b6b9b8ae38c05ce0d9c37305b31286a0773fa3288e7c37a08 AUX 2.1-python.patch 1019 SHA256 a8f93b41bf55f823caec23487aee432bad6e7b55187c6f115decdda855380010 SHA512 039d3521bc1d646669fcccb43d04354dfe7ed32477a338c27a576c77e5ffcf15fcf0419c14df43aa37d727431cce6ab0327aa04199d09ce1749051ab12686df8 WHIRLPOOL 74ad7056a5e74a95b7150fd14d2aac410c367a1bf98d7d8e2d68b5102059951e8ec40a877b534effc9b3fea04a38acdbadc2d1ce819272cb7d5e4d63bc172404 -DIST lyx-2.2.0.tar.xz 14640052 SHA256 d867986870e3f7451f0d4512c60d9c3c7682da59c6c638f18b731f4ad3fa7c80 SHA512 3bc6a3dcd2271d942d1d34cf5f7b7c74d1d58499d070e5b7c056ee03d5195467a4230d18a65e9a591e76655970413370fd6233495c8d3ab977270488082425df WHIRLPOOL 5cd3b13ad8852d4ed5c59a11872547f0bb602119ce2ddbc29c5f7c240b7ca091cf341c0d22ff13c63980057706abf4a35cf5d03625545f598261c98ec4292497 -DIST lyx-2.2.0alpha2.tar.xz 14713760 SHA256 91c6baf19b7bb6b79bb88a36c299e02774a86c2ae85ad02b7fd2195ac3564793 SHA512 5cfd2f35b47402070890dd5722bc8833b8e7acc884e92cf278a65b557c9a2683fa6aa3b1db0d75727850f62c28c1b1f7112fb9c566f3ef7384a408a430eb777b WHIRLPOOL f88e61b9be8f53aa68a7a0a7fef67aac15af6cb0e5436a5f60c0da5e2e9bd17db1309e70198c4d0a80a7d15fbc1424dd91dbb34e26eec623dcebffe1d9d95e51 -DIST lyx-2.2.0beta2.tar.xz 20161532 SHA256 367c703c7119e18c8a67af6fae7415fb0bd48ce1219e99e2bd022f33c560634f SHA512 fd749d1d585ce551459a360029910aa27f7f925ca94b78fdd9f26dd3d5e90cb6db518da8c54cd5e76c0423f71adab5b6bc5b05d0668d6405345b9eff45fc7e13 WHIRLPOOL a2a771fd53ad5f9e654a6020af2cdf8a69c0e557534dd752544e0de566af2137418444f5bb83c2df43f4839a24c3e3dc7edbda668ed68f800ce780862c433901 -DIST lyx-2.2.0rc1.tar.xz 20140824 SHA256 1007abdd58d89c0dbc60fe0b24b02348f6fd7d0cce728eb4c69b9e227af402c7 SHA512 6cacce530b18f8e9c154c0b29a6a37c5eed6980a661e7788f6ae2ec3c58c93e0b24292fd2877a561ff0bf01fe8798479c7397e6b83589eb915debb423318984a WHIRLPOOL 7743c160d33dfdb89f12635a1d36a2d4765c1b1cf3fe2a3f69a9888d4a0f22cacd2809ce34d3b2d6f7477007fdb55ff492b8fdb0af8bd06bd4497298439b07e3 EBUILD lyx-2.0.9999.ebuild 4404 SHA256 787050b72267184788961c5c1eac32ebe264b07fca60d9b8c898cc8a2f169e61 SHA512 4b27205b213f4323216ca3d699dba400d2344bf1900d2394828532bc0abd6531abaf14b2d8de3100566f4e133a949e2ac6c046f166dad39fa17d2e4e0966e6a7 WHIRLPOOL ba3bc068f9b3370f7dbe3c5795713e1a5fc2d2d9956dc778cae4417f7a2783b55de5531414329e765fd9dc08429843f535ea07d6288c2acb703b6538511d0143 -EBUILD lyx-2.2.0.ebuild 4661 SHA256 aefc593f789ce95e9b07ac41f6f36df640c3f50798506f0d451382b661f20e44 SHA512 0d77a423ed4f0e90da36de89be7bd8a0b4edd15f697561a0e3a8727d4a83b5eafddeaf3008dd617e6bb39b685fe6250161380cf38e30b35534b451958b260439 WHIRLPOOL 79060fb6914168ce494661f2bb9b3fbfd552a54a62f1989d8060f753b8b0a34b140f100a57328e5b3e966d6cc6e59e57dbcfb4a808213ef264e16961391ef1f7 -EBUILD lyx-2.2.0_alpha2.ebuild 4293 SHA256 035b3f76010b4aebaff86e857edb3ea2900c5cfd0347a1c08029945e43a9ce8d SHA512 6731f90231278a2b7ccd0b00fd12274f4ee659c3be09813e7c28eb8d049d1ccdb2323d1ec45ac61b650caaf05bea4edd68fcd0c364ce201d6e0c680cf0102f04 WHIRLPOOL 39e6bdc97293ca6dea87067d10ff857e82380143cacf5241246e9c2ea1bf2b8c6c8484bfd1f330855bc572ac13c782eb0fa4ccaef2be7e1c9cc392259844db19 -EBUILD lyx-2.2.0_beta2.ebuild 4293 SHA256 035b3f76010b4aebaff86e857edb3ea2900c5cfd0347a1c08029945e43a9ce8d SHA512 6731f90231278a2b7ccd0b00fd12274f4ee659c3be09813e7c28eb8d049d1ccdb2323d1ec45ac61b650caaf05bea4edd68fcd0c364ce201d6e0c680cf0102f04 WHIRLPOOL 39e6bdc97293ca6dea87067d10ff857e82380143cacf5241246e9c2ea1bf2b8c6c8484bfd1f330855bc572ac13c782eb0fa4ccaef2be7e1c9cc392259844db19 -EBUILD lyx-2.2.0_rc1.ebuild 4293 SHA256 035b3f76010b4aebaff86e857edb3ea2900c5cfd0347a1c08029945e43a9ce8d SHA512 6731f90231278a2b7ccd0b00fd12274f4ee659c3be09813e7c28eb8d049d1ccdb2323d1ec45ac61b650caaf05bea4edd68fcd0c364ce201d6e0c680cf0102f04 WHIRLPOOL 39e6bdc97293ca6dea87067d10ff857e82380143cacf5241246e9c2ea1bf2b8c6c8484bfd1f330855bc572ac13c782eb0fa4ccaef2be7e1c9cc392259844db19 diff --git a/app-office/lyx/lyx-2.2.0.ebuild b/app-office/lyx/lyx-2.2.0.ebuild deleted file mode 100644 index cc45bee..0000000 --- a/app-office/lyx/lyx-2.2.0.ebuild +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_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/stable/2.2.x/${MY_P}.tar.xz - ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/${MY_P}/${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 +qt4 qt5" - -LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_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} - qt4? ( !qt5 ) - qt5? ( !qt4 )" - -DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING ) - -COMMONDEPEND=">=dev-libs/boost-1.34:= - ${PYTHON_DEPS} - qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 dev-qt/qtsvg:4 ) - qt5? ( dev-qt/qtgui:5 dev-qt/qtcore:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 dev-qt/qtsvg:5 )" - -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.1-python.patch - sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die - if use qt4; then - export QT_SELECT=qt4 - elif use qt5; then - export QT_SELECT=qt5 - fi -} - -src_configure() { - tc-export CXX - #bug 221921 - export VARTEXFONTS=${T}/fonts - local qt_flag="" - if use qt4; then - qt_flag="" - elif use qt5; then - qt_flag="--enable-qt5" - fi - - econf \ - $(use_enable nls) \ - $(use_enable debug) \ - $(use_enable monolithic-build) \ - $(use_with hunspell) \ - $(use_with aspell) \ - $(use_with enchant) \ - ${qt_flag} \ - --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" - - # 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 -} diff --git a/app-office/lyx/lyx-2.2.0_alpha2.ebuild b/app-office/lyx/lyx-2.2.0_alpha2.ebuild deleted file mode 100644 index 8d2f1aa..0000000 --- a/app-office/lyx/lyx-2.2.0_alpha2.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_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/stable/2.1.x/${MY_P}.tar.xz - ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/${MY_P}/${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.1-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" - - # 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 -} diff --git a/app-office/lyx/lyx-2.2.0_beta2.ebuild b/app-office/lyx/lyx-2.2.0_beta2.ebuild deleted file mode 100644 index 8d2f1aa..0000000 --- a/app-office/lyx/lyx-2.2.0_beta2.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_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/stable/2.1.x/${MY_P}.tar.xz - ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/${MY_P}/${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.1-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" - - # 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 -} diff --git a/app-office/lyx/lyx-2.2.0_rc1.ebuild b/app-office/lyx/lyx-2.2.0_rc1.ebuild deleted file mode 100644 index 8d2f1aa..0000000 --- a/app-office/lyx/lyx-2.2.0_rc1.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_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/stable/2.1.x/${MY_P}.tar.xz - ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/${MY_P}/${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.1-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" - - # 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 -} |