KDE4: Making xdg-utils future-proof

Kevin Krammer kevin.krammer at gmx.at
Tue Aug 1 09:22:04 BST 2006


On Tuesday 01 August 2006 05:44, Waldo Bastian wrote:
> On Sunday 30 July 2006 09:30, Kevin Krammer wrote:
> > On Thursday 27 July 2006 04:53, Waldo Bastian wrote:
> > > Hi,
> > >
> > > In about two weeks I hope to release the first stable version of
> > > xdg-utils (1.0) [1]. It has been tested [2] with several versions of
> > > KDE 3 but it has not been tested with KDE 4. That's because KDE 4
> > > hasn't been released yet

[...]

> > > I would like to ask for a volunteer to do two things
> > > 1) make sure that xdg-utils 1.0 works with KDE 4
> >
> > I think this is not going to be possible, xdg-utils will need different
> > code paths for KDE4
>
> Different code paths are ok. It's just that those code paths should go in
> before we release 1.0. That way applications that start using xdg-utils
> will work with KDE4 from day one.

As a xdg-utils developer I am obviously in favor of it, however I think the 
time window is really close.

I am not sure how far the KDE4 development has come already, but from time to 
time it looks like there is still some porting going on and decision like new 
commandline tools or certain D-Bus interfaces are not yet on the time table.

For example we use kfmclient in the xdg-utils scripts, but I hope we can come 
up with a new, more describing name for KDE4.
(the GNOME folks use gnome-vfs-$action, e.g. gnome-vfs-copy)

Also using ktradertest for MIME type actions as we do now is more a hack than 
anything else, I'd like to see that replaced for KDE4 with something mor 
obvious :)

> > > 2) make sure that KDE 4 doesn't change in a way that breaks xdg-utils
> > > 1.0
> > >
> > > :-)
> >
> > I thought about it and IMHO the best option is to make sure that KDE4 is
> > not detected as KDE3. Since we currently "detect" KDE by checking if
> > KDE_FULL_SESSION is true, for example by setting KDE_FULL_SESSION to
> > "kde4"
>
> Yes, something like that. It's not really hard it just needs someone with a
> KDE4 build and someone who watches out that if we chose "kde4" now, it
> isn't changed to "KDE4" a week before KDE4 is released. (Or something
> equally silly)

Agreed, this part should be achievable pretty easily

> For those who are interested, the second beta is available from
> http://portland.freedesktop.org/download/xdg-utils-1.0beta2.tgz
> and includes a test suite. No compiling required :-)

Thank you for all the work you and Tom are putting into this

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060801/017270e1/attachment.sig>


More information about the kde-core-devel mailing list