summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-04-14 13:53:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-04-14 13:53:24 +0000
commit41eaf398269ae8e8f994b10deb02c7b16c48d08d (patch)
tree038189b2f39c83d67e385049b9cc2f79d540ed9d /app-office
parentImport from perl-experimental for Moose-2 (diff)
downloadhistorical-41eaf398269ae8e8f994b10deb02c7b16c48d08d.tar.gz
historical-41eaf398269ae8e8f994b10deb02c7b16c48d08d.tar.bz2
historical-41eaf398269ae8e8f994b10deb02c7b16c48d08d.zip
remove old
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-office')
-rw-r--r--app-office/lyx/ChangeLog6
-rw-r--r--app-office/lyx/Manifest15
-rw-r--r--app-office/lyx/lyx-1.6.6.1.ebuild153
-rw-r--r--app-office/lyx/lyx-1.6.7-r1.ebuild166
-rw-r--r--app-office/lyx/lyx-1.6.7.ebuild153
5 files changed, 9 insertions, 484 deletions
diff --git a/app-office/lyx/ChangeLog b/app-office/lyx/ChangeLog
index 506c653e977c..206342e3c121 100644
--- a/app-office/lyx/ChangeLog
+++ b/app-office/lyx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/lyx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.222 2011/03/16 20:41:12 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.223 2011/04/14 13:53:24 aballier Exp $
+
+ 14 Apr 2011; Alexis Ballier <aballier@gentoo.org> -lyx-1.6.6.1.ebuild,
+ -lyx-1.6.7.ebuild, -lyx-1.6.7-r1.ebuild:
+ remove old
16 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> lyx-1.6.8.ebuild:
ppc/ppc64 stable wrt #349516
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
index 1eb059881a09..a7e1f3b31d03 100644
--- a/app-office/lyx/Manifest
+++ b/app-office/lyx/Manifest
@@ -7,25 +7,18 @@ AUX lyx.desktop 215 RMD160 13192f0f4e84e870565a3daff7d46c56954ed0fe SHA1 f72f3ff
DIST hebrew.bind 45 RMD160 1621bd311aa053798815fd6c795406a505761531 SHA1 85c39df7cd0a3a4f95fe6101a23d44abb7641b2c SHA256 fc3b1e19560f7a22af1c6bca13c0c0d7786d6453e292201645abff54fd0b67dd
DIST latex-xft-fonts-0.1.tar.gz 91730 RMD160 0a516eeba71ddc474e97f315e45e41028efa2e4d SHA1 50edf35ff08354bdf08517add33e16ee37f769e9 SHA256 78bceea8a055bc43bd0d246ae8e69f81d2f161ae4d8f1aaaa2dfff9e293ae964
DIST lyx-1.5.7.tar.bz2 9454238 RMD160 9e0736366f09f88a5623dbace8cafa3fda871af2 SHA1 442e7e20a0eb9b5855d5ac3915d13e5b92976c78 SHA256 935cc3f7a099eba4e4a7296d79fe5102fb7ef2de20ab2b6164347fef8c70dba4
-DIST lyx-1.6.6.1.tar.bz2 12164108 RMD160 b6ab705815ae6d7950cee32a947bf636d102d91b SHA1 4f0d20a890b6c78da7d863377632c5bb2b02fb4c SHA256 f2d182f84da3d94d211b0349eb01b60a05103cca48af0d642efb38f1a5a0b7a4
-DIST lyx-1.6.7.tar.bz2 12087980 RMD160 72d6abeda7c1e93209f52242c27fdc016b0b41e8 SHA1 24f4edff7f31dd75c47862351ece0d1906cf2e75 SHA256 b667a2bb56033cf40a219ec91c156f1c5785143156b48dc656ba0b369bdd79ce
DIST lyx-1.6.8.tar.bz2 12232798 RMD160 bf144d8f9ab0b646f320671dded82544c9bbe83e SHA1 caa9672e0dd6c725fcb0eb5c2bbf3ba9871935e5 SHA256 eadaa36e6fb0482ffc0c7b72a861c9fbffe6b71796629bec845893b946dc17dc
DIST lyx-1.6.9.tar.bz2 12560174 RMD160 30e37efc4c9cf3d335e78a1a1940dba2a0df1645 SHA1 a1acacc8a26546542e32977ae222e811c98b1ca4 SHA256 c5b3602c58db385be5c52ba958f52239c5fd090320ec99d79b7eb861c1597709
DIST preferences 1669 RMD160 26986d7bcc48c4ecf60f84d95490148a5e171785 SHA1 3567ad4d4a2a041c295e40fef76ca53de6cb260d SHA256 41867ac67bc729d1057253bf305aced1ff666ee4d648dfefc99fd0c3c0501d43
EBUILD lyx-1.5.7.ebuild 3371 RMD160 9e7613bae1cba53762d7cebf2b338988aff5a843 SHA1 3508c624b28be0b1201ad13353769413591adf8e SHA256 c9abe0ea55fee1f17eca9c8daeaed3705ec3f400bd0ced79357961a9aa7a0962
-EBUILD lyx-1.6.6.1.ebuild 3832 RMD160 b6c291688cc7e9f4e20cd96efdb927c325dca006 SHA1 26f958dcf07f643ebc8464912171dabd1f912a93 SHA256 c8ac867e20889bb1ee08f0db12a293a6a68920a602102c62d9a9e038c0d36d1b
-EBUILD lyx-1.6.7-r1.ebuild 4116 RMD160 bc858650762997667d5af6ef3b6807b3decc67c4 SHA1 899e75cfe9341bdc2618d4840923d17e470a509b SHA256 2f07978f43483b12438f4e88598f8ac5dac819e31869d95fb6d0820a5b896bfa
-EBUILD lyx-1.6.7.ebuild 3828 RMD160 fa91046635bac46191d74c0ac093f26da3eaa544 SHA1 5f26f4109e589764d67c7b5567e4dce29a0a1f97 SHA256 9291ad75769e2c1bd018f29f175111767fc69b6f29ce54cd2157484f35da17b9
EBUILD lyx-1.6.8.ebuild 4106 RMD160 61f958b5d5be69fd36af1bd3d12ff35f3e428f60 SHA1 209b3bd4e3a0380ee8c437d2b17bde4de2f6daa3 SHA256 614a971c1df759360320c7ca7b7457e9b446925a4ae4c824843ae115e96558b3
EBUILD lyx-1.6.9.ebuild 3985 RMD160 27c6a1b086de8ad490c3228ebd75a9cec36402b2 SHA1 21c781348a4d17f01155ebcd9bce59d33474c6ea SHA256 1061ea5b41d0e55314398025c520373aa2a1baa1921d106cea59ed253521d249
-MISC ChangeLog 30603 RMD160 6746375ff95e4e771591cdcb0e62e960a41e396b SHA1 6ed6f0534d0edbedf15603afce2d8f5fa3e1ae4d SHA256 1515fb0bddcbbd2007d04a205f433fc1849eee1ccdddd85a67eae5a04eaf7f81
+MISC ChangeLog 30731 RMD160 df531d5387ec4136df1d1496f0ddb66eae2532d1 SHA1 18594dc74fd728d4aaa676c8bdb872daa3f585f5 SHA256 fc37a328a29d1f4c2dc516fb4a876ad898e2ea6aa8eafb852ea803a26a532c70
MISC metadata.xml 942 RMD160 148a66f848d13821bf7c90fcd9204dbca57dc6c8 SHA1 e66698d5b67b9b0ea61c3a0009dba120ef00b651 SHA256 1fe516a4fd8772fab1f9399003f5ac82d7e58a37e24e85bca3adadb2dc76899d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQECAAYFAk2BIHEACgkQIiMqcbOVdxQ9ZQP7Bv8a7C7XYHfyC4qSRhm+Kt5k
-g946gZzLDxNAbbdMUL+j/FUd0UHAIciTz9uQAPhjxAPda8XppS7un8Rqx82oKfVB
-x/rtTuPlQDSoOXkIeF1Zp8t7R5s4Z4y6STx4TcbtJxSz2LDbNwZxFx1OtB5jFCo5
-nx39o7RgmrgMmYSa9Bk=
-=gY7c
+iEYEARECAAYFAk2m/FkACgkQvFcC4BYPU0oyeACggBd/PPyuvFkkIt0tY2zdegwQ
+vLUAnieTN8GxjAXqNG9ucC+Sjpacpt7Z
+=IPLP
-----END PGP SIGNATURE-----
diff --git a/app-office/lyx/lyx-1.6.6.1.ebuild b/app-office/lyx/lyx-1.6.6.1.ebuild
deleted file mode 100644
index 2f7718a3a10f..000000000000
--- a/app-office/lyx/lyx-1.6.6.1.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.6.6.1.ebuild,v 1.9 2010/08/09 02:19:45 josejx 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.devel.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas
-#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#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 dia subversion rcs svg"
-
-LANGS="ar ca cs de el en es eu fi fr gl he hu id it ja nb nn pl pt ro ru sk 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
- 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}
- || ( dev-texlive/texlive-fontsextra app-text/ptex )
- || ( media-gfx/imagemagick media-gfx/graphicsmagick )
- cups? ( virtual/lpr )
- latex? (
- virtual/latex-base
- app-text/ghostscript-gpl
- app-text/noweb
- dev-tex/dvipost
- dev-tex/chktex
- app-text/ps2eps
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-pictures
- dev-texlive/texlive-science
- || (
- 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 )
- rcs? ( dev-vcs/rcs )
- svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )"
-
-DEPEND="${COMMONDEPEND}
- x11-proto/xproto
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-src_compile() {
- tc-export CXX
- #bug 221921
- export VARTEXFONTS=${T}/fonts
-
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_enable monolithic-build) \
- --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
-}
-
-pkg_postrm() {
- if use latex ; then
- texhash
- fi
-}
diff --git a/app-office/lyx/lyx-1.6.7-r1.ebuild b/app-office/lyx/lyx-1.6.7-r1.ebuild
deleted file mode 100644
index 413e43a0c6a2..000000000000
--- a/app-office/lyx/lyx-1.6.7-r1.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.6.7-r1.ebuild,v 1.2 2010/08/08 21:33:30 mr_bones_ Exp $
-
-EAPI=2
-
-PYTHON_DEPEND="2"
-
-inherit qt4 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.devel.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas
-#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#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 dia subversion rcs svg"
-
-LANGS="ar ca cs de el en es eu fi fr gl he hu id it ja nb nn pl pt ro ru sk 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
- 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
- media-libs/fontconfig
- media-libs/freetype
- >=dev-libs/boost-1.34"
-
-RDEPEND="${COMMONDEPEND}
- || ( dev-texlive/texlive-fontsextra app-text/ptex )
- || ( media-gfx/imagemagick media-gfx/graphicsmagick )
- cups? ( virtual/lpr )
- latex? (
- virtual/latex-base
- app-text/ghostscript-gpl
- app-text/noweb
- dev-tex/dvipost
- dev-tex/chktex
- app-text/ps2eps
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-pictures
- dev-texlive/texlive-science
- || (
- 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 )
- rcs? ( dev-vcs/rcs )
- svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )"
-
-DEPEND="${COMMONDEPEND}
- x11-proto/xproto
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-pkg_setup() {
- python_set_active_version 2
- font_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-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) \
- --with-aspell --without-included-boost --disable-stdlib-debug
-}
-
-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
-
- 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 || die
- fi
-
- # fonts needed for proper math display, see also bug #15629
- font_src_install
-
- python_convert_shebangs -r 2 "${D}"/usr/share/${PN}
-}
-
-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
-}
-
-pkg_postrm() {
- if use latex ; then
- texhash
- fi
-}
diff --git a/app-office/lyx/lyx-1.6.7.ebuild b/app-office/lyx/lyx-1.6.7.ebuild
deleted file mode 100644
index 67213f3dd5cf..000000000000
--- a/app-office/lyx/lyx-1.6.7.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.6.7.ebuild,v 1.7 2010/12/23 21:47:52 jer 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.devel.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas
-#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2"
-#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 dia subversion rcs svg"
-
-LANGS="ar ca cs de el en es eu fi fr gl he hu id it ja nb nn pl pt ro ru sk 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
- 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}
- || ( dev-texlive/texlive-fontsextra app-text/ptex )
- || ( media-gfx/imagemagick media-gfx/graphicsmagick )
- cups? ( virtual/lpr )
- latex? (
- virtual/latex-base
- app-text/ghostscript-gpl
- app-text/noweb
- dev-tex/dvipost
- dev-tex/chktex
- app-text/ps2eps
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-pictures
- dev-texlive/texlive-science
- || (
- 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 )
- rcs? ( dev-vcs/rcs )
- svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )"
-
-DEPEND="${COMMONDEPEND}
- x11-proto/xproto
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-src_compile() {
- tc-export CXX
- #bug 221921
- export VARTEXFONTS=${T}/fonts
-
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_enable monolithic-build) \
- --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
-}
-
-pkg_postrm() {
- if use latex ; then
- texhash
- fi
-}