Gentoo Archives: gentoo-commits

From: "Sven Wegener (swegener)" <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/avahi: avahi-0.6.22.ebuild ChangeLog avahi-0.6.19-r2.ebuild avahi-0.6.20-r2.ebuild avahi-0.6.21.ebuild avahi-0.6.22-r1.ebuild
Date: Thu, 03 Jan 2008 17:53:22
Message-Id: E1JAUFj-0006En-9A@stork.gentoo.org
1 swegener 08/01/03 17:53:11
2
3 Modified: avahi-0.6.22.ebuild ChangeLog
4 avahi-0.6.19-r2.ebuild avahi-0.6.20-r2.ebuild
5 avahi-0.6.21.ebuild
6 Added: avahi-0.6.22-r1.ebuild
7 Log:
8 Adjust gtk-sharp dependency, bug #203610. Add intltool dependency, bug #203369. Add automake patch submitted to upstream, bug #202968.
9 (Portage version: 2.1.3.19)
10
11 Revision Changes Path
12 1.3 net-dns/avahi/avahi-0.6.22.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild?r1=1.2&r2=1.3
17
18 Index: avahi-0.6.22.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- avahi-0.6.22.ebuild 1 Jan 2008 19:57:12 -0000 1.2
25 +++ avahi-0.6.22.ebuild 3 Jan 2008 17:53:10 -0000 1.3
26 @@ -1,6 +1,6 @@
27 # Copyright 2000-2008 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild,v 1.2 2008/01/01 19:57:12 swegener Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.22.ebuild,v 1.3 2008/01/03 17:53:10 swegener Exp $
31
32 inherit eutils mono python qt3 qt4 multilib
33
34 @@ -37,7 +37,7 @@
35 )
36 mono? (
37 >=dev-lang/mono-1.1.10
38 - gtk? ( dev-dotnet/gtk-sharp )
39 + gtk? ( >=dev-dotnet/gtk-sharp-2 )
40 )
41 howl-compat? ( !net-misc/howl )
42 mdnsresponder-compat? ( !net-misc/mDNSResponder )
43 @@ -52,6 +52,7 @@
44 kernel_linux? ( sys-libs/libcap )
45 !net-misc/mDNSResponder"
46 DEPEND="${RDEPEND}
47 + >=dev-util/intltool-0.35
48 >=dev-util/pkgconfig-0.9.0
49 doc? (
50 app-doc/doxygen
51
52
53
54 1.134 net-dns/avahi/ChangeLog
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/ChangeLog?rev=1.134&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/ChangeLog?rev=1.134&content-type=text/plain
58 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/ChangeLog?r1=1.133&r2=1.134
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v
63 retrieving revision 1.133
64 retrieving revision 1.134
65 diff -u -r1.133 -r1.134
66 --- ChangeLog 1 Jan 2008 19:57:12 -0000 1.133
67 +++ ChangeLog 3 Jan 2008 17:53:10 -0000 1.134
68 @@ -1,6 +1,15 @@
69 # ChangeLog for net-dns/avahi
70 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.133 2008/01/01 19:57:12 swegener Exp $
72 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.134 2008/01/03 17:53:10 swegener Exp $
73 +
74 +*avahi-0.6.22-r1 (03 Jan 2008)
75 +
76 + 03 Jan 2008; Sven Wegener <swegener@g.o>
77 + +files/avahi-0.6.22-gobject.patch, files/avahi-0.6.22-vncviewer.patch,
78 + avahi-0.6.19-r2.ebuild, avahi-0.6.20-r2.ebuild, avahi-0.6.21.ebuild,
79 + avahi-0.6.22.ebuild, +avahi-0.6.22-r1.ebuild:
80 + Adjust gtk-sharp dependency, bug #203610. Add intltool dependency, bug
81 + #203369. Add automake patch submitted to upstream, bug #202968.
82
83 01 Jan 2008; Sven Wegener <swegener@g.o> avahi-0.6.19-r2.ebuild,
84 avahi-0.6.20-r2.ebuild, avahi-0.6.21.ebuild, avahi-0.6.22.ebuild:
85
86
87
88 1.7 net-dns/avahi/avahi-0.6.19-r2.ebuild
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild?rev=1.7&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild?rev=1.7&content-type=text/plain
92 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild?r1=1.6&r2=1.7
93
94 Index: avahi-0.6.19-r2.ebuild
95 ===================================================================
96 RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild,v
97 retrieving revision 1.6
98 retrieving revision 1.7
99 diff -u -r1.6 -r1.7
100 --- avahi-0.6.19-r2.ebuild 1 Jan 2008 19:57:12 -0000 1.6
101 +++ avahi-0.6.19-r2.ebuild 3 Jan 2008 17:53:10 -0000 1.7
102 @@ -1,6 +1,6 @@
103 # Copyright 1999-2008 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild,v 1.6 2008/01/01 19:57:12 swegener Exp $
106 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild,v 1.7 2008/01/03 17:53:10 swegener Exp $
107
108 WANT_AUTOMAKE="1.9"
109 WANT_AUTOCONF="none"
110 @@ -40,7 +40,7 @@
111 )
112 mono? (
113 >=dev-lang/mono-1.1.10
114 - gtk? ( dev-dotnet/gtk-sharp )
115 + gtk? ( >=dev-dotnet/gtk-sharp-2 )
116 )
117 howl-compat? ( !net-misc/howl )
118 mdnsresponder-compat? ( !net-misc/mDNSResponder )
119 @@ -55,6 +55,7 @@
120 kernel_linux? ( sys-libs/libcap )
121 !net-misc/mDNSResponder"
122 DEPEND="${RDEPEND}
123 + >=dev-util/intltool-0.35
124 >=dev-util/pkgconfig-0.9.0
125 doc? (
126 app-doc/doxygen
127
128
129
130 1.7 net-dns/avahi/avahi-0.6.20-r2.ebuild
131
132 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild?rev=1.7&view=markup
133 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild?rev=1.7&content-type=text/plain
134 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild?r1=1.6&r2=1.7
135
136 Index: avahi-0.6.20-r2.ebuild
137 ===================================================================
138 RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild,v
139 retrieving revision 1.6
140 retrieving revision 1.7
141 diff -u -r1.6 -r1.7
142 --- avahi-0.6.20-r2.ebuild 1 Jan 2008 19:57:12 -0000 1.6
143 +++ avahi-0.6.20-r2.ebuild 3 Jan 2008 17:53:10 -0000 1.7
144 @@ -1,6 +1,6 @@
145 # Copyright 2000-2008 Gentoo Foundation
146 # Distributed under the terms of the GNU General Public License v2
147 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild,v 1.6 2008/01/01 19:57:12 swegener Exp $
148 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild,v 1.7 2008/01/03 17:53:10 swegener Exp $
149
150 WANT_AUTOMAKE="1.9"
151 WANT_AUTOCONF="none"
152 @@ -40,7 +40,7 @@
153 )
154 mono? (
155 >=dev-lang/mono-1.1.10
156 - gtk? ( dev-dotnet/gtk-sharp )
157 + gtk? ( >=dev-dotnet/gtk-sharp-2 )
158 )
159 howl-compat? ( !net-misc/howl )
160 mdnsresponder-compat? ( !net-misc/mDNSResponder )
161 @@ -55,6 +55,7 @@
162 kernel_linux? ( sys-libs/libcap )
163 !net-misc/mDNSResponder"
164 DEPEND="${RDEPEND}
165 + >=dev-util/intltool-0.35
166 >=dev-util/pkgconfig-0.9.0
167 doc? (
168 app-doc/doxygen
169
170
171
172 1.11 net-dns/avahi/avahi-0.6.21.ebuild
173
174 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild?rev=1.11&view=markup
175 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild?rev=1.11&content-type=text/plain
176 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild?r1=1.10&r2=1.11
177
178 Index: avahi-0.6.21.ebuild
179 ===================================================================
180 RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild,v
181 retrieving revision 1.10
182 retrieving revision 1.11
183 diff -u -r1.10 -r1.11
184 --- avahi-0.6.21.ebuild 1 Jan 2008 19:57:12 -0000 1.10
185 +++ avahi-0.6.21.ebuild 3 Jan 2008 17:53:10 -0000 1.11
186 @@ -1,6 +1,6 @@
187 # Copyright 2000-2008 Gentoo Foundation
188 # Distributed under the terms of the GNU General Public License v2
189 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild,v 1.10 2008/01/01 19:57:12 swegener Exp $
190 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.21.ebuild,v 1.11 2008/01/03 17:53:10 swegener Exp $
191
192 inherit eutils mono python qt3 qt4 multilib
193
194 @@ -37,7 +37,7 @@
195 )
196 mono? (
197 >=dev-lang/mono-1.1.10
198 - gtk? ( dev-dotnet/gtk-sharp )
199 + gtk? ( >=dev-dotnet/gtk-sharp-2 )
200 )
201 howl-compat? ( !net-misc/howl )
202 mdnsresponder-compat? ( !net-misc/mDNSResponder )
203 @@ -52,6 +52,7 @@
204 kernel_linux? ( sys-libs/libcap )
205 !net-misc/mDNSResponder"
206 DEPEND="${RDEPEND}
207 + >=dev-util/intltool-0.35
208 >=dev-util/pkgconfig-0.9.0
209 doc? (
210 app-doc/doxygen
211
212
213
214 1.1 net-dns/avahi/avahi-0.6.22-r1.ebuild
215
216 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.22-r1.ebuild?rev=1.1&view=markup
217 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/avahi/avahi-0.6.22-r1.ebuild?rev=1.1&content-type=text/plain
218
219 Index: avahi-0.6.22-r1.ebuild
220 ===================================================================
221 # Copyright 2000-2008 Gentoo Foundation
222 # Distributed under the terms of the GNU General Public License v2
223 # $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.22-r1.ebuild,v 1.1 2008/01/03 17:53:10 swegener Exp $
224
225 WANT_AUTOMAKE="1.9"
226 WANT_AUTOCONF="none"
227
228 inherit eutils mono python qt3 qt4 multilib autotools
229
230 DESCRIPTION="System which facilitates service discovery on a local network"
231 HOMEPAGE="http://avahi.org/"
232 SRC_URI="http://avahi.org/download/${P}.tar.gz"
233
234 LICENSE="LGPL-2.1"
235 SLOT="0"
236 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
237 IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd kernel_linux test ipv6"
238
239 RDEPEND=">=dev-libs/libdaemon-0.11-r1
240 dev-libs/expat
241 >=dev-libs/glib-2
242 gdbm? ( sys-libs/gdbm )
243 qt3? ( $(qt_min_version 3.3.6-r2) )
244 qt4? ( $(qt4_min_version 4) )
245 gtk? (
246 >=x11-libs/gtk+-2.4.0
247 >=gnome-base/libglade-2.4.0
248 )
249 dbus? (
250 >=sys-apps/dbus-0.30
251 python? (
252 || (
253 dev-python/dbus-python
254 (
255 <sys-apps/dbus-0.90
256 >=sys-apps/dbus-0.30
257 )
258 )
259 )
260 )
261 mono? (
262 >=dev-lang/mono-1.1.10
263 gtk? ( >=dev-dotnet/gtk-sharp-2 )
264 )
265 howl-compat? ( !net-misc/howl )
266 mdnsresponder-compat? ( !net-misc/mDNSResponder )
267 python? (
268 >=virtual/python-2.4
269 gtk? ( >=dev-python/pygtk-2 )
270 )
271 bookmarks? (
272 dev-python/twisted
273 dev-python/twisted-web
274 )
275 kernel_linux? ( sys-libs/libcap )
276 !net-misc/mDNSResponder"
277 DEPEND="${RDEPEND}
278 >=dev-util/intltool-0.35
279 >=dev-util/pkgconfig-0.9.0
280 doc? (
281 app-doc/doxygen
282 mono? ( >=dev-util/monodoc-1.1.8 )
283 )"
284
285 pkg_setup() {
286 if use python && ! built_with_use dev-lang/python gdbm
287 then
288 die "For python support you need dev-lang/python compiled with gdbm support!"
289 fi
290
291 if use python && use dbus && ! has_version dev-python/dbus-python && ! built_with_use sys-apps/dbus python
292 then
293 die "For python and dbus support you need sys-apps/dbus compiled with python support or dev-python/dbus-python!"
294 fi
295
296 if ( use mdnsresponder-compat || use howl-compat || use mono ) && ! use dbus
297 then
298 die "For *-compat or mono support you also need to enable the dbus USE flag!"
299 fi
300
301 if use bookmarks && ! ( use python && use dbus && use gtk )
302 then
303 die "For bookmarks support you also need to enable the python, dbus and gtk USE flags!"
304 fi
305 }
306
307 pkg_preinst() {
308 enewgroup netdev
309 enewgroup avahi
310 enewuser avahi -1 -1 -1 avahi
311
312 if use autoipd
313 then
314 enewgroup avahi-autoipd
315 enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
316 fi
317 }
318
319 src_unpack() {
320 unpack ${A}
321 cd "${S}"
322
323 epatch "${FILESDIR}"/${P}-vncviewer.patch
324 epatch "${FILESDIR}"/${P}-gobject.patch
325
326 eautomake
327
328 use ipv6 && sed -i -e s/use-ipv6=no/use-ipv6=yes/ avahi-daemon/avahi-daemon.conf
329
330 sed -i -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" doxygen_to_devhelp.xsl
331 }
332
333 src_compile() {
334 local myconf=""
335
336 if use python
337 then
338 use dbus && myconf="${myconf} --enable-python-dbus"
339 use gtk && myconf="${myconf} --enable-pygtk"
340 fi
341
342 if use mono && use doc
343 then
344 myconf="${myconf} --enable-monodoc"
345 fi
346
347 # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
348 unset DISPLAY
349
350 econf \
351 --localstatedir=/var \
352 --with-distro=gentoo \
353 --disable-python-dbus \
354 --disable-pygtk \
355 --disable-xmltoman \
356 --disable-monodoc \
357 --enable-glib \
358 $(use_enable test tests) \
359 $(use_enable autoipd) \
360 $(use_enable mdnsresponder-compat compat-libdns_sd) \
361 $(use_enable howl-compat compat-howl) \
362 $(use_enable doc doxygen-doc) \
363 $(use_enable mono) \
364 $(use_enable dbus) \
365 $(use_enable python) \
366 $(use_enable gtk) \
367 $(use_enable qt3) \
368 $(use_enable qt4) \
369 $(use_enable gdbm) \
370 ${myconf} \
371 || die "econf failed"
372 emake || die "emake failed"
373
374 use doc && emake avahi.devhelp
375 }
376
377 src_install() {
378 emake install py_compile=true DESTDIR="${D}" || die "make install failed"
379 use bookmarks || rm -f "${D}"/usr/bin/avahi-bookmarks
380
381 use howl-compat && ln -s avahi-compat-howl.pc "${D}"/usr/$(get_libdir)/pkgconfig/howl.pc
382 use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${D}"/usr/include/dns_sd.h
383
384 if use autoipd
385 then
386 insinto /$(get_libdir)/rcscripts/net
387 doins "${FILESDIR}"/autoipd.sh
388 fi
389
390 dodoc docs/{AUTHORS,README,TODO}
391
392 if use doc
393 then
394 dohtml -r doxygen/html/.
395 insinto /usr/share/devhelp/books/avahi
396 doins avahi.devhelp
397 fi
398 }
399
400 pkg_postrm() {
401 use python && python_mod_cleanup
402 }
403
404 pkg_postinst() {
405 use python && python_mod_optimize "${ROOT}"/usr/lib*/python*/site-packages/avahi
406
407 if use autoipd
408 then
409 elog
410 elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
411 elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
412 elog
413 fi
414
415 if use dbus
416 then
417 elog
418 elog "If this is your first install of avahi please reload your dbus config"
419 elog "with /etc/init.d/dbus reload before starting avahi-daemon!"
420 elog
421 fi
422 }
423
424
425
426 --
427 gentoo-commits@g.o mailing list