1 |
aballier 09/08/24 21:07:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lyx-1.6.4.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.175 app-office/lyx/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.175&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.175&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?r1=1.174&r2=1.175 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v |
19 |
retrieving revision 1.174 |
20 |
retrieving revision 1.175 |
21 |
diff -u -r1.174 -r1.175 |
22 |
--- ChangeLog 23 Aug 2009 15:48:24 -0000 1.174 |
23 |
+++ ChangeLog 24 Aug 2009 21:07:02 -0000 1.175 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-office/lyx |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.174 2009/08/23 15:48:24 darkside Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.175 2009/08/24 21:07:02 aballier Exp $ |
29 |
+ |
30 |
+*lyx-1.6.4 (24 Aug 2009) |
31 |
+ |
32 |
+ 24 Aug 2009; Alexis Ballier <aballier@g.o> +lyx-1.6.4.ebuild: |
33 |
+ version bump |
34 |
|
35 |
23 Aug 2009; Jeremy Olexa <darkside@g.o> lyx-1.6.3.ebuild: |
36 |
amd64 stable, bug 276990. Compile tested by myself, runtime tested by Ben |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-office/lyx/lyx-1.6.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: lyx-1.6.4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.6.4.ebuild,v 1.1 2009/08/24 21:07:02 aballier Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
|
53 |
inherit qt4 eutils flag-o-matic font toolchain-funcs |
54 |
|
55 |
MY_P="${P/_}" |
56 |
|
57 |
S="${WORKDIR}/${MY_P}" |
58 |
FONT_S="${S}/lib/fonts" |
59 |
FONT_SUFFIX="ttf" |
60 |
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc." |
61 |
HOMEPAGE="http://www.lyx.org/" |
62 |
SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/stable/${P}.tar.bz2" |
63 |
#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas |
64 |
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2" |
65 |
#SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/pre/${MY_P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
70 |
IUSE="cups debug nls latex monolithic-build html rtf dot docbook dia subversion rcs" |
71 |
|
72 |
LANGS="ar ca cs de en es eu fi fr gl he hu id it ja nb nn pl pt ro ru sk tr uk zh_CN zh_TW" |
73 |
for X in ${LANGS}; do |
74 |
IUSE="${IUSE} linguas_${X}" |
75 |
done |
76 |
|
77 |
COMMONDEPEND="|| ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) |
78 |
x11-libs/libXrandr |
79 |
x11-libs/libXcursor |
80 |
x11-libs/libXrender |
81 |
x11-libs/libXfixes |
82 |
x11-libs/libXext |
83 |
x11-libs/libSM |
84 |
x11-libs/libICE |
85 |
x11-libs/libX11 |
86 |
x11-libs/libXau |
87 |
x11-libs/libXdmcp |
88 |
dev-libs/libxml2 |
89 |
app-text/aiksaurus |
90 |
virtual/aspell-dict |
91 |
>=dev-lang/python-2.3.4 |
92 |
media-libs/fontconfig |
93 |
media-libs/freetype |
94 |
>=dev-libs/boost-1.34" |
95 |
|
96 |
RDEPEND="${COMMONDEPEND} |
97 |
|| ( dev-texlive/texlive-fontsextra app-text/ptex ) |
98 |
media-gfx/imagemagick |
99 |
cups? ( virtual/lpr ) |
100 |
latex? ( |
101 |
virtual/latex-base |
102 |
virtual/ghostscript |
103 |
app-text/noweb |
104 |
dev-tex/dvipost |
105 |
dev-tex/chktex |
106 |
|| ( |
107 |
dev-tex/latex2html |
108 |
dev-tex/tth |
109 |
dev-tex/hevea |
110 |
dev-tex/tex4ht |
111 |
) |
112 |
) |
113 |
html? ( dev-tex/html2latex ) |
114 |
rtf? ( |
115 |
dev-tex/latex2rtf |
116 |
app-text/unrtf |
117 |
dev-tex/html2latex |
118 |
) |
119 |
linguas_he? ( dev-tex/culmus-latex ) |
120 |
docbook? ( app-text/sgmltools-lite ) |
121 |
dot? ( media-gfx/graphviz ) |
122 |
dia? ( app-office/dia ) |
123 |
subversion? ( dev-util/subversion ) |
124 |
rcs? ( app-text/rcs )" |
125 |
|
126 |
DEPEND="${COMMONDEPEND} |
127 |
x11-proto/xproto |
128 |
dev-util/pkgconfig |
129 |
nls? ( sys-devel/gettext )" |
130 |
|
131 |
#bug 189925 |
132 |
QT4_BUILT_WITH_USE_CHECK="png" |
133 |
|
134 |
src_compile() { |
135 |
tc-export CXX |
136 |
#bug 221921 |
137 |
export VARTEXFONTS=${T}/fonts |
138 |
|
139 |
econf \ |
140 |
$(use_enable nls) \ |
141 |
$(use_enable debug) \ |
142 |
$(use_enable monolithic-build) \ |
143 |
--with-aspell --without-included-boost --disable-stdlib-debug |
144 |
emake || die "emake failed" |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
emake DESTDIR="${D}" install || die "emake install failed" |
149 |
|
150 |
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt |
151 |
|
152 |
if use linguas_he ; then |
153 |
echo "\bind_file cua" > "${T}"/hebrew.bind |
154 |
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind |
155 |
|
156 |
insinto /usr/share/lyx/bind |
157 |
doins "${T}"/hebrew.bind |
158 |
fi |
159 |
|
160 |
doicon ${PN} "$S/development/Win32/packaging/icons/lyx_32x32.png" |
161 |
make_desktop_entry ${PN} "LyX" "/usr/share/pixmaps/lyx_32x32.png" "Office" |
162 |
|
163 |
# fix for bug 91108 |
164 |
if use latex ; then |
165 |
dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx |
166 |
fi |
167 |
|
168 |
# fonts needed for proper math display, see also bug #15629 |
169 |
font_src_install |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
font_pkg_postinst |
174 |
|
175 |
# fix for bug 91108 |
176 |
if use latex ; then |
177 |
texhash |
178 |
fi |
179 |
|
180 |
# instructions for RTL support. See also bug 168331. |
181 |
if use linguas_he || use linguas_ar; then |
182 |
elog |
183 |
elog "Enabling RTL support in LyX:" |
184 |
elog "If you intend to use a RTL language (such as Hebrew or Arabic)" |
185 |
elog "You must enable RTL support in LyX. To do so start LyX and go to" |
186 |
elog "Tools->Preferences->Language settings->Language" |
187 |
elog "and make sure the \"Right-to-left language support\" is checked" |
188 |
elog |
189 |
fi |
190 |
|
191 |
elog |
192 |
elog "Be warned that LyX 1.6 changed syntax of key-binding functions." |
193 |
elog "If some of usual editation keys stopped working you may need to fix" |
194 |
elog "your private settings of shortcuts done for version 1.5." |
195 |
elog |
196 |
} |
197 |
|
198 |
pkg_postrm() { |
199 |
if use latex ; then |
200 |
texhash |
201 |
fi |
202 |
} |