Re: [gentoo-dev] The uncertain future of repository mirrors

2025-03-30 Thread Florian Schmaus
On 30/03/2025 10.11, Michael Mair-Keimberger wrote: On 2025-03-21 14:32, Michał Górny wrote: Hello, everyone. TL;DR: I'm thinking of shutting down all gentoo-mirror repositories, except for gentoo and guru. Hi, I guess i'm a bit late in this discussion but i wanted to let you know this woul

Re: [gentoo-dev] The uncertain future of repository mirrors

2025-03-28 Thread Florian Schmaus
On 21/03/2025 14.32, Michał Górny wrote: Hello, everyone. TL;DR: I'm thinking of shutting down all gentoo-mirror repositories, except for gentoo and guru. Somewhat related: we may want to consider slightly raising the bar for adding new (user) overlays. When mangling the overlay addition requ

Re: [gentoo-dev] New category for AI related packages

2025-03-12 Thread Florian Schmaus
On 10/03/2025 21.40, Alfredo Tupone wrote: To declutter sci-libs and dev-libs from most of the "so called" AI packages I think that a new category should be created. Maybe sci-ai/ or dev-ai/ or sci-dl/ (deep-learning) Thanks for your proposal. I would go with sci-ai/*, even if all packages und

[gentoo-dev] [PATCH 2/2] latex-package.eclass: introduce LATEX_ENGINE variable

2025-02-24 Thread Florian Schmaus
Closes: https://bugs.gentoo.org/950021 Signed-off-by: Florian Schmaus --- eclass/latex-package.eclass | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index f23897d4315c..e35da30e1b44 100644 --- a/eclass

[gentoo-dev] [PATCH 1/2] latex-package.eclass: use edo

2025-02-24 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/latex-package.eclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index dfef7fc2836f..f23897d4315c 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex

Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-14 Thread Florian Schmaus
On 13/01/2025 14.36, Michał Górny wrote: On Mon, 2025-01-13 at 10:40 +0100, Florian Schmaus wrote: First, switching from individual crates to a single crate tarball disallows inter-package crate archive reuse. Often, users will already have the required crates downloaded because another

Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-13 Thread Florian Schmaus
On 12/01/2025 13.56, Michał Górny wrote: Emit a QA warning suggesting the use of crate tarball, when the package in question uses 300 crates or more. Such a long crate lists cause ebuilds and Manifests to grow very fast, causing significant space consumption on end user systems (including users

Re: [gentoo-dev] [PATCH 3/3] profiles/use.desc: make USE=io-uring global

2025-01-03 Thread Florian Schmaus
On 01/01/2025 23.41, Filip Kobierski wrote: > Signed-off-by: Filip Kobierski > --- > app-containers/lxc/metadata.xml| 1 - > app-emulation/qemu/metadata.xml| 1 - > dev-ruby/io-event/metadata.xml | 3 --- > media-sound/mpd/metadata.xml

Re: [gentoo-dev] [RFC] New global USE flag: io-uring

2024-12-12 Thread Florian Schmaus
On 08/11/2024 18.20, Filip Kobierski wrote: Hello everyone, lately I have been looking into the io_uring functionality in the kernel and apps that I use -- what could be a non-generic USE flag shared by mpd and qemu? I have noticed that currently 9 packages[1] have an io-uring USE flag. All of

[gentoo-dev] [PATCH 3/3] dev-tex/minted: remove workaround for buggy latex-package.eclass

2024-12-11 Thread Florian Schmaus
Now that latex-package.eclass is fixed, we can drop the workaround. Signed-off-by: Florian Schmaus --- dev-tex/minted/minted-3.4.0.ebuild | 5 - 1 file changed, 5 deletions(-) diff --git a/dev-tex/minted/minted-3.4.0.ebuild b/dev-tex/minted/minted-3.4.0.ebuild index 2e59495b4426

[gentoo-dev] [PATCH 2/3] latex-package.eclass: add default case to latex-package_src_doinstall

2024-12-11 Thread Florian Schmaus
Add a default case to the switch/case statement in latex-package_src_doinstall, invoking die. Signed-off-by: Florian Schmaus --- eclass/latex-package.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index d6426775f720

[gentoo-dev] [PATCH 1/3] latex-package.eclass: do not set $@ in latex-package_src_doinstall's loop

2024-12-11 Thread Florian Schmaus
ot;tex dtx dvi ps pdf" cases. However, once a 'tex' or 'dtx' case was processed, the remaining onces are no longer be processed, due the bug described above. The fix is simple: do not abuse $@ to save the pdflatex command, instead, use a dedicated local variable. Fix

[gentoo-dev] [PATCH] texlive-module.eclass: use pipestatus

2024-12-11 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index f8b6f0858cd6..4ba507d4fd70 100644 --- a/eclass/texlive-module.eclass +++ b/eclass

[gentoo-dev] Package up for grabs: sys-power/autosuspend

2024-12-10 Thread Florian Schmaus
We previously used sys-power/autosuspend in our lab, but the package has some flaws and drawbacks, that motivated me to write an alternative (available as sys-power/sandmann-bin). Since the last of our systems running sys-power/autosuspend is now gone, I dropped myself as maintainer. The follo

[gentoo-dev] Last rites: dev-util/android-sdk-update-manager

2024-12-05 Thread Florian Schmaus
# Volkmar W. Pogatzki (2024-12-04) # Bugs #845294 #757543 #517744 #704198 #366739 #350302 #614318 #637422 # #738898 #501586. # Blocks removal of dev-java/swt-3.7.2-r4, bug #944885. # Users should switch to dev-util/android-sdk-cmdline-tools for a CLI # replacement or dev-util/android-studio for a

Re: [gentoo-dev] [PATCH v2 1/2] sec-keys.eclass: new eclass

2024-11-28 Thread Florian Schmaus
On 28/11/2024 05.32, Eli Schwartz wrote: The current state of verify-sig support is a bit awkward. We rely on validating distfiles against a known trusted keyring, but creating the known trusted keyring is basically all manual verification. We somehow decide an ascii armored key is good enough wi

Re: [gentoo-dev] New eclass: eapi9-pipestatus.eclass

2024-11-27 Thread Florian Schmaus
On 24/11/2024 13.24, Ulrich Müller wrote: This implements a pipestatus command, as discussed in bug 566342 [1] and on IRC. Subject to approval by the council, the command would be added in EAPI 9. Its definition in the Package Manager Specification would be along the lines of: ╓ ║ Tests the

Re: [gentoo-dev] [PATCH] profiles/thirdpartymirrors: add final fallback for apache

2024-10-26 Thread Florian Schmaus
On 26/10/2024 17.25, Mike Gilbert wrote: On Sat, Oct 26, 2024 at 1:03 AM Robin H. Johnson wrote: On Tue, Oct 22, 2024 at 11:24:29PM -0400, Eli Schwartz wrote: Apache has a mirror network, which only covers the most recent release of any given package. They also have an additional site which do

Re: [gentoo-dev] [PATCH 1/5] zig-toolchain.eclass: new eclass

2024-10-24 Thread Florian Schmaus
On 24/10/2024 09.38, Matt Jolly wrote: Is anyone actually using an 80-column display in 2024? Could we look at relaxing this to something more sane / modern like 120? Are there any accessibility concerns, etc.? In present days, its not about the width of the used terminal/display. As ulm wrote

[gentoo-dev] Packages up for grabs: dev-libs/cgreen, gnome-extra/nautilus-dropbox, sys-apps/thunderbolt-software-user-space

2024-08-26 Thread Florian Schmaus
Due the retirement of the proxied maintainer, the following packages are up for grabs: dev-libs/cgreen gnome-extra/nautilus-dropbox sys-apps/thunderbolt-software-user-space - Flow OpenPGP_0x8CAC2A9678548E35.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digit

Re: [gentoo-dev] Last rites: dev-lang/scala, dev-lang/mozart, dev-lang/mozart-stdlib, app-emacs/scala-mode

2024-07-27 Thread Florian Schmaus
On 27/07/2024 12.30, Maciej Barć wrote: app-emacs/scala-mode I would be against removing this pkg except that it is true that it depends on a Scala interpreter on runtime, very weird design choice. FYI: app-emacs/scala-ts-mode may be an alternative. @Volkmar: You may want to adjust the last

[gentoo-dev] [PATCH] java-utils-2.eclass: select java-config binary, prefer java-config over java-config-2

2024-07-27 Thread Florian Schmaus
is enabled (currently the default). Signed-off-by: Florian Schmaus --- eclass/java-utils-2.eclass | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 8a062f2ad87e..559342068cc0 100644 --- a/eclass/java-utils-2.ec

Re: [gentoo-dev] [PATCH v5] greadme.eclass: new eclass

2024-07-23 Thread Florian Schmaus
On 21/07/2024 10.26, Ulrich Mueller wrote: On Tue, 16 Jul 2024, Florian Schmaus wrote: Notes: - also show readme contents if FEATURES=nodoc Good. :) Thanks for your review. --- /dev/null +++ b/eclass/greadme.eclass @@ -0,0 +1,257 @@ +# Copyright 1999-2024 Gentoo Authors

[gentoo-dev] [PATCH 2/2] rebar3.eclass: add new eclass

2024-07-16 Thread Florian Schmaus
Add a new eclass for dev-util/rebar:3, based on the work of Anna Vyalkova in ::guru (thanks!). The Erlang/OTP ecosystem is moving to Rebar3. Upstreams start to drop support for Rebar2, or at least consider it. Signed-off-by: Florian Schmaus --- eclass/rebar3.eclass | 194

[gentoo-dev] [PATCH 1/2] rebar.eclass: factor out common functions into rebar-utils.eclass

2024-07-16 Thread Florian Schmaus
In preperation for rebar3.eclass, factor out common functions into rebar-utils.eclass. Signed-off-by: Florian Schmaus --- eclass/rebar-utils.eclass | 160 ++ eclass/rebar.eclass | 112 +- 2 files changed, 163 insertions(+), 109

[gentoo-dev] [PATCH v5] greadme.eclass: new eclass

2024-07-16 Thread Florian Schmaus
class exports phase functions, which helps to reduce the boilerplate code in many cases. I would like to thank ulm for assistance with the eclass' code. Signed-off-by: Florian Schmaus --- Notes: - also show readme contents if FEATURES=nodoc eclass/greadme.ec

[gentoo-dev] [PATCH 0/2] Introduce rebar3.eclass

2024-07-16 Thread Florian Schmaus
is the best approach. Florian Schmaus (2): rebar.eclass: factor out common functions into rebar-utils.eclass rebar3.eclass: add new eclass eclass/rebar-utils.eclass | 154 eclass/rebar.eclass | 99 +- eclass/reba

[gentoo-dev] [PATCH] texlive-common.eclass: Add TEXLIVE_SCRIPTS_W_FILE_EXT variable

2024-07-16 Thread Florian Schmaus
m/TeX-Live/texlive-source/blob/c087bab35570b1d5cb0afd272611a7a4ec3c9e38/texk/texlive/linked_scripts/Makefile.am#L330 Bug: https://bugs.gentoo.org/934975 Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/eclass/

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

2024-07-15 Thread Florian Schmaus
On 15/07/2024 04.39, Eli Schwartz wrote: On 7/10/24 11:38 PM, Anna (cybertailor) Vyalkova wrote: On 2024-07-10 09:19, Florian Schmaus wrote: From: Florian Schmaus Add a new eclass for dev-util/rebar:3, based on the work of Anna Vyalkova in ::guru (thanks!). There's also rebar3.ecla

Re: [gentoo-dev] [PATCH] cargo.eclass: Add cargo_target_dir helper function

2024-07-06 Thread Florian Schmaus
On 16/06/2024 00.22, James Le Cuirot wrote: On Sat, 2024-06-15 at 17:56 -0400, Ionen Wolkens wrote: On Sat, Jun 15, 2024 at 08:14:34PM +0200, Florian Schmaus wrote: On 13/06/2024 17.03, James Le Cuirot wrote: Several Cargo-based ebuilds cannot use cargo_src_install for various reasons and

[gentoo-dev] Re: Arch Status and Future Plans

2024-06-26 Thread Florian Schmaus
Hi Arthur, thanks for taking the time to write this mail. On 25/06/2024 19.33, Arthur Zamarin wrote: x86 Stable 32-bit arch. I'll be honest, I don't believe at all this should be stable arch anymore. I have the impression as well. The time to drop stable keywords for x86 p

[gentoo-dev] [PATCH] java-utils-2.eclass: add --runtime-only argument to java-pkg_getjars

2024-06-25 Thread Florian Schmaus
Some packages only need the jar at runtime, not at compile time. For example https://bugs.gentoo.org/934659#c2 Bug: https://bugs.gentoo.org/934659 Signed-off-by: Florian Schmaus --- eclass/java-utils-2.eclass | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/eclass

Re: [gentoo-dev] [PATCH 1/5] gui-libs/gtk: add a "poison" macro support to disable X/wayland

2024-06-24 Thread Florian Schmaus
On 23/06/2024 19.35, Eli Schwartz wrote: Many packages perform automagic dependencies on gdk's backend implementations by checking if the macro is defined and then using the code it unlocks, rather than having a buildsystem option such as -Dwayland=true. It's unfeasible to patch every such packa

[gentoo-dev] [PATCH] readme.gentoo-r1.eclass: fix description of DISABLE_AUTOFORMATTING by s/fmt/fold/

2024-06-19 Thread Florian Schmaus
also https://bugs.gentoo.org/460050#c7 Signed-off-by: Florian Schmaus --- eclass/readme.gentoo-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass index 202ba31f4f70..35c3d3748550 100644 --- a/eclass/readme

Re: [gentoo-dev] [PATCH v4] greadme.eclass: new eclass

2024-06-19 Thread Florian Schmaus
On 19/06/2024 10.32, Ulrich Mueller wrote: On Tue, 18 Jun 2024, Florian Schmaus wrote: Any preference regarding the auto-formatting tool? The readme.gentoo-r1.eclass uses fold, but fmt (both are in coreutils) would probably also be an option (and has a --uniform-spacing option

Re: [gentoo-dev] [PATCH v4] greadme.eclass: new eclass

2024-06-18 Thread Florian Schmaus
On 18/06/2024 20.21, Arthur Zamarin wrote: On 18/06/2024 17.53, Florian Schmaus wrote: Thanks for pointing this out. I think I understand now what arthur is asking for: src_install() {     ...     local DOC_CONTENTS="My README.Gentoo contents"     readme.gentoo_create_doc } @

Re: [gentoo-dev] [PATCH v4] greadme.eclass: new eclass

2024-06-18 Thread Florian Schmaus
On 18/06/2024 16.02, Ulrich Mueller wrote: On Tue, 18 Jun 2024, Florian Schmaus wrote: Finally, unlike readme.gentoo-r1.elcass, this eclass does not need to store the content of the readme in an environment variable. Not having to store the content in an environment variable reduces the

Re: [gentoo-dev] [PATCH v4] greadme.eclass: new eclass

2024-06-18 Thread Florian Schmaus
Hi Arthur, thanks for your mail. On 16/06/2024 20.15, Arthur Zamarin wrote: On 16/06/2024 18.51, Florian Schmaus wrote: This new eclass includes various improvements over the existing readme.gentoo-r1.eclass. So, some weird question from me - why is it called greadme? I can understand why

[gentoo-dev] [PATCH v4] greadme.eclass: new eclass

2024-06-16 Thread Florian Schmaus
nment (sadly, this only refers to the process environment). Signed-off-by: Florian Schmaus --- eclass/greadme.eclass | 240 ++ 1 file changed, 240 insertions(+) create mode 100644 eclass/greadme.eclass diff --git a/eclass/greadme.eclass b/eclass/greadme.eclas

Re: [gentoo-dev] [PATCH] cargo.eclass: Add cargo_target_dir helper function

2024-06-15 Thread Florian Schmaus
On 13/06/2024 17.03, James Le Cuirot wrote: Several Cargo-based ebuilds cannot use cargo_src_install for various reasons and manually install binaries from within the target directory instead. It is common to see `target/$(usex debug debug release)`, but this lacks the target ABI when cross-compi

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

2024-06-13 Thread Florian Schmaus
On 13/06/2024 13.59, Ionen Wolkens wrote: On Thu, Jun 13, 2024 at 10:39:24AM +0200, Florian Schmaus wrote: Following up on the discussion of the last patchset, this - moves the functionally into a new eclass, as adjusting the existing eclass to export new phase functions is not viable

Re: [gentoo-dev] [PATCH v3 1/1] greadme.eclass: new eclass

2024-06-13 Thread Florian Schmaus
On 13/06/2024 11.31, Ulrich Mueller wrote: On Thu, 13 Jun 2024, Florian Schmaus wrote: +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: greadme.eclass +# @MAINTAINER: +# Florian Schmaus +# @AUTHOR: +# Author: Florian

Re: [gentoo-dev] [PATCH v3 1/1] greadme.eclass: new eclass

2024-06-13 Thread Florian Schmaus
On 13/06/2024 12.42, Ulrich Mueller wrote: On Thu, 13 Jun 2024, Florian Schmaus wrote: +_GREADME_DOC_DIR="usr/share/doc/${PF}" It is somewhat unusual to call insinto or docompress with a relative path. I'd use "/usr/share/doc/${PF}" here. +_GREADME_REL

[gentoo-dev] [PATCH v3 0/1] greadme.eclass: new eclass

2024-06-13 Thread Florian Schmaus
;, then we can go with that. Florian Schmaus (1): greadme.eclass: new eclass eclass/greadme.eclass | 223 ++ 1 file changed, 223 insertions(+) create mode 100644 eclass/greadme.eclass -- 2.44.2

[gentoo-dev] [PATCH v3 1/1] greadme.eclass: new eclass

2024-06-13 Thread Florian Schmaus
nment (sadly, this only refers to the process environment). Signed-off-by: Florian Schmaus --- eclass/greadme.eclass | 223 ++ 1 file changed, 223 insertions(+) create mode 100644 eclass/greadme.eclass diff --git a/eclass/greadme.eclass b/eclass/greadme.eclas

Re: [gentoo-dev] TeX Live 2023 stabilization imminent

2024-06-10 Thread Florian Schmaus
On 10/06/2024 17.01, matoro wrote: Hi Flow, I went ahead and started reviewing this bug for the remaining arches.  However when I ran it, I discovered that tests do not seem to run on the 2023 version, where they were previously being run on the 2021 version. Thanks for pointing this out. Loo

[gentoo-dev] TeX Live 2023 stabilization imminent

2024-06-09 Thread Florian Schmaus
After many months of work, the stabilization of TeX Live 2023 is imminent. I would first like to thank everyone who contributed, reported bugs, and helped to make this happen. Special thanks goes to negril for providing the initial prototype ebuilds that helped to get this going. TeX Live 202

Re: [gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install)

2024-06-04 Thread Florian Schmaus
On 04/06/2024 19.45, Ulrich Mueller wrote: On Tue, 04 Jun 2024, Florian Schmaus wrote: Both is fine with me. That said, many filesystem support inline data. If I am not mistaken, then its even enabled by default for xfs (which we recommend in the handbook) and btrfs. Also some

Re: [gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install)

2024-06-04 Thread Florian Schmaus
On 02/06/2024 20.24, Ulrich Mueller wrote: Installing another file just for the sake of avoiding "docompress -x" doesn't solve the problem but makes it worse, IMHO. Rather don't compress README.gentoo then. Both is fine with me. That said, many filesystem support inline data. If I am not mista

Re: [gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install)

2024-06-02 Thread Florian Schmaus
On 02/06/2024 18.28, Ulrich Mueller wrote: On Sun, 02 Jun 2024, Eli Schwartz wrote: Per the commit message, the old readme and the new readme can have the same contents, but be compressed by different compressors on the live system vs the image, and/or a compressor with unstable algorithms, an

Re: [gentoo-dev] [PATCH 0/4] Improve readme.gentoo-r1.eclass

2024-06-02 Thread Florian Schmaus
On 02/06/2024 18.40, Ulrich Mueller wrote: On Sun, 02 Jun 2024, Florian Schmaus wrote: IMHO that's a very bad idea and will probably break ebuilds that rely on the current behaviour. I pondered about this and its one of the reasons I'd rather start with a fresh eclass. That s

Re: [gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install)

2024-06-02 Thread Florian Schmaus
On 02/06/2024 17.34, Ulrich Mueller wrote: On Sun, 02 Jun 2024, Florian Schmaus wrote: + ( + insinto "${_GREADME_DOC_DIR}" + + doins "${_GREADME_TMP_FILE}" + cksum --raw "${_GREADME_TMP_FILE}" | newin

Re: [gentoo-dev] [PATCH 0/4] Improve readme.gentoo-r1.eclass

2024-06-02 Thread Florian Schmaus
On 02/06/2024 17.25, Ulrich Mueller wrote: On Sun, 02 Jun 2024, Florian Schmaus wrote: Note that this changes readme.gentoo-r1.eclass to export phase functions when it previously did not. IMHO that's a very bad idea and will probably break ebuilds that rely on the current behaviour

[gentoo-dev] [PATCH 4/4] readme.gentoo-r1.eclass: add readme.gentoo_file()

2024-06-02 Thread Florian Schmaus
The new readme.gentoo_file() function provided more flexibility from where the readme file is obtained, compared to the existing methods. Signed-off-by: Florian Schmaus --- eclass/readme.gentoo-r1.eclass | 21 + 1 file changed, 21 insertions(+) diff --git a/eclass

[gentoo-dev] [PATCH 3/4] readme.gentoo-r1.eclass: add readme.gentoo_stdin()

2024-06-02 Thread Florian Schmaus
Add a new function readme.gentoo_stdin() that consumes the content of README.gentoo from stdin. In many cases, this is a supperiour method to construct readme, compared to the eclass' DOC_CONTENTS approach. Signed-off-by: Florian Schmaus --- eclass/readme.gentoo-r1.eclass

[gentoo-dev] [PATCH 2/4] readme.gentoo-r1.eclass: use _GREADME_TMP_FILE in existing code

2024-06-02 Thread Florian Schmaus
The previous commit introduced _GREADME_TMP_FILE. This commit changes the existing code to use this variable. Signed-off-by: Florian Schmaus --- eclass/readme.gentoo-r1.eclass | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/readme.gentoo-r1.eclass b/eclass

[gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install)

2024-06-02 Thread Florian Schmaus
to uncompress the live system's version of README.gentoo (let alone that it is not trivial to find a suitable decompressor candidate). Signed-off-by: Florian Schmaus --- eclass/readme.gentoo-r1.eclass | 124 - 1 file changed, 108 insertions(+), 16 deletions(-)

[gentoo-dev] [PATCH 0/4] Improve readme.gentoo-r1.eclass

2024-06-02 Thread Florian Schmaus
ate) my concern that updating the existing eclass, instead of starting fresh with a new eclass, misses the chance to eliminate some ballast. Florian Schmaus (4): readme.gentoo-r1.eclass: display readme if content changed (or fresh install) readme.gentoo-r1.eclass: use _GREADME_TMP_F

[gentoo-dev] [PATCH] 2024-06-05-texlive-2023-bump: add news item

2024-06-02 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- .../2024-06-05-texlive-2023-bump.en.txt | 34 +++ 1 file changed, 34 insertions(+) create mode 100644 2024-06-05-texlive-2023-bump/2024-06-05-texlive-2023-bump.en.txt diff --git a/2024-06-05-texlive-2023-bump/2024-06-05-texlive-2023

Re: [gentoo-dev] Imminent Python 3.12 switch reminder

2024-05-30 Thread Florian Schmaus
On 29/05/2024 11.30, Martin Dummer wrote: Am 28.05.24 um 08:24 schrieb Michał Górny: If you're up for some more quick porting, right now's the time! https://github.com/gentoo/gentoo/pull/36502 laying around for ~ 1 Month Unfortunately it happens that proxy-maint PRs slip through the cracks.

[gentoo-dev] [PATCH 3/3] texlive-module.eclass: include PIPESTATUS in die message

2024-05-20 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 7d40bfc58994..98c28f578216 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive

[gentoo-dev] [PATCH 2/3] texlive-module.eclass: invoke doman with nonfatal

2024-05-20 Thread Florian Schmaus
In case doman fails, we do not want to die immediatly as it would "break" the ebegin/eend combination. Instead, the exit status is passed through xargs. It will then subsequently appear in PIPESTATUS, where it is processed by eend || die. Signed-off-by: Florian Schmaus Suggested-

[gentoo-dev] [PATCH 1/3] texlive-module.eclass: do not treat grep returning 1 as error

2024-05-20 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 0daca41961ff..b202a0188b66 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive

[gentoo-dev] Obtaining values for --jobs and --load-average

2024-05-15 Thread Florian Schmaus
On 12/05/2024 20.21, Michał Górny wrote: On Sun, 2024-05-12 at 19:22 +0200, Florian Schmaus wrote: On 12/05/2024 04.26, Michał Górny wrote: + if [[ ${PKGBUMPING} != ${PVR} ]]; then + pushd "${DISTDIR}" >/dev/null || die + + ebegin &quo

Re: [gentoo-dev] [PATCH] cargo.eclass: Optimize crate unpacking

2024-05-13 Thread Florian Schmaus
On 12/05/2024 20.21, Michał Górny wrote: On Sun, 2024-05-12 at 19:22 +0200, Florian Schmaus wrote: On 12/05/2024 04.26, Michał Górny wrote: + if [[ ${PKGBUMPING} != ${PVR} ]]; then + pushd "${DISTDIR}" >/dev/null || die + + ebegin &quo

Re: [gentoo-dev] [PATCH] cargo.eclass: Optimize crate unpacking

2024-05-12 Thread Florian Schmaus
On 12/05/2024 04.26, Michał Górny wrote: Unpack crates in parallel using xargs to utilize multicore systems better. Perform checksumming via a single sha256sum invocation. For dev-python/watchfiles, this speeds up unpacking on my machine from 2.6 s to 0.75 s (warm cache). Signed-off-by: Michał

[gentoo-dev] [PATCH 2/2] eftmutil-sys: use edob

2024-05-08 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 15d475799a88..072581dde78e 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive

[gentoo-dev] [PATCH 1/2] edo.eclass: enhace edob for usage with nosiy commands

2024-05-08 Thread Florian Schmaus
, which we expect users to attach to bug reports. Signed-off-by: Florian Schmaus --- eclass/edo.eclass | 66 --- 1 file changed, 56 insertions(+), 10 deletions(-) diff --git a/eclass/edo.eclass b/eclass/edo.eclass index c2e7ed60083f..0d410719675c 100644

[gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands

2024-05-08 Thread Florian Schmaus
://github.com/gentoo/gentoo/pull/36117 Florian Schmaus (2): edo.eclass: enhace edob for usage with nosiy commands eftmutil-sys: use edob eclass/edo.eclass| 54 eclass/texlive-common.eclass | 8 -- 2 files changed, 53 insertions(+), 9 deletions

[gentoo-dev] [PATCH v2] texlive-module.eclass: install man pages in right location

2024-05-01 Thread Florian Schmaus
: Florian Schmaus --- eclass/texlive-module.eclass | 186 +++ 1 file changed, 186 insertions(+) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 401b75bc4d11..293b6591a6b1 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive

[gentoo-dev] [PATCH] texlive-module.eclass: install man pages in right location

2024-04-30 Thread Florian Schmaus
The TeX Live packages under dev-texlive/* currently do not install the man pages in the right location. They are under /usr/share/texmf-dist/doc/man. Install them at the right location using doman. Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 12 +++- 1 file

Re: [gentoo-dev] [PATCH] texlive-common.eclass: add newline between tlbobj entries in tlpdb

2024-04-28 Thread Florian Schmaus
On 28/04/2024 14.13, Ulrich Mueller wrote: On Sun, 28 Apr 2024, Florian Schmaus wrote: --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -270,10 +270,18 @@ texlive-common_update_tlpdb() { touch "${new_tlpdb}" || die if [[ -d "${tl

[gentoo-dev] [PATCH] texlive-common.eclass: add newline between tlbobj entries in tlpdb

2024-04-28 Thread Florian Schmaus
so has the entries separated by newlines. Therefore this changes texlive-common_update_tlpdb() to also add them. Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/eclass/texlive-common.eclass b/ecla

Re: [gentoo-dev] Update on the 23.0 profiles

2024-04-07 Thread Florian Schmaus
On 06/04/2024 17.06, Andreas K. Huettel wrote: Hi all, so here's a small update on the state of the 23.0 profiles: Thanks for the update and the work on the 23.0 profiles. :) Most 17.x profiles have been downgraded to "exp". I could imagine there is a reason to downgrade those back to 'ex

[gentoo-dev] Re: [PATCH] efmtutil-sys: use ebegin/eend and log output

2024-04-04 Thread Florian Schmaus
I just noticed two things seconds after sending the patch: Commit message is missing "texlive-common.eclass" prefix. On 04/04/2024 15.01, Florian Schmaus wrote: Use ebegin/eend and instead of redirecting the output to /dev/null capture stdout and stderr under a file under $T. Sig

[gentoo-dev] [PATCH] efmtutil-sys: use ebegin/eend and log output

2024-04-04 Thread Florian Schmaus
Use ebegin/eend and instead of redirecting the output to /dev/null capture stdout and stderr under a file under $T. Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/texlive-common.eclass b/eclass

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

2024-04-02 Thread Florian Schmaus
Update (or create) the tlpdb based on the contents of /usr/share/tlpkg/tlpobj. Closes: https://bugs.gentoo.org/928162 Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 57 1 file changed, 57 insertions(+) diff --git a/eclass/texlive

[gentoo-dev] [PATCH 1/2] texlive-module.eclass: only invoke etexmf-update in postinst if not replacing versions

2024-04-02 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 9fc4e619ff9b..d19e02f02647 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive

[gentoo-dev] [PATCH] texlive-common.eclass: etexmf-update to call 'die' for non-"dev-telive"

2024-03-18 Thread Florian Schmaus
This also makes etexmf-update fail for packages that are outside dev-texlive/* and don't use the TexLive version scheme like dev-libs/kpathsea and soon dev-tex/hevea. Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

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

2024-03-01 Thread Florian Schmaus
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/texlive-core' ; then if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/

Re: [gentoo-dev] Re: [PATCH 1/3] texlive-module.eclass: implicitly set TL_PV if not explicitly set

2024-02-29 Thread Florian Schmaus
On 29/02/2024 15.34, Michael Orlitzky wrote: On Thu, 2024-02-29 at 15:21 +0100, Florian Schmaus wrote: The eclass only supports EAPIs {7,8,...} so it should suffice to blacklist EAPI=7. Fair point, but that would mean to remember to adjust this line once the eclass gets support for EAPI 9

Re: [gentoo-dev] Re: [PATCH 1/3] texlive-module.eclass: implicitly set TL_PV if not explicitly set

2024-02-29 Thread Florian Schmaus
On 29/02/2024 15.08, Michael Orlitzky wrote: On Thu, 2024-02-29 at 14:47 +0100, Florian Schmaus wrote: +if [[ -z ${TL_PV} ]] \ + && [[ ${EAPI} -ge 8 ]] \ I am skeptical of this construct, as in the past we had non-numeric EAPIs. So I may have to go with EAPI == 8 for no

[gentoo-dev] Re: [PATCH 1/3] texlive-module.eclass: implicitly set TL_PV if not explicitly set

2024-02-29 Thread Florian Schmaus
On 29/02/2024 14.38, Florian Schmaus wrote: Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index afcd4532975a..d1bf0f86185b 100644 --- a/eclass/texlive

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

2024-02-29 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 96e962cb8027..85cdb8ff204e 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive

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

2024-02-29 Thread Florian Schmaus
Texlive 2023 bbump we can make this more strict, having texlive-core use nonfatal. Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 4 1 file changed, 4 insertions(+) diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index fab6ff66ecd5..96e962cb8027

[gentoo-dev] [PATCH 1/3] texlive-module.eclass: implicitly set TL_PV if not explicitly set

2024-02-29 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index afcd4532975a..d1bf0f86185b 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass

[gentoo-dev] [PATCH 0/3] *** Three minor changes to texlive-(common|mmodule).elcass ***

2024-02-29 Thread Florian Schmaus
Following are three minor changes to texlive-(common|module).eclass, which I expect to be the last changes to the eclasses before start moving texlive 2023 from ::tex-overlay into ::gentoo (initally pmasked). Florian Schmaus (3): texlive-module.eclass: implicitly set TL_PV if not explicitly set

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

2024-01-16 Thread Florian Schmaus
correct place, according to upstream. Co-authored-by: Paul Zander Signed-off-by: Paul Zander Signed-off-by: Florian Schmaus --- eclass/texlive-common.eclass | 113 +-- eclass/texlive-module.eclass | 77 2 files changed, 108 insertions(+), 82

[gentoo-dev] [PATCH 1/2] profiles/thirdpartymirrors: add 'ctan' mirror

2024-01-16 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- profiles/thirdpartymirrors | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/thirdpartymirrors b/profiles/thirdpartymirrors index b890610255f5..1db91760893b 100644 --- a/profiles/thirdpartymirrors +++ b/profiles/thirdpartymirrors @@ -1,5 +1,6

[gentoo-dev] [PATCH 0/2] texlive eclass updates, in preperation of TeX Live 2023 bump

2024-01-16 Thread Florian Schmaus
. But bumping TeX Live is already a delicate matter and we do not want to add more distraction from the actual changes to keep the changes manageable and reviewable. Once TeX Live 2023 hits ::gentoo, we will iteratively work on revising the code of the eclasses. Florian Schmaus (2): profiles

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

2024-01-10 Thread Florian Schmaus
On 10/01/2024 16.10, Ulrich Mueller wrote: 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 in your

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

2024-01-10 Thread Florian Schmaus
On 10/01/2024 14.58, Ulrich Mueller wrote: 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 s

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

2024-01-10 Thread Florian Schmaus
On 10/01/2024 12.04, Sam James wrote: Florian Schmaus writes: I really like the functionality of readme.gentoo-r1.eclass, as it allows to communicate Gentoo-specific information about a package to the user. Especially as it improves the signal-to-noise ratio of messages arriving to our users

Re: [gentoo-dev] [RFC] New category: dev-debug

2024-01-10 Thread Florian Schmaus
On 10/01/2024 12.01, Sam James wrote: Florian Schmaus writes: [[PGP Signed Part:Undecided]] On 07/01/2024 13.48, Michał Górny wrote: Hi, I'd like to propose adding a new dev-debug category. The description could be: Code debuggers and debugging-related tools. Seems sensible

Re: [gentoo-dev] [RFC] New category: dev-debug

2024-01-10 Thread Florian Schmaus
On 07/01/2024 13.48, Michał Górny wrote: Hi, I'd like to propose adding a new dev-debug category. The description could be: Code debuggers and debugging-related tools. Seems sensible. I'd probably drop the "Code" from the description, since packages like d-spy do not primarily debug code

Re: [gentoo-dev] [PATCH v2 1/3] greadme.eclass: new eclass

2024-01-09 Thread Florian Schmaus
On 09/01/2024 12.23, David Seifert wrote: On Tue, 2024-01-09 at 09:39 +0100, Florian Schmaus wrote: This new eclass is similar to readme.gentoo-r1.eclass. The main differences are as follows. Firstly, it also displays the doc file contents if they have changed. Secondly, it provides a

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

2024-01-09 Thread Florian Schmaus
On 09/01/2024 11.43, Michał Górny wrote: On Tue, 2024-01-09 at 11:39 +0100, Florian Schmaus wrote: Even if we say it is the user's fault, then the problem of handling a decompressor failure would still exist. The eclass does not gracefully continue when decompressing the doc file, but in

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

2024-01-09 Thread Florian Schmaus
On 09/01/2024 10.59, Michał Górny wrote: On Tue, 2024-01-09 at 09:30 +0100, Florian Schmaus wrote: On 06/01/2024 18.21, Michał Górny wrote: On Sat, 2024-01-06 at 18:01 +0100, Florian Schmaus wrote: I really like the functionality of readme.gentoo-r1.eclass, as it allows to communicate Gentoo

[gentoo-dev] Re: [PATCH v2 2/3] add UNPACKER_NO_BANNER variable

2024-01-09 Thread Florian Schmaus
On 09/01/2024 09.39, Florian Schmaus wrote: Signed-off-by: Florian Schmaus --- eclass/-cover-letter.patch | 49 eclass/0001-greadme.eclass-new-eclass.patch | 305 Ignore those to patch files. They are accidentally added to the commit. diff

[gentoo-dev] [PATCH v2 3/3] greadme.eclass: set UNPACKER_NO_BANNER

2024-01-09 Thread Florian Schmaus
Signed-off-by: Florian Schmaus --- eclass/greadme.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/greadme.eclass b/eclass/greadme.eclass index 25e0210406c1..ec01d090cc10 100644 --- a/eclass/greadme.eclass +++ b/eclass/greadme.eclass @@ -174,7 +174,7

  1   2   3   >