[gentoo-dev] Last rites: eutils.eclass

2024-04-09 Thread Ulrich Mueller
eutils.eclass is no longer used by any ebuild in the Gentoo repository. Removal in 60 days, i.e. on 2024-06-08, so overlays will have enough time to update. From a1f28063e0ba2192a120d15fd82a2d59ae10c892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Mon, 8 Jan 2024

Re: [gentoo-dev] Current unavoidable use of xz utils in Gentoo

2024-04-06 Thread Ulrich Mueller
> On Sat, 06 Apr 2024, Eddie Chapman wrote: > [...] this is ridiculous and unnecessary :-). Indeed. SCNR, Ulrich

Re: [gentoo-dev] [PATCH 2/2] texlive-module.eclass: add texlive-module_update_tlpdb

2024-04-02 Thread Ulrich Mueller
> On Tue, 02 Apr 2024, Florian Schmaus wrote: > + # If we are updating this package, then there is no need to update > + # the tlpdb in postrm, as it will be again updated in postinst. > + [[ -n ${REPLACING_VERSIONS} && ${EBUILD_PHASE} == postrm ]] && return Sorry for having

[gentoo-dev] Last rites: app-portage/g-sorcery, app-portage/gs-elpa

2024-03-06 Thread Ulrich Mueller
# Ulrich Müller (2024-03-06) # Inactive upstream maintainer. Needs porting to PEP 517 (or better, # from Python to Emacs Lisp) and from layman to repository.eselect. # Removal on 2024-05-05. Bug #909887, #909890. app-portage/g-sorcery app-portage/gs-elpa signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH 2/3] texlive-common.eclass: check exit status of texmf-update

2024-03-01 Thread Ulrich Mueller
>>>>> On Fri, 01 Mar 2024, Florian Schmaus wrote: > On 29/02/2024 21.40, Ulrich Mueller wrote: >>>>>>> On Thu, 29 Feb 2024, Florian Schmaus wrote: >> >>> @@ -178,6 +178,10 @@ etexmf-update() { >>> if has_version 'app-text/texliv

Re: [gentoo-dev] [PATCH 2/3] texlive-common.eclass: check exit status of texmf-update

2024-02-29 Thread Ulrich Mueller
> On Thu, 29 Feb 2024, Florian Schmaus wrote: > @@ -178,6 +178,10 @@ etexmf-update() { > if has_version 'app-text/texlive-core' ; then > if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; > then > "${EPREFIX}"/usr/sbin/texmf-update > +

Re: [gentoo-dev] [PATCH 3/3] texlive-common.eclass: Use nonfatal-respecting die for fmtutil-sys

2024-02-29 Thread Ulrich Mueller
> On Thu, 29 Feb 2024, Michał Górny wrote: >> +"${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null \ >> +|| die -n "fmtutil-sys returned non-zero exit >> status ${res}" > Put '||' at end of the line, then you won't need the redundant >

Re: [gentoo-dev] RFC: banning "AI"-backed (LLM/GPT/whatever) contributions to Gentoo

2024-02-28 Thread Ulrich Mueller
> On Wed, 28 Feb 2024, Michał Górny wrote: > On Tue, 2024-02-27 at 21:05 -0600, Oskari Pirhonen wrote: >> What about cases where someone, say, doesn't have an excellent grasp of >> English and decides to use, for example, ChatGPT to aid in writing >> documentation/comments (not code) and puts

Re: [gentoo-dev] RFC: banning "AI"-backed (LLM/GPT/whatever) contributions to Gentoo

2024-02-27 Thread Ulrich Mueller
> On Tue, 27 Feb 2024, Rich Freeman wrote: > On Tue, Feb 27, 2024 at 9:45 AM Michał Górny wrote: >> >> Given the recent spread of the "AI" bubble, I think we really need to >> look into formally addressing the related concerns. First of all, I fully support mgorny's proposal. >> 1.

Re: [gentoo-dev] 2024-02-26-debianutils-drops-installkernel-dep: add news item

2024-02-26 Thread Ulrich Mueller
> On Mon, 26 Feb 2024, Andrew Nowa Ammerlaan wrote: > Title: installkernel is no longer implicitly installed > Author: Andrew Ammerlaan > Posted: 2024-02-26 > Revision: 1 > News-Item-Format: 2.0 > Display-If-Installed: sys-kernel/installkernel > Display-If-Installed:

Re: [gentoo-dev] Packages up for grabs due to developer inactivity

2024-02-14 Thread Ulrich Mueller
> On Wed, 14 Feb 2024, Michał Górny wrote: > The following packages are now looking for a new maintainer, due to > their prior maintainer being inactive: > sys-firmware/iwl3160-7260-bt-ucode > sys-firmware/iwl3160-ucode > sys-firmware/iwl7260-ucode These should be treecleaned, because

Re: [gentoo-dev] RFC: Setting default HOME_MODE in /etc/login.defs

2024-02-11 Thread Ulrich Mueller
> On Sat, 10 Feb 2024, Daniel Simionato wrote: > I'd like to start a discussion regarding setting HOME_MODE by default in > the /etc/login.defs file (owned by sys-apps/shadow package). > Upstream keeps HOME_MODE commented: >

Re: [gentoo-dev] [PATCH 7/7] eclass/dotnet-pkg.eclass: prepare for safely using Nuget

2024-02-03 Thread Ulrich Mueller
> On Sat, 03 Feb 2024, Maciej Barć wrote: > + find "$(pwd)" -maxdepth 1 -iname "nuget.config" -delete || Is there any special reason for using "$(pwd)" instead of . here? > + case "${1}" in Quotes not needed. > + if [[ -d "${1}" ]] ; then Quotes not needed.

Re: [gentoo-dev] [PATCH 5/7] eclass/dotnet-pkg.eclass: add dotnet-pkg_force-compat

2024-02-03 Thread Ulrich Mueller
> On Sat, 03 Feb 2024, Maciej Barć wrote: > +dotnet-pkg_force-compat() { > + if [[ -z "${DOTNET_PKG_COMPAT}" ]] ; then Quotes are not needed.

Re: [gentoo-dev] [PATCH 2/7] eclass/dotnet-pkg-base.eclass: deprecate wring-style names

2024-02-03 Thread Ulrich Mueller
> On Sat, 03 Feb 2024, Maciej Barć wrote: > +# @FUNCTION: dotnet-pkg-base_restore_tools > +# @USAGE: [config-file] [args] ... > +# @DESCRIPTION: > +# DEPRECATED, use "dotnet-pkg-base_restore_tools" instead. Should be a hyphen here (...restore-tools), I guess?

Re: [gentoo-dev] [PATCH 1/7] eclass/dotnet-pkg-base.eclass: quotes and style tweaks for edge cases

2024-02-03 Thread Ulrich Mueller
> On Sat, 03 Feb 2024, Maciej Barć wrote: > -if [[ ${CATEGORY}/${PN} != dev-dotnet/dotnet-runtime-nugets ]] ; then > +if [[ "${CATEGORY}/${PN}" != dev-dotnet/dotnet-runtime-nugets ]] ; then These quotes are not necessary. > - if [[ ${CATEGORY}/${PN} != dev-dotnet/csharp-gentoodotnetinfo

Re: [gentoo-dev] sys-devel/autoconf wrong dependency?

2024-01-31 Thread Ulrich Mueller
> On Wed, 31 Jan 2024, Andreas Fink wrote: > With the move of sys-devel/autoconf to dev-build/autoconf the ebuild > has some inconsistency, namely in the RDEPEND section, it is saying: > RDEPEND=" > ${BDEPEND} >> =dev-build/autoconf-wrapper-20231224 > sys-devel/gnuconfig >

[gentoo-dev] Last rites: app-editors/emacs slot 25

2024-01-30 Thread Ulrich Mueller
# Ulrich Müller (2024-01-30) # SLOT 25 of app-editors/emacs, corresponding to GNU Emacs version 25.3. # This version was released in May 2018. Please upgrade to >=emacs-26 # and update your Emacs Lisp packages with emacs-updater. # Removal on 2024-02-29. Bug #923329. app-editors/emacs:25

Re: [gentoo-dev] [PATCH 2/2] texlive-{common,module}.eclass: update for TeX Live 2023

2024-01-16 Thread Ulrich Mueller
> On Tue, 16 Jan 2024, Florian Schmaus wrote: > case ${EAPI} in > - 7) inherit eapi8-dosym ;; > + 7) > + inherit eapi8-dosym > + dosym(){ dosym8 "$@"; } For good reason, eapi-dosym.eclass doesn't override package manager commands, and the texlive eclasses

Re: [gentoo-dev] [PATCH 0/1] [RFC] greadme.eclass

2024-01-10 Thread Ulrich Mueller
>>>>> On Wed, 10 Jan 2024, Florian Schmaus wrote: > On 10/01/2024 14.58, Ulrich Mueller wrote: >> Looks like readme.gentoo-r1 already gives you control over this: >> # If you want to show them always, please set FORCE_PRINT_ELOG to a non empty >> # value

Re: [gentoo-dev] [PATCH 0/1] [RFC] greadme.eclass

2024-01-10 Thread Ulrich Mueller
> On Wed, 10 Jan 2024, Florian Schmaus wrote: > On 10/01/2024 12.04, Sam James wrote: >> 1) The name seems odd (why not readme.gentoo-r2)? >> 2) Why can't the existing eclass be improved? > Both points, the name of the eclass and the question if this should be > added to the existing eclass

Re: [gentoo-dev] [RFC] New category: dev-doc (?)

2024-01-07 Thread Ulrich Mueller
>>>>> On Sun, 07 Jan 2024, Michał Górny wrote: > On Sun, 2024-01-07 at 17:58 +0100, Ulrich Mueller wrote: >> I cannot really see a delineation between app-text and [dev]-doc. >> >> For example, packages like psmark, xmlto, or even texi2html are general >

Re: [gentoo-dev] [RFC] New category: dev-doc (?)

2024-01-07 Thread Ulrich Mueller
>>>>> On Sun, 07 Jan 2024, Ulrich Mueller wrote: > I cannot really see a delineation between app-text and app-doc. Sorry, this should read "between app-text and dev-doc", of course. signature.asc Description: PGP signature

Re: [gentoo-dev] [RFC] New category: dev-doc (?)

2024-01-07 Thread Ulrich Mueller
> On Sun, 07 Jan 2024, Michał Górny wrote: > Here's another idea, a new dev-doc category (though I suppose we could > try to find a better name), dedicated to: > Tools to generate, convert, view and process documentation. > This is notably meant to move software out of app-doc/ which is >

Re: [gentoo-dev] [PATCH] 2024-01-02-separate-usr-now-requires-an-initramfs: add news item

2024-01-02 Thread Ulrich Mueller
>> +++ >> b/2024-01-02-separate-usr-now-requires-an-initramfs/2024-01-02-separate-usr-now-requires-an-initramfs.txt > The short-name is rather long. [...] In fact, the filename is also invalid by GLEP 42. Sorry for missing this the first time. signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] 2024-01-02-separate-usr-now-requires-an-initramfs: add news item

2024-01-02 Thread Ulrich Mueller
> On Tue, 02 Jan 2024, Eli Schwartz wrote: > +++ > b/2024-01-02-separate-usr-now-requires-an-initramfs/2024-01-02-separate-usr-now-requires-an-initramfs.txt The short-name is rather long. GLEP 42 strongly recommends to stay below 20 characters:

Re: [gentoo-dev] [RFC] global USE=gpg

2023-12-30 Thread Ulrich Mueller
> On Sat, 30 Dec 2023, Andreas K Huettel wrote: >> > we have many local gpg useflags which basically just enable gpg. >> > Should we merge these to one global useflag? >> > >> > Additionally we have a few gpgme useflags. >> > See also https://bugs.gentoo.org/679634 >> > >> > What are your

Re: [gentoo-dev] [PATCH 1/2] linux-mod-r1.eclass: Require the compression to succeed

2023-12-30 Thread Ulrich Mueller
> On Sat, 30 Dec 2023, Michał Górny wrote: > - edob "${compress[@]}" -- "${@}" > + edob "${compress[@]}" -- "${@}" || die Doesn't edob already die by itself? signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] profiles/info_vars: Add PYTHONPATH

2023-12-29 Thread Ulrich Mueller
> On Fri, 29 Dec 2023, Michał Górny wrote: > --- a/profiles/info_vars > +++ b/profiles/info_vars > @@ -60,6 +60,7 @@ PORTAGE_RSYNC_EXTRA_OPTS > PORTAGE_TMPDIR > PORTDIR > PORTDIR_OVERLAY > +PYTHONPATH > RANLIB > READELF > RUSTFLAGS Please also update the copyright year in the header.

[gentoo-dev] Last rites: games-fps/serious-sam-tse

2023-12-26 Thread Ulrich Mueller
# Ulrich Müller (2023-12-26) # Program errors out with a segmentation fault. # Use games-fps/serioussam along with games-fps/serioussam-tfe-data # and games-fps/serioussam-tse-data as replacement. # Removal on 2024-01-09, bug #854567. games-fps/serious-sam-tse signature.asc Description: PGP

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: epytest, use NO_COLOR rather than NOCOLOR

2023-12-11 Thread Ulrich Mueller
> On Mon, 11 Dec 2023, Eli Schwartz wrote: >> "Command-line software which adds ANSI color to its output by default >> should check for a NO_COLOR environment variable that, when present >> and not an empty string (regardless of its value), prevents the >> addition of ANSI color." --

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: epytest, use NO_COLOR rather than NOCOLOR

2023-12-11 Thread Ulrich Mueller
> On Mon, 11 Dec 2023, Eli Schwartz wrote: >> +local color=yes >> +[[ ${NO_COLOR} ]] && color=no > [[ -v NO_COLOR ]] No, this would give the wrong result if NO_COLOR is set to an empty value. [[ ${NO_COLOR} ]] or [[ -n ${NO_COLOR} ]] is the correct test: "Command-line software

Re: [gentoo-portage-dev] [PATCH] Stop implicitly manipulating `NO_COLOR`/`NOCOLOR`

2023-11-26 Thread Ulrich Mueller
> On Sun, 26 Nov 2023, Michał Górny wrote: > 3. Forcing `NO_COLOR=1` turns out to cause random test failures, >and while fixing them is commendable, it is a pain for arch testing >and it is currently blocking stabilization requests. I'd argue that test suites that fail because of

Re: [gentoo-dev] [PATCH 2/2] profiles/use.desc: Add `lzip` for lzip compression

2023-10-22 Thread Ulrich Mueller
> On Sun, 22 Oct 2023, Michał Górny wrote: > lzma - Support for LZMA (de)compression algorithm > lz4 - Enable support for lz4 compression (as implemented in app-arch/lz4) > +lzip - Enable support for lzip compression Alphabetic order? signature.asc Description: PGP signature

Re: [gentoo-dev] Re: [DRAFT v2] GLEP 84: Standard format for package.mask files

2023-10-13 Thread Ulrich Mueller
> On Fri, 13 Oct 2023, Arthur Zamarin wrote: >> Make this one either "[Bb]ugs? #\d+(,? #\d+)*" (which I'd prefer) >> or "[Bb]ugs? +#\d+(,? +#\d+)*". That is, same number of spaces in both >> locations. > OK, would be hard to define it correctly in the BNF, but will just use > {n} syntax to

Re: [gentoo-dev] [DRAFT v2] GLEP 84: Standard format for package.mask files

2023-10-13 Thread Ulrich Mueller
> On Fri, 13 Oct 2023, Arthur Zamarin wrote: >>> PKGS_GROUP ::= {ATOM}(\n{ATOM})* >> >> Sorry, I had missed this when reading it the first time. Please avoid >> the term "atom" because neither PMS nor the Devmanual calls them so. > Oh, sorry, normal jargon from pkgcore work. How to call

Re: [gentoo-dev] [DRAFT v2] GLEP 84: Standard format for package.mask files

2023-10-13 Thread Ulrich Mueller
> On Fri, 13 Oct 2023, Arthur Zamarin wrote: > PKGS_GROUP ::= {ATOM}(\n{ATOM})* Sorry, I had missed this when reading it the first time. Please avoid the term "atom" because neither PMS nor the Devmanual calls them so. Ulrich signature.asc Description: PGP signature

Re: [gentoo-dev] Re: [DRAFT v2] GLEP 84: Standard format for package.mask files

2023-10-13 Thread Ulrich Mueller
> On Fri, 13 Oct 2023, Arthur Zamarin wrote: >>> The paragraph should be of format ``Removal on ${DATE}. ${BUGS-LIST}``, >>> where >>> the date is RFC-3339 full-date format, meaning ``-MM-DD``, and the bugs >>> list is of the `bugs list`_ format. The listed bugs should include the >>>

[gentoo-dev] Re: [DRAFT v2] GLEP 84: Standard format for package.mask files

2023-10-13 Thread Ulrich Mueller
> On Fri, 13 Oct 2023, Arthur Zamarin wrote: > Comments Block > -- > The comments block consists of 2 mandatory parts (`author line`_ and > `explanation`_) and one optional part (`last-rite epilogue`_). A blank line to > separate the parts is optional. Trailing whitespace should

Re: [gentoo-dev] [DRAFT] GLEP 84: Standard format for package.mask files

2023-10-05 Thread Ulrich Mueller
> On Thu, 05 Oct 2023, Michał Górny wrote: >> Entries Grouping >> >> >> Each mask entry consists of 2 parts: `comments block`_ and `packages list`_, >> which aren't separated by a blank line between the 2 parts. Between entries, >> a >> mandatory blank line must appear. >>

Re: [gentoo-dev] [DRAFT] GLEP 84: Standard format for package.mask files

2023-10-05 Thread Ulrich Mueller
> On Thu, 05 Oct 2023, Arthur Zamarin wrote: > On 05/10/2023 06.12, Michał Górny wrote: >> This is inconsistent with the current usage, and confusing. "After" >> makes it unclear whether the list is inclusive (i.e. "remove on that day >> or later") or exclusive ("remove the next day or

[gentoo-dev] Re: [DRAFT] GLEP 84: Standard format for package.mask files

2023-10-05 Thread Ulrich Mueller
> On Wed, 04 Oct 2023, Arthur Zamarin wrote: > Files can decide to add some extra file documentation, in which case, the > entries start after the line: > #--- END OF EXAMPLES --- This agrees with current package.mask, but seems rather specific. Instead of reinventing the wheel, maybe a

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-25 Thread Ulrich Mueller
> On Sun, 24 Sep 2023, Jonas Stein wrote: >> # Removal on 2023-10-21. Bug #667687, #667689. > We should use "after" instead of "on": > # Removal after T I wonder if we even need to specify the wording in such detail. For any tools parsing the file, it might be enough to say that the line

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-23 Thread Ulrich Mueller
> On Sat, 23 Sep 2023, Alex Boag-Munroe wrote: > I'm confused, you're against adding "massive header blocks" but you're > fine with Arthur's 9 line entry but not my 8 line one. Your 8 line entry was this (please correct me if you meant to refer to an entry from a different message): --- 8<

Re: [gentoo-dev] Proposal for a Universal Remote-ID File

2023-09-23 Thread Ulrich Mueller
> On Fri, 22 Sep 2023, Siddhanth Rathod wrote: > I'm writing to propose the creation of a universal remote-ID file > within the api.git or gentoo.git in the metadata/ directory. > Currently, we have eight different locations that require manual > updates for any future changes, including my

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-23 Thread Ulrich Mueller
> On Fri, 22 Sep 2023, Alex Boag-Munroe wrote: > Perhaps eventually it could/should be used for the whole file but as > an interim/beginning there's no reason you couldn't start with > comments: > # [PREAMBLE] > # Timestamp: 2023-09-21 15:07:42+00:00 > # Author: Arthur Zamarin > #

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-22 Thread Ulrich Mueller
>>>>> On Fri, 22 Sep 2023, Ulrich Mueller wrote: >>>>> On Fri, 22 Sep 2023, Florian Schmaus wrote: >> Some, including me, consider timestamps without timezone specifiers to >> be in local time (either of the consumer or producer of the >> tim

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-22 Thread Ulrich Mueller
> On Fri, 22 Sep 2023, Florian Schmaus wrote: > Some, including me, consider timestamps without timezone specifiers to > be in local time (either of the consumer or producer of the > timestamp). Hence, if you really must have UTC here, then at least > consider making it explicit my requiring

Re: [gentoo-dev] Standard parsable format for profiles/package.mask file

2023-09-22 Thread Ulrich Mueller
> On Fri, 22 Sep 2023, Oskari Pirhonen wrote: >> Each entry is composed of 2 parts: "#"-prefixed explanation block and >> list of "${CATEGORY}/${PN}" packages. Entries are separated when a new >> explanation block starts (meaning first "#"-prefixed line after packages >> list). You may add

Re: [gentoo-dev] Re: Standard parsable format for profiles/package.mask file

2023-09-21 Thread Ulrich Mueller
> On Thu, 21 Sep 2023, Florian Schmaus wrote: >> The first line of the "#"-prefixed explanation block must be of the >> format "${AUTHOR_NAME} <${EMAIL}> (${SINGLE_DATE})" when the date is of >> format -MM-DD, in UTC timezone. > > Can we drop this?

Re: [gentoo-dev] Standard parsable format for profiles/package.mask file

2023-09-21 Thread Ulrich Mueller
> On Thu, 21 Sep 2023, Arthur Zamarin wrote: > = "Formal" format = > Each entry is composed of 2 parts: "#"-prefixed explanation block and > list of "${CATEGORY}/${PN}" packages. Entries are separated when a new > explanation block starts (meaning first "#"-prefixed line after

Re: [gentoo-dev] last rites (kinda, long masked): sys-apps/opentmpfiles

2023-09-20 Thread Ulrich Mueller
> On Sun, 17 Sep 2023, Andreas K Huettel wrote: > # Andreas K. Hüttel (2021-07-06, 2023-09-15) Please use only a single date. The current line breaks parsing of the date on packages.gentoo.org, which shows 0001-01-01: https://packages.gentoo.org/packages/sys-apps/opentmpfiles

[gentoo-dev] Last rites: app-emacs/crypt++

2023-09-20 Thread Ulrich Mueller
# Ulrich Müller (2023-09-20) # Unmaintained upstream: Last release (2.92) in 2003, last commit # to XEmacs CVS repository in 2008. Broken with Emacs 29. # Masked for removal on 2023-10-20, bug #914449. app-emacs/crypt++ signature.asc Description: PGP signature

Re: [gentoo-dev] metadata.xml upstream docs as reference to scientific publications/papers

2023-09-17 Thread Ulrich Mueller
> On Sun, 17 Sep 2023, Florian Schmaus wrote: > > > > sounds perfectly fine. Don't use an attribute if you can put the information in the (otherwise empty) element. Especially, when other elements like already do it that way. > It would require (minor) adjustments to the schema and

Re: [gentoo-dev] metadata.xml upstream docs as reference to scientific publications/papers

2023-09-17 Thread Ulrich Mueller
> On Sun, 17 Sep 2023, Alexander Neuwirth wrote: > Thanks. Instead of using the lang entry I can imagine these other > approaches: > 1. doi/arxiv/... links could also easily be plugged in custom upstream > remote ids, but that also feels a bit wrong since all other [upstream > remote >

Re: [gentoo-dev] metadata.xml upstream docs as reference to scientific publications/papers

2023-09-15 Thread Ulrich Mueller
> On Fri, 15 Sep 2023, Alexander Neuwirth wrote: > I am looking for a way to link scientific publications to > ebuilds/packages. The easiest, but hacky way right now is to use the > |https://doi.org/...|. Integration with > |epkginfo|/|equery meta| works nicely out of the box. However, >

Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: teach setuptools to respect (some) build options

2023-09-14 Thread Ulrich Mueller
> On Wed, 13 Sep 2023, Eli Schwartz wrote: >> That's a rather bold statement. I can imagine a number of possible >> failures, e.g. no space left on device, quota exceeded, or a low-level >> I/O error of the filesystem. Also fork or exec of the cat command could >> fail (e.g. out of memory).

Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: teach setuptools to respect (some) build options

2023-09-13 Thread Ulrich Mueller
> On Wed, 13 Sep 2023, Eli Schwartz wrote: >> "|| die" should also be added for the cat command. > Redirecting output to a file in a directory you have just guaranteed > to exist cannot fail. That's a rather bold statement. I can imagine a number of possible failures, e.g. no space left on

Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: teach setuptools to respect (some) build options

2023-09-12 Thread Ulrich Mueller
> On Tue, 12 Sep 2023, Eli Schwartz wrote: > + mkdir -p "${BUILD_DIR}" || die > + local -x > DIST_EXTRA_CONFIG="${BUILD_DIR}/extra-setup.cfg" > + cat > "${DIST_EXTRA_CONFIG}" <<-EOF > +

Re: [gentoo-dev] [PATCH 2/3] verify-sig.eclass: Support `openssl dgst` format checksums

2023-09-08 Thread Ulrich Mueller
> On Fri, 08 Sep 2023, Michał Górny wrote: >> > + ! has "${filename}" "${files[@]}" && continue >> >> This might be clearer if it was written as: >> >> has "${filename}" "${files[@]}" || continue > Negative logic is never clearer. Exactly. That's why we generally do "command ||

Re: [gentoo-dev] [PATCH 2/3] verify-sig.eclass: Support `openssl dgst` format checksums

2023-09-04 Thread Ulrich Mueller
> On Mon, 04 Sep 2023, Michał Górny wrote: > --- a/eclass/verify-sig.eclass > +++ b/eclass/verify-sig.eclass > @@ -214,12 +214,15 @@ verify-sig_verify_message() { > } > # @FUNCTION: verify-sig_verify_unsigned_checksums > -# @USAGE: > +# @USAGE: Below,

Re: [gentoo-dev] [PATCH] eutils.eclass: Drop EAPI 7

2023-08-30 Thread Ulrich Mueller
In spite of the deprecation warning being in place for more than a year, this seems to have caused errors with EAPI 7 ebuilds in some overlays. Since we see some strange fixes, like downgrading of ebuilds to EAPI 6 (which is banned), here's a quick recipe for overlay maintainers how to go for

Re: [gentoo-dev] Add Hooks to Eselect

2023-08-21 Thread Ulrich Mueller
> On Mon, 21 Aug 2023, konsolebox wrote: > This actually allows users to virtually extend an eselect module without > needing to fork it. The things people can do are endless. This isn't what eselect modules were designed for. They are specialised tools that are supposed to do one thing,

Re: [gentoo-dev] Add Hooks to Eselect

2023-08-21 Thread Ulrich Mueller
> On Mon, 21 Aug 2023, Redjard wrote: > I did consider doing so, however with that approach my effective fork > of the kernel.eselect module would get continually outdated, while a > wrapper module requires a different command [...] Not necessarily. It could use the same name as the

Re: [gentoo-dev] Add Hooks to Eselect

2023-08-21 Thread Ulrich Mueller
> On Mon, 21 Aug 2023, Redjard wrote: > To roughly summarize, I was asking for a method to hook into eselect, > to modify the behavior of eselect kernel set. > I was pointed in the direction of a user patch by konsolebox, and > consequently wrote the patch. In addition to user patches, you

Re: [gentoo-dev] are there any lisps in the default/linux/amd64/17.0/musl profile?

2023-07-23 Thread Ulrich Mueller
>>>>> On Sun, 23 Jul 2023, Ulrich Mueller wrote: > I think what happens is this: sbcl is masked on musl, but it is the only > version that is enabled in the ebuild by the IUSE="+sbcl" default. > Therefore, none of the versions available on musl is enabled th

Re: [gentoo-dev] are there any lisps in the default/linux/amd64/17.0/musl profile?

2023-07-23 Thread Ulrich Mueller
> On Sun, 23 Jul 2023, Andrey Grozin wrote: > OK, sbcl is masked on musl. But why clisp, ecls, or gcl cannot be used > in the amd64 musl profile? > (I don't know if they actually work on amd64 musl systems, or if > anybody ever tried to do so. I just ask a formal question about Gentoo >

Re: [gentoo-dev] are there any lisps in the default/linux/amd64/17.0/musl profile?

2023-07-23 Thread Ulrich Mueller
> On Sun, 23 Jul 2023, Andrey Grozin wrote: > It seems that there are no lisps in this profile. This may be correct. > But where are all lisps masked? I see only > grozin@bilbo /home/gentoo/profiles $ find -name package.mask | xargs > fgrep lisp >

Re: [gentoo-dev] [PATCH 4/6] kernel-install.eclass: kernel-install_get_qemu_arch: port to sparc

2023-07-21 Thread Ulrich Mueller
> On Fri, 21 Jul 2023, Michał Górny wrote: > I suppose I originally didn't anticipate this many "matching" arches but > perhaps it's time to add something like: > arm|ppc|ppc64|riscv|sparc|sparc64) > echo ${ARCH} > ;; Sounds good. As a side note, eselect has a table with the (nearly)

Re: [gentoo-dev] [PATCH 4/6] kernel-install.eclass: kernel-install_get_qemu_arch: port to sparc

2023-07-21 Thread Ulrich Mueller
> On Fri, 21 Jul 2023, Sam James wrote: > @@ -162,6 +162,12 @@ kernel-install_get_qemu_arch() { > ppc64) > echo ppc64 > ;; > + sparc) > + echo sparc > + ;; > + sparc64) >

Re: [gentoo-dev] [PATCH v2] meson.eclass: allow disabling verbose compilation

2023-07-20 Thread Ulrich Mueller
> On Thu, 20 Jul 2023, Mike Gilbert wrote: > On Thu, Jul 20, 2023 at 11:06 AM Florian Schmaus wrote: >> While the bash language has no boolean datatype, you can exploit the >> fact that 'true' and 'false' are usually shell builtins: >> >> : "${MESON_VERBOSE:=true}" >> >> and then later >>

Re: [gentoo-dev] Re: [gentoo-dev-announce] Last rites: obsolete acct-* packages

2023-07-18 Thread Ulrich Mueller
> On Mon, 17 Jul 2023, Mike Gilbert wrote: > On Mon, Jul 17, 2023 at 4:27 PM Sam James wrote: >> > Haven't we been keeping these because we still need to decide on a >> > policy about what to do with dead acct-*/* packages? >> >> Right. https://bugs.gentoo.org/781881 is still open. Flow

Re: [gentoo-dev] [PATCH] git-r3.eclass: Use '__init__' as initial branch

2023-07-17 Thread Ulrich Mueller
> On Mon, 17 Jul 2023, konsolebox wrote: >> Maybe the commit message could shortly explain why this is needed, >> or what problem is fixed by it? > It silences the default branch warning. Add this sentence to the commit message then? > If that's unwanted, kindly just close the issue.

Re: [gentoo-dev] [PATCH] git-r3.eclass: Use '__init__' as initial branch

2023-07-17 Thread Ulrich Mueller
> On Mon, 17 Jul 2023, Matt Turner wrote: > From: konsolebox > Closes: https://bugs.gentoo.org/841392 > Signed-off-by: Matt Turner Maybe the commit message could shortly explain why this is needed, or what problem is fixed by it? signature.asc Description: PGP signature

Re: [gentoo-dev] Package stabilization groups

2023-07-16 Thread Ulrich Mueller
> On Sun, 16 Jul 2023, Arthur Zamarin wrote: > Let me list some things as advantages to each one (since I see an > advantage to one as disadvantage to other). > Advantages of field in metadata.xml: > - local to package, easier to not miss. Easier to follow for the maintainer. > - easier to

Re: [gentoo-dev] [PATCH 1/7] eclass/nuget.eclass: introduce new eclass

2023-07-16 Thread Ulrich Mueller
> On Sun, 16 Jul 2023, Maciej Barć wrote: > +case "${EAPI}" in > + 7 | 8 ) > + : > + ;; > + * ) > + die "${ECLASS}: EAPI ${EAPI} unsupported." > + ;; > +esac The QA team has invested quite some work to unify that case block between

Re: [gentoo-dev] Re: Flow's Manifesto and questions for nominees

2023-07-14 Thread Ulrich Mueller
> On Fri, 14 Jul 2023, Florian Schmaus wrote: > Posted to gentoo-dev@ since we are now entering a technical discussion > again. Please avoid crossposting, because that doesn't work well. (For example, the posting will have different Reply-To headers in gentoo-project and in gentoo-dev.)

Re: [gentoo-dev] [PATCH 4/4] distutils-r1.eclass: Disable LTO when using cargo.eclass

2023-07-12 Thread Ulrich Mueller
> On Wed, 12 Jul 2023, Michał Górny wrote: > + if [[ ${_CARGO_ECLASS} ]]; then > + filter-lto > + fi Testing for an internal variable of another eclass seems less than ideal. How about "has cargo ${INHERITED}" instead? Ulrich signature.asc Description: PGP signature

Re: [gentoo-dev] sci-mathematics/fricas ebuild

2023-07-11 Thread Ulrich Mueller
> On Tue, 11 Jul 2023, Andrey Grozin wrote: > Can somebody please edit the fricas-1.3.9.ebuild - replace the SRC_URI > by .../${P}-full.tar.bz2 and commit it to the tree? https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6412ecf83a0465531c65b115b0e3ff8d875296 signature.asc

Re: [gentoo-dev] Possible merge of myspell/hunspell dictionaries

2023-07-11 Thread Ulrich Mueller
> On Tue, 11 Jul 2023, Joonas Niilola wrote: > it would be better than the current situation for sure, but my > impression with myspell* packages is that they all have different > version releases and different upstream source uris, so just wondering > can it be done with a single package? In

Re: [gentoo-dev] Possible merge of myspell/hunspell dictionaries

2023-07-09 Thread Ulrich Mueller
> On Sun, 09 Jul 2023, Mart Raudsepp wrote: > Ühel kenal päeval, P, 09.07.2023 kell 10:10, kirjutas Sam James: >> >> zurabid2...@gmail.com writes: >> >> > I am new here, so I'm sorry in advance for any stupid thing I may >> > say. I want to adopt hunspell for various reasons and what I've

Re: [gentoo-dev] [PATCH] user-info.eclass: egetent: fix lookup by id when ROOT != /

2023-07-09 Thread Ulrich Mueller
LGTM except for a typo in the commit message: > Adding a colon to the grep expression yeilds the desired result: signature.asc Description: PGP signature

Re: [gentoo-dev] EGO_SUM

2023-07-03 Thread Ulrich Mueller
> On Mon, 03 Jul 2023, Florian Schmaus wrote: > So pkgcheck counting EGO_SUM entries would be sufficient for the > purpose of having a static check that notices if the ebuild would > likely run into the environment limit? > To find a common compromise, I would possibly invest my time in >

Re: [gentoo-dev] [PATCH 1/2] gradle.eclass: add new eclass

2023-06-28 Thread Ulrich Mueller
> On Wed, 28 Jun 2023, Florian Schmaus wrote: > +# @FUNCTION: gradle-src_uri > +# @DESCRIPTION: > +# Generate SRC_URI data from EGRADLE_BUNDLED_VER. > +gradle-src_uri() { This is named gradle_src_uri (with two underscores) in the main eclass documentation. > +# @FUNCTION: gradle-src_unpack

Re: [gentoo-dev] [PATCH] cmake.eclass: workaround S=${WORKDIR} creating builddir above ${WORKDIR}

2023-06-26 Thread Ulrich Mueller
> On Mon, 26 Jun 2023, Jaco Kroon wrote: >> if [[ ${BUILD_DIR} != "${WORKDIR}"/* ]]; then > BUILD_DIR="${WORKDIR}/../build" Oh right, I hadn't thought about the case that the ebuild would override it. (AFAICS cmake.eclass itself doesn't do .. in BUILD_DIR.) > I know it's pathological ...

Re: [gentoo-dev] [PATCH] cmake.eclass: workaround S=${WORKDIR} creating builddir above ${WORKDIR}

2023-06-26 Thread Ulrich Mueller
> On Mon, 26 Jun 2023, Sam James wrote: > + > + # Avoid creating ${WORKDIR}_build (which is above WORKDIR). > + # TODO: For EAPI > 8, we should ban S=WORKDIR for CMake. > + # See bug #889420. > + if [[ ${S} == ${WORKDIR} && ${BUILD_DIR} ==

Re: [gentoo-dev] [PATCH 7/7] pypi.eclass: Avoid subshell for extglob setting

2023-06-13 Thread Ulrich Mueller
> On Tue, 13 Jun 2023, Michał Górny wrote: > _pypi_normalize_name() { > local name=${1} > - local shopt_save=$(shopt -p extglob) > - shopt -s extglob > + local prev_extglob=-s > + if ! shopt -p extglob >/dev/null; then > + prev_extglob=-u > +

Re: [gentoo-dev] [PATCH v2] java-pkg-simple.eclass: respect SLOT="0" in JAVA_LAUNCHER_FILENAME

2023-05-29 Thread Ulrich Mueller
> On Mon, 29 May 2023, Volkmar W Pogatzki wrote: > +if [[ ${SLOT} = 0 ]]; then > +: "${JAVA_LAUNCHER_FILENAME:=${PN}}" > +else > : "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}" > +fi Please indent the lines in the then and else blocks. signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH] java-pkg-simple.eclass: respect SLOT="0" in JAVA_LAUNCHER_FILENAME

2023-05-29 Thread Ulrich Mueller
> On Mon, 29 May 2023, Volkmar W Pogatzki wrote: >> > -: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}" >> > +if [[ ${SLOT} = 0 ]]; then >> > + JAVA_LAUNCHER_FILENAME="${PN}" >> > +else >> > + JAVA_LAUNCHER_FILENAME="${PN}-${SLOT}" >> > +fi >> >> This will no longer allow overriding the

Re: [gentoo-dev] [PATCH] java-pkg-simple.eclass: respect SLOT="0" in JAVA_LAUNCHER_FILENAME

2023-05-26 Thread Ulrich Mueller
> On Fri, 26 May 2023, Volkmar W Pogatzki wrote: > -: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}" > +if [[ ${SLOT} = 0 ]]; then > + JAVA_LAUNCHER_FILENAME="${PN}" > +else > + JAVA_LAUNCHER_FILENAME="${PN}-${SLOT}" > +fi This will no longer allow overriding the variable in the ebuild

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

2023-05-22 Thread Ulrich Mueller
> On Mon, 22 May 2023, Andreas Sturmlechner wrote: >> Should it be renamed to "skia" for libreoffice, because that's also the >> name of the upstream flag? libreoffice will also output a warning with >> USE="vulkan -clang". > That would not be accurate. The (bundled) skia is always being

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

2023-05-22 Thread Ulrich Mueller
> On Mon, 22 May 2023, Ionen Wolkens wrote: >> That's a non-sequitur. No reason to not have it on doesn't imply that >> there is a reason to have it on. >> >> Also, shouldn't we avoid enabling local flags in profiles? > I keep forgetting that this is still not global either, guess it'll >

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

2023-05-22 Thread Ulrich Mueller
> On Sun, 21 May 2023, Sam James wrote: > Ionen pointed this out again today and it made me look back at it; > there's no reason to not have vulkan on by default for desktop > profiles. That's a non-sequitur. No reason to not have it on doesn't imply that there is a reason to have it on.

Re: [gentoo-dev] Last rites: app-portage/g-sorcery

2023-05-19 Thread Ulrich Mueller
> On Fri, 19 May 2023, David Seifert wrote: > # David Seifert (2023-05-19) > # Depends on app-portage/layman. Removal on 2023-06-18. > app-portage/g-sorcery > # David Seifert (2023-05-19) > # Depends on obsolete app-portage/g-sorcery. > # Removal on 2023-06-18. > app-portage/gs-elpa

Re: [gentoo-dev] [RFC] News Item v2: Plasma Profile to switch on PipeWire, Wayland support

2023-05-16 Thread Ulrich Mueller
> On Tue, 16 May 2023, Andreas Sturmlechner wrote: > Title: Plasma Profile to switch on PipeWire, Wayland support 011223344 12345678901234567890123456789012345678901234567890123 The title is slightly too long, GLEP 42 says 50

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

2023-05-08 Thread Ulrich Mueller
> On Mon, 08 May 2023, Matt Turner wrote: >> > +++ >> > b/2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt >> >> https://www.gentoo.org/glep/glep-0042.html#news-item-identities >> "This identifier will be in the form -mm-dd-short-name [...]. >>

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

2023-05-08 Thread Ulrich Mueller
> On Mon, 08 May 2023, Sam James wrote: > +++ > b/2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt https://www.gentoo.org/glep/glep-0042.html#news-item-identities "This identifier will be in the form -mm-dd-short-name [...]. The short-name is a

[gentoo-dev] Re: Does anyone still rely on the CONF_LIBDIR variable?

2023-05-05 Thread Ulrich Mueller
>>>>> On Wed, 03 May 2023, Ulrich Mueller wrote: > I wonder about the CONF_LIBDIR variable and the implementation of the > dolib* commands in Portage. These commands normally use the ABI and > LIBDIR_${ABI} variables from the profile to determine the library > dire

Re: [gentoo-dev] Last rites: www-client/chromium-bin

2023-05-04 Thread Ulrich Mueller
> On Thu, 04 May 2023, James Le Cuirot wrote: >> On May 4, 2023 6:38:32 PM UTC, Mike Gilbert wrote: >> > # Out of date by several versions. Many unresolved security >> > # vulnerabilities. Lack of manpower/interest in keeping it up to date. >> > # Removal on 2023-06-03. >> >

[gentoo-dev] Does anyone still rely on the CONF_LIBDIR variable?

2023-05-03 Thread Ulrich Mueller
I wonder about the CONF_LIBDIR variable and the implementation of the dolib* commands in Portage. These commands normally use the ABI and LIBDIR_${ABI} variables from the profile to determine the library directory (e.g. "lib" or "lib64"). However, if either ABI or LIBDIR_${ABI} happens to be

  1   2   3   4   5   6   7   8   9   10   >