ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] опять пакеты со шрифтами
Date: Fri, 12 Jan 2007 04:13:47 +0300
Message-ID: <200701120413.50363.lav@altlinux.ru> (raw)
In-Reply-To: <200701092357.43286.shrek@altlinux.ru>

On Tuesday 09 January 2007 23:57, Valery V. Inozemtsev wrote:
> hi.
>
> копаясь с fontconfig обнаружил
> $ grep /usr/share/fonts/default
> Sisyphus/noarch/base/contents_index | cut -f2 | sort -u
...
> потрудитись все таки почитать
> http://www.freesource.info/wiki/Altlinux/Policy/Fonts, т.к.
> костыль под названием /usr/share/fonts/default я оставлять не
> планирую
Ну это положим не полиси, а пока ещё кучка мыслей...
Я отправил в Сизиф пакет rpm-build-fonts, предоставляющий макросы
%ttf_fonts_install
%otf_fonts_install
%type_fonts_install
%bitmap_fonts_install

Если коротко, скрипт устанавливает необходимые файлы в нужный 
каталог и создаёт список файлов для упаковки. В качестве 
параметра ему нужно указать название шрифта.

Я пересобрал все свои шрифтовые пакеты с ним и отправил в Сизиф.
Пример использование и описание планируется здесь:
http://www.freesource.info/wiki/Altlinux/Policy/Fonts

Замечания и вопросы принимаются по e-mail или 
JID:lav@altlinux.org

Вот как выглядит спек для ttf, использующий rpm-build-fonts 
(очевидные части спека опущены):

===========================
%define fname somefont

Name: fonts-ttf-%fname
...
BuildRequires: rpm-build-fonts
PreReq: chkfontpath fontconfig

Provides: %fname-fonts-ttf
Obsoletes: %fname-fonts-ttf
...

%install
%ttf_fonts_install %fname

%post
%post_fonts

%postun
%postun_fonts

%files -f %fname.files
%doc ...
=========================


-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info



  reply	other threads:[~2007-01-12  1:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 20:57 Valery V. Inozemtsev
2007-01-12  1:13 ` Vitaly Lipatov [this message]
2007-01-12  1:14 ` Vitaly Lipatov

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=200701120413.50363.lav@altlinux.ru \
    --to=lav@altlinux.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