Missing sr_RS and sr...@latin Xlib locales

Bug #299841 reported by Горан Ракић
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libx11 (Debian)
Fix Released
Unknown
libx11 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

sr_RS locale is missing from locale.dir/locale.alias/compose.dir files.

It should have the same defs as sr_CS. Also please note that we have changed sr@Latn to sr@latin some time ago, so "@latin" modifier should be added to Xlib locale definition.

I don't know what is policy on this one, but support for obsolete sp, sr_CS and sr_YU may even be omitted from new releases. For some time now sr_RS locale is supported in glibc locale package and used as default for Serbian language (together with sr...@latin and legacy sr@...Latn).

This bug affects many applications that fallback to C locale due to missing Xlib locale. I am using Ubuntu Hardy but it is same in Intrepid.

Some examples include https://bugs.launchpad.net/ubuntu/+source/python2.5/+bug/194993 or other one http://bugs.winehq.org/show_bug.cgi?id=15860

Revision history for this message
Данило Шеган (danilo) wrote :

This might be faster to fix by submitting a patch to Debian (when it will be automatically picked up by Ubuntu when the package is synced). Anyway, we should make sure to fix this for Jaunty at least.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi grakic,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in libx11:
status: New → Incomplete
Revision history for this message
Горан Ракић (grakic) wrote :

Bryce, I have no idea how lspci output or my xorg.conf would help this bug report. Can you explain, please?

Revision history for this message
Горан Ракић (grakic) wrote :

Danilo, following your advice I've just submitted this bug report to Debian (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507940), but this should not be an excuse to not fix it in Ubuntu faster.

Revision history for this message
Горан Ракић (grakic) wrote :

Patch is available upstream at http://bugs.freedesktop.org/show_bug.cgi?id=11456

Can somebody integrate this, please?

Revision history for this message
Данило Шеган (danilo) wrote :

I'll try to find somebody to push this for us.

Changed in libx11:
status: Unknown → New
Bryce Harrington (bryce)
Changed in libx11 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Robert Hooker (sarvatt) wrote :

The fix was released a little over a month ago in karmic in this release:

libx11 (2:1.2.1-1ubuntu1) karmic; urgency=low

  * Fix 'locale not supported by XLib' errors for la locales.

 -- Robert Collins <email address hidden> Sun, 24 May 2009 02:33:17 +1000

Changed in libx11 (Ubuntu):
status: Confirmed → Fix Released
Changed in libx11 (Debian):
status: New → 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.