From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] libmikmod-config
Date: Sat, 29 Sep 2007 16:05:51 +0400
Message-ID: <20070929120551.GJ6159@solemn.turbinal> (raw)
In-Reply-To: <20070929112101.GH6159@solemn.turbinal>
[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]
On Sat, Sep 29, 2007 at 03:21:01PM +0400, Alexey Tourbin wrote:
> Вообще-то при таком раскладе у пакета libmikmod-devel должна
> быть зависимость на libaudiofile-devel.
>
> Я реалзиовал подобный поиск зависимостей на библиотеки для *.pc
> файлов. Но здесь используется libmikmod-config, а libmikmod.pc
> в пакете нету и он не используется.
>
> Не знаю, стоит ли реализовать поиск зависимостей для /usr/bin/*-config
> файлов. В общем-то этот способ отживает и уступает место pkg-config.
Я склоняюсь к тому, что зависимости на библиотеки нельзя извлечь из
/usr/bin/*-config файлов достаточно надёжно, с учетом того, что при
сборке они находятся в билдруте.
lrwxrwxrwx 1 root root 41 Dec 23 2006 /usr/bin/wx-config -> ../lib/wx/config/gtk2-unicode-release-2.6
914 if ! is_installed && [ -x "$_util" ]; then
915 is_static || _preload="eval LD_LIBRARY_PATH=$exec_prefix/lib"
916 echo $_preload $_util
917 exit
918 fi
и т.п.
> --- libmikmod-devel-3.1.11-alt0.2.i586.rpm/usr/bin/libmikmod-config 2006-06-21 01:37:16 +0000
> +++ libmikmod-devel-3.1.11-alt0.3.i586.rpm/usr/bin/libmikmod-config 2007-09-17 10:43:31 +0000
> @@ -50,7 +50,7 @@ while test $# -gt 0 ; do
> ;;
> --libs)
> libdir=
> - echo $libdir -lmikmod -ldl -lm
> + echo $libdir -lmikmod -ldl -lm -laudiofile -lm
> ;;
> *)
> echo "${usage}" 1>&2
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-09-29 12:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-29 11:07 Alexey Tourbin
2007-09-29 11:21 ` Alexey Tourbin
2007-09-29 12:05 ` Alexey Tourbin [this message]
2007-09-29 14:52 ` Pavlov Konstantin
2007-10-01 5:48 ` Slava Semushin
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=20070929120551.GJ6159@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