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.5.4.ebuild
Date: Mon, 25 Feb 2008 22:54:46
Message-Id: E1JTmDW-0003ZG-Ho@stork.gentoo.org
1 aballier 08/02/25 22:54:38
2
3 Modified: ChangeLog
4 Added: lyx-1.5.4.ebuild
5 Log:
6 version bump, thanks Pavel
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.120 app-office/lyx/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.120&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?rev=1.120&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/ChangeLog?r1=1.119&r2=1.120
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v
19 retrieving revision 1.119
20 retrieving revision 1.120
21 diff -u -r1.119 -r1.120
22 --- ChangeLog 24 Feb 2008 17:51:44 -0000 1.119
23 +++ ChangeLog 25 Feb 2008 22:54:37 -0000 1.120
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-office/lyx
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.119 2008/02/24 17:51:44 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.120 2008/02/25 22:54:37 aballier Exp $
29 +
30 +*lyx-1.5.4 (25 Feb 2008)
31 +
32 + 25 Feb 2008; Alexis Ballier <aballier@g.o> +lyx-1.5.4.ebuild:
33 + version bump, thanks Pavel
34
35 24 Feb 2008; Brent Baude <ranger@g.o> lyx-1.4.4.ebuild:
36 Marking lyx-1.4.4 ppc64 for bug 209465
37
38
39
40 1.1 app-office/lyx/lyx-1.5.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.5.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/lyx/lyx-1.5.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: lyx-1.5.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 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.5.4.ebuild,v 1.1 2008/02/25 22:54:37 aballier Exp $
50
51 inherit qt4 eutils flag-o-matic font toolchain-funcs
52
53 MY_P="${P/_}"
54 S="${WORKDIR}/${MY_P}"
55 FONT_P="latex-xft-fonts-0.1"
56 FONT_S="${WORKDIR}/${FONT_P}"
57 DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
58 HOMEPAGE="http://www.lyx.org/"
59 SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
60 ftp://ftp.lyx.org/pub/lyx/contrib/${FONT_P}.tar.gz
61 linguas_he? (
62 http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind
63 http://cs.haifa.ac.il/~dekelts/lyx/files/preferences
64 )"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 #KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" # dev-tex/ivritex
70 IUSE="cups debug nls linguas_he latex"
71 RESTRICT="test"
72
73 RDEPEND="$(qt4_min_version 4.1.1)
74 x11-libs/libXrandr
75 x11-libs/libXcursor
76 x11-libs/libXrender
77 x11-libs/libXfixes
78 x11-libs/libXext
79 x11-libs/libSM
80 x11-libs/libICE
81 x11-libs/libX11
82 x11-libs/libXau
83 x11-libs/libXdmcp
84 media-gfx/imagemagick
85 media-libs/libpng
86 media-libs/fontconfig
87 media-libs/freetype
88 dev-libs/libxml2
89 app-text/aiksaurus
90 app-text/sgmltools-lite
91 virtual/aspell-dict
92 >=dev-lang/python-2.3.4
93 cups? ( virtual/lpr )
94 latex? (
95 virtual/latex-base
96 virtual/ghostscript
97 app-text/noweb
98 dev-tex/dvipost
99 dev-tex/chktex
100 || (
101 dev-tex/latex2html
102 dev-tex/tth
103 dev-tex/hevea
104 dev-tex/tex4ht
105 )
106 )
107 linguas_he? ( dev-tex/ivritex )"
108
109 DEPEND="${RDEPEND}
110 x11-proto/xproto
111 nls? ( sys-devel/gettext )"
112
113 src_unpack() {
114 unpack ${A}
115 cd "${S}"
116 # bug #125309
117 epatch "${FILESDIR}"/${PN}-1.5.0-gentoo.patch || die
118 }
119
120 src_compile() {
121 append-flags "$(test-flags -fno-stack-protector -fno-stack-protector-all)"
122 replace-flags "-Os" "-O2"
123 tc-export CXX
124
125 unset LINGUAS
126 econf \
127 $(use_enable nls) \
128 $(use_enable debug) \
129 --with-aspell || die "econf failed"
130 emake || die "emake failed"
131 }
132
133 src_install() {
134 local mylinguas="${LINGUAS}"
135
136 unset LINGUAS
137 emake DESTDIR="${D}" install || die "emake install failed"
138
139 LINGUAS="${mylinguas}"
140
141 dodoc ANNOUNCE ChangeLog NEWS README RELEASE-NOTES UPGRADING
142
143 if use linguas_he ; then
144 insinto /usr/share/lyx/bind
145 doins "${DISTDIR}"/hebrew.bind
146 dodoc "${DISTDIR}"/preferences
147 fi
148
149 domenu "${FILESDIR}"/lyx.desktop
150
151 # install the latex-xft fonts, which should fix
152 # the problems outlined in bug #15629
153 # <obz@g.o>
154 cd "${WORKDIR}"/${FONT_P}
155 emake DESTDIR="${D}" install || die "Font installation failed"
156
157 font_src_install
158
159 # fix for bug 91108
160 if use latex ; then
161 dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx
162 fi
163 }
164
165 pkg_postinst() {
166 font_pkg_postinst
167
168 # fix for bug 91108
169 if use latex ; then
170 texhash
171 fi
172
173 if use linguas_he ; then
174 elog
175 elog "How to use Hebrew in LyX:"
176 elog "bunzip2 /usr/share/doc/${PF}/preferences.bz2 into ~/.lyx/preferences"
177 elog "or, read http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html"
178 elog "for instructions on using lyx's own preferences dialog to equal effect."
179 elog
180 fi
181
182 elog
183 elog "There are known issues in the case of 1.4->1.5 config files transition."
184 elog "In case your File->Export list is incomplete try reconfiguring or even"
185 elog "remove the old configuration files in ~/.lyx ."
186 elog
187 }
188
189 pkg_postrm() {
190 if use latex ; then
191 texhash
192 fi
193 }
194
195
196
197 --
198 gentoo-commits@l.g.o mailing list