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] Q: pkg-config: Requires.private == Requires?
Date: Tue, 2 Nov 2010 03:14:41 +0300
Message-ID: <20101102001441.GA3718@altlinux.org> (raw)
In-Reply-To: <1288605115.4672.0.camel@shrek.croc.ru>

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

On Mon, Nov 01, 2010 at 12:51:55PM +0300, Valery V. Inozemtsev wrote:
> а я уж собрался фиксить .pc файлы. ждем-с

В Сизифе обнаружилось 105 с нетривиальным Requires.private:

ORBit2-devel
libGConf-devel
libGL-devel
libGLUT-devel
libGLw-devel
libSM-devel
libX11-devel
libXScrnSaver-devel
libXaw-devel
libXcomposite-devel
libXcursor-devel
libXdamage-devel
libXevie-devel
libXext-devel
libXfixes-devel
libXfont-devel
libXft-devel
libXi-devel
libXinerama-devel
libXmu-devel
libXp-devel
libXrandr-devel
libXrender-devel
libXres-devel
libXt-devel
libXtst-devel
libXv-devel
libXvMC-devel
libXxf86dga-devel
libXxf86misc-devel
libXxf86vm-devel
libass-devel
libautotrace-devel
libavahi-gobject-devel
libavahi-qt3-devel
libavahi-qt4-devel
libavcodec-devel
libavcore-devel
libavdevice-devel
libavfilter-devel
libavformat-devel
libblkid-devel
libbonoboui-devel
libcairo-devel
libchamplain-devel
libcheese-devel
libdevhelp-devel
libdevmapper-devel
libdevmapper-event-devel
libdmx-devel
libdrm-devel
libdvdnav-devel
libe2fs-devel
libecore-devel
libedbus-devel
libedje-devel
libeet-devel
libeeze-devel
libefreet-devel
libelementary-devel
libesd-devel
libevas-devel
libftgl213-devel
libgnome-bluetooth-devel
libgnome-devel
libgnomecanvas-devel
libgnomeoffice-devel
libgnomeoffice-light-devel
libgnomeui-devel
libgssdp-devel
libgtksourceview-devel
libgucharmap-devel
libgupnp-devel
libgweather-devel
libldb-devel
liblvm2-devel
libmount-devel
libpcre-devel
libpoppler-cpp-devel
libpoppler-glib-devel
libpoppler-qt-devel
libpoppler-qt4-devel
libpowersave-devel
libredland-devel
libselinux-devel
libsemanage-devel
libslab-devel
libsoup-devel
libss-devel
libswscale-devel
libtelepathy-farsight-devel
libtelepathy-glib-devel
libtotem-pl-parser-devel
libupower-devel
libv4l-devel
libvdpau-devel
libwnck-devel
libxcb-devel
libxkbfile-devel
libxprintutil-devel
python-module-pygobject-devel
rhythmbox-devel
rygel-devel
tracker-devel
xorg-sdk

Все эти пакеты при очередной сборке получат больше зависимостей, чем они
имеют сейчас.  Многие из них не соберутся из-за того, что сейчас требуемых
зависимостей нет в сборочных средах этих пакетов.

К сожалению, из-за тупых fdoшников пострадают нормальные пакеты, которые
используют Requires.private именно для зависимостей статической линковки.

Например,
$ grep ^Req libselinux.pc
Requires.private: libsepol
Как известно, для компиляции и нестатической линковки с libselinux
никакой libsepol не нужен.

Мейнтейнерам придётся самим решать, что с этим делать.
Простых варианта два:
- выкинуть Requires.private, поскольку статическая линковка это экзотика;
- добавить мусор в сборочные зависимости, после чего этот мусор попадет в
  зависимости собранных devel-пакетов.

Есть и более сложные варианты.  На примере того же libselinux.pc,
можно заменить
Requires.private: libsepol
на
Libs.private: -lsepol

Тогда и зависимостей лишних не будет, и статическая линковка не сломается.


-- 
ldv

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

  reply	other threads:[~2010-11-02  0:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31 21:37 ` Dmitry V. Levin
2010-11-01  8:10   ` Alexey I. Froloff
2010-11-01  8:57   ` Konstantin Pavlov
2010-11-01  9:17   ` sbolshakov
2010-11-01  9:32   ` Dmitry V. Levin
2010-11-01  9:51     ` Valery V. Inozemtsev
2010-11-02  0:14       ` Dmitry V. Levin [this message]
2010-11-02 16:29         ` Michael Shigorin
2010-11-02 16:41           ` Dmitry V. Levin

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=20101102001441.GA3718@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