ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] pkg-config dependency
Date: Thu, 5 Jun 2008 02:26:36 +0400
Message-ID: <20080604222636.GO7751@solemn.turbinal> (raw)
In-Reply-To: <200806050046.18197.ledest@gmail.com>

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

On Thu, Jun 05, 2008 at 12:46:18AM +0300, Led wrote:
> Thursday, 05 June 2008 00:37:44 Alexey Tourbin написав:
> > On Thu, Jun 05, 2008 at 01:35:36AM +0400, Alexey Tourbin wrote:
> > > On Wed, Jun 04, 2008 at 02:41:33PM +0700, Mikhail Gusarov wrote:
> > > > Из #15852:
> > > >
> > > > "отдельный пакет devel из-за одного файла заводить не буду"
> > > >
> > > > Подскажите, почему тут так принято: отдельные пакеты не заводить,
> > > > пихать всё в одну кучу, отдельные вики-страницы для совершенно разных
> > > > по смыслу вещей не делать, а тоже всё в одном месте, и тщательно
> > > > перемешивать?
> > >
> > > f-spot.pc следует паковать в основной пакет, потому что в f-spot.pc нет
> > > "Requires:" зависимостей, которые могли бы вытягивать *-devel пакеты.
> >
> > Неудачный падеж.  Если *.pc файл не порождает дополнительных
> > зависимостей на *-devel пакеты, то его можно вносить в основной пакет.
> 
> А *.pc файл не порождает зависимости на пакет pkg-config?

Имело бы смысл реализовать зависимости на каталоги
%_libdir/pkgconfig и /usr/share/pkgconfig.

Тогда, в частности, мы получаем "автоматический" (на уровне анметов)
отлов ошибок типа /usr/lib/pkgconfig/*.pc vs /usr/lib64/pkgconfig/*.pc.

Но дело здесь в том, что зависимости на каталоги -- вещь довольно
хрупкая.  Каталогом ведь может завладеть кто угодно (более того,
если в спеке написать '%files /usr/lib/pkgconfig*', то зависимость
станет самоудовлетворённой и вообще соптимизирутеся).

В общем, в последнем sisyphus_check я реализовал отдельную проверку
на /usr/*/pkgconfig/* пути.

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

      parent reply	other threads:[~2008-06-04 22:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  7:41 [devel] Об экономии на спичках и религии Mikhail Gusarov
2008-06-04  7:50 ` Alexey Shabalin
2008-06-04  7:52   ` Alexey Shabalin
2008-06-04  8:34     ` Ildar Mulyukov
2008-06-04  8:40       ` Alexey Shabalin
2008-06-04  9:38       ` Alexey Tourbin
2008-06-04  9:31     ` Alexey Tourbin
2008-06-04  7:56   ` Mikhail Gusarov
2008-06-04 21:35 ` Alexey Tourbin
2008-06-04 21:37   ` Alexey Tourbin
2008-06-04 21:46     ` Led
2008-06-04 21:56       ` Alexey Tourbin
2008-06-04 22:07         ` Led
2008-06-04 22:12           ` Dmitry V. Levin
2008-06-04 22:26       ` Alexey Tourbin [this message]

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=20080604222636.GO7751@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