Re: [Utopia] gnome-vfs HAL patch, take 3



On Wed, Jul 14, 2004 at 10:18:53AM +0200, Alexander Larsson wrote:
> On Tue, 2004-07-13 at 20:15, David Zeuthen wrote:
> > On Fri, 2004-07-09 at 11:26 +0200, Alexander Larsson wrote:
> > > What about the attached (untested) gnome-vfs-export-hal-udi.patch? It
> > > exports the hal udi as a string, whenever its availible. This lets
> > > nautilus recover UDI information from computer:// since the Drive/Volume
> > > id is availible in the desktop files there. This would make it easy to
> > > do things like adding emblems in nautilus.
> > > 
> > 
> > Ok, I just tried your patch, a slightly modified version is attached
> > with a ChangeLog entry for the changes. 
> 
> Cool. I checked it in.
> 

Thanks!

> >  [davidz ixus davidz]$ cat /tmp/nout |grep libhal
> >  open("/opt/gnome2/lib/libhal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
> >  open("/opt/gnome2/lib/libhal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
> >  open("/usr/lib/libhal.so.0", O_RDONLY)  = 3
> > 
> > and /opt/gnome2/bin/nautilus doesn't explicitly link with libhal. This
> > doesn't look right, does it?
> 
> Thats not surprising, nautilus links to libgnomevfs, and libgnomevfs to
> libhal, so it gets pulled in due to the DT_NEEDED. Is this a problem
> though?
> 

Dunno, I suspect that it would affect the footprint of each app
linkning with libgnomevfs? It also drags in libdbus, btw.

> It might be possible to move the daemon side code out of the core
> gnome-vfs library though.
>

That would be one solution. But if it's not a problem, it probably
shouldn't be fixed. Or something :-)

Cheers,
David



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