Projects/KDE3 KDE4 coinstallability

From KDE TechBase
Revision as of 14:06, 11 November 2007 by Fabo (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Remaining KDE3/KDE4 coinstallability issues (kde3base + kde4libs + kdepimlibs + kdebase-runtime)

KDE3 Module KDE4 Module File Name Comments
kdelibs kdebase-runtime usr/bin/ksvgtopng

(sune) a dev tool, but iirc renamed by dfaure.

kdebase kdebase-runtime etc/xdg/menus/kde-information.menu
kdebase kdebase-runtime usr/share/desktop-directories/kde-information.directory
kdebase kdebase-runtime usr/bin/kdebugdialog

(sune) Seems to be a user application - append 4 ? (thiago) No. kdebugdialog modifies a shared config file: kdebugrc. You only need one application installed: no need for both from KDE 3 and 4.

I guess this is kdebase/applications instead (not workspace, not runtime). Except that distribution packagers are HIGHLY encouraged to install it.

kdebase kdebase-runtime usr/bin/khelpcenter
kdebase kdebase-runtime usr/bin/kinfocenter
kdebase kdebase-runtime usr/bin/kstart

(sune) user application to start programs with weird args. Append 4 ? (thiago) I guess not, since there might be user scripts out there that use it by name.

First of all, is this runtime material or workspace? I.e., does it work with other WMs than kwin?

Most of this application's options are related to the window placement, so how is it communicating that information to the Window Manager? If it's native WM hints, then either kstart would work just fine in either environment.

If it's using DCOP/D-Bus, then distributions will need to replace this with a shell script that detects the running environment and execs the correct one. Meaning: you need to rename the KDE 3 one too.

kdebase kdebase-runtime usr/bin/ktrash

(sune) trash handler helper. Seems to be used by kio trash. Append 4 ? move to libexec ? (thiago) It doesn't do anything when run here, so my guess is it's not a user application. Move to libexec.

kdebase kdebase-runtime usr/bin/kreadconfig and kwriteconfig

(sune) Related programs - but seems to be not used by anything else - append 4 ? (thiago) No. Overwrite the KDE 3 ones. See the other threads about KConfig issues: the new backend is more powerful and less prone to errors. It can handle saving and storing better, without corruption.

And it should technically be able to read and write KDE 3 config files too.

kdebase kdebase-runtime usr/share/icons/hicolor/*/apps/khelpcenter.png and knetattach.png

(sune) Can't kde3 versions be used by distributiotns? or are they planned to be moved away? (thiago) No idea. I have a vague memory that those icons weren't from the icon theme per se, but installed by applications. So we have to make sure that the Oxygen version of them exists and then simply remove the icon from application.

kdebase kdebase-runtime usr/share/locale/*

(sune) seems very much like the kde3 version. Maybe they could be used by distributions? (thiago) Yes, good idea. Move those to a separate package that is shared by both KDE 3 and 4.

kdebase kdebase-runtime usr/share/sounds/KDE_*.ogg

(sune) maybe kde3 versions could be used ? (thiago) Same as the icons above.