Bug 448549 - Cups doesn't use %find_lang for locale
Summary: Cups doesn't use %find_lang for locale
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-05-27 16:27 UTC by Nicolas Chauvet (kwizart)
Modified: 2008-05-27 16:51 UTC (History)
0 users

Clone Of:
Last Closed: 2008-05-27 16:51:21 UTC

Attachments (Terms of Use)

Description Nicolas Chauvet (kwizart) 2008-05-27 16:27:35 UTC
Description of problem:
Cups doesn't use %find_lang for locale.
This will make the package incompatible with the %_install_lang macro which
allow to only install the desired locale

Version-Release number of selected component (if applicable):
all version until current.

How reproducible: always

Actual results: cups only install a .po file into %{_datadir}/locale/%lang 
and load it via cups/langage.c
see l.717     
snprintf(filename, sizeof(filename), "%s/%s/cups_%s.po", cg->localedir,

Expected results: cups should use gettext to properly build localization and the
rpm spec file will have to use the %find_lang macro once done.

Additional info: the current svn version doesn't have any improvement about this

Comment 1 Tim Waugh 2008-05-27 16:51:21 UTC
This will never get upstream buy-in, and has been discussed before.

Note You need to log in before you can comment on or make changes to this bug.