1 |
aballier 08/08/29 17:01:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lyx-1.6.0_rc2.ebuild |
5 |
Removed: lyx-1.6.0_beta4.ebuild lyx-1.6.0_beta3.ebuild |
6 |
Log: |
7 |
bump to rc2, remove old betas, thanks Pavel. |
8 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.144 app-office/lyx/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.144&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.144&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?r1=1.143&r2=1.144 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v |
20 |
retrieving revision 1.143 |
21 |
retrieving revision 1.144 |
22 |
diff -u -r1.143 -r1.144 |
23 |
--- ChangeLog 5 Aug 2008 16:45:30 -0000 1.143 |
24 |
+++ ChangeLog 29 Aug 2008 17:01:41 -0000 1.144 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-office/lyx |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.143 2008/08/05 16:45:30 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.144 2008/08/29 17:01:41 aballier Exp $ |
30 |
+ |
31 |
+*lyx-1.6.0_rc2 (29 Aug 2008) |
32 |
+ |
33 |
+ 29 Aug 2008; Alexis Ballier <aballier@g.o> -lyx-1.6.0_beta3.ebuild, |
34 |
+ -lyx-1.6.0_beta4.ebuild, +lyx-1.6.0_rc2.ebuild: |
35 |
+ bump to rc2, remove old betas, thanks Pavel. |
36 |
|
37 |
*lyx-1.6.0_rc1 (05 Aug 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-office/lyx/lyx-1.6.0_rc2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lyx-1.6.0_rc2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.6.0_rc2.ebuild,v 1.1 2008/08/29 17:01:41 aballier Exp $ |
52 |
|
53 |
EAPI=1 |
54 |
|
55 |
inherit qt4 eutils flag-o-matic font toolchain-funcs |
56 |
|
57 |
#MY_P="${P/_}" |
58 |
MY_P="lyx-1.6.0rc2" |
59 |
|
60 |
S="${WORKDIR}/${MY_P}" |
61 |
FONT_S="${S}/lib/fonts" |
62 |
FONT_SUFFIX="ttf" |
63 |
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc." |
64 |
HOMEPAGE="http://www.lyx.org/" |
65 |
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2 #for stable release |
66 |
#SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas |
67 |
SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/pre/${MY_P}.tar.bz2 |
68 |
linguas_he? ( |
69 |
http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind |
70 |
http://cs.haifa.ac.il/~dekelts/lyx/files/preferences |
71 |
)" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
76 |
IUSE="cups debug nls latex monolithic-build html rtf dot docbook" |
77 |
RESTRICT="test" |
78 |
|
79 |
LANGS="ar ca cs de en es eu fi fr gl he hu it ja ko nb nn pl pt ro ru tr uk zh_CN zh_TW" |
80 |
for X in ${LANGS}; do |
81 |
IUSE="${IUSE} linguas_${X}" |
82 |
done |
83 |
|
84 |
COMMONDEPEND="|| ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) |
85 |
x11-libs/libXrandr |
86 |
x11-libs/libXcursor |
87 |
x11-libs/libXrender |
88 |
x11-libs/libXfixes |
89 |
x11-libs/libXext |
90 |
x11-libs/libSM |
91 |
x11-libs/libICE |
92 |
x11-libs/libX11 |
93 |
x11-libs/libXau |
94 |
x11-libs/libXdmcp |
95 |
dev-libs/libxml2 |
96 |
app-text/aiksaurus |
97 |
virtual/aspell-dict |
98 |
>=dev-lang/python-2.3.4 |
99 |
media-libs/fontconfig |
100 |
media-libs/freetype" |
101 |
|
102 |
RDEPEND="${COMMONDEPEND} |
103 |
media-gfx/imagemagick |
104 |
cups? ( virtual/lpr ) |
105 |
latex? ( |
106 |
virtual/latex-base |
107 |
virtual/ghostscript |
108 |
app-text/noweb |
109 |
dev-tex/dvipost |
110 |
dev-tex/chktex |
111 |
|| ( |
112 |
dev-tex/latex2html |
113 |
dev-tex/tth |
114 |
dev-tex/hevea |
115 |
dev-tex/tex4ht |
116 |
) |
117 |
) |
118 |
html? ( dev-tex/html2latex ) |
119 |
rtf? ( |
120 |
dev-tex/latex2rtf |
121 |
app-text/unrtf |
122 |
dev-tex/html2latex |
123 |
) |
124 |
linguas_he? ( dev-tex/ivritex ) |
125 |
docbook? ( app-text/sgmltools-lite ) |
126 |
dot? ( media-gfx/graphviz )" |
127 |
|
128 |
DEPEND="${COMMONDEPEND} |
129 |
x11-proto/xproto |
130 |
nls? ( sys-devel/gettext ) |
131 |
>=dev-libs/boost-1.34" |
132 |
|
133 |
src_compile() { |
134 |
tc-export CXX |
135 |
#bug 221921 |
136 |
export VARTEXFONTS=${T}/fonts |
137 |
|
138 |
if use monolithic-build ; then |
139 |
MONOLITHIC=" --enable-monolithic-boost --enable-monolithic-client \ |
140 |
--enable-monolithic-insets --enable-monolithic-mathed \ |
141 |
--enable-monolithic-core --enable-monolithic-tex2lyx \ |
142 |
--enable-monolithic-frontend-qt4 " |
143 |
fi |
144 |
|
145 |
econf \ |
146 |
$(use_enable nls) \ |
147 |
$(use_enable debug) \ |
148 |
$MONOLITHIC \ |
149 |
--with-aspell --without-included-boost --disable-stdlib-debug |
150 |
emake || die "emake failed" |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" install || die "emake install failed" |
155 |
|
156 |
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt |
157 |
|
158 |
if use linguas_he ; then |
159 |
insinto /usr/share/lyx/bind |
160 |
doins "${DISTDIR}"/hebrew.bind |
161 |
dodoc "${DISTDIR}"/preferences |
162 |
fi |
163 |
|
164 |
doicon ${PN} "$S/development/Win32/packaging/icons/lyx_32x32.png" |
165 |
make_desktop_entry ${PN} "LyX" "/usr/share/pixmaps/lyx_32x32.png" "Office" |
166 |
|
167 |
# fix for bug 91108 |
168 |
if use latex ; then |
169 |
dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx |
170 |
fi |
171 |
|
172 |
# fonts needed for proper math display, see also bug #15629 |
173 |
font_src_install |
174 |
} |
175 |
|
176 |
pkg_postinst() { |
177 |
font_pkg_postinst |
178 |
|
179 |
# fix for bug 91108 |
180 |
if use latex ; then |
181 |
texhash |
182 |
fi |
183 |
|
184 |
if use linguas_he ; then |
185 |
elog |
186 |
elog "How to use Hebrew in LyX:" |
187 |
elog "bunzip2 /usr/share/doc/${PF}/preferences.bz2 into ~/.lyx/preferences" |
188 |
elog "or, read http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html" |
189 |
elog "for instructions on using lyx's own preferences dialog to equal effect." |
190 |
elog |
191 |
fi |
192 |
|
193 |
elog |
194 |
elog "This is not stable version of LyX. Expect bugs, crashes and further" |
195 |
elog "fileformat changes. Do not use it for production work." |
196 |
elog |
197 |
} |
198 |
|
199 |
pkg_postrm() { |
200 |
if use latex ; then |
201 |
texhash |
202 |
fi |
203 |
} |