The NetBSD Project

CVS log for pkgsrc/sysutils/upower/buildlink3.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / upower

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Sep 29 06:07:44 2026 UTC (6 weeks, 6 days ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
*: recursive bump for pcre2 10.49

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Sep 27 11:38:45 2026 UTC (7 weeks ago) by tnn
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
*: revbump for pcre2 symbol versioning change

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 2 19:04:38 2026 UTC (2 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
*: recursive bump for pcre2 10.48

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 30 16:24:01 2026 UTC (6 months, 2 weeks ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
sysutils/upower: update to 1.91.2

# upstream changes (since 1.90.9)

Version 1.91.2
--------------
Released: 2026-04-01

- Feature: Skip the systemd inhibitor when performing CriticalPowerAction (!309)
- Feature: Introduce "Auto" CriticalPowerAction using systemd-logind Sleep() (!309)
- Fix: Test CanPowerOff() availability before calling PowerOff() (!311)
- Fix: Add charge limit support for systems providing only charge_control_end_threshold (!310, #342, #285)

Version 1.91.1
--------------
Released: 2026-02-10

- Fix: a resource leak (!294)
- Fix: a NULL exception caused by a Non-NULL GError pointer (!295, #331)
- Fix client API: crashing when printing the error message from a NULL GError pointer (!304)
- Fix: ACPI reports -NaN capacity value (!306)
- Feature: Skip CriticalPowerAction when performing battery recalibration (!285, #312)
- Deprecate: capacity_level and luminosity property (!293, !297 )
- CI: Add a tartan LLVM static analysis (!300)
- Feature: History supports voltage item (!299)

Version 1.91.0
--------------
Released: 2025-11-25

- New feature: Support multiple keyboard backlight LED control. (#291 !203)
- Make installation of tests optional (!202)
- Support conf.d style config file (!286)
- Deprecate CapacityLevel property (!290 #333)

Version 1.90.10
--------------
Released: 2025-08-26

- Fix wrong model name of the devices (!267, #309)
- Switch charge_types to "Custom" when charging threshold is enabled (!268, #275)
- Fix invalid command line arguments (!269)
- Fix leak when reporting daemon usage error (!270)
- OpenBSD: support battery status from qcpas (!272)
- Fix history progression (!274, #316)
- Add a battery filter to the upower command line (!275)
- Change the charging behaviors using charge_types (!276, !46, #275)
- Fix integration tests issues, including floating point value and race between umockdev and upower (!277, !278)
- Rework upower command (!280)
- Propagate charge-threshold-enabled to display device (!281)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 23 20:39:28 2025 UTC (12 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 4 05:55:49 2025 UTC (18 months, 1 week ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -3 lines
sysutils/upower: update to 1.90.9

Catch up on the last 3 years of updates.
Packages tested against new version: wmbattery, lxqt-powermanagement

# pkgsrc changes
* Switch to build with meson.
* Requires pkgsrc gettext-tools.
* Optionally enable polkit support.

TODO: fix and test Linux backend after importing wip/libgudev

# upstream changes (since 0.99.13)

## 1.90.9
* Fix unstable OnBattery status (#306 #307)

## 1.90.8
* Fix the incorrect percentage value of a removed battery. (#292) (!246)
* Fix device type for the gaming device. (#296 #295) (!247)
* Determine the battery discharging status when connecting a low-power charger. (#276) (!244)
* Fix memory leak when refreshing battery info. (#305) (!261)
* Fix memory leak when getting device id. (!261)

## 1.90.7
* Find the correct parent id for input devices. (#268 #286)
* Fix race condition in test_sibling_priority_no_overwrite. (!240)
* Show charge-threshold-* status as yes/no. (!242)
* Add zsh-completions for CLI. (!241)
* Fix integration test. Extend the daemon stopping timeout to 10sec (#290)
* Added pre-commit test and fixed code spelling, markdown, and code style issues. (!248)

## 1.90.6
* Fractional battery percentage (!226)
* CI enhancement. (!236)
* Tweak the default battery charging threshold to 75-80. (!234)
* Fix g_object_weak_ref: assertion 'g_atomic_int_get (&object->ref_count) >= 1' failed (#281, !233)

## 1.90.5
* Suspend and Ignore as the CriticalPowerActions (!218 and !218)
* Support for battery charging threshold (!208)
* Tweak the device priority to make sure the device kind joystick
  can be correctly shown. (#267)

## 1.90.4
* Update the information for version 1.90.3.
* Resolved high disk and CPU rate. (#256)
* Stop guessing the unknown battery as a power supply.
* Continue to support lid handling.
* Fix org.freedesktop.UPower: EnergyRate is a positive value. (#252)
* Fix uni-test python script. (!205)

## 1.90.3
* Resolved high disk and CPU rate.
* Update glib2 requirement to 2.66.0.
* Stop guessing the unknown battery as a power supply.
* Continue to support lid handling.
* Document fixes and bug fixes.

## 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. See:
https://www.freedesktop.org/software/systemd/man/org.freedesktop.login1.html

* 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

## 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
* Fix OpenBSD backend

## 1.90.0
Note that the version number bump was made to allow bugfixes for older
releases while also making new releases that contain with more in-depth
code changes. The old (soft) API/ABI guarantees are currently unchanged.

Changes:

* Refactor internal battery handling into separate classes
* Guess charging/discharging state based on energy rate (#196)

Bug fixes:

* Fix polling after resume (#198)
* Fix battery state guessing (#146)
* Reload history when battery ID changes
* Test fixes

## 0.99.20
Bug fixes:

* Ensure polling is resumed after suspend (#198)
* Bugfixes to state guessing code (#146)
* Stability improvements of automated tests

## 0.99.19
Changes:

* Move state guessing into DisplayDevice
* Always use 90% threshold to consider a battery full
* Various test improvements

Bug fixes:

* Fix mice showing up as keyboards (#189)
* Allow unit test inspector to fail (#187)
* Fix test cases when daemon shuts down too slowly (#188)

## 0.99.18
Changes:

* 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

Bug fixes:

* 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

## 0.99.17
Bug fixes:

* Fix FD handling issues that may cause lid to not be detected

## 0.99.16
Bug fixes:

* Silence unnecessary udev event warnings
* Increase test timeout (#171)
* Explicitly link with plist
* Fix UpClient reference leak
* Fix DisplayDevice state on battery hotplug
* Fix critical action to work after it was cancelled (#172)

## 0.99.15
Bug fixes:

* Various build fixes
* Update bluetooth device alias when it changes (#169)


## 0.99.14
Changes:

* Port build system to meson
* New ChargeCycles D-Bus property (#152)
* New async GLib APIs (#121)
* lid related functions are now deprecated
* Refresh API is now deprecated

Bug fixes:

* Plenty of test suite fixes
* Fix leak of inhibitor lock (#160)
* Recognize USB power supplies (#148)
* Fix time compression of data points (#167)
* Fix disk write amplification when battery is low (#150)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Dec 8 16:02:40 2021 UTC (4 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
revbump for icu and libffi

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 2 11:38:49 2020 UTC (6 years, 7 months ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Update upower to 0.99.11.

Version 0.99.11
~~~~~~~~~~~~~~~
Released: 2019-09-03

New Features:
 - Add code of conduct document
 - build: Migrate from intltool to gettext
 - rules: Split off HID++ udev rules
 - Harden systemd service
 - Let systemd create /var/lib/upower
 - Move D-Bus policy file to /usr/share/dbus-1/system.d/

Bug fixes:
 - Fix endless loop burning 100% CPU on keyboard plugout with external
   backlight
 - linux: Start polling for unknown device batteries too
 - linux: Retry to get a battery type if it's unknown
 - linux: Don't treat device batteries like laptop batteries
 - Replace use of G_TYPE_INSTANCE_GET_PRIVATE and g_type_class_add_private()

Version 0.99.10
~~~~~~~~~~~~~~~
Released: 2019-02-20

Bugfixes:
 - Set 'pending-charge' for DisplayDevice if at least one
   battery is in the 'pending-charge' state
 - Map pending-charge to fully-charged when charge is 100%

Version 0.99.9
~~~~~~~~~~~~~~
Released: 2018-10-25

Bugfixes:
 - Fix lack of update after AC status changes, and broken keyboard
   backlight, following the daemon lockdown added in 0.99.8
 - Multiple API documentation fixes
 - Out-of-tree build fixes

Version 0.99.8
~~~~~~~~~~~~~~
Released: 2018-06-18

New Features:
 - Lock down systemd service file
 - Add support for "Unknown" capacity level, and clarify handling
   of devices with coarse battery levels
 - Add a new version of up_client_get_devices() which unrefs contents

Bugfixes:
 - Fix warnings when D-Bus related properties change
 - Prevent crash after attaching an Apple TV, and support newer
   versions of iOS
 - Lower severity of "unhandled action" messages
 - Fix battery status on MacBooks after a plug or unplug event
 - Fix double-close on exit

Version 0.99.7
~~~~~~~~~~~~~~
Released: 2017-11-28

New Features:
 - Add support for Bluetooth LE device batteries (Bastien Nocera)
 - Allow to be replaced via --replace,-r (Christian Kellner)

Bugfixes:
 - Fix critical action after resume from hibernate (Miroslav Sustek)
 - Fix compilation with libimobiledevice git (Bastien Nocera)

Version 0.99.6
~~~~~~~~~~~~~~
Released: 2017-09-11

New Features:
 - Add UP_DEVICE_KIND_GAMING_INPUT for gaming devices (Bastien Nocera)
 - Detect joysticks as gaming input devices (Bastien Nocera)

Bugfixes:
 - Correctly close inhibitor FD (Benjamin Berg)
 - Fix crash when '@' is present in the device name (oleid, Bastien Nocera)
 - Fix lid detection on FreeBSD (Alberto Villa)
 - Grab the model name from device if unavailable from battery (Bastien Nocera)

Version 0.99.5
~~~~~~~~~~~~~~
Released: 2017-07-24

New Features:
 - Add a more complete self test for HID++ devices (Bastien Nocera)
 - Add BatteryLevel property for devices with a finite number of power levels (Bastien Nocera)
 - Add support for pausing and resuming of the daemon poll (Christian Kellner, Bastien Nocera)
 - Get a serial number for device batteries (Bastien Nocera)
 - Refresh devices after waking up from sleep (Christian Kellner)

Bugfixes:
 - Add proper error and cancellable handling to UpClient constructor (Martin Pitt)
 - Do not spin in a loop when /proc/timer_stats cannot be written (Richard Hughes)
 - Exit early from up-tool when connecting to upower fails (Martin Pitt)
 - Expand the integration-tests to run in more environments (Bastien Nocera, Christian Kellner)
 - Fix reading and writing the keyboard brightness level (Hans de Goede, Marco Trevisan)
 - Fix -Wformat-y2k compilation errors (Bastien Nocera)
 - Lower initial power usage when iDevice isn't accessible (Bastien Nocera)
 - Simplify string checks in upower-glib (Bastien Nocera)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 8 16:48:13 2020 UTC (6 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
*: recursive bump for libffi

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 21 19:44:55 2015 UTC (11 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Import upower-0.99.2 as sysutils/upower.

UPower is an abstraction for enumerating power devices, listening to device
events and querying history and statistics. Any application or service on the
system can access the org.freedesktop.UPower service via the system message
bus. Some operations (such as suspending the system) are restricted using
PolicyKit.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>