ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Semushin Slava <php-coder@ngs.ru>
To: devel@lists.altlinux.org
Subject: [devel] %find_lang --with-man
Date: Fri, 24 Mar 2006 09:06:07 +0600
Message-ID: <20060324030607.GA6412@semushin.plesk.ru> (raw)


    Здравствуйте!

    Захотелось мне заворачивать локализованные ман-страницы
    автоматизированно. И вроде как %find_lang мне в этом может помочь. Но
    вот проблема: он ищет также и обычные ман-страницы, причем в моём
    случае ещё и не все. Продемонстрирую на примере пакета fluxbox, создав
    подобную иерархию:

    [c0der@rock ~/hier]$ tree
    .
    `-usr
       `--share
          `--man
             |--man1
             |  |--fbrun.1
             |  |--fbsetbg.1
             |  |--fluxbox.1
             |  |--fbsetroot.1
             |  |--startfluxbox.1
             |  `--fluxstyle.1
             `--ru
                `--man1
                   `--fluxbox.1

    Я ожидаю, что он найдет только локализованную страницу, но вот что
    получается:

    [c0der@rock ~/hier]$ /usr/lib/rpm/find-lang --with-man --topdir=.
    --output=fluxbox.lang fluxbox
    [c0der@rock ~/hier]$ cat fluxbox.lang
    %defattr(644,root,root,755)
    /usr/share/man/man1/fluxbox.1*
    /usr/share/man/man1/startfluxbox.1*
    %lang(ru) /usr/share/man/ru/man1/fluxbox.1*

    Т.е. находятся также и обычные маны. Я бы не против чтобы и обычные
    маны искались, но проблема в том, что он не все маны нашел, а лишь те
    в которых присутствует слово fluxbox.

    Разъясните пожалуйста: это бага, что он ищет обычные маны или это
    недофича, что он не все маны находит?

    Спасибо.


-- 
+ Semushin Slava | php-coder @ ngs.ru
+ ALT Linux Team | php-coder @ altlinux.ru



             reply	other threads:[~2006-03-24  3:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24  3:06 Semushin Slava [this message]
2006-03-24  7:23 ` Michael Shigorin
2006-03-24  7:28 ` Michael Shigorin

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=20060324030607.GA6412@semushin.plesk.ru \
    --to=php-coder@ngs.ru \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git