Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xaos: ChangeLog metadata.xml xaos-3.4-r1.ebuild
Date: Sat, 28 Mar 2009 12:55:33
Message-Id: E1LnY4Q-0003AL-RD@stork.gentoo.org
1 bicatali 09/03/28 12:55:30
2
3 Modified: ChangeLog metadata.xml
4 Added: xaos-3.4-r1.ebuild
5 Log:
6 Fixed for forced stripping (bug #252099), png magic (bug #263310), added gtk driver, desktop files, and some patch from debian
7 (Portage version: 2.2_rc27/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.29 x11-misc/xaos/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xaos/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 31 Jul 2008 22:36:54 -0000 1.28
23 +++ ChangeLog 28 Mar 2009 12:55:30 -0000 1.29
24 @@ -1,6 +1,15 @@
25 # ChangeLog for x11-misc/xaos
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xaos/ChangeLog,v 1.28 2008/07/31 22:36:54 markusle Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xaos/ChangeLog,v 1.29 2009/03/28 12:55:30 bicatali Exp $
30 +
31 +*xaos-3.4-r1 (28 Mar 2009)
32 +
33 + 28 Mar 2009; Sébastien Fabbro <bicatali@g.o>
34 + +files/xaos-3.4-include.patch, +files/xaos-3.4-makefile.patch,
35 + +files/xaos-3.4-png.patch, +files/xaos-3.4-x11.patch, +files/xaos.png,
36 + metadata.xml, +xaos-3.4-r1.ebuild:
37 + Fixed for forced stripping (bug #252099), png magic (bug #263310), added
38 + gtk driver, desktop files, and some patch from debian
39
40 31 Jul 2008; Markus Dittrich <markusle@g.o> xaos-3.4.ebuild:
41 Force the use of sci-libs/gsl to avoid accidental generation of x86
42
43
44
45 1.2 x11-misc/xaos/metadata.xml
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/metadata.xml?rev=1.2&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/metadata.xml?rev=1.2&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/metadata.xml?r1=1.1&r2=1.2
50
51 Index: metadata.xml
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xaos/metadata.xml,v
54 retrieving revision 1.1
55 retrieving revision 1.2
56 diff -u -r1.1 -r1.2
57 --- metadata.xml 8 Jan 2004 02:42:13 -0000 1.1
58 +++ metadata.xml 28 Mar 2009 12:55:30 -0000 1.2
59 @@ -2,4 +2,12 @@
60 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
61 <pkgmetadata>
62 <herd>sci</herd>
63 +<longdescription lang="en">
64 + XaoS is a fast, portable real-time interactive fractal zoomer. It
65 + displays the Mandelbrot set (among other escape time fractals) and
66 + allows you zoom smoothly into the fractal. Various coloring modes are
67 + provided for both the points inside and outside the selected set. XaoS
68 + supports switching between Julia and Mandelbrot fractal types and
69 + on-the-fly plane switching.
70 +</longdescription>
71 </pkgmetadata>
72
73
74
75 1.1 x11-misc/xaos/xaos-3.4-r1.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/xaos-3.4-r1.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xaos/xaos-3.4-r1.ebuild?rev=1.1&content-type=text/plain
79
80 Index: xaos-3.4-r1.ebuild
81 ===================================================================
82 # Copyright 1999-2009 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xaos/xaos-3.4-r1.ebuild,v 1.1 2009/03/28 12:55:30 bicatali Exp $
85
86 EAPI=2
87 inherit eutils autotools
88
89 MY_PN=XaoS
90 MY_P=${MY_PN}-${PV}
91
92 DESCRIPTION="A very fast real-time fractal zoomer"
93 HOMEPAGE="http://xaos.sf.net/"
94 SRC_URI="mirror://sourceforge/xaos/${MY_P}.tar.gz"
95
96 SLOT="0"
97 LICENSE="GPL-2"
98 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
99 IUSE="aalib doc gtk nls png svga threads X"
100
101 RDEPEND="sys-libs/zlib
102 sci-libs/gsl
103 aalib? ( media-libs/aalib )
104 gtk? ( >=x11-libs/gtk+-2 )
105 png? ( media-libs/libpng )
106 svga? ( media-libs/svgalib )
107 X? ( x11-libs/libX11
108 x11-libs/libXxf86dga
109 x11-libs/libXext
110 x11-libs/libXxf86vm )"
111 # xaos has ggi support, but it doesn't build
112 # ggi? ( media-libs/libggi )
113
114 DEPEND="${RDEPEND}
115 dev-util/pkgconfig
116 doc? ( virtual/latex-base )
117 X? ( x11-proto/xf86vidmodeproto
118 x11-proto/xextproto
119 x11-proto/xf86dgaproto
120 x11-proto/xproto )"
121
122 S="${WORKDIR}/${MY_P}"
123
124 src_prepare() {
125 epatch "${FILESDIR}"/${P}-makefile.patch
126 epatch "${FILESDIR}"/${P}-png.patch
127 epatch "${FILESDIR}"/${P}-include.patch
128 epatch "${FILESDIR}"/${P}-x11.patch
129 eautoreconf
130 }
131
132 src_configure() {
133 # use gsl and not nasm (see bug #233318)
134 econf \
135 --with-sffe=yes \
136 --with-ggi-driver=no \
137 --with-i386asm=no \
138 --with-gsl=yes \
139 $(use_enable nls) \
140 $(use_with png) \
141 $(use_with aalib aa-driver) \
142 $(use_with gtk gtk-driver) \
143 $(use_with svga svga-driver) \
144 $(use_with threads pthread) \
145 $(use_with X x11-driver) \
146 $(use_with X x)
147 }
148
149 src_compile() {
150 emake || die "emake failed"
151 if use doc; then
152 cd "${S}"/doc
153 emake xaos.dvi || die
154 dvipdf xaos.dvi || die
155 cd "${S}"/help
156 emake html || die
157 fi
158 }
159
160 src_install() {
161 emake DESTDIR="${D}" install || die "emake install failed"
162 dodoc ChangeLog* TODO RELEASE_NOTES \
163 doc/README{,.bugs} doc/{AUTHORS,PROBLEMS,SPONSORS}
164 if use doc; then
165 insinto /usr/share/doc/${PF}
166 doins doc/xaos.pdf || die
167 dohtml help/* || die
168 fi
169 local driver="x11"
170 use gtk && driver="\"GTK+ Driver\""
171 make_desktop_entry "xaos -driver ${driver}" "XaoS Fractal Zoomer" \
172 xaos "Application;Education;Math;Graphics;"
173 doicon "${FILESDIR}"/${PN}.png
174 }