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