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