Projects/KDE3 KDE4 coinstallability: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 10: Line 10:
|-----
|-----
|| kdelibs || kdebase-runtime || usr/bin/ksvgtopng ||
|| kdelibs || kdebase-runtime || usr/bin/ksvgtopng ||
(sune) a dev tool, but iirc renamed by dfaure.
*(sune) a dev tool, but iirc renamed by dfaure.
|-----
|-----
|| kdebase || kdebase-runtime || etc/xdg/menus/kde-information.menu ||  
|| kdebase || kdebase-runtime || etc/xdg/menus/kde-information.menu ||  
Line 17: Line 17:
|-----
|-----
|| kdebase || kdebase-runtime || usr/bin/kdebugdialog ||
|| kdebase || kdebase-runtime || usr/bin/kdebugdialog ||
(sune) Seems to be a user application - append 4 ?
*(sune) Seems to be a user application - append 4 ?
(thiago) No. kdebugdialog modifies a shared config file: kdebugrc. You only need one  
*(thiago) No. kdebugdialog modifies a shared config file: kdebugrc. You only need one  
application installed: no need for both from KDE 3 and 4.
application installed: no need for both from KDE 3 and 4.


Line 29: Line 29:
|-----
|-----
|| kdebase || kdebase-runtime || usr/bin/kstart ||
|| kdebase || kdebase-runtime || usr/bin/kstart ||
(sune) user application to start programs with weird args. Append 4 ?
*(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.
*(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  
First of all, is this runtime material or workspace? I.e., does it work with  
Line 44: Line 44:
|-----
|-----
|| kdebase || kdebase-runtime || usr/bin/ktrash ||
|| kdebase || kdebase-runtime || usr/bin/ktrash ||
(sune) trash handler helper. Seems to be used by kio trash. Append 4 ? move to libexec ?
*(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  
*(thiago) It doesn't do anything when run here, so my guess is it's not a user  
application. Move to libexec.
application. Move to libexec.
|-----
|-----
|| kdebase || kdebase-runtime || usr/bin/kreadconfig and kwriteconfig ||
|| kdebase || kdebase-runtime || usr/bin/kreadconfig and kwriteconfig ||
(sune) Related programs - but seems to be not used by anything else - append 4 ?
*(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  
*(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  
new backend is more powerful and less prone to errors. It can handle saving  
and storing better, without corruption.
and storing better, without corruption.
Line 57: Line 57:
|-----
|-----
|| kdebase || kdebase-runtime || usr/share/icons/hicolor/*/apps/khelpcenter.png and knetattach.png ||
|| 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  
*(sune) Can't kde3 versions be used by distributiotns? or are they planned to be moved  
away?
away?
(thiago) No idea. I have a vague memory that those icons weren't from the icon theme  
*(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  
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  
Oxygen version of them exists and then simply remove the icon from  
Line 65: Line 65:
|-----
|-----
|| kdebase || kdebase-runtime || usr/share/locale/*  ||
|| kdebase || kdebase-runtime || usr/share/locale/*  ||
(sune) seems very much like the kde3 version. Maybe  
*(sune) seems very much like the kde3 version. Maybe  
they could be used by distributions?
they could be used by distributions?
(thiago) Yes, good idea. Move those to a separate package that is shared by both KDE 3  
*(thiago) Yes, good idea. Move those to a separate package that is shared by both KDE 3  
and 4.
and 4.
|-----
|-----
|| kdebase || kdebase-runtime || usr/share/sounds/KDE_*.ogg  ||
|| kdebase || kdebase-runtime || usr/share/sounds/KDE_*.ogg  ||
(sune) maybe kde3 versions could be used ?
*(sune) maybe kde3 versions could be used ?
(thiago) Same as the icons above.
*(thiago) Same as the icons above.
|}
|}

Revision as of 14:08, 11 November 2007

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.