gobject-instrospection before version 1.80 shipped typelibs for GLib.
As a result, programs relying on libgirepository such as those using pygobject3
would find the GLib typelibs without being wrapped at all.
In GNOME 46, the GLib typelibs were moved to glib package. So if we want
a program to find them, they need to be explicitly passed through `GI_TYPELIB_PATH`
environment variable.
This can be demonstrated by running `GI_TYPELIB_PATH= powerprofilesctl`:
ImportError: cannot import name Gio, introspection typelib not found
Let’s add the library to path using a wrapper.
This release creates a dependency between upower and ppd.
Power-profiles-daemon now query the upower dbus interface to figure
out whether or not the device operates on battery mode to underclock
the CPU when the balanced mode is enabled.
CLI-wise, powerprofilesctl now support bash/zsh completions. The
manpage has been updated.
Full changelog: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/releases/0.21
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
The upstream original maintainer is not paid anymore to maintain the
project and decided to step down. The project has been taken over by
the upower team.
This is the first release part of this upower team.
The integration tests are now relying on the powerprofilectl command:
we need to patch the python path of this dependency before running the
integration tests instead of doing that during in the fixup phase.
Taking advantage of this to remove the PostFixup phase. Not 100% about
this move: it's a bit less future proof.
Notably fwupd, pipewire and flatpak.
I want to focus on GNOME and other packages I still actually use.
Pipewire is still important but I have not touched the packaging in a while.
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.