76 Commits

Author SHA1 Message Date
landry
a0d49455ba sysutils/upower: update to 1.90.0.
switches to meson, add patches from upstream MR #163, #164 & #165
ok ajacoutot@
2022-08-10 13:34:03 +00:00
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
ajacoutot
8a4653a17f Missing BDEP on textproc/gtk-doc.
ok landry@
2021-10-30 12:37:08 +00:00
landry
9c5fd95def sysutils/upower: update to 0.99.13
upstream doesnt provide release tarballs anymore, so fetch a tarball
from a git tag on gitlab, and use autohell. Next release will use meson :)

see https://cgit.freedesktop.org/upower/tree/NEWS#n1 for changes

ok/requested by ajacoutot@
2021-10-29 18:26:41 +00:00
ajacoutot
28c28e0b04 /etc/dbus-1/system.d/ is already owned by x11/dbus. 2021-09-05 12:12:43 +00:00
ajacoutot
38d56e4527 Regen PLIST. 2021-09-02 19:23:20 +00:00
tb
86646fd26f bump HW_SENSORS users after kernel ABI change
(kettenis added powerpc64 energy sensors)

x11/i3status was done a few hours ago.
2020-07-17 08:36:04 +00:00
ajacoutot
065d94f886 No rhum for Landry. 2019-11-10 17:31:06 +00:00
landry
5a39e091ae BDEP on gettext-tools, not gettext.
cluebat from ajacoutot@
2019-11-10 11:32:33 +00:00
landry
ffcd636594 Update to upower 0.99.11. 2019-11-10 11:17:48 +00:00
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
sthen
90710cfcdd bump HW_SENSORS users, kernel ABI change from adding a new sensor type
breakage in zabbix reported by Mark Patruck
2018-12-12 13:34:31 +00:00
landry
53feba32e0 Update to upower 0.99.9.
Upstream switched to fd.o's gitlab, adapt MASTER_SITES accordingly.
ok ajacoutot@
2018-12-10 10:55:27 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
landry
818d06f6ca Update to upower 0.99.7.
Prodded by ajacoutot@
2017-11-29 11:07:46 +00:00
jca
d3d2adf032 Unbreak on gcc archs
up-device.c:277: error: #pragma GCC diagnostic not allowed inside functions

ok landry@ (maintainer)
2017-11-04 23:32:03 +00:00
landry
d59d71a674 Update to upower 0.99.6.
See
https://lists.freedesktop.org/archives/devkit-devel/2017-July/001792.html
&
https://lists.freedesktop.org/archives/devkit-devel/2017-September/001793.html
2017-10-28 16:31:28 +00:00
landry
2b44435f7e Add proper error and cancellable handling to UpClient constructor
Backport https://cgit.freedesktop.org/upower/patch/?id=932a6a39e35754be571e1274aec4730fd42dba13
from https://bugs.freedesktop.org/show_bug.cgi?id=95350

First part of a larger fix for xfsettingsd crashes when systemwide dbus
isn't running.

ok/testing edd@
2016-09-01 10:11:47 +00:00
jasper
a00f3ab0cd add link to upstream bz 2016-08-29 08:40:38 +00:00
jasper
1560e48f17 Remove pointless upperbound, SENSOR_MAX_TYPES has no meaning here and we
break from the loop anyway when needed (when ENOENT is returned). This makes
it in line with other sensor walkers.

ok landry@ (MAINTAINER)
2016-05-04 11:11:55 +00:00
landry
e65a3f6048 Updqte to upower 0.99.4
https://lists.freedesktop.org/archives/devkit-devel/2016-February/001751.html

ok ajacoutot@
2016-04-26 12:37:43 +00:00
naddy
ce859edcb4 garbage collect CONFIGURE_SHARED 2016-03-11 20:28:21 +00:00
ajacoutot
5ab3b99c91 Consistency: rcctl enable is the most used idiom within the ports tree.
Also since we can pass it several daemons now, simplify enabling:
- before
rcctl enable foo
rcctl enable bar
rcctl enable bla
- after
rcctl enable foo bar bla
2015-10-24 09:18:12 +00:00
ajacoutot
7dc0772564 Update to upower-0.99.3.
ok landry@ (maintainer)
2015-05-30 07:26:09 +00:00
ajacoutot
760d8cd39e dbus_daemon -> messagebus 2015-04-04 09:36:37 +00:00
ajacoutot
11a7989584 These need to RUN_DEPENDS on x11/dbus,-suid now. 2015-04-04 09:30:30 +00:00
ajacoutot
aa988913b0 Bump after the recent changes in packaging dbus and dconf. 2015-04-04 09:20:59 +00:00
landry
e6fff4da4b Add a patch to improve error handling when the systemwide dbus is not
running. Applications using libupower-glib should "gracefully" handle that
situation now...
2015-04-03 12:08:10 +00:00
ajacoutot
9bcb9af268 space 2015-04-02 19:21:24 +00:00
landry
e4d1a944d4 Mention that systemwide dbus daemon needs to be running for proper
upower behaviour. Use rcctl commands while here...
2015-04-02 19:18:30 +00:00
ajacoutot
6f0354f67f Fix crash on uninitialized variant with new GLib. 2015-03-27 16:03:33 +00:00
landry
bd26f5cb1e Bugfix update to upower 0.99.2.
See http://lists.freedesktop.org/archives/devkit-devel/2014-December/001653.html
for the list of changes (lots of memleaks fixed, update display device
when battery is removed, etc..)
xfce4-power-manager seems happy with it, upower -d reports correct
values, and gnome-power-statistics still display a nice graph.

Reminded by ajacoutot@
2014-12-19 23:50:27 +00:00
ajacoutot
372cd2bc49 --disable-gtk-doc is handled by the infrastructure now. 2014-09-13 16:36:53 +00:00
landry
50cc7917e3 Update to upower 0.99.1.
Remove patch merged upstream, and now useless dep on polkit.
ok ajacoutot@
2014-09-02 19:23:33 +00:00
landry
e5f93f12b7 Add EnergyFullDesign and Capacity properties, getting them via the new
acpibat sensor reporting the 'design capacity' of the battery. Fixes a
wrong notification about having a broken battery in KDE4.

From Fabian Raetz, thanks!
2014-05-23 19:21:06 +00:00
jasper
1ab83c3f46 committed upstream 2014-04-23 09:55:18 +00:00
jasper
67685dc7e1 submitted upstream 2014-04-20 18:20:43 +00:00
jasper
9b52f0eddd add a way to recognize the lid (wether it's present, open/closed). thanks to
landry for finding the "right" spot to hook it up.

ok landry@ (MAINTAINER)
2014-04-20 18:03:23 +00:00
jasper
6e9eb5c43e - update to upower-0.99.0
there will be some fallout due to major API changes, but they will be dealt with
today as the offenders (gnome-related) will be updated.

ok landry@ (MAINTAINER), aja@
2014-03-27 07:59:35 +00:00
landry
0fdccd8ce6 Straightforward update to upower 0.9.23, mostly integrating our patches
before giving us the middle finger with the next release relying on
logind for hibernate/suspend code, thus deliberately breaking perfectly
working portable code, see
http://lists.freedesktop.org/archives/devkit-devel/2013-October/001519.html
2013-10-18 16:43:50 +00:00
ajacoutot
9af689ecc8 Update to upower-0.9.22.
ok landry@ (maintainer)
2013-10-12 08:10:13 +00:00
landry
97d1e9945a Assorted fixes on top of jasper's:
- use --enable-deprecated instead of passing -DENABLE_DEPRECATED via the
  configure env, and add a comment explaining that it is about
deprecated featureset (the linux implem now uses logind APIs for
suspend/hibernate calls), nothing related to the G*DEPRECATED macros.
From ajacoutot@, also prodded by giovanni@ a while ago.
- backport upstream 7933b0e55234fca86809dad1dee53f0d8e2b96ec,
  g_type_init() is deprecated with glib 2.36.
- use g_thread_try_new instead of deprecated g_thread_create (prodded by
  ajacoutot@ too)
- include config.h in up-backend.h to reach ENABLE_DEPRECATED #define
The two last patches reported upstream in bug #70071
2013-10-03 13:42:16 +00:00
jasper
af1c7f2649 add link to upstream bz 2013-10-03 11:03:41 +00:00
jasper
dff9873332 Two fixes for the OpenBSD-backend:
- Recognize a battery not being present (and reset various metrics accordingly)
- Recognize a fully charged battery

as discussed with and OK landry@ (MAINTAINER), aja@
2013-10-03 10:52:59 +00:00
ajacoutot
d25c7c0665 Update to upower-0.9.21.
ok landry@ (maintainer)
2013-08-11 14:11:38 +00:00
ajacoutot
6126547b01 Drop uneeded patches. 2013-06-01 19:19:16 +00:00
giovanni
19f346a418 Enable deprecated code, newer upower relies on newer interfaces
(logind, systemd or something else), will be discussed upstream later.
This lets suspend from xfce menu work again.
ok landry@
2013-04-29 13:34:51 +00:00
ajacoutot
37cbe50d44 Remove /var/db/upower/history-* at @extraunexec time.
ok landry@ (maintainer)
2013-04-06 08:48:50 +00:00
ajacoutot
4629408c6c polkit(8) mostly always requires consolekit; unfortunately the dependency
cannot be added to polkit itself since it would create a cyclic dep; so we
add it to ports depending on polkit.

ok landry@ (maintainer)
2013-03-30 14:53:53 +00:00
ajacoutot
dab4fa84a4 Update to upower-0.9.20.
ok landry@ (maintainer)
2013-03-29 12:41:26 +00:00