518177b6c2
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)
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2020/04/02 11:38:49 bsiegert Exp $
|
|
|
|
DISTNAME= upower-0.99.11
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://upower.freedesktop.org/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://upower.freedesktop.org/
|
|
COMMENT= Power management system message bus service
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config intltool xgettext msgmerge msgfmt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
|
|
|
|
PKG_SYSCONFSUBDIR= UPower
|
|
INSTALL_MAKE_FLAGS+= configdir=${EGDIR} dbusconfdir=${EGDIR}
|
|
EGDIR= ${PREFIX}/share/examples/upower
|
|
CONF_FILES+= ${EGDIR}/UPower.conf ${PKG_SYSCONFDIR}/UPower.conf
|
|
CONF_FILES+= ${EGDIR}/org.freedesktop.UPower.conf \
|
|
${PKG_SYSCONFBASE}/dbus-1/system.d/org.freedesktop.UPower.conf
|
|
|
|
PKGCONFIG_OVERRIDE+= upower-glib.pc.in
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--no-as-needed:-Wl,-zrecord
|
|
BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--as-needed:-Wl,-zignore
|
|
|
|
TEST_TARGET= check
|
|
|
|
# with --nonet, xsltproc needs a helping hand finding some dtds
|
|
XSLTPROC_PATH= ${PREFIX}/share/doc/dbus
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.include "../../textproc/libxslt/xsltproc-nonet.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|