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_rc3.ebuild lyx-1.6.0_rc1.ebuild
Date: Tue, 30 Sep 2008 16:15:02
Message-Id: E1KkhsJ-0003o1-4U@stork.gentoo.org
1 aballier 08/09/30 16:14:59
2
3 Modified: ChangeLog
4 Added: lyx-1.6.0_rc3.ebuild
5 Removed: lyx-1.6.0_rc1.ebuild
6 Log:
7 version bump, thanks pavel
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
9
10 Revision Changes Path
11 1.147 app-office/lyx/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.147&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.147&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?r1=1.146&r2=1.147
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v
20 retrieving revision 1.146
21 retrieving revision 1.147
22 diff -u -r1.146 -r1.147
23 --- ChangeLog 2 Sep 2008 18:26:56 -0000 1.146
24 +++ ChangeLog 30 Sep 2008 16:14:58 -0000 1.147
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.146 2008/09/02 18:26:56 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.147 2008/09/30 16:14:58 aballier Exp $
30 +
31 +*lyx-1.6.0_rc3 (30 Sep 2008)
32 +
33 + 30 Sep 2008; Alexis Ballier <aballier@g.o> -lyx-1.6.0_rc1.ebuild,
34 + +lyx-1.6.0_rc3.ebuild:
35 + version bump, thanks pavel
36
37 02 Sep 2008; Alexis Ballier <aballier@g.o> lyx-1.4.4.ebuild:
38 depend on latex-base instead of virtual/tetex
39
40
41
42 1.1 app-office/lyx/lyx-1.6.0_rc3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.6.0_rc3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lyx-1.6.0_rc3.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_rc3.ebuild,v 1.1 2008/09/30 16:14:58 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.0rc3"
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 >=dev-libs/boost-1.34"
102
103 RDEPEND="${COMMONDEPEND}
104 media-gfx/imagemagick
105 cups? ( virtual/lpr )
106 latex? (
107 virtual/latex-base
108 virtual/ghostscript
109 app-text/noweb
110 dev-tex/dvipost
111 dev-tex/chktex
112 || (
113 dev-tex/latex2html
114 dev-tex/tth
115 dev-tex/hevea
116 dev-tex/tex4ht
117 )
118 )
119 html? ( dev-tex/html2latex )
120 rtf? (
121 dev-tex/latex2rtf
122 app-text/unrtf
123 dev-tex/html2latex
124 )
125 linguas_he? ( dev-tex/ivritex )
126 docbook? ( app-text/sgmltools-lite )
127 dot? ( media-gfx/graphviz )"
128
129 DEPEND="${COMMONDEPEND}
130 x11-proto/xproto
131 nls? ( sys-devel/gettext )"
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 }