Re: Bump Avahi external dependency



Il giorno lun, 14/01/2008 alle 21.03 +0100, Cosimo Cecchi ha scritto:
> Hi everyone,
> yesterday I committed a patch for Epiphany which drops gnome-vfs
> dependency and picks up the new gio API from glib 2.15.
> Epiphany used GnomeVFSDNSSD to discover local network servers via
> Zeroconf, and I replaced that code using the avahi-gobject binding,
> available from version 0.6.22. As the minimum avahi version listed in
> the external dependencies page is 0.6.17, should we bump it to 0.6.22?
> Note that the dependency is optional, as the Avahi code in Epiphany can
> be turned off with a configure switch.

Note 1: avahi 0.6.17 was release on February 2007, there was a lot of
bugfixes in this year...

Note 2: switching to avahi-0.6.22 will need to update libdaemon: blessed
0.10 (Nov 2005), needed >= 0.11 (Jun 2007), current 0.12 (Jul 2007).

Changes in libdaemon:
        
        0.11: automatically detect whether lynx is installed; properly
        set errno on every error condition; add new function
        daemon_close_all() to close all open file descriptors except a
        given set; add daemon_logv(), which is identical to
        daemon_log(), but takes a va_list argument; add daemon_execv()
        in similar style; other fixes
        
        0.12: changes include: make daemon_close_all() actually work
        properly
        
Changes in avahi:

        * a lot (really, lot) of bugfixing and a local DoS vulnerability
        * new libavahi-ui, "contains a standard Gtk dialog for browsing
        for services, and a new tool "zssh" that makes use of it, which
        allows browsing for SSH and VNC servers and starts ssh or
        xvncviewer if one item is selected." From avahi 0.6.18
        * new libavahi-gobject: "a GObjectified version of the Avahi
        API" from 0.6.22
        * i18n support - from 0.6.22 (well, by now there are no
        translations available...)
        
Personal opinion: I think it's better update the dependence, there are
benefits for both users and developers, and it's needed to avoid feature
regression in our Web browser.

jhbuild patch is attached.
Index: modulesets/gnome-external-deps-2.22.modules
===================================================================
--- modulesets/gnome-external-deps-2.22.modules	(revisione 1818)
+++ modulesets/gnome-external-deps-2.22.modules	(copia locale)
@@ -5,9 +5,9 @@
 
   <!-- explicit disabling of qt3 and qt4 can be removed once avahi
        correctly detects what is available. -->
-  <tarball autogenargs="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-manpages --disable-python --enable-compat-howl --enable-compat-libdns_sd" id="avahi" version="0.6.17">
-    <source href="http://avahi.org/download/avahi-0.6.17.tar.gz";
-            md5sum="29ebb2181958d5721ee5fc45f035a77c" size="927202"/>
+  <tarball autogenargs="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-manpages --disable-python --enable-compat-howl --enable-compat-libdns_sd" id="avahi" version="0.6.22">
+    <source href="http://www.avahi.org/download/avahi-0.6.22.tar.gz";
+            md5sum="c84b1a8a23126e188426728710414dc8" size=" 1199901"/>
     <dependencies>
       <dep package="libdaemon"/>
       <dep package="dbus-python"/>
@@ -149,9 +149,9 @@
     </dependencies>
   </tarball>
 
-  <tarball id="libdaemon" version="0.10">
-    <source href="http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.10.tar.gz";
-            md5sum="6812a5e4063b5016f25e9a0cebbd3dd9" size="345084"/>
+  <tarball id="libdaemon" version="0.12">
+    <source href="http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.12.tar.gz";
+            md5sum="76596823cc1a6d1cdf7779b782ff0ee6" size="355167"/>
   </tarball>
 
   <tarball id="libgpg-error" version="1.4">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]