Re: [Utopia] KDE Volume Manager



On Fri, 20 Aug 2004, David Zeuthen wrote:

> On Fri, 2004-08-20 at 13:34 +0200, Jerome Lodewyck wrote:
> > On Fri, 20 Aug 2004, David Zeuthen wrote:
> >
> > > Hi,
> > >
> > > (side item: care to point me to some (generic perhaps?) instructions on
> > > how to compile it? I'm staring at a configure.in.in and no autogen.sh
> > > etc. Thanks.)
> >
> > Actually, the CVS compiling intructions are in the README file. The
> > INSTALL file is for releases.
>
> Oh, but Makefile.cvs is missing.

This file should have appear when you cvs co -l kdenonbeta

> > However, compiling it requires some hacking
> > in the dbus-qt bindings because they do not provide main loop integration
> > (http://freedesktop.org/pipermail/dbus/2004-August/001449.html ). I will
> > try to make a complete patch tomorrow.
> >
>
> That would be cool, thanks.

I attached that patch, applicable in the qt directory of dbus. I will also
post it on the dbus list.

> Cool, I'll try to whack up a libhal-volume prototype, then we can take
> it from there. I'll post it to the hal list on freedesktop.org, that's
> more appropriate than here.

This is great !


Jérôme

? dbus-qt-mainloop.patch
Index: connection.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/connection.cpp,v
retrieving revision 1.9
diff -r1.9 connection.cpp
158a159,165
> void Connection::dbus_connection_setup_with_qt_main (DBusConnection *connection)
> {
>   d->setConnection( connection );
> }
> 
> 
> 
Index: connection.h
===================================================================
RCS file: /cvs/dbus/dbus/qt/connection.h,v
retrieving revision 1.9
diff -r1.9 connection.h
52a53
>     void dbus_connection_setup_with_qt_main (DBusConnection *connection);
Index: integrator.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/integrator.cpp,v
retrieving revision 1.4
diff -r1.4 integrator.cpp
165c165,168
<   Q_UNUSED( fd );
---
>   QIntDictIterator<Watch>	it( m_watches );
>   for ( ; it.current(); ++it )
>     dbus_watch_handle ( it.current()->watch, DBUS_WATCH_READABLE );
> 
171c174,176
<   Q_UNUSED( fd );
---
>   QIntDictIterator<Watch>       it( m_watches );
>   for ( ; it.current(); ++it )
>     dbus_watch_handle ( it.current()->watch, DBUS_WATCH_WRITABLE );


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