From: Aleksey Novodvorsky <aen@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] gencat & POSIX locale
Date: Mon Jan 28 16:23:17 2002
Message-ID: <3C55555C.63EDFF0A@altlinux.ru> (raw)
In-Reply-To: <001401c1a618$7ee4bbf0$0d0aa8c0@437ntws>
Hi!
Anton Denisov wrote:
> Приветствую всех подписчиков листа рассылки Mandrake-russian!
>
> Возникла следующая проблема: собирал я тут недавно fluxbox и там для файлов
> перевода (nls *.m files) генерируется файл Translation.m из которого потом
> генерируется своеобразный хеш-файл с переводами blackbox.cat для его
> последующего использования самим fluxbox'ом (как эти файлы правильно
> называются я не знаю, но это не *.po файлы). Делается всё это командой вида
> gencat -o blacbox.cat Translation.m. А суть самой проблеммы в следующем: под
> обыкновенным пользователем с локалью KOI8-R эта процедура проходит нормально
> а под рутом с локалью POSIX (пакет rootfiles у меня из Сизифа) выводится
> куча сообщений вида Invalid character: message ignor и создаются
> некорректный файлы blackbox.cat в которых есть только англоязычные сообщения
> fluxbox'а. Я так понимаю что дело именно в различной локали у пользователя и
> рута. И что самое интересное, я подумал что мне это не помешает сделать
> rpm'ку fluxbox'а - взял spek от blackbox'а AEN'овской сборки, подправил его
> и сказал rpm -ba fluxbox.spec от пользователя с локалью KOI8-R, включённого
> в группу rpm, однако на том этапе сборки, когда происходит configure я
> увидел знакомые сообщения Invalid character: message ignor. Это что же
> получается, когда я собираю rpm'ку то я выступаю для программы gencat как
> root ? man'а по gencat'у нет, а gencat --help ничего про зависимость от
> локали не говорит ;-( Так и что делать ??
Спасибо за обнаруженную ошибку и абсолютно верную диагностику. Помогает патч,
вставляющий перед каждым
gencat ....
LANG=ru_RU.KOI8-R gencat ...
и так для разных locales.
Кажется, исправлено в alt4, который будет сегодня вечером MSK. Заодно отделены
koi8-r и cp1251.
Rgrds, AEN
next prev parent reply other threads:[~2002-01-28 16:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-26 6:15 ` Anton Denisov
2002-01-28 16:23 ` Aleksey Novodvorsky [this message]
2002-01-26 6:15 ` Anton Denisov
2002-01-26 6:15 ` Anton Denisov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C55555C.63EDFF0A@altlinux.ru \
--to=aen@altlinux.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git