ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] firefox dependencies
Date: Fri, 9 Nov 2007 16:48:36 +0300
Message-ID: <20071109134836.GJ24160@solemn.turbinal> (raw)
In-Reply-To: <473461FF.8060601@altlinux.ru>

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

On Fri, Nov 09, 2007 at 04:34:55PM +0300, Alexey Gladkov wrote:
> Alexey Tourbin wrote:
> > Это будет хорошо работать, если при сборке любого расширения в сборочном
> > чруте гарантированно стоит rpm-build-firefox (или -mozilla.org).
> 
> rpm-build-firefox должен быть у всех.
> 
> > Например, если для сборки любого расширения требуется пакет
> > firefox-devel, то можно подшить к firefox-devel зависимость на
> > rpm-build-firefox.
> 
> # rpmquery -R firefox-devel |grep rpm-build
> rpm-build-firefox = 2.0.0.9-alt1
> 
> > 
> > Если же специального *-devel пакета, необходимого для сборки
> > firefox расшерений, нет, тогда конструкция получается менее надёжной
> > (нужно вручную указывать BuildRequires: rpm-build-firefox).
> 
> Многие расширения не хотят firefox-devel.
> Но в них должны быть:
> BuildRequires(pre): rpm-build-firefox

Остаётся только небольшой риск, что кто-то будет паковать firefox
расширения в обход rpm-build-fireofx.

В общем, нажно написать два тривиальных скрипта:

/usr/lib/rpm/firefox.req.files:
#/bin/sh
grep '^/usr/share/firefox/extensions/{' || [ $? = 1 ]

/usr/lib/rpm/firefox.req:
#!/bin/sh
echo "firefox = 2.0"

Тогда эта зависимость на "firefox = 2.0" проставится помимо всякого
желания maintainer'ов, просто по факту того, что в пакете содержится
путь определённого вида.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-11-09 13:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08 22:38 ` [devel] [cyber] I: Sisyphus-20071109 i586 unmets: +14 (49/35) Konstantin A. Lepikhov
2007-11-08 22:41   ` Alexey Shabalin
2007-11-08 22:43   ` Igor Zubkov
2007-11-09 13:05   ` [devel] firefox dependencies Alexey Tourbin
2007-11-09 13:11     ` Alexey Gladkov
2007-11-09 13:23       ` Alexey Tourbin
2007-11-09 13:34         ` Alexey Gladkov
2007-11-09 13:48           ` Alexey Tourbin [this message]
2007-11-09 13:51             ` Alexey Tourbin
2007-11-09 14:13               ` Alexey Gladkov

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=20071109134836.GJ24160@solemn.turbinal \
    --to=at@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