Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/lyx/
Date: Tue, 27 Feb 2018 16:14:16
Message-Id: 1519748010.9ca82504b7505971117e37bd8c8048947417360a.asturm@gentoo
1 commit: 9ca82504b7505971117e37bd8c8048947417360a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 27 13:57:23 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 27 16:13:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca82504
7
8 app-office/lyx: Drop 2.1.5-r1
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-office/lyx/Manifest | 1 -
13 app-office/lyx/lyx-2.1.5-r1.ebuild | 169 -------------------------------------
14 2 files changed, 170 deletions(-)
15
16 diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest
17 index 852ec4ea1c3..f869cb46844 100644
18 --- a/app-office/lyx/Manifest
19 +++ b/app-office/lyx/Manifest
20 @@ -1,2 +1 @@
21 -DIST lyx-2.1.5.tar.xz 10361112 BLAKE2B ddc6e10974f495bb465fced0bfe95e0530831e924c12323267feec59e49900efefda154abac927f3129ab0820706a870fb463e749cff2b5c4b47368d954c9d20 SHA512 6f8c62ff96458d0c8c8057ae1e587be4c63bd3bdf2d4f095c24d447017034eda8c6b645efbd258f0956a9bbfe5fde2f90df36515be7b8a94cb63674bc3a58672
22 DIST lyx-2.2.3.tar.xz 15501856 BLAKE2B 08606f0c18d9cb5891bd7d612361597e3efc7e7855f7607c2620f10ddb22b7078d5085f725911496198d2d8a47ece54cbfe67cfbf4ec8eb15450271cd133b095 SHA512 b5a4a16b22680022651a0f3911c2c24bcd3541a573e672e541cb0af6572089e4b0e0ec1cafb40850e75c377e7da5b286d0314886e0c57d55f57645d8e4a07708
23
24 diff --git a/app-office/lyx/lyx-2.1.5-r1.ebuild b/app-office/lyx/lyx-2.1.5-r1.ebuild
25 deleted file mode 100644
26 index 13dd28fd8d6..00000000000
27 --- a/app-office/lyx/lyx-2.1.5-r1.ebuild
28 +++ /dev/null
29 @@ -1,169 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -PYTHON_COMPAT=( python2_7 )
36 -inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 toolchain-funcs
37 -
38 -MY_P="${P/_}"
39 -
40 -S="${WORKDIR}/${MY_P}"
41 -FONT_S="${S}/lib/fonts"
42 -FONT_SUFFIX="ttf"
43 -DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
44 -HOMEPAGE="https://www.lyx.org/"
45 -SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/${MY_P}.tar.xz
46 - ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/${MY_P}/${MY_P}.tar.xz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
51 -IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant l10n_he"
52 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 -
54 -DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
55 -
56 -COMMONDEPEND="dev-qt/qtgui:4
57 - dev-qt/qtcore:4
58 - >=dev-libs/boost-1.34:=
59 - ${PYTHON_DEPS}"
60 -
61 -RDEPEND="${COMMONDEPEND}
62 - dev-texlive/texlive-fontsextra
63 - virtual/imagemagick-tools[png,svg?]
64 - cups? ( net-print/cups )
65 - latex? (
66 - app-text/texlive
67 - app-text/ghostscript-gpl
68 - app-text/noweb
69 - app-text/dvipng
70 - dev-tex/dvipost
71 - dev-tex/chktex
72 - app-text/ps2eps
73 - dev-texlive/texlive-latexextra
74 - dev-texlive/texlive-pictures
75 - || ( dev-texlive/texlive-mathscience dev-texlive/texlive-science )
76 - || ( dev-texlive/texlive-plaingeneric dev-texlive/texlive-genericextra )
77 - dev-texlive/texlive-fontsrecommended
78 - || (
79 - dev-tex/latex2html
80 - dev-tex/tth
81 - dev-tex/hevea
82 - dev-tex/tex4ht[java]
83 - )
84 - )
85 - html? ( dev-tex/html2latex )
86 - rtf? (
87 - dev-tex/latex2rtf
88 - app-text/unrtf
89 - dev-tex/html2latex
90 - )
91 - l10n_he? ( dev-tex/culmus-latex )
92 - docbook? ( app-text/sgmltools-lite )
93 - dot? ( media-gfx/graphviz )
94 - dia? ( app-office/dia )
95 - subversion? ( dev-vcs/subversion )
96 - rcs? ( dev-vcs/rcs )
97 - svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )
98 - gnumeric? ( app-office/gnumeric )
99 - hunspell? ( app-text/hunspell )
100 - aspell? ( app-text/aspell )
101 - enchant? ( app-text/enchant )"
102 -
103 -DEPEND="${COMMONDEPEND}
104 - virtual/pkgconfig
105 - nls? ( sys-devel/gettext )"
106 -
107 -pkg_setup() {
108 - python-single-r1_pkg_setup
109 - font_pkg_setup
110 -}
111 -
112 -src_prepare() {
113 - epatch "${FILESDIR}"/2.1-python.patch
114 - sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die
115 -}
116 -
117 -src_configure() {
118 - tc-export CXX
119 - #bug 221921
120 - export VARTEXFONTS=${T}/fonts
121 -
122 - econf \
123 - $(use_enable nls) \
124 - $(use_enable debug) \
125 - $(use_enable monolithic-build) \
126 - $(use_with hunspell) \
127 - $(use_with aspell) \
128 - $(use_with enchant) \
129 - --without-included-boost \
130 - --disable-stdlib-debug \
131 - --with-packaging=posix
132 -}
133 -
134 -src_install() {
135 - default
136 -
137 - if use l10n_he ; then
138 - echo "\bind_file cua" > "${T}"/hebrew.bind
139 - echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
140 -
141 - insinto /usr/share/lyx/bind
142 - doins "${T}"/hebrew.bind || die
143 - fi
144 -
145 - newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
146 - doicon -s 48 "${S}/lib/images/lyx.png"
147 - doicon -s scalable "${S}/lib/images/lyx.svg"
148 -
149 - # fix for bug 91108
150 - if use latex ; then
151 - dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die
152 - fi
153 -
154 - # fonts needed for proper math display, see also bug #15629
155 - font_src_install
156 -
157 - python_fix_shebang "${ED}"/usr/share/${PN}
158 -
159 - if use hunspell ; then
160 - dosym ../myspell /usr/share/lyx/dicts
161 - dosym ../myspell /usr/share/lyx/thes
162 - fi
163 -}
164 -
165 -pkg_preinst() {
166 - gnome2_icon_savelist
167 -}
168 -
169 -pkg_postinst() {
170 - font_pkg_postinst
171 - gnome2_icon_cache_update
172 - fdo-mime_desktop_database_update
173 -
174 - # fix for bug 91108
175 - if use latex ; then
176 - texhash
177 - fi
178 -
179 - # instructions for RTL support. See also bug 168331.
180 - if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
181 - elog
182 - elog "Enabling RTL support in LyX:"
183 - elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
184 - elog "You must enable RTL support in LyX. To do so start LyX and go to"
185 - elog "Tools->Preferences->Language settings->Language"
186 - elog "and make sure the \"Right-to-left language support\" is checked"
187 - elog
188 - fi
189 -}
190 -
191 -pkg_postrm() {
192 - gnome2_icon_cache_update
193 - fdo-mime_desktop_database_update
194 -
195 - if use latex ; then
196 - texhash
197 - fi
198 -}