[gentoo-dev] Last rites: dev-python/setuptools_trial

2023-02-18 Thread Sam James
# Sam James (2023-02-18) # Last release in 2018, needs porting to Python 3.11, and no reverse # dependencies. Removal on 2023-03-18. bug #895174. dev-python/setuptools_trial signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] New pre-GLEP: TEST_SUITE_PRESENT variable

2023-02-20 Thread Sam James
> On 20 Feb 2023, at 08:37, Florian Schmaus wrote: > > On 19/02/2023 18.32, Michał Górny wrote: >> +Abstract >> + >> + >> +A new ``TEST_SUITE_PRESENT`` variable is introduced to indicate whether >> +the package features a test suite. > I wonder if we could not simply use IUSE="test" for

[gentoo-dev] [PATCH] profiles/base: add cache vars for -Wimplicit-function-declaration silencing

2023-02-28 Thread Sam James
. This means we don't have to try whitelist 'strchr'. Signed-off-by: Sam James --- profiles/base/make.defaults | 6 ++ 1 file changed, 6 insertions(+) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index ab69dbfae58ee..bdffd57047bbc 100644 ---

[gentoo-dev] [PATCH v2] profiles/base: add cache vars for -Wimplicit-function-declaration silencing

2023-02-28 Thread Sam James
. This means we don't have to try whitelist 'strchr'. v2: drop 'export' as PMS doesn't allow it in make.defaults. Signed-off-by: Sam James --- profiles/base/make.defaults | 6 ++ 1 file changed, 6 insertions(+) diff --git a/profiles/base/make.defaults b/pro

Re: [gentoo-dev] [PATCH v2] verify-sig.eclass: Use gemato openpgp-verify-detached w/ 20.0+

2023-03-08 Thread Sam James
On Wed, 8 Mar 2023 17:33:24 +0100 Michał Górny wrote: > Use openpgp-verify-detached when app-portage/gemato-20.0 is installed. > This lets us test the new code paths on ~arch with minimal risk > of breakage on stable. > > Signed-off-by: Michał Górny > --- > eclass/verify-sig.eclass | 13 +

[gentoo-dev] [PATCH 1/2] ruby-ng.eclass: allow non-fatal use of test functions

2023-03-17 Thread Sam James
leanup if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[gentoo-dev] [PATCH 2/2] ruby-ng.eclass: use eqawarn for test dependency warning

2023-03-17 Thread Sam James
We already inherit the eqawarn eclass and use it elsewhere in this eclass, so it's available & this then fits the rest of our use. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-

[gentoo-dev] [PATCH v2 1/3] ruby-ng.eclass: allow non-fatal use of test functions

2023-03-18 Thread Sam James
leanup if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: use eqawarn for test dependency warning

2023-03-18 Thread Sam James
We already inherit the eqawarn eclass and use it elsewhere in this eclass, so it's available & this then fits the rest of our use. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-

[gentoo-dev] [PATCH v2 3/3] ruby-fakegem.eclass: allow non-fatal use of test functions

2023-03-18 Thread Sam James
leanup if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
that going forward we may want to have pkgdev support custom keys in this file for e.g. copyright year mangling too. Signed-off-by: Sam James --- .editorconfig | 8 1 file changed, 8 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 10

[gentoo-dev] [PATCH] go-module.eclass: refine go-module_src_unpack eclassdoc

2023-03-23 Thread Sam James
Rephrase to make clear that go-module_src_unpack itself isn't actually deprecated, just one of its modes of operation (the one with EGO_SUM). Signed-off-by: Sam James --- eclass/go-module.eclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eclass/go-module.e

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >> This allows conveniently editing ebuilds and eclasses in editors which don't >> have a specific ebuild mode like Emacs and Vim do. > > I'm

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >>> I'm slightly confused. What repository is this intended for? > >> gentoo.git. > > Then it looks wrong, conceptually. Or would it be

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >> The idea is to make other editors less-hostile when they don't have >> a dedicated mode (like I said in the commit message). The specific >&g

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-24 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >> On Fri, 24 Mar 2023, Florian Schmaus wrote: > >>> Then it looks wrong, conceptually. Or would it be o.k. if I committed >>> ebuild-mode.el to the top-level directory of the Gentoo repository? > >> I do not think the comparison with eb

Re: [gentoo-dev] [PATCH 1/2] eclass/ruby-fakegem.eclass: warn when using an unknown test recipe

2023-03-25 Thread Sam James
Hans de Graaff writes: > Signed-off-by: Hans de Graaff > --- > eclass/ruby-fakegem.eclass | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass > index 9ef5e1f098d1..08e3ccf588ac 100644 > --- a/eclass/ruby-fakegem.eclass > +++ b/ecl

[gentoo-dev] Last rites: net-misc/mikutter

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Only supports imminently-EOL ruby27. # Removal on 2023-04-28. Bug #903499. net-misc/mikutter signature.asc Description: PGP signature

[gentoo-dev] Last rites: kde-apps/kross-interpreters

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Only supports imminently-EOL ruby27, depends on obsolete QtScript instead # of QML. Support for other languages was removed long ago, e.g. python support # is stuck on python2-only. Kross itself is on the chopping block too: # bug #810493, bug #903532. # Removal on 2023

[gentoo-dev] Last rites: dev-ruby/flickraw

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Stuck on ruby27, low activity upstream, needs someone who actively uses it to # test it properly as automated tests require an API key. # Removal on 2023-04-28. Bug #903542. dev-ruby/flickraw signature.asc Description: PGP signature

[gentoo-dev] [PATCH 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-29 Thread Sam James
This means we don't get confusing *DEPEND/REQUIRED_USE errors about it being unparseable and instead just get a straightforward die message indicating the problem. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e

[gentoo-dev] [PATCH 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
I was looking at the generated metadata for nokogiri and noticed several instances of 'test' in IUSE & RESTRICT. Ended up finding that the quoting of 'IUSE' in has is wrong here. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1

[gentoo-dev] [PATCH 3/3] ruby-fakegem.eclass: don't double-add USE=doc/test

2023-03-29 Thread Sam James
Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 42 ++ 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index b3262dc5cdb4..9af96bec319f 100644 --- a/eclass/ruby-fakegem.eclass

[gentoo-dev] [PATCH v2 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-29 Thread Sam James
This means we don't get confusing *DEPEND/REQUIRED_USE errors about it being unparseable and instead just get a straightforward die message indicating the problem. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e

[gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
(the quoting). This does change the metadata generated in the way I expected, but it doesn't remove *all* duplicates. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass ind

[gentoo-dev] [PATCH v2 3/3] ruby-fakegem.eclass: don't double-add USE=doc/test

2023-03-29 Thread Sam James
se doesn't work in global scope, but let's just fix the thing which is definitely wrong (the quoting). This does change the metadata generated in the way I expected, but it doesn't remove *all* duplicates. Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 42 ++

Re: [gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
Ulrich Mueller writes: >>>>>> On Wed, 29 Mar 2023, Sam James wrote: > >> -if ! has test "$IUSE"; then >> +if ! has test ${IUSE}; then > > You cannot reliably test for a flag in IUSE with code like this. > PMS defines the function in_iu

[gentoo-dev] Last rites: dev-ruby/ddmemoize

2023-03-30 Thread Sam James
# Sam James (2023-03-31) # Has suspicious test suite warnings with >=ruby31, no activity upstream, and # no reverse dependencies in Gentoo. # Removal on 2023-04-30. dev-ruby/ddmemoize signature.asc Description: PGP signature

[gentoo-dev] Re: sys-libs/glibc: RDEPENDs

2023-03-31 Thread Sam James
> On 31 Mar 2023, at 17:07, Raul Rangel wrote: > > Hello, > I was looking at the glibc > [ebuild](https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-2.37-r1.ebuild#n136) > and noticed that it contains a lot of RDEPEND: >RDEPEND="${COMMON_DEPEND} >app-arch/gzip >

[gentoo-dev] Re: sys-libs/glibc: RDEPENDs

2023-03-31 Thread Sam James
Raul Rangel writes: > On Fri, Mar 31, 2023 at 11:03 AM Sam James wrote: >> >> >> >> > On 31 Mar 2023, at 17:07, Raul Rangel wrote: >> > >> > Hello, >> > I was looking at the glibc >> > [ebuild](https://gitweb.gentoo.org/repo/

Re: [gentoo-dev] [PATCH 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-31 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Wed, 2023-03-29 at 16:39 +0100, Sam James wrote: >> This means we don't get confusing *DEPEND/REQUIRED_USE errors about >> it being >> unparseable and instead just get a straightforward die message

[gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-03 Thread Sam James
tute for a ruby-any.eclass and/or a pkg_setup which helps enforcement, but that's another thing to handle. Followup to d078ec2a151d16b7ed045f1889bb5b97c4b9e6af ("Add virtual/rubygems to dependencies[...]"). Bug: https://bugs.gentoo.org/771744 Signed-off-by: Sam James --- eclass/r

[gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-07 Thread Sam James
ets_ruby31: * ruby_implementation_command returned an empty RUBY for ruby31 * ERROR: dev-ruby/mercenary-0.4.0-r1::gentoo failed (setup phase): * Could not find RUBY for ruby31. Is dev-lang/ruby:3.1 installed? ``` Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 +++ 1 file changed, 7 insertions(+) di

[gentoo-dev] [PATCH 2/2] ruby-fakegem.eclass: include ${PF} in global-scope eqawarn

2023-04-07 Thread Sam James
This makes it a lot easier to narrow down the culprit given it warns in global scope. (Apparently ${EBUILD} isn't defined in PMS.) Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-fakegem.eclass b/e

Re: [gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-08 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Tue, 2023-04-04 at 01:02 +0100, Sam James wrote: >> >> - app-misc/foo (with only USE_RUBY="ruby30") using ruby-single.eclass >> is queued >>   and fails because the installed Ruby isn't

Re: [gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-10 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Fri, 2023-04-07 at 11:14 +0100, Sam James wrote: >> This might prevent an ebuild installing no files, but the main aim >> here is >> to give a better error message earlier on rather than the classic >> &q

[gentoo-dev] [PATCH 1/3] postgres.eclass: die if no matching postgresql impl found

2023-04-12 Thread Sam James
This matches what we do in other eclasses like for python and ruby. It leads to a nicer error if e.g. manually using ebuild(1) rather than emerge(1) and deps aren't satisfied, or forgot to set POSTGRES_TARGETS locally, etc. Signed-off-by: Sam James --- eclass/postgres.eclass | 6 +- 1

[gentoo-dev] [PATCH 2/3] postgres.eclass: document PG_SLOT, PG_CONFIG

2023-04-12 Thread Sam James
These variables are exported by pkg_setup and are intended for use by ebuilds, as the docs for postgres_pkg_setup say. Signed-off-by: Sam James --- eclass/postgres.eclass | 11 +++ 1 file changed, 11 insertions(+) diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index

[gentoo-dev] [PATCH 3/3] postgres.eclass: add EAPI 8

2023-04-12 Thread Sam James
Closes: https://bugs.gentoo.org/836781 Signed-off-by: Sam James --- eclass/postgres.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index 1597f2a9aafb7..95ed168d40a1c 100644 --- a/eclass/postgres.eclass +++ b/eclass

[gentoo-dev] Last rites: net-im/cawbird

2023-04-13 Thread Sam James
# Sam James (2023-04-14) # Obsolete because of Twitter API changes. Archived upstream. # Removal on 2023-05-14. Bug #904296. net-im/cawbird signature.asc Description: PGP signature

[gentoo-dev] Last rites: www-apache/mod_log_sql

2023-04-13 Thread Sam James
# Sam James (2023-04-14) # Fails with modern C, no upstream activity since 2005. # Removal on 2023-05-14. Bug #778506, bug #881205. www-apache/mod_log_sql signature.asc Description: PGP signature

[gentoo-dev] Last rites: sci-geosciences/congen

2023-04-18 Thread Sam James
# Sam James (2023-04-18) # Fails to compile with GCC 13, no upstream activity. # Removal on 2023-05-18. Bug #895206. sci-geosciences/congen signature.asc Description: PGP signature

[gentoo-dev] Last rites: net-p2p/litecoind

2023-04-18 Thread Sam James
# Sam James (2023-04-18) # Fails to compile with GCC 13, out of date, QA issues, and various open bugs. # Removal on 2023-05-18. # Bug #899218, bug #899218, bug #796599, bug #672326, bug #788844. net-p2p/litecoind signature.asc Description: PGP signature

[gentoo-dev] Up for grabs: app-editors/scite

2023-04-23 Thread Sam James
app-editors/scite is up for grabs as its proxied maintainer has decided to retire. It has two open bugs: 1. A trivial GCC 13 build issue (missing include) 2. Version bump pending thanks, sam signature.asc Description: PGP signature

[gentoo-dev] Re: EGO_SUM

2023-04-24 Thread Sam James
Florian Schmaus writes: [CCing williamh@ as go-module.eclass & dev-lang/go maintainer.] > I like to ask the Gentoo council to vote on whether EGO_SUM should be > reinstated ("un-deprecated") or not. > > EGO_SUM is a project-comprehensive matter, as it affects not only > Go-lang packaging but al

Re: [gentoo-dev] Re: EGO_SUM

2023-04-26 Thread Sam James
Florian Schmaus writes: > Hi Sam, > > thanks for your feedback. I am glad for everyone who engages in this > discussion and shares their views and new information. > > On 24/04/2023 22.28, Sam James wrote: >> Florian Schmaus writes: >> [CCing williamh@ as

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 26/04/2023 18.12, Matt Turner wrote: >> On Wed, Apr 26, 2023 at 11:31 AM Florian Schmaus wrote: >>> The discussion would be more productive if someone who is supporting the >>> EGO_SUM deprecation could rationally summarize the main a

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Pascal Jäger writes: > Maybe I’m getting this wrong, but didn’t  we switch to shallow > checkouts for the systems repository? I remember it was a major > outcry on the mailing list. So at least for end users git keeps no > history and our repository history should not impact clone size of a > sh

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Michał Górny writes: > On Fri, 2023-04-28 at 01:38 +0100, Sam James wrote: >> Pascal Jäger writes: >> >> > Maybe I’m getting this wrong, but didn’t  we switch to shallow >> > checkouts for the systems repository? I remember it was a major >> > outcr

Re: [gentoo-dev] Re: EGO_SUM

2023-05-02 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 28/04/2023 16.34, Michał Górny wrote: >> On Fri, 2023-04-28 at 08:59 +0200, Florian Schmaus wrote: >>> And I never said that I believe in representing the majority's opinion. >>> That said, I prefer to have this voted on by an all-deve

Re: [gentoo-dev] Re: EGO_SUM

2023-05-02 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 27/04/2023 23.16, Sam James wrote: >> Florian Schmaus writes: >> >>> [[PGP Signed Part:Undecided]] >>> On 26/04/2023 18.12, Matt Turner wrote: >>>> On Wed, Apr 26, 2023 at 11:31 AM Fl

[gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: add -O3 to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
ned-off-by: Sam James --- eclass/flag-o-matic.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 6bec3df308814..3dd39c54a5317 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -47,7 +47,

[gentoo-dev] [PATCH 2/2] flag-o-matic.eclass: drop -fstack-check from ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
functionality upstream in GCC anymore for this reason, it's not IIRC supported in Clang, and we're not testing it either. Please use the far superior -fstack-clash-protection instead. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/ecl

[gentoo-dev] [PATCH] flag-o-matic.eclass: add -flto, -flto=* to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
LTO is pretty safe nowadays and packages broken with it should really use filter-lto specifically instead. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index be169f934c02

[gentoo-dev] [PATCH] flag-o-matic.eclass: add -Oz to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
We already allow -Os and -Oz is just a more aggressive version of that. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 201b033df279..ff0fa09ed152 100644

[gentoo-dev] [PATCH] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
Signed-off-by: Sam James --- ...05-08-openssh-configuration-changes.en.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt diff --git a/2023-05-08-openssh-configuration

[gentoo-dev] [PATCH v2] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
Signed-off-by: Sam James --- ...05-08-openssh-configuration-changes.en.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt diff --git a/2023-05-08-openssh-configuration

Re: [gentoo-dev] Re: [PATCH v2] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
James Cloos writes: >>>>>> "SJ" == Sam James writes: > > SJ> +Such admins will need to edit the new files in the new directories or > SJ> +make overrides in their own files in the new directories using a higher > SJ> +number in the filename. &

[gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
x27;t want to do, it's too flaky under sandbox & not reliable with diff arches.) Signed-off-by: Sam James --- profiles/use.desc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/use.desc b/profiles/use.desc index 04ca8e845ccd9..675fd291fee22 100644 --- a/prof

Re: [gentoo-dev] [RFC] New global USE flag 'keyring'

2023-05-14 Thread Sam James
Andreas Sturmlechner writes: > [[PGP Signed Part:Undecided]] > This was discussed already in 2021. Going to be used by 30+ packages. > > Description: > "Enable support for freedesktop.org Secret Service API password store" > > See also: > https://bugs.gentoo.org/905928 > https://github.com/gento

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
Alexe Stefan writes: > Does enabling USE=valgrind impact runtime performance in any way? A very small amount because it adds a check at runtime for whether the application is running under Valgrind. The compiler may be able to optimise this a bit if it can determine it's unlikely (if the Valgri

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
Sam James writes: > Alexe Stefan writes: > >> Does enabling USE=valgrind impact runtime performance in any way? > > A very small amount because it adds a check at runtime for whether > the application is running under Valgrind. The compiler may be able > to optim

Re: [gentoo-dev] [RFC] News Item v3: Plasma Profile to enable PipeWire, Wayland support

2023-05-16 Thread Sam James
Andreas Sturmlechner writes: > Impact On Happy X Users > === > > Minor. Most dependencies were already required with kde-plasma/plasma-desktop > and its dependencies. Upcoming stable versions of kde-apps/spectacle and > kde-apps/krfb will depend on (K)PipeWire unconditional

Re: [gentoo-dev] Re: [gentoo-dev-announce] Last rites: app-portage/layman

2023-05-18 Thread Sam James
Alexe Stefan writes: > Layman is still a convenient way of managing overlays. It still works > as intended. > Is there any way for it to be kept in the repos? Is there an issue for you with using eselect-repository, which is actively maintained and doesn't depend on unmaintained software (pyGPG

[gentoo-dev] [PATCH] profiles/targets/desktop: enable USE=vulkan by default

2023-05-21 Thread Sam James
;s considered a fundamental part of the modern desktop. Signed-off-by: Sam James --- profiles/targets/desktop/make.defaults | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/targets/desktop/make.defaults b/profiles/targets/desktop/make.defaults index 46a8c5d3911e8..caccd

[gentoo-dev] [PATCH] profiles: promote USE=vulkan to global USE flag

2023-05-22 Thread Sam James
Signed-off-by: Sam James --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index 2d5489acc568..83de09afebe6 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -344,6 +344,7 @@ videos - Install optional video files (used in some

[gentoo-dev] [PATCH v2] profiles: promote USE=vulkan to global USE flag

2023-05-22 Thread Sam James
Thanks to leio for this improved phrasing. Signed-off-by: Sam James --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index 2d5489acc568..47438c839071 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -344,6 +344,7 @@ videos

Re: [gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag

2023-05-25 Thread Sam James
Ionen Wolkens writes: > Primarily intended for use by linux-mod-r1.eclass, which needs > a global IUSE to control stripping of kernel modules *before* > signatures and compression (alternative would be to simply never > strip, but that seem sub-optimal). > > Originally meant to be USE=modules-st

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-26 Thread Sam James
Sam James writes: > [[PGP Signed Part:Undecided]] > > Sam James writes: > >> Alexe Stefan writes: >> >>> Does enabling USE=valgrind impact runtime performance in any way? >> >> A very small amount because it adds a check at runtime for whether >

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-27 Thread Sam James
Alexe Stefan writes: > In that case, is it worth it to enable USE=valgrind globally? I have, and I'd say others interested in using Valgrind should too. signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-27 Thread Sam James
Alexe Stefan writes: > So it's only useful for developers that already use valgrind. Why would it be useful to anybody else? It can be useful if you suspect you may want to use Valgrind with system packages at some point and you don't want then to recompile, sure. I'm not sure if I understand

Re: [gentoo-dev] [PATCH 1/3] autotools.eclass: Downgrade eqawarn for renaming configure.in

2023-05-28 Thread Sam James
Ulrich Müller writes: > At this point, almost all upstreams will have switched to configure.ac. > Therefore, configure.in is most likely an indication of an inactive > upstream, and there is no useful way for the ebuild maintainer to > silence the warning (other than the ebuild renaming the file

Re: [gentoo-dev] [PATCH 2/3] autotools.eclass: Allow running the tools only in src_prepare

2023-05-28 Thread Sam James
Ulrich Müller writes: > Running them in src_unpack made sense only in EAPIs 0 and 1. > > Fixes: 18fda95cea306efe8009d1100195225acd8f8756 > Signed-off-by: Ulrich Müller ok for all signature.asc Description: PGP signature

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Sam James
Mike Gilbert writes: > Hi all, > > I'm throwing in the towel on www-client/chromium. It just isn't any > fun to maintain, and it's making me feel guilty when I don't give it > the attention it requires. I don't blame anyone for running out of stamina with chromium. It's a massive task and thank

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Sam James
Alexe Stefan writes: > My finger slipped in my last mail. > How do you see how many people are using a package? Bug reports, mentions on forums, mentions on the mailing list, mentions on IRC, etc. Or, to put it another way: when you break it, enough people shout. Gentoo doesn't have telemetry

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Sam James
Toralf Förster writes: > [[PGP Signed Part:Undecided]] > On 6/7/23 15:09, Jeff Gazso wrote: >> Can you give me a list >> of common pain points? > > My wish would be a -bin package. > Even with -j12 it takes here 5-6 hours compile time, which is a pain. That's more work for the maintainer, not l

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Sam James
Jeff Gazso writes: > That does sound painful. > >> - Across the 3 channels, you are looking at roughly 12 releases per month. >> That's a lot of churn. > > * Why build unstable stuff, why not build only stable releases and fix the > problems once? The idea is that you end up fixing stuff befo

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-08 Thread Sam James
Alexe Stefan writes: > I don't use chromium and I don't know what release cycle it has, but can't > those interested in running chromium use an > ebuild that tracks the git tree and updates after every change. > The maintenance burden would be minimal, and any patches could be applied > with /

[gentoo-dev] Last rites: dev-ruby/ruby-gtk2

2023-06-11 Thread Sam James
# Sam James (2023-06-12) # Installs no files with newer versions because GTK 2 support was dropped upstream. # Removal on 2023-07-12. Bug #908378. dev-ruby/ruby-gtk2 signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] go-module.eclass: inline _go-module_gomod_encode()

2023-06-12 Thread Sam James
Florian Schmaus writes: > The only call site of _go-module_gomod_encode() was using $() in a loop > over EGO_SUM. This caused bash to fork() for every loop iteration, which > significantly affected the time it takes to "source" an ebuild using > EGO_SUM. > > For example, "pkg pkg source =sys-clu

Re: [gentoo-dev] A problem with updating my key (again)

2023-06-13 Thread Sam James
Andrey Grozin writes: > Hi *, > > My key was going to expire soon. So, as usual, I have prolonged it for > the next year (several days ago). I've sent it to the Gentoo > keyserver. I've checked that the fingerpring of my key in LDAP > coinsides with the fingerprint I see locally. > > Today I've

Re: [gentoo-dev] What happened to gcc-12.3.0?

2023-06-15 Thread Sam James
Joshua Kinard writes: > Noticing that the ebuild for gcc-12.3.0 got dropped with little > explanation. It is the upstream stable release. I am eyeballing > #906310 as what may have triggered the drop, but I find it a bit of a > stretch that an upstream stable release got dropped over a single,

[gentoo-dev] [PATCH 01/11] ruby-ng.eclass: optimize: use pattern for old ruby impls

2023-06-15 Thread Sam James
, max: 73.661ms, σ = 3.3ms, N = 73 dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 71.061ms, min: 55.144ms, max: 74.563ms, σ = 3.848ms, N = 71 ``` A tiny, but seemingly consistent improvement. Thanks to mgorny for the idea. Bug: https://bugs.gentoo.org/908465 Signed-off-by: Sam James --- eclass

[gentoo-dev] [PATCH 02/11] ruby-ng.eclass: optimize: use pattern substitution

2023-06-15 Thread Sam James
/sinatra-3.0.5::/home/sam/g/: mean: 72.069ms, min: 58.736ms, max: 78.223ms, σ = 3.277ms, N = 70 dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 73.265ms, min: 60.738ms, max: 81.06ms, σ = 3.227ms, N = 69 ``` Bug: https://bugs.gentoo.org/908465 Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 12

[gentoo-dev] [PATCH 03/11] ruby-ng.eclass: optimize: avoid subshell for ruby_get_all_impls

2023-06-15 Thread Sam James
, σ = 2.822ms, N = 89 dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 54.915ms, min: 45.832ms, max: 59.513ms, σ = 3.52ms, N = 92 ``` Bug: https://bugs.gentoo.org/908465 Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 23 +-- 1 file changed, 13 insertions(+), 10 deleti

[gentoo-dev] [PATCH 04/11] ruby-ng.eclass: optimize: avoid subshells for _ruby_atoms_samelib*

2023-06-15 Thread Sam James
- Inline ruby_atoms_samelib (only used by one caller) - Avoid repeated (subshell) calls to _ruby_atoms_samelib_generic by using a result variable instead. We go from 3.5s -> 2.5s to source dev-ruby/*. Thanks to mgorny for the ideas here. Bug: https://bugs.gentoo.org/908465 Signed-off-by:

[gentoo-dev] [PATCH 05/11] ruby-ng.eclass: optimize: avoid subshells for ruby_implementations_depend, ruby_get_use_targets

2023-06-15 Thread Sam James
We go from 2.5s -> 1.9s to source dev-ruby/*. Bug: https://bugs.gentoo.org/908465 Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 36 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass in

[gentoo-dev] [PATCH 06/11] ruby-ng.eclass: use bash +=

2023-06-15 Thread Sam James
Easier to read. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 6c5666ddeabb0..b20c3b4629155 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby

[gentoo-dev] [PATCH 07/11] ruby-ng.eclass: use bash tests

2023-06-15 Thread Sam James
Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index b20c3b4629155..f10c987ac44a7 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -392,7 +392,7 @@ fi

[gentoo-dev] [PATCH 08/11] ruby-ng.eclass: drop no-op RDEPEND assignment

2023-06-15 Thread Sam James
Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index f10c987ac44a7..3269ed52cafe0 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -280,7 +280,6 @@ ruby_add_bdepend

[gentoo-dev] [PATCH 09/11] ruby-ng.eclass: cater to USE_RUBY conditional calls

2023-06-15 Thread Sam James
_RUBY="ruby27 ruby30 ruby31" ruby_add_bdepend " test? ( dev-ruby/activerecord[sqlite] ) ``` This isn't ideal, but we don't have a ruby_gen_cond_dep right now, so cater to this usecase by invalidating the caches we've previously added if we've detected U

[gentoo-dev] [PATCH 10/11] ruby-ng.eclass: use shopt directly, not via estack.eclass

2023-06-15 Thread Sam James
ulm points out that estack.eclass is particularly inefficient (although it'll get slightly better once https://github.com/gentoo/gentoo/pull/31437 is fixed). Let's just manually roll it like llvm.eclass does. Bug: https://bugs.gentoo.org/908465 Signed-off-by: Sam James --- e

[gentoo-dev] [PATCH 11/11] ruby-ng.eclass: add _ruby_get_use_targets comment

2023-06-15 Thread Sam James
I don't see us adding a non-ruby* target any time soon so this should be fine. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 8fe26057e7ffe..043e3eefcbd68 100644 --- a/eclass

Re: [gentoo-dev] [PATCH 10/11] ruby-ng.eclass: use shopt directly, not via estack.eclass

2023-06-15 Thread Sam James
Hans de Graaff writes: > On Thu, 1970-01-01 at 00:00 +0000, Sam James wrote: >> ulm points out that estack.eclass is particularly inefficient >> (although >> it'll get slightly better once >> https://github.com/gentoo/gentoo/pull/31437 >> is fixed). &

Re: [gentoo-dev] [PATCH 01/11] ruby-ng.eclass: optimize: use pattern for old ruby impls

2023-06-15 Thread Sam James
Hans de Graaff writes: > On Thu, 1970-01-01 at 00:00 +0000, Sam James wrote: >> Not much improvement on a grand scale, but for dev-ruby/sinatra at >> least, we get: > > Reviewed all patches and they look good to me. > > Thanks! And thank you! > > Hans best

Re: [gentoo-dev] [PATCH 10/11] ruby-ng.eclass: use shopt directly, not via estack.eclass

2023-06-15 Thread Sam James
Petr Vaněk writes: > On Thu, Jun 15, 2023 at 04:52:37PM +0100, Sam James wrote: >> ulm points out that estack.eclass is particularly inefficient (although >> it'll get slightly better once https://github.com/gentoo/gentoo/pull/31437 >> is fixed). >> >

Re: [gentoo-dev] [PATCH 4/5] cargo.eclass: Support separating crate names/versions via slash

2023-06-16 Thread Sam James
Michał Górny writes: > On Fri, 2023-06-16 at 17:48 +0300, Denis Lisov wrote: >> Hello Michał, >> >> On Fri, Jun 16, 2023 at 3:09 PM Michał Górny wrote: >> > Support specifying crate names and versions separated by forward slashes >> > rather than hyphens. Since slashes are not valid in crate

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 21/06/2023 17.56, Mike Gilbert wrote: >> On Wed, Jun 21, 2023 at 11:41 AM Florian Schmaus wrote: >>> >>> On 20.06.23 19:26, Mike Gilbert wrote: On Tue, Jun 20, 2023 at 1:08 PM Florian Schmaus wrote: > > On 20.06.23 16:41

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Sam James
he source repositories, not the > mirrored ones. > Is it using the mirrored one behind the scenes? (Please don't top-post.) No, it uses the mirrores ones with metadata. > > Best regards, > - Tomas Fabrizio Orsi > El mié, 21 jun 2023 a las 15:44, Sam James () escribió: > >

Re: [gentoo-dev] Announcing a utility for updating metadata.xml files

2023-06-25 Thread Sam James
"Anna (cybertailor) Vyalkova" writes: > Hi lists, > > You might know about the `app-portage/metagen` utility that generates > metadata.xml files with your name and email. But there was no tool that > autofilled upstream information, so I wrote it. > > Using it is as simple as: > > $ gentle

<    1   2   3   4   5   6   7   8   9   10   >