gpo.zugaina.org

Search Portage & Overlays:

sys-apps/save-backlight

An OpenRC service for restoring the last brightness level on reboot

Screenshots

ChangeLog

commit d56f4baa37da6af7e60cff6f45cb5454d74464b3
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Thu Apr 16 03:57:37 2026 +0600

*/*: Use [[ $ ... ]] instead of POSIX [ $ ... ]

as per the coding style guide:
https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0101

if it previously used [ $ ... ] it uses [[ $ ... ]] now
if it previously used [[ $ = b ]] or [ $ = b ], it uses
[[ $ == b ]] now

the changes were generated using these two commands:

```
find -name '*.ebuild' -exec sed -i -E \
's|([^[])\[+(\s+)(\S*\$\S*PV\S*)(\s+)(\S+)(\s+)(\S+)(\s+)\]+([^]])|\1\[\[\2\3\4\5\6\7\8\]\]\9|g' \
{} \+

find -name '*.ebuild' -exec sed -i -E \
's|\[(\s+)(\S*\$\S*PV\S*)(\s+)==?(\s+)(\S+)(\s+)\]|\[\1\2\3==\4\5\6\]|g' \
{} \+
```

this is aimed to be a series of commits meant to replace all instance of
POSIX [ ... ] to bash's [[ ... ]], to make guru up to date with the
coding style guide

this process is divided up into a series of commits in order to make
review and testing more easy

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/6
Signed-off-by: Michał Górny <mgorny@gentoo.org>

commit 94660eb3fac8b2c4d6a28c930145d6167cedc3af
Author: Lucio Sauer <watermanpaint@posteo.net>
Date: Sun Jul 13 13:13:35 2025 +0200

*/*: update dtd link in metadata.xml to https

gentoo.org 301's to https for a long time now.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

commit 8f71632e776be618fbfa9836166c0b49b52f6b81
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Sun Jun 1 10:52:49 2025 +0200

sys-apps/save-backlight: add 1.1.4, drop 1.1.2-r1

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>

commit 7f4bd53597bd70a502fb3636eeb2f24e3d35363d
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Tue Aug 6 10:03:20 2024 +0200

sys-apps/save-backlight: revbump

This revision respects `EPREFIX`.

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>

commit 15e4cd6ecfae5edbf787d1ad843cf81d2d8923fe
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Mon Aug 5 20:04:29 2024 +0200

sys-apps/save-backlight: new package, add 1.1.2, 9999

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>