Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/lyx: ChangeLog lyx-1.6.0_rc4.ebuild lyx-1.6.0_rc2.ebuild
Date: Fri, 24 Oct 2008 08:39:42
Message-Id: E1KtICq-00074r-Se@stork.gentoo.org
1 aballier 08/10/24 08:39:40
2
3 Modified: ChangeLog
4 Added: lyx-1.6.0_rc4.ebuild
5 Removed: lyx-1.6.0_rc2.ebuild
6 Log:
7 bump to rc4, thanks Pavel.
8 (Portage version: 2.2_rc12/cvs/Linux 2.6.27.2 x86_64)
9
10 Revision Changes Path
11 1.148 app-office/lyx/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.148&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.148&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?r1=1.147&r2=1.148
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v
20 retrieving revision 1.147
21 retrieving revision 1.148
22 diff -u -r1.147 -r1.148
23 --- ChangeLog 30 Sep 2008 16:14:58 -0000 1.147
24 +++ ChangeLog 24 Oct 2008 08:39:40 -0000 1.148
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.147 2008/09/30 16:14:58 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.148 2008/10/24 08:39:40 aballier Exp $
30 +
31 +*lyx-1.6.0_rc4 (24 Oct 2008)
32 +
33 + 24 Oct 2008; Alexis Ballier <aballier@g.o> -lyx-1.6.0_rc2.ebuild,
34 + +lyx-1.6.0_rc4.ebuild:
35 + bump to rc4, thanks Pavel.
36
37 *lyx-1.6.0_rc3 (30 Sep 2008)
38
39
40
41
42 1.1 app-office/lyx/lyx-1.6.0_rc4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lyx-1.6.0_rc4.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_rc4.ebuild,v 1.1 2008/10/24 08:39:40 aballier Exp $
52
53 EAPI=1
54
55 inherit qt4 eutils flag-o-matic font 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/${P}.tar.bz2 #for stable release
65 #SRC_URI="http://www.lyx.org/~jamatos/lyx-1.6/${MY_P}.tar.bz2 #for betas
66 SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/pre/${MY_P}.tar.bz2
67 linguas_he? (
68 http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind
69 http://cs.haifa.ac.il/~dekelts/lyx/files/preferences
70 )"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
75 IUSE="cups debug nls latex monolithic-build html rtf dot docbook"
76 RESTRICT="test"
77
78 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"
79 for X in ${LANGS}; do
80 IUSE="${IUSE} linguas_${X}"
81 done
82
83 COMMONDEPEND="|| ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 )
84 x11-libs/libXrandr
85 x11-libs/libXcursor
86 x11-libs/libXrender
87 x11-libs/libXfixes
88 x11-libs/libXext
89 x11-libs/libSM
90 x11-libs/libICE
91 x11-libs/libX11
92 x11-libs/libXau
93 x11-libs/libXdmcp
94 dev-libs/libxml2
95 app-text/aiksaurus
96 virtual/aspell-dict
97 >=dev-lang/python-2.3.4
98 media-libs/fontconfig
99 media-libs/freetype
100 >=dev-libs/boost-1.34"
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
132 src_compile() {
133 tc-export CXX
134 #bug 221921
135 export VARTEXFONTS=${T}/fonts
136
137 if use monolithic-build ; then
138 MONOLITHIC=" --enable-monolithic-boost --enable-monolithic-client \
139 --enable-monolithic-insets --enable-monolithic-mathed \
140 --enable-monolithic-core --enable-monolithic-tex2lyx \
141 --enable-monolithic-frontend-qt4 "
142 fi
143
144 econf \
145 $(use_enable nls) \
146 $(use_enable debug) \
147 $MONOLITHIC \
148 --with-aspell --without-included-boost --disable-stdlib-debug
149 emake || die "emake failed"
150 }
151
152 src_install() {
153 emake DESTDIR="${D}" install || die "emake install failed"
154
155 dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt
156
157 if use linguas_he ; then
158 insinto /usr/share/lyx/bind
159 doins "${DISTDIR}"/hebrew.bind
160 dodoc "${DISTDIR}"/preferences
161 fi
162
163 doicon ${PN} "$S/development/Win32/packaging/icons/lyx_32x32.png"
164 make_desktop_entry ${PN} "LyX" "/usr/share/pixmaps/lyx_32x32.png" "Office"
165
166 # fix for bug 91108
167 if use latex ; then
168 dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx
169 fi
170
171 # fonts needed for proper math display, see also bug #15629
172 font_src_install
173 }
174
175 pkg_postinst() {
176 font_pkg_postinst
177
178 # fix for bug 91108
179 if use latex ; then
180 texhash
181 fi
182
183 if use linguas_he ; then
184 elog
185 elog "How to use Hebrew in LyX:"
186 elog "bunzip2 /usr/share/doc/${PF}/preferences.bz2 into ~/.lyx/preferences"
187 elog "or, read http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html"
188 elog "for instructions on using lyx's own preferences dialog to equal effect."
189 elog
190 fi
191
192 elog
193 elog "This is not stable version of LyX. Expect bugs, crashes and further"
194 elog "fileformat changes. Do not use it for production work."
195 elog
196 }
197
198 pkg_postrm() {
199 if use latex ; then
200 texhash
201 fi
202 }