1 |
dlan 15/02/28 14:59:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lyx-2.1.3.ebuild |
5 |
Removed: lyx-2.0.6.ebuild lyx-2.0.7.1-r2.ebuild |
6 |
lyx-2.1.1.ebuild |
7 |
Log: |
8 |
bump & drop old, fix bug 530726, 541532, thanks pavel |
9 |
|
10 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55) |
11 |
|
12 |
Revision Changes Path |
13 |
1.329 app-office/lyx/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/lyx/ChangeLog?rev=1.329&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/lyx/ChangeLog?rev=1.329&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/lyx/ChangeLog?r1=1.328&r2=1.329 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v |
22 |
retrieving revision 1.328 |
23 |
retrieving revision 1.329 |
24 |
diff -u -r1.328 -r1.329 |
25 |
--- ChangeLog 6 Dec 2014 16:38:26 -0000 1.328 |
26 |
+++ ChangeLog 28 Feb 2015 14:59:13 -0000 1.329 |
27 |
@@ -1,6 +1,12 @@ |
28 |
# ChangeLog for app-office/lyx |
29 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.328 2014/12/06 16:38:26 ago Exp $ |
31 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.329 2015/02/28 14:59:13 dlan Exp $ |
33 |
+ |
34 |
+*lyx-2.1.3 (28 Feb 2015) |
35 |
+ |
36 |
+ 28 Feb 2015; Yixun Lan <dlan@g.o> -lyx-2.0.6.ebuild, |
37 |
+ -lyx-2.0.7.1-r2.ebuild, -lyx-2.1.1.ebuild, +lyx-2.1.3.ebuild: |
38 |
+ bump & drop old, fix bug 530726, 541532, thanks pavel |
39 |
|
40 |
06 Dec 2014; Agostino Sarubbo <ago@g.o> lyx-2.1.2.ebuild: |
41 |
Stable for ia64, wrt bug #529102 |
42 |
|
43 |
|
44 |
|
45 |
1.1 app-office/lyx/lyx-2.1.3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/lyx/lyx-2.1.3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/lyx/lyx-2.1.3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: lyx-2.1.3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2015 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.1.3.ebuild,v 1.1 2015/02/28 14:59:13 dlan Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
59 |
inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 toolchain-funcs |
60 |
|
61 |
MY_P="${P/_}" |
62 |
|
63 |
S="${WORKDIR}/${MY_P}" |
64 |
FONT_S="${S}/lib/fonts" |
65 |
FONT_SUFFIX="ttf" |
66 |
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc." |
67 |
HOMEPAGE="http://www.lyx.org/" |
68 |
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/${MY_P}.tar.xz |
69 |
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/${MY_P}/${MY_P}.tar.xz" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="0" |
73 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" |
74 |
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant" |
75 |
|
76 |
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" |
77 |
|
78 |
for X in ${LANGS}; do |
79 |
IUSE="${IUSE} linguas_${X}" |
80 |
done |
81 |
|
82 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
83 |
|
84 |
DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING ) |
85 |
|
86 |
COMMONDEPEND="dev-qt/qtgui:4 |
87 |
dev-qt/qtcore:4 |
88 |
>=dev-libs/boost-1.34 |
89 |
${PYTHON_DEPS}" |
90 |
|
91 |
RDEPEND="${COMMONDEPEND} |
92 |
dev-texlive/texlive-fontsextra |
93 |
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) |
94 |
cups? ( net-print/cups ) |
95 |
latex? ( |
96 |
app-text/texlive |
97 |
app-text/ghostscript-gpl |
98 |
app-text/noweb |
99 |
app-text/dvipng |
100 |
dev-tex/dvipost |
101 |
dev-tex/chktex |
102 |
app-text/ps2eps |
103 |
dev-texlive/texlive-latexextra |
104 |
dev-texlive/texlive-pictures |
105 |
dev-texlive/texlive-science |
106 |
dev-texlive/texlive-genericextra |
107 |
dev-texlive/texlive-fontsrecommended |
108 |
|| ( |
109 |
dev-tex/latex2html |
110 |
dev-tex/tth |
111 |
dev-tex/hevea |
112 |
dev-tex/tex4ht[java] |
113 |
) |
114 |
) |
115 |
html? ( dev-tex/html2latex ) |
116 |
rtf? ( |
117 |
dev-tex/latex2rtf |
118 |
app-text/unrtf |
119 |
dev-tex/html2latex |
120 |
) |
121 |
linguas_he? ( dev-tex/culmus-latex ) |
122 |
docbook? ( app-text/sgmltools-lite ) |
123 |
dot? ( media-gfx/graphviz ) |
124 |
dia? ( app-office/dia ) |
125 |
subversion? ( dev-vcs/subversion ) |
126 |
rcs? ( dev-vcs/rcs ) |
127 |
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] ) |
128 |
|| ( gnome-base/librsvg media-gfx/inkscape ) |
129 |
) |
130 |
gnumeric? ( app-office/gnumeric ) |
131 |
hunspell? ( app-text/hunspell ) |
132 |
aspell? ( app-text/aspell ) |
133 |
enchant? ( app-text/enchant )" |
134 |
|
135 |
DEPEND="${COMMONDEPEND} |
136 |
virtual/pkgconfig |
137 |
nls? ( sys-devel/gettext )" |
138 |
|
139 |
pkg_setup() { |
140 |
python-single-r1_pkg_setup |
141 |
font_pkg_setup |
142 |
} |
143 |
|
144 |
src_prepare() { |
145 |
epatch "${FILESDIR}"/2.1-python.patch |
146 |
sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die |
147 |
} |
148 |
|
149 |
src_configure() { |
150 |
tc-export CXX |
151 |
#bug 221921 |
152 |
export VARTEXFONTS=${T}/fonts |
153 |
|
154 |
econf \ |
155 |
$(use_enable nls) \ |
156 |
$(use_enable debug) \ |
157 |
$(use_enable monolithic-build) \ |
158 |
$(use_with hunspell) \ |
159 |
$(use_with aspell) \ |
160 |
$(use_with enchant) \ |
161 |
--without-included-boost \ |
162 |
--disable-stdlib-debug \ |
163 |
--with-packaging=posix |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
default |
168 |
|
169 |
if use linguas_he ; then |
170 |
echo "\bind_file cua" > "${T}"/hebrew.bind |
171 |
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind |
172 |
|
173 |
insinto /usr/share/lyx/bind |
174 |
doins "${T}"/hebrew.bind || die |
175 |
fi |
176 |
|
177 |
newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png |
178 |
doicon -s 48 "${S}/lib/images/lyx.png" |
179 |
doicon -s scalable "${S}/lib/images/lyx.svg" |
180 |
|
181 |
# fix for bug 91108 |
182 |
if use latex ; then |
183 |
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die |
184 |
fi |
185 |
|
186 |
# fonts needed for proper math display, see also bug #15629 |
187 |
font_src_install |
188 |
|
189 |
python_fix_shebang "${ED}"/usr/share/${PN} |
190 |
|
191 |
if use hunspell ; then |
192 |
dosym /usr/share/myspell /usr/share/lyx/dicts |
193 |
dosym /usr/share/myspell /usr/share/lyx/thes |
194 |
fi |
195 |
} |
196 |
|
197 |
pkg_preinst() { |
198 |
gnome2_icon_savelist |
199 |
} |
200 |
|
201 |
pkg_postinst() { |
202 |
font_pkg_postinst |
203 |
gnome2_icon_cache_update |
204 |
fdo-mime_desktop_database_update |
205 |
|
206 |
# fix for bug 91108 |
207 |
if use latex ; then |
208 |
texhash |
209 |
fi |
210 |
|
211 |
# instructions for RTL support. See also bug 168331. |
212 |
if use linguas_he || use linguas_ar; then |
213 |
elog |
214 |
elog "Enabling RTL support in LyX:" |
215 |
elog "If you intend to use a RTL language (such as Hebrew or Arabic)" |
216 |
elog "You must enable RTL support in LyX. To do so start LyX and go to" |
217 |
elog "Tools->Preferences->Language settings->Language" |
218 |
elog "and make sure the \"Right-to-left language support\" is checked" |
219 |
elog |
220 |
fi |
221 |
} |
222 |
|
223 |
pkg_postrm() { |
224 |
gnome2_icon_cache_update |
225 |
fdo-mime_desktop_database_update |
226 |
|
227 |
if use latex ; then |
228 |
texhash |
229 |
fi |
230 |
} |