Bug 291286 - sysutils/upower: update to 1.91.0
Summary: sysutils/upower: update to 1.91.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL: https://gitlab.freedesktop.org/upower...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-29 21:02 UTC by Olivier Duchateau
Modified: 2025-11-30 23:06 UTC (History)
2 users (show)

See Also:
madpilot: maintainer-feedback+


Attachments
Patch to update sysutils/upower (3.82 KB, patch)
2025-11-29 21:02 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau 2025-11-29 21:02:20 UTC
Created attachment 265712 [details]
Patch to update sysutils/upower

- Update to 1.91.0
- Add new option DOCS, because by default the build system installs README.md in /usr/locale/etc/UPower/UPower.conf.d/
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2025-11-30 09:54:19 UTC
Does -Dinstalled-tests=false disable some tests for "make test"?
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2025-11-30 10:08:45 UTC
(In reply to Gleb Popov from comment #1)

I'm investigating, but I think this only disables installation of the tests, not the ability to run them after "make build". A few other unrelated ports use the same flag.

Anyway I'm going to investigate this more thoroughly shortly.
Comment 3 Olivier Duchateau 2025-11-30 13:03:10 UTC
(In reply to Gleb Popov from comment #1)

No, this option appeared in this release. Test target is still available, but this option install (or not) specifics linux files (they exist for a long time) in order to debug upower daemon (see src/meson.build). It is for linux backend.

In previous releases these files (integration-test.py and output_checker.py) are not present in our port.

I think we can ignore this option.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-11-30 23:05:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=593001cdf95878d0c85029d61c4d699475e6bb2f

commit 593001cdf95878d0c85029d61c4d699475e6bb2f
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-11-30 23:03:20 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-11-30 23:03:20 +0000

    sysutils/upower: Update to 1.91.0

    - Added patch to install documentation file in correct diretory
    - Added DOCS option to handle document installation

    PR:             291286

 sysutils/upower/Makefile                                        | 8 ++++++--
 sysutils/upower/distinfo                                        | 6 +++---
 sysutils/upower/files/patch-etc_UPower.conf.d_meson.build (new) | 9 +++++++++
 sysutils/upower/pkg-plist                                       | 4 +++-
 4 files changed, 21 insertions(+), 6 deletions(-)
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2025-11-30 23:06:27 UTC
(In reply to Olivier Duchateau from comment #3)

I committed the patch.


I'm terribly sorry I noticed too late I forgot to attribute the commit to you as I should have.