Package: powersupply-gtk / 0.8.0-2

Metadata

Package Version Patches format
powersupply-gtk 0.8.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 main avoid variable name collisions.patch | (download)

powersupply/__main__.py | 32 16 16 - 0 !
1 file changed, 16 insertions( ), 16 deletions(-)

 main: avoid variable name collisions

If an external battery is present, the `battery_*` variables initially
containing the sysfs attributes' paths for the main battery are
overwritten with the paths for the external battery, leading to wrong
reports after the first loop iteration.

Renaming the external battery variables to `ebat_*` avoids such
collisions.

0002 main improve handling of external batteries.patch | (download)

powersupply/__main__.py | 25 21 4 - 0 !
1 file changed, 21 insertions( ), 4 deletions(-)

 main: improve handling of external batteries

Batteries from connected devices (e.g. wireless keyboard/mouse) are
0003 main add new name for PP Keyboard case.patch | (download)

powersupply/__main__.py | 3 2 1 - 0 !
1 file changed, 2 insertions( ), 1 deletion(-)

 main: add new name for pp keyboard case

Now that the PPKB patches have been upstreamed, the battery is named
`ip5xxx-battery` instead of `kb151`. Add this possibility so the name is
reported properly (the old value is kept for backward compatibility).

0004 build use the right project name.patch | (download)

meson.build | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 build: use the right project name

I was surprised seeing the files installed under `/usr/share/switcher`
instead of `/usr/share/powersupply`, until I noticed that ;)

0005 Rename executable to powersupply gtk.patch | (download)

data/nl.brixit.powersupply.desktop | 2 1 1 - 0 !
meson.build | 2 1 1 - 0 !
powersupply/meson.build | 2 1 1 - 0 !
3 files changed, 3 insertions( ), 3 deletions(-)

 rename executable to powersupply-gtk

As the Debian package is named `powersupply-gtk` in order to avoid using
a too generic name, the single executable should be renamed accordingly.