ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: upcoming %_install_langs related changes
Date: Wed, 22 Nov 2017 08:50:29 +0300
Message-ID: <20171122055029.GC8998@altlinux.org> (raw)
In-Reply-To: <20171122020924.GA6652@altlinux.org>

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

On Wed, Nov 22, 2017 at 05:09:24AM +0300, Dmitry V. Levin wrote:
> Hi,
> 
> Ближайшее время планируется реализовать в Сизифе следующие изменения,
> связанные с %_install_langs:
> 
> 1. Снять атрибут %lang с /usr/lib/locale/* в пакете glibc-locales.
> 
> Причины:
> - выборочная установка определений локалей всё равно сломана в результате
>   обновления rpm с нашей стабильной ветки 4.0.4 до 4.13+ от rpm.org;
> - это позволит реализовать следующий пункт плана.
> 
> 2. При сборке пакетов в Сизиф и тестовой пересборке Сизифа устанавливать
> %_install_langs в %nil.
> 
> Причина:
> - в сборочную среду устанавливается очень много l10n-файлов, которые,
>   в отличие от локалей, скорее всего, совсем не нужны во время сборки;
>   так, например, размер /usr/share/locale/ в базовой сборочной среде
>   сразу уменьшится с нынешних 55M до 13M
>   (13M - тоже неоправданно много и со временем будет уменьшено).

Впрочем, рассматривается и альтернативный вариант плана:

$ cat ~/.hasher/install/post
#!/bin/sh -efu
exec find /usr/share/locale/ -mindepth 3 -maxdepth 3 -type f -name '*.mo' -delete

Причина:
- можно будет не решать "проблему 13M" (https://bugzilla.altlinux.org/34225);
- не будут затронуты другие файлы, не являющиеся переводами.


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2017-11-22  5:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22  2:09 Dmitry V. Levin
2017-11-22  5:50 ` Dmitry V. Levin [this message]
2017-11-25 18:56 ` Vitaly Lipatov
2017-11-25 19:09   ` Vladimir D. Seleznev
2017-11-26 10:00     ` Vitaly Lipatov
2017-11-27 15:44   ` Dmitry V. Levin
2017-11-28 18:39     ` Michael Shigorin
2017-11-28 22:09     ` Vitaly Lipatov
2017-11-28 22:29     ` Leonid Krivoshein
2017-11-29 13:25       ` Michael Shigorin
2017-11-25 19:23 ` Pavel Vainerman

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=20171122055029.GC8998@altlinux.org \
    --to=ldv@altlinux.org \
    --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