Cannot change language in khangman if kdelibs-data is not installed

Bug #374248 reported by Pelládi Gábor
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Fix Released
Medium
Unassigned
kdelibs (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Quoting from KDE 4's kdelibs not-installed file:
> # Files not installed because they conflict with current kdelibs-data:
> ./usr/share/locale/all_languages

This makes sense considering that KDE 3 and KDE 4 apps should be co-installable, however not at the cost of rendering KDE 4 apps partially useless in non-Kubuntu installations. That is completely insane and should be fixed in both Jaunty and Karmic.

KDEEdu and Games use all_languages _a lot_ not having it available in KDE 4's data is like really awful.

Proposed course of action to resolve this:
KARMIC
* Create a special package from the kde4libs sources (e.g. kdelibs5-data-lang)
* Drop all_languages from kdelibs-data
* Make kdelibs-data and kdelibs5-data both depend on the special package.

JAUNTY
* Make kdelibs5 depend on kdelibs-data (that is however very unSRUworthy ... additional solutions very much appreciated).

=======

This must be a packaging problem in Ubuntu Jaunty (GNOME), using khangman 4:4.2.2-0ubuntu1.

Without kdelibs-data 4:3.5.10.dfsg.1-1ubuntu8 installed: If I open the Languages menu, there is one entry called "None". After downloading a data file for a new language, e.g. Hungarian, there are two entries in the Languages menu, but both called "None". Selecting any of those two "None" labeled menu items, khangman thinks that I have selected the first one (probably because they are called the same), and switches to English. I cannot activate Hungarian in any way.

With kdelibs-data 4:3.5.10.dfsg.1-1ubuntu8 installed: If I open the Languages menu, there is one entry called "English". After downloading a data file for a new language, e.g. Hungarian, there are two entries in the Languages menu, one called "English" and one called "Hungarian". Selecting one works properly.

This behavior is strange, because as far as I know, kdelibs-data is a KDE 3 package. But as it seems, some part of it is used by a KDE4 application.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Yes, kdelibs-data is KDE 3.

Quoting from KDE 4's kdelibs not-installed file:
> # Files not installed because they conflict with current kdelibs-data:
> ./usr/share/locale/all_languages

This makes sense considering that KDE 3 and KDE 4 apps should be co-installable, however not at the cost of rendering KDE 4 apps partially useless in non-Kubuntu installations. That is completely insane and should be fixed in both Jaunty and Karmic.

KDEEdu and Games use all_languages _a lot_ not having it available in KDE 4's data is like really awful.

Proposed course of action to resolve this:
KARMIC
* Create a special package from the kde4libs sources (e.g. kdelibs5-data-lang)
* Drop all_languages from kdelibs-data
* Make kdelibs-data and kdelibs5-data both depend on the special package.

JAUNTY
* Make kdelibs5 depend on kdelibs-data (that is however very unSRUworthy ... additional solutions very much appreciated).

For Karmic the proposed solution is about the only sane one. It creates a diff from Debian (assuming they don't want to do that as well, which should be checked first), however only this way we have a 100% working solution that is maintainable and at little risk of causing upgrade issues (e.g. compared to dpkg-divert magic).

Changed in kdeedu (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
description: updated
affects: kdeedu (Ubuntu) → kde4libs (Ubuntu)
Changed in kdelibs (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Jonathan Riddell (jr) wrote :

I think we can just put all_languages into kdelibs5-data and have kdelibs-data depend on that. I'll work on this now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdelibs - 4:3.5.10.dfsg.1-2ubuntu2

---------------
kdelibs (4:3.5.10.dfsg.1-2ubuntu2) karmic; urgency=low

  * Do not install usr/share/locale/all_languages and add depends on
    kdelibs5-data, Closes LP: #374248

 -- Jonathan Riddell <email address hidden> Mon, 25 May 2009 11:27:40 +0100

Changed in kdelibs (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde4libs - 4:4.2.85-0ubuntu3

---------------
kde4libs (4:4.2.85-0ubuntu3) karmic; urgency=low

  * Install usr/share/locale/all_languages in kdelibs5-data.install
    and replace old kdelibs-data, Closes LP: #374248

 -- Jonathan Riddell <email address hidden> Mon, 25 May 2009 11:24:23 +0100

Changed in kde4libs (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.