public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] questions about wxwidgets.eclass
@ 2024-07-03  4:19 Andrey Grozin
  2024-07-03  4:30 ` Eli Schwartz
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Grozin @ 2024-07-03  4:19 UTC (permalink / raw
  To: gentoo-dev; +Cc: wxwidgets

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?

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?

Andrey


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] questions about wxwidgets.eclass
  2024-07-03  4:19 [gentoo-dev] questions about wxwidgets.eclass Andrey Grozin
@ 2024-07-03  4:30 ` Eli Schwartz
  2024-07-04 12:33   ` Andrey Grozin
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Schwartz @ 2024-07-03  4:30 UTC (permalink / raw
  To: gentoo-dev


[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] questions about wxwidgets.eclass
  2024-07-03  4:30 ` Eli Schwartz
@ 2024-07-04 12:33   ` Andrey Grozin
  2024-07-05 17:03     ` Mike Gilbert
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Grozin @ 2024-07-04 12:33 UTC (permalink / raw
  To: gentoo-dev

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

On Wed, 3 Jul 2024, Eli Schwartz wrote:
> On 7/3/24 12:19 AM, Andrey Grozin wrote:
>> 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.
> """
Thank you. I've fixed my packages, and filed bugs about other packages 
calling setup-wxwidgets from somewhere else.

Andrey

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] questions about wxwidgets.eclass
  2024-07-04 12:33   ` Andrey Grozin
@ 2024-07-05 17:03     ` Mike Gilbert
  2024-07-06 13:45       ` Andrey Grozin
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2024-07-05 17:03 UTC (permalink / raw
  To: gentoo-dev

On Thu, Jul 4, 2024 at 8:33 AM Andrey Grozin
<grozin@woodpecker.gentoo.org> wrote:
>
> On Wed, 3 Jul 2024, Eli Schwartz wrote:
> > On 7/3/24 12:19 AM, Andrey Grozin wrote:
> >> 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.
> > """
> Thank you. I've fixed my packages, and filed bugs about other packages
> calling setup-wxwidgets from somewhere else.

It looks like you mass-filed a couple dozen bugs, but left them
assigned to bug-wranglers.

Please assign your own bug reports, especially when files en-masse.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] questions about wxwidgets.eclass
  2024-07-05 17:03     ` Mike Gilbert
@ 2024-07-06 13:45       ` Andrey Grozin
  2024-07-06 15:13         ` Mike Gilbert
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Grozin @ 2024-07-06 13:45 UTC (permalink / raw
  To: gentoo-dev

On Fri, 5 Jul 2024, Mike Gilbert wrote:
> It looks like you mass-filed a couple dozen bugs, but left them
> assigned to bug-wranglers.
>
> Please assign your own bug reports, especially when files en-masse.
OK, I've assigned them to the corresponding maintainers. Except 2 ones 
which are maintainer-needed. To whom assign them?

I've also filed a thacker bug https://bugs.gentoo.org/935668 to keep track 
on the progress.

Andrey


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] questions about wxwidgets.eclass
  2024-07-06 13:45       ` Andrey Grozin
@ 2024-07-06 15:13         ` Mike Gilbert
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Gilbert @ 2024-07-06 15:13 UTC (permalink / raw
  To: gentoo-dev

On Sat, Jul 6, 2024 at 9:45 AM Andrey Grozin
<grozin@woodpecker.gentoo.org> wrote:
>
> On Fri, 5 Jul 2024, Mike Gilbert wrote:
> > It looks like you mass-filed a couple dozen bugs, but left them
> > assigned to bug-wranglers.
> >
> > Please assign your own bug reports, especially when files en-masse.
> OK, I've assigned them to the corresponding maintainers. Except 2 ones
> which are maintainer-needed. To whom assign them?
>
> I've also filed a thacker bug https://bugs.gentoo.org/935668 to keep track
> on the progress.

There's a maintainer-needed@g.o bugzilla account for that. I assigned
the 2 bugs you mentioned.

Thanks for taking care of it!


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-06 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03  4:19 [gentoo-dev] questions about wxwidgets.eclass Andrey Grozin
2024-07-03  4:30 ` Eli Schwartz
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox