8 Commits

Author SHA256 Message Date
c74b18097f Accepting request 1324850 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1324850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=95
2026-01-01 13:59:10 +00:00
6564b51f26 - Update to version 1.91.0:
+ New feature: Support multiple keyboard backlight LED control
  + Make installation of tests optional
  + Support conf.d style config file
  + Deprecate CapacityLevel property
- Enable test suite in %check section

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=179
2025-12-30 21:10:16 +00:00
4e590e4024 Accepting request 1305117 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1305117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=94
2025-09-17 14:37:19 +00:00
67490d71ce Scripted push from GNOME:Next
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=177
2025-09-16 08:05:21 +00:00
8724d063db Accepting request 1299994 from Base:System
- Update to version 1.90.9.28+git.903a827:
  * linux: integration-test: the settings discovery for charge threshold
  * linux: up-device-supply-battery: Discover the settings of charge threshold
  * up-device-battery: set up charge-threshold-settings-supported property
  * dbus: org.freedesktop.UPower.Device: the ChargeThresholdSettingsSupported property
  * linux: integration-test: Switch between Long_Life, Fast, Standard, and Adaptive
  * linux: up-device-supply-battery: Set charge_types to enable/disable the charge threshold
  * linux: up-device-supply-battery: Using charge_types Long_Life and Standard to manage charging threshold
  * linux: up-device-supply-battery: Set charge_types through an enum
  * linux: integration-test: reduce the test failure for the slow system
  * linux: integration-test: fix random test failure for test_bluetooth_hidpp_mouse
  * linux: integration-test: Switch the charge_types between Custom and Fast with charging threshold status
  * linux: up-device-supply-battery: Set charge_types to "Custom" when enabling charging threshold
  * up-history: reverse preset progression
  * openbsd: add support to fetch battery status from qcpas
  * tools: Reorder upower(1) command-line options to match manual page
  * docs: Document all upower(1) command-line options
  * tools: Handle invalid command-line arguments
  * daemon: Fix memory leak when reporting usage error
  * linux: integration-test: Two mice were paired with a unifying receiver
  * linux: up-enumerator-udev: Prevent reading the sysfs path from a non-GUdevDevice object
  * linux: up-device-supply: Only update model name when the device is under the same parent
  * linux: integration-test: Test exporting sysfs attributes
  * lib: up-device: Expose CapacityLevel, VoltageMinDesign, and VoltageMaxDesign
  * linux: up-device-supply-battery: read values of capacity_level and voltage_min/max
  * up-device-battery: Define capacity-level, voltage-min-design and voltage-max-design properties
  * dbus: Define CapacityLevel, VoltageMinDesign and VoltageMaxDesign properties
  * linux: integration_test: Wait 5 seconds for bluez to set up the device information
  * src: meson: extend the timeout for test_battery_state_guessing
  * Release 1.90.9

OBS-URL: https://build.opensuse.org/request/show/1299994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=93
2025-08-18 14:07:42 +00:00
ea5adca2d5 - Update to version 1.90.9.28+git.903a827:
* linux: integration-test: the settings discovery for charge threshold
  * linux: up-device-supply-battery: Discover the settings of charge threshold
  * up-device-battery: set up charge-threshold-settings-supported property
  * dbus: org.freedesktop.UPower.Device: the ChargeThresholdSettingsSupported property
  * linux: integration-test: Switch between Long_Life, Fast, Standard, and Adaptive
  * linux: up-device-supply-battery: Set charge_types to enable/disable the charge threshold
  * linux: up-device-supply-battery: Using charge_types Long_Life and Standard to manage charging threshold
  * linux: up-device-supply-battery: Set charge_types through an enum
  * linux: integration-test: reduce the test failure for the slow system
  * linux: integration-test: fix random test failure for test_bluetooth_hidpp_mouse
  * linux: integration-test: Switch the charge_types between Custom and Fast with charging threshold status
  * linux: up-device-supply-battery: Set charge_types to "Custom" when enabling charging threshold
  * up-history: reverse preset progression
  * openbsd: add support to fetch battery status from qcpas
  * tools: Reorder upower(1) command-line options to match manual page
  * docs: Document all upower(1) command-line options
  * tools: Handle invalid command-line arguments
  * daemon: Fix memory leak when reporting usage error
  * linux: integration-test: Two mice were paired with a unifying receiver
  * linux: up-enumerator-udev: Prevent reading the sysfs path from a non-GUdevDevice object
  * linux: up-device-supply: Only update model name when the device is under the same parent
  * linux: integration-test: Test exporting sysfs attributes
  * lib: up-device: Expose CapacityLevel, VoltageMinDesign, and VoltageMaxDesign
  * linux: up-device-supply-battery: read values of capacity_level and voltage_min/max
  * up-device-battery: Define capacity-level, voltage-min-design and voltage-max-design properties
  * dbus: Define CapacityLevel, VoltageMinDesign and VoltageMaxDesign properties
  * linux: integration_test: Wait 5 seconds for bluez to set up the device information
  * src: meson: extend the timeout for test_battery_state_guessing
  * Release 1.90.9
  * linux: up-device-supply-battery: Don't mark fully charged batteries as discharging
  * linux: integration-test: Update test case for "state_all_discharging" support
  * up-daemon: introduce state_all_discharging member to allow critical action dispatch on external power
  * Revert "up-daemon: Handle the AC is online but the battery is discharging"
  * Release 1.90.8
  * up-device: Fix mem leak when get device id
  * linux: up-device-supply-battery: Fix mem leak when refreshing battery info
  * rules: 95-upower-hid.hwdb: update hwdb for HID devices
  * linux: integration-test: Handle connecting the low-power charger
  * linux: up-device-supply-battery: reset the status to discharging when current_now is negative
  * up-daemon: Handle the AC is online but the battery is discharging      
  * linux: rules: fix warnings from `udevadm verify`

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=175
2025-08-18 05:45:07 +00:00
a9da12c0e5 Accepting request 1265195 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1265195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=92
2025-03-31 09:37:18 +00:00
4d4e51999e OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=173 2025-03-28 12:12:02 +00:00
7 changed files with 109 additions and 23 deletions

View File

@@ -3,15 +3,11 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.freedesktop.org/upower/upower.git</param>
<param name="versionrewrite-pattern">v(.*)</param>
<!--
<param name="revision">v1.90.7</param>
<param name="versionformat">@PARENT_TAG@</param>
-->
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@+git.%h</param>
<param name="versionrewrite-pattern">v?(.*)(\+0)?</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="revision">v1.91.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(v)?([^+]+)(\+0)?(\+[1-9][0-9]*)?</param>
<param name="versionrewrite-replacement">\2\4</param>
<param name="changesgenerate">disable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.freedesktop.org/upower/upower.git</param>
<param name="changesrevision">4f1ef04475ec2722217079594a64c1d7ec039594</param></service></servicedata>
<param name="changesrevision">d79841fe402fd23b18bcbf460bffab46fa14e740</param></service></servicedata>

Binary file not shown.

3
upower-1.91.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bed79c08ed4321c03520d4863d6313715dfcbee20467678dac3313372147774
size 1128460

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Tue Dec 30 10:39:01 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.91.0:
+ New feature: Support multiple keyboard backlight LED control
+ Make installation of tests optional
+ Support conf.d style config file
+ Deprecate CapacityLevel property
- Enable test suite in %check section
-------------------------------------------------------------------
Thu Sep 4 05:52:45 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.90.10:
* Release 1.90.10
* upower: Add a `-b`/`--battery` option to dump only battery information
* up-daemon: Propagate charge-threshold-enabled to display device
* tools: up-tool: rework upower dump and enumerate
* linux: integration-test: The type of percentage property is double
* linux: integration-test: fix comparison of floating point values
-------------------------------------------------------------------
Mon Aug 11 22:52:21 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.90.9.28+git.903a827:
* linux: integration-test: the settings discovery for charge threshold
* linux: up-device-supply-battery: Discover the settings of charge threshold
* up-device-battery: set up charge-threshold-settings-supported property
* dbus: org.freedesktop.UPower.Device: the ChargeThresholdSettingsSupported property
* linux: integration-test: Switch between Long_Life, Fast, Standard, and Adaptive
* linux: up-device-supply-battery: Set charge_types to enable/disable the charge threshold
* linux: up-device-supply-battery: Using charge_types Long_Life and Standard to manage charging threshold
* linux: up-device-supply-battery: Set charge_types through an enum
* linux: integration-test: reduce the test failure for the slow system
* linux: integration-test: fix random test failure for test_bluetooth_hidpp_mouse
* linux: integration-test: Switch the charge_types between Custom and Fast with charging threshold status
* linux: up-device-supply-battery: Set charge_types to "Custom" when enabling charging threshold
* up-history: reverse preset progression
* openbsd: add support to fetch battery status from qcpas
* tools: Reorder upower(1) command-line options to match manual page
* docs: Document all upower(1) command-line options
* tools: Handle invalid command-line arguments
* daemon: Fix memory leak when reporting usage error
* linux: integration-test: Two mice were paired with a unifying receiver
* linux: up-enumerator-udev: Prevent reading the sysfs path from a non-GUdevDevice object
* linux: up-device-supply: Only update model name when the device is under the same parent
* linux: integration-test: Test exporting sysfs attributes
* lib: up-device: Expose CapacityLevel, VoltageMinDesign, and VoltageMaxDesign
* linux: up-device-supply-battery: read values of capacity_level and voltage_min/max
* up-device-battery: Define capacity-level, voltage-min-design and voltage-max-design properties
* dbus: Define CapacityLevel, VoltageMinDesign and VoltageMaxDesign properties
* linux: integration_test: Wait 5 seconds for bluez to set up the device information
* src: meson: extend the timeout for test_battery_state_guessing
* Release 1.90.9
* linux: up-device-supply-battery: Don't mark fully charged batteries as discharging
* linux: integration-test: Update test case for "state_all_discharging" support
* up-daemon: introduce state_all_discharging member to allow critical action dispatch on external power
* Revert "up-daemon: Handle the AC is online but the battery is discharging"
* Release 1.90.8
* up-device: Fix mem leak when get device id
* linux: up-device-supply-battery: Fix mem leak when refreshing battery info
* rules: 95-upower-hid.hwdb: update hwdb for HID devices
* linux: integration-test: Handle connecting the low-power charger
* linux: up-device-supply-battery: reset the status to discharging when current_now is negative
* up-daemon: Handle the AC is online but the battery is discharging      
* linux: rules: fix warnings from `udevadm verify`
-------------------------------------------------------------------
Mon Mar 24 19:15:37 UTC 2025 - Thomas Renninger <trenn@suse.de>
- Make dependency on libimobile and libplist optional and disbled
by default:
Reading out battery and charging state of USB connected iPod/iPad
does not justify the introduction of these dependencies for this core
package.
-------------------------------------------------------------------
Thu Feb 13 11:11:22 UTC 2025 - trenn@suse.de

View File

@@ -1,4 +1,4 @@
name: upower
version: 1.90.7.13+git.4f1ef04
mtime: 1739001483
commit: 4f1ef04475ec2722217079594a64c1d7ec039594
version: 1.91.0
mtime: 1764059996
commit: d79841fe402fd23b18bcbf460bffab46fa14e740

View File

@@ -1,7 +1,7 @@
#
# spec file for package upower
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,19 @@
#
%bcond_with libimobile
%if %{with libimobile}
%define idevice enabled
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
%define libplist2 1
%else
%define libplist2 0
%endif
%else
%define idevice disabled
%endif
Name: upower
Version: 1.90.7.13+git.4f1ef04
Version: 1.91.0
Release: 0
Summary: Power Device Enumeration Framework
License: GPL-2.0-or-later
@@ -39,22 +45,24 @@ BuildRequires: libtool
BuildRequires: meson >= 0.60.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gio-2.0) >= 2.66.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.66.0
BuildRequires: pkgconfig(glib-2.0) >= 2.66.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.66.0
BuildRequires: pkgconfig(gio-2.0) >= 2.76.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.76.0
BuildRequires: pkgconfig(glib-2.0) >= 2.76.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.76.0
BuildRequires: pkgconfig(gudev-1.0) >= 235
BuildRequires: pkgconfig(libimobiledevice-1.0) >= 0.9.7
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
%{?systemd_requires}
%if %{with libimobile}
BuildRequires: pkgconfig(libimobiledevice-1.0) >= 0.9.7
%if %libplist2
BuildRequires: pkgconfig(libplist-2.0)
%else
BuildRequires: pkgconfig(libplist) >= 0.12
%endif
%endif
%description
UPower is an abstraction for enumerating power devices, listening to
@@ -111,6 +119,7 @@ system) are restricted using PolicyKit.
%build
%meson \
--libexecdir=%{_libexecdir}/upower \
-Didevice=%{idevice} \
%{nil}
%meson_build
@@ -118,6 +127,9 @@ system) are restricted using PolicyKit.
%meson_install
%find_lang %{name}
%check
%meson_test
%pre
%service_add_pre upower.service
@@ -140,6 +152,8 @@ system) are restricted using PolicyKit.
%doc AUTHORS NEWS README.md
%dir %{_sysconfdir}/UPower
%config(noreplace) %{_sysconfdir}/UPower/UPower.conf
%dir %{_sysconfdir}/UPower/UPower.conf.d
%{_sysconfdir}/UPower/UPower.conf.d/README.md
%{_bindir}/upower
%dir %{_libexecdir}/upower
%{_libexecdir}/upower/upowerd