Commit Graph

187 Commits

Author SHA256 Message Date
98a0d131f1 Accepting request 1245904 from Base:System
- Upower is a mature tool with mostly fixes being added, let's
  move over to a "take the very latest git HEAD code base by default
  approach". Also show the amount of additional patches on top of latest
  public version and the latest git patch hash the sources are based
  on in the version format (see below)
- Update to version 1.90.7.13+git.4f1ef04:
  * linux: integration-test: a test case for Dualshock4 with a headphone jack
  * linux: up-device-supply: Update the model name after changing the device type
  * linux: device_supply: Prioritize Gaming Input
  * dbus: UPower.xml: Update GetCriticalAction Values
  * linux: integration-test: test case for the removable battery
  * src: up-device-battery: Reset values when the battery is not present
  * src: up-daemon: skip the battery if present = 0
  * Update LINGUAS
  * pre-commit-config: Remove deprecated default_stages "commit"
  * contrib: setup: Install and setup pre-commit
- Remove upstreamed patch
D faa6d8a6b3dd92ab61cd3c5515dfd120ccb7e74b.patch

OBS-URL: https://build.opensuse.org/request/show/1245904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=91
2025-02-16 21:37:18 +00:00
238b78fee6 OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=171 2025-02-14 14:37:01 +00:00
a8d82bf38a OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=170 2025-02-14 10:21:16 +00:00
66529ca5d9 OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=169 2025-02-14 10:10:48 +00:00
8ea4850584 OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=168 2025-02-14 08:35:50 +00:00
1a0b88e553 - Remove upstreamed patch
D faa6d8a6b3dd92ab61cd3c5515dfd120ccb7e74b.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=167
2025-02-14 08:33:05 +00:00
4cc9f28318 - Upower is a mature tool with mostly fixes being added, let's
move over to a "take the very latest git HEAD code base by default
  approach". Also show the amount of additional patches on top of latest
  public version and the latest git patch hash the sources are based
  on in the version format (see below)
- Update to version 1.90.7.13+git.4f1ef04:
  * linux: integration-test: a test case for Dualshock4 with a headphone jack
  * linux: up-device-supply: Update the model name after changing the device type
  * linux: device_supply: Prioritize Gaming Input
  * dbus: UPower.xml: Update GetCriticalAction Values
  * linux: integration-test: test case for the removable battery
  * src: up-device-battery: Reset values when the battery is not present
  * src: up-daemon: skip the battery if present = 0
  * Update LINGUAS
  * pre-commit-config: Remove deprecated default_stages "commit"
  * contrib: setup: Install and setup pre-commit

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=166
2025-02-13 11:15:04 +00:00
2845ab560b Accepting request 1235744 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1235744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=90
2025-01-09 14:05:19 +00:00
55e3f52653 - Add faa6d8a6b3dd92ab61cd3c5515dfd120ccb7e74b.patch -- dbus: show
charge-threshold-* status as yes/no.

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=164
2025-01-07 22:30:00 +00:00
b1b289ecfc Accepting request 1224453 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1224453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=89
2024-11-17 15:39:39 +00:00
c28734ac0c tweak
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=162
2024-11-15 12:33:50 +00:00
865024a2c0 - Update to version 1.90.6:
* Fractional battery percentage.
  * CI enhancement.
  * Tweak the default battery charging threshold to 75-80.
  * Fix g_object_weak_ref: assertion 'g_atomic_int_get
    (&object->ref_count) >= 1' failed.
- Changes from version 1.90.5:
  * Suspend and Ignore as the CriticalPowerActions.
  * Support for battery charging threshold.
  * Tweak the device priority to make sure the device kind joystick
    can be correctly shown.
- Add pkgconfig(polkit-gobject-1) BuildRequires: New dependency.

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=161
2024-11-13 09:01:35 +00:00
57b2e92e4a Accepting request 1208168 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1208168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=88
2024-10-16 21:38:31 +00:00
3b280d3763 - Drop rcFOO symlinks (PED-266).
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=159
2024-10-15 14:48:06 +00:00
2834a9c239 Accepting request 1186607 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1186607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=87
2024-07-11 18:29:25 +00:00
5c5657545e Accepting request 1185973 from GNOME:Next
- Update to version 1.90.4:
  * Resolved high disk and CPU rate.
  * Stop guessing the unknown battery as a power supply.
  * Continue to support lid handling.
  * Fix org.freedesktop.UPower: EnergyRate is a positive value.
  * Fix uni-test python script.
- Switch to tagged release.
- Update BuildRequires minimum versions

OBS-URL: https://build.opensuse.org/request/show/1185973
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=157
2024-07-10 13:03:08 +00:00
89dfad9e0d Accepting request 1152451 from Base:System
- Update to version 1.90.2+15:
  * Revert "ci: Update last ABI break"
  * Revert "build: Bump the library soname after recent changes"
  * Revert "all: Remove Lid handling"
  * Revert "lib: Remove deprecated up_client_get_devices()"
  * dbus: org.freedesktop.UPower: EnergyRate is a positive value
  * linux: Adjust test_bluetooth_le_device for dbusmock 0.30.1
  * linux: stop assuming power supply of unknown type as battery
  * linux: drop f-literals without format string
  * linux: prefer is not None over !=
  * build: make 'udevrulesdir' and 'udevhwdbdir' as Linux-only
- Introduce _service obs_scm and obsinfo files for automated
  update service via:
  osc service mr

OBS-URL: https://build.opensuse.org/request/show/1152451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=86
2024-02-28 18:44:26 +00:00
1803c80780 - Update to version 1.90.2+15:
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=155
2024-02-27 16:58:29 +00:00
75ad0431d8 OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=154 2024-02-27 16:54:21 +00:00
8abf362b13 Align versioning with other packages maintained by GNOME Team
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=153
2024-02-27 16:53:19 +00:00
2092874cf8 Accepting request 1147030 from home:trenn:branches:Base:System
- Update to version 1.90.2.15.git+be82397:
  * Revert "ci: Update last ABI break"
  * Revert "build: Bump the library soname after recent changes"
  * Revert "all: Remove Lid handling"
  * Revert "lib: Remove deprecated up_client_get_devices()"
  * dbus: org.freedesktop.UPower: EnergyRate is a positive value
  * linux: Adjust test_bluetooth_le_device for dbusmock 0.30.1
  * linux: stop assuming power supply of unknown type as battery
  * linux: drop f-literals without format string
  * linux: prefer is not None over !=
  * build: make 'udevrulesdir' and 'udevhwdbdir' as Linux-only
- Introduce _service obs_scm and obsinfo files for automated
  update service via:
  osc service mr

OBS-URL: https://build.opensuse.org/request/show/1147030
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=152
2024-02-27 16:50:50 +00:00
139664dce4 Accepting request 1139254 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1139254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=85
2024-01-17 21:15:15 +00:00
2b4731fdab Accepting request 1139226 from GNOME:Next
- Own /usr/share/gtk-doc: glib no longer uses gtk-doc and as a
  consequence cannot be held responsible to deliver that basic
  directory structure.

OBS-URL: https://build.opensuse.org/request/show/1139226
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=150
2024-01-16 17:06:11 +00:00
481b94dff4 Accepting request 1102812 from Base:System
- update to 1.90.2:
  * Note that this is the last release of UPower with lid
    handling. OS components that rely on the lid status
    should get it from logind instead.
  * Fix wireless devices not disappearing from Settings when
    disconnected
  * Require a newer libgudev to avoid bugs related to newline
    stripping when reading sysfs attributes
  * Add installed-tests files for use with gnome-desktop-testing
  * Fix integration test to work with system installed upower
    binary and under jhbuild
- add skip-tests-install.patch to skip installation of test-only 
  assets

OBS-URL: https://build.opensuse.org/request/show/1102812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=84
2023-08-09 15:23:59 +00:00
e7df4d0715 OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=148 2023-08-08 06:49:59 +00:00
be86b1972e Accepting request 1101309 from home:dirkmueller:Factory
- update to 1.90.2:
  * Note that this is the last release of UPower with lid
    handling. OS components that rely on the lid status
    should get it from logind instead.
  * Fix wireless devices not disappearing from Settings when
    disconnected
  * Require a newer libgudev to avoid bugs related to newline
    stripping when reading sysfs attributes
  * Add installed-tests files for use with gnome-desktop-testing
  * Fix integration test to work with system installed upower
    binary and under jhbuild
- add skip-tests-install.patch to skip installation of test-only 
  assets

OBS-URL: https://build.opensuse.org/request/show/1101309
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=147
2023-08-08 06:49:39 +00:00
20fd2915d1 Accepting request 1096972 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1096972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=83
2023-07-06 16:28:26 +00:00
e7d68826f4 Accepting request 1096967 from home:polslinux:branches:Base:System
- Update to 1.90.1:
  * Detect headsets with kernel batteries such as Logitech and
    Steelseries headsets, and make them automatically disappear if
    the headset is turned off (if the kernel driver supports the
    wireless_status attribute)
  * Hide duplicate Logitech Bluetooth devices (Bolt-compatible devices
    connected through Bluetooth would show as 2 batteries)
  * Hide duplicate Logitech wireless devices when they get connected
    through USB as well
  * Fix Bluetooth device names not synchronising, and use user-chosen
    names when available
  * Handle the "present" sysfs attribute changing
  * Fix iDevices not appearing
  * Fix reading capacity_level with newer libgudev

OBS-URL: https://build.opensuse.org/request/show/1096967
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=145
2023-07-05 14:04:12 +00:00
52e1d1dc40 Accepting request 1000866 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1000866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=82
2022-09-03 21:18:40 +00:00
270d0763a4 Accepting request 1000837 from home:fcrozat:branches:Base:System
- update to 1.90.0:
  * Refactor internal battery handling into separate classes
  * Guess charging/discharging state based on energy rate (#196)
  * Fix polling after resume (#198)
  * Fix battery state guessing (#146)
  * Reload history when battery ID changes
  * Test fixes
- Drop upower-sle15.patch, systemd is recent enough for SLE15 SP3+.

OBS-URL: https://build.opensuse.org/request/show/1000837
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=143
2022-09-02 11:10:09 +00:00
d977ecb894 Accepting request 990737 from Base:System
OBS-URL: https://build.opensuse.org/request/show/990737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=81
2022-07-26 17:42:27 +00:00
8b172870db Accepting request 989716 from home:dirkmueller:Factory
- update to 0.99.20:
  * Ensure polling is resumed after suspend (#198)
  * Bugfixes to state guessing code (#146)
  * Stability improvements of automated tests
  * Move state guessing into DisplayDevice
  * Always use 90% threshold to consider a battery full
  * Various test improvements
  * Fix mice showing up as keyboards (#189)
  * Allow unit test inspector to fail (#187)
  * Fix test cases when daemon shuts down too slowly (#188) 

- update to 0.99.18:
  * Remove broken wakeup DBus API
  * Tag UPS hid devices using hwdb and update list from upstream
  * Only permit Refresh method when in debug mode
  * Refactor device polling
  * Refactor udev device discovery and sibling detection
  * Improved testing and CI
  * Handle SIGTERM to trigger a clean shutdown
  * Improve polling of batteries after line-power "online" status change
  * Multiple wacom tablet detection fixes
  * Fix updates after a BT hid power supply moves in sysfs
  * Fix enumeration of "Whats Up!" devices on startup
  * Accept USB power supplies without warning
  * Allow building without gtk-doc

OBS-URL: https://build.opensuse.org/request/show/989716
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=141
2022-07-22 22:16:36 +00:00
3c8cd88cf6 Accepting request 963511 from Base:System
- Drop downstream patch that hopefully should no longer be needed:
  + upower-hibernate-insteadof-hybridsleep.patch.

OBS-URL: https://build.opensuse.org/request/show/963511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=80
2022-03-23 19:15:30 +00:00
db749a93a3 Accepting request 963502 from GNOME:Next
- Drop downstream patch that hopefully should no longer be needed:
  + upower-hibernate-insteadof-hybridsleep.patch.

OBS-URL: https://build.opensuse.org/request/show/963502
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=139
2022-03-21 09:19:44 +00:00
7552fedd16 Accepting request 962865 from GNOME:Next
GNOME 42 - here we come

OBS-URL: https://build.opensuse.org/request/show/962865
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=138
2022-03-21 09:01:21 +00:00
29c042fad8 Accepting request 960734 from Base:System
OBS-URL: https://build.opensuse.org/request/show/960734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=79
2022-03-13 19:24:44 +00:00
3f93c49b88 Accepting request 960717 from home:iznogood:branches:Base:System
- Update to version 0.99.17:
  + Upstream release, no changes, versionbump only.

OBS-URL: https://build.opensuse.org/request/show/960717
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=136
2022-03-10 11:35:11 +00:00
3ab95fdef4 Accepting request 960178 from Base:System
OBS-URL: https://build.opensuse.org/request/show/960178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=78
2022-03-09 17:47:04 +00:00
3e7d5bef59 Accepting request 960151 from home:iznogood:branches:Base:System
- Update to version 0.99.16+4:
  + meson.build: Output correct paths for sbindir and datadir.
  + daemon: Initialize FD to -1 to avoid incorrect close.
  + input: Fix FD handling and let input stream close it.
  + linux: Set FD to -1 rather than 0 when closing delay inhibitor.

OBS-URL: https://build.opensuse.org/request/show/960151
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=134
2022-03-08 10:31:41 +00:00
20b207b992 Accepting request 959380 from Base:System
- Pass --libexecdir=%%{_libexecdir}/upower to meson, keep our
  previous setup.
- Use ldconfig_scriptlets macro for post(un) handling.
- Stop removing .la files no longer present.
- Update to version 0.99.16:
  + Silence unnecessary udev event warnings
  + Increase test timeout
  + Explicitly link with plist
  + Fix UpClient reference leak
  + Fix DisplayDevice state on battery hotplug
  + Fix critical action to work after it was cancelled
- Changes from version 0.99.15:
  + Various build fixes
  + Update bluetooth device alias when it changes
- Changes from version 0.99.14:
  + Port build system to meson
  + New ChargeCycles D-Bus property
  + New async GLib APIs
  + lid related functions are now deprecated
  + Refresh API is now deprecated
  + Fix leak of inhibitor lock
  + Recognize USB power supplies
  + Fix time compression of data points
  + Fix disk write amplification when battery is low
- Add meson BuildRequires and macros following upstreams port.

OBS-URL: https://build.opensuse.org/request/show/959380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=77
2022-03-05 13:44:00 +00:00
d125442def Accepting request 959377 from home:iznogood:branches:Base:System
- Pass --libexecdir=%%{_libexecdir}/upower to meson, keep our
  previous setup.
- Use ldconfig_scriptlets macro for post(un) handling.
- Stop removing .la files no longer present.

OBS-URL: https://build.opensuse.org/request/show/959377
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=132
2022-03-04 10:59:22 +00:00
1a0ae2d3ce Tweak .changes
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=131
2022-03-02 18:17:39 +00:00
509e0b3557 Accepting request 958421 from home:polslinux:branches:Base:System
- Update to version 0.99.16:
  + Silence unnecessary udev event warnings
  + Increase test timeout 
  + Explicitly link with plist
  + Fix UpClient reference leak
  + Fix DisplayDevice state on battery hotplug
  + Fix critical action to work after it was cancelled 
  + Update bluetooth device alias when it changes 
  + New ChargeCycles D-Bus property 
  + New async GLib APIs 
  + lid related functions are now deprecated
  + Refresh API is now deprecated
  + Fix leak of inhibitor lock 
  + Recognize USB power supplies 
  + Fix time compression of data points 
  + Fix disk write amplification when battery is low

OBS-URL: https://build.opensuse.org/request/show/958421
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=130
2022-03-02 18:11:13 +00:00
97beca98b1 Accepting request 940927 from Base:System
- Use libplist 2 starting from SLE15SP4 on.

OBS-URL: https://build.opensuse.org/request/show/940927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=76
2021-12-18 19:29:48 +00:00
f482cef760 - Change Requires: polkit to Requires(pre): we need to be sure
polkit is instaled first, as we could otherwise end up with wrong
  permissions on /etc/polkit-1/rules.d.

OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=129
2021-12-16 15:47:45 +00:00
7c95ead524 Accepting request 921685 from Base:System
OBS-URL: https://build.opensuse.org/request/show/921685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=75
2021-09-29 18:18:05 +00:00
4d0973f198 Accepting request 920991 from GNOME:Next
Scripted push from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/920991
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=128
2021-09-27 07:41:22 +00:00
958a8d8fa2 Accepting request 867215 from Base:System
OBS-URL: https://build.opensuse.org/request/show/867215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=74
2021-01-29 13:57:01 +00:00
0abe1679b4 Accepting request 867197 from home:michals
- Use libplist-2.0 on Tumblewewd.
  + upower-build-Use-a-newer-libplist-if-available.patch

OBS-URL: https://build.opensuse.org/request/show/867197
OBS-URL: https://build.opensuse.org/package/show/Base:System/upower?expand=0&rev=126
2021-01-27 15:09:52 +00:00
cd1e93ab56 Accepting request 799914 from Base:System
OBS-URL: https://build.opensuse.org/request/show/799914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/upower?expand=0&rev=73
2020-05-04 16:37:57 +00:00