From: Anton Farygin <rider@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] way to find package, which contains specific library
Date: Tue, 6 Dec 2022 08:48:19 +0300
Message-ID: <d0a5253d-9499-139d-68a1-eac1474c9a17@basealt.ru> (raw)
In-Reply-To: <2144711670261456@mail.yandex.ru>
On 05.12.2022 20:36, Андрей Бергман wrote:
> Други,
>
> возник вопрос (касающийся OPAM'а): допустим, у нас есть некоторый код,
> который зависит от известной гарантированно везде запакованной
> библиотеки, вроде libpng. Есть ли общий для дистрибутивов Linux
> механизм поиска rpm/deb пакетов, содержащих нужную версию этой библиотеки?
>
> То, что сейчас видно — это pkgconfig, если собрать все .pc файлы из
> ALT, то прочтя их можно найти libpng => обратным поиском можно найти
> нужный rpm.
>
> А есть какой-нибудь более разумный способ? Просто OPAM'щики сделали
> какую-то совершенную наркоманию: они определяют дистрибутив внутри ML
> кода, а дальше у них есть "вбитая база соответствий".
Нужно сделать модуль ocaml как обвязку в librpm и спрашивать у него.
prev parent reply other threads:[~2022-12-06 5:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-05 19:02 ` Andrey Savchenko
2022-12-06 9:35 ` Sergey V Turchin
2022-12-06 10:10 ` Дмитрий Терехин
2022-12-06 10:50 ` Sergey V Turchin
2022-12-06 12:36 ` [devel] можно ли запретить загружать модуль ядра для конкретного девайса Ilya Kurdyukov
2022-12-06 23:24 ` Alexey V. Vissarionov
2022-12-07 2:49 ` Ilya Kurdyukov
2022-12-07 6:24 ` Ilya Kurdyukov
2022-12-07 7:04 ` Andrey Savchenko
2022-12-07 8:49 ` Sergey Bolshakov
2022-12-07 9:07 ` Ilya Kurdyukov
2022-12-07 9:17 ` Sergey Bolshakov
2022-12-07 9:45 ` Ilya Kurdyukov
2022-12-07 9:55 ` Aleksey Novodvorsky
2022-12-07 10:30 ` Sergey Bolshakov
2022-12-07 10:35 ` Ilya Kurdyukov
2022-12-07 15:04 ` Alexey V. Vissarionov
2022-12-07 10:49 ` Anton Farygin
2022-12-06 5:48 ` Anton Farygin [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=d0a5253d-9499-139d-68a1-eac1474c9a17@basealt.ru \
--to=rider@basealt.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