ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: Font policy 2.0 discussion
Date: Wed, 10 Aug 2011 11:38:21 +0400
Message-ID: <4E42356D.8080901@solin.spb.ru> (raw)
In-Reply-To: <4E41A1AB.6030701@solin.spb.ru>

[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]

10.08.2011 01:07, Aleksey Avdeev пишет:
> 10.08.2011 01:01, Igor Vlasenko пишет:
>> On Wed, Aug 10, 2011 at 12:53:27AM +0400, Aleksey Avdeev wrote:
>>>   Не, я немного не то имею в виду: меня интересует именно _путь_ к
>>> _файлу_ шрифта, а не его имя.
>>>
>>>   Хочу поставив в пакете линк на файл шрифта -- иметь возможность
>>> требовать наличие этого файла _явным_ образом. Т. е. нужна возможность
>>> поставить в спек что-то типа:
>>>
>>> Requires: %_ttffontsdir/freefont/FreeSans.ttf
>>>
>>>   Это позволит заранее застраховаться от разлома ссылки (например, если
>>> FreeSans.ttf переедет в %_ttffontsdir/FreeFont/).
>>
>> symlink.req всю эту работу сделает за вас.
>> он автоматом пропишет нужный Requires,
>> а provides будет по факту наличия файла.
> 
>   Спасибо, не знал.

  Не работает, см. <http://git.altlinux.org/tasks/51485/task/log.3.1>:
symlink.req свою работу выполняет, и
/usr/share/fonts/freefont/FreeSans.ttf в зависимостях появляется. Но
наша build система ситает эту зависимость ошибкой:

2011-Aug-10 04:05:50 :: created test repo
	i586: NEW unmet dependencies detected:
moodle#1.9.13.20110803-alt0.1	/usr/share/fonts/freefont/FreeSans.ttf
	x86_64: NEW unmet dependencies detected:
moodle#1.9.13.20110803-alt0.1	/usr/share/fonts/freefont/FreeSans.ttf
2011-Aug-10 04:06:00 :: dependencies check FAILED

  Думаю что из-за того, что fonts-ttf-freefont _явным_ образом
/usr/share/fonts/freefont/FreeSans.ttf не предоставляет:

$ rpm -qp --provides fonts-ttf-freefont-0.060126-alt2.noarch.rpm
freefont-ttf
freefont-fonts-ttf = 0.060126
fonts-ttf-freefont = 0.060126-alt2

PS: Включение fonts-ttf-freefont в Requires пакета ситуации не исправило.

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

  reply	other threads:[~2011-08-10  7:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 15:44 Igor Vlasenko
2011-08-06  9:20 ` Michael Shigorin
2011-08-07 19:37 ` Igor Vlasenko
2011-08-09 20:33   ` Aleksey Avdeev
2011-08-09 20:39     ` Igor Vlasenko
2011-08-09 20:53       ` Aleksey Avdeev
2011-08-09 21:01         ` Igor Vlasenko
2011-08-09 21:07           ` Aleksey Avdeev
2011-08-10  7:38             ` Aleksey Avdeev [this message]
2011-08-10  8:18               ` Igor Vlasenko
2011-08-10  9:02                 ` Aleksey Avdeev
2011-08-09 21:17       ` Aleksey Avdeev
2011-08-10  7:28         ` Igor Vlasenko
2011-08-13  8:12           ` Aleksey Avdeev
2011-08-13  9:18             ` Igor Vlasenko
2011-08-13  9:37               ` Aleksey Avdeev
2011-08-14 20:22   ` Igor Vlasenko
2011-08-18 13:09 ` Igor Vlasenko

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=4E42356D.8080901@solin.spb.ru \
    --to=solo@solin.spb.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