ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Stanislav Levin <slev@basealt.ru>
To: shaba@altlinux.org
Cc: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] python and typelib
Date: Mon, 2 Dec 2019 23:10:30 +0300
Message-ID: <361b7a9b-d9b1-1bc9-a4a3-7b4700402bda@basealt.ru> (raw)
In-Reply-To: <CAEdvWkQ1WY0bLsJcnz7hBTUc1auWFfEUQLYnw_Yq_em6TTPzEw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1507 bytes --]



02.12.2019 22:27, Alexey Shabalin пишет:
>
> Не совсем понял, к чему Вы тут придираетесь?
> "Libosinfo" из "gi.repository" по сути и есть typelib(Libosinfo),
> потому что только пакет
> libosinfo-gir провайдит typelib(Libosinfo). Поэтому надо выставить
> зависимость на typelib(Libosinfo), что специально умеет делать
> rpm-build-gir.
> Да, есть более тяжёлые случаи, когда провайдят разные версии разные
> пакеты(например gtk2 и gtk3).

Да какие придирки? :-) Я вообще не знаю, что такое rpm-build-gir и с чем
его едят.

Только лишь обратил внимание не логичную (по-моему) вещь, а именно:

клиент (например, virt-manager), использующий gi.repository не должен
ничего знать про то, как устроен импортируемый объект (Libosinfo) и уж
тем более требовать за

него что-то для себя. Поэтому, по-моему, именно gi.repository
(python3-module-pygobject3) должен зависеть от libosinfo-gir, а не
virt-manager и подобные клиенты.


В любом случае спасибо за предоставленную информацию!



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-12-02 20:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 17:39 Alexey Shabalin
2019-12-02 18:52 ` Stanislav Levin
2019-12-02 19:27   ` Alexey Shabalin
2019-12-02 20:10     ` Stanislav Levin [this message]
2019-12-04 18:22       ` Alexey Shabalin
2019-12-03 12:59 ` Mikhail Efremov

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=361b7a9b-d9b1-1bc9-a4a3-7b4700402bda@basealt.ru \
    --to=slev@basealt.ru \
    --cc=devel@lists.altlinux.org \
    --cc=shaba@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