From: Eli Schwartz <eschwartz93@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] questions about wxwidgets.eclass
Date: Wed, 3 Jul 2024 00:30:19 -0400 [thread overview]
Message-ID: <9753f3dc-ea75-458d-9fdc-7e8e5d4c8c3b@gmail.com> (raw)
In-Reply-To: <d4c8c96a-db64-cd28-5ff9-c2302ed63a73@woodpecker.gentoo.org>
[-- Attachment #1.1.1: Type: text/plain, Size: 1417 bytes --]
On 7/3/24 12:19 AM, Andrey Grozin wrote:
> Hello *,
>
> 1. From which phase function should setup-wxwidgets be called?
> The current statistics of the packages in the tree is:
> src_configure 66
> src_prepare 16
> pkg_setup 6
> pkg_prepare 1
> Does this mean that one of these groups is right, and the other 3 ones
> are wrong and should be fixed?
Well, the eclass docs *literally* state the answer:
https://devmanual.gentoo.org/eclass-reference/wxwidgets.eclass/
"""
Call this in your ebuild to set up the environment for wxGTK in
src_configure.
"""
So I would imagine that packages calling it elsewhere should switch to
doing it in src_configure...
> 2. Suppose a user has 2 slots installed, 3.0-gtk3 and 3.2-gtk3. [S]he
> can eselect one of them. The slot used during emerging a package should
> depend only on WX_GTK_VER in the ebuild, and must not depend on which
> slot is currently eselected. Does wxwidgets.eclass guarantee this?
According to the eclass implementation, it sets a variable that the
wxwidgets eselect wrapper then respects as an override to ignore
whatever has been eselected, and use the overridden version.
I would, anyways, assume that the eclass does what it's supposed to:
"""
More specifically, this eclass controls the configuration chosen by the
${ESYSROOT}/usr/bin/wx-config wrapper.
"""
--
Eli Schwartz
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 18399 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
next prev parent reply other threads:[~2024-07-03 4:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 4:19 [gentoo-dev] questions about wxwidgets.eclass Andrey Grozin
2024-07-03 4:30 ` Eli Schwartz [this message]
2024-07-04 12:33 ` Andrey Grozin
2024-07-05 17:03 ` Mike Gilbert
2024-07-06 13:45 ` Andrey Grozin
2024-07-06 15:13 ` Mike Gilbert
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=9753f3dc-ea75-458d-9fdc-7e8e5d4c8c3b@gmail.com \
--to=eschwartz93@gmail.com \
--cc=gentoo-dev@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox