summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/upower
Commit message (Collapse)AuthorAgeFilesLines
* upower: fix location of udev-rules with sysvinitAndreas Müller2022-04-061-1/+1
| | | | | | | | | | | | | | | UPower automatically detects location of udev-rules by asking udev's pkgconfig variable 'udev_dir' and appending 'rules.d'. This does not work for non systemd's udev: | Files/directories were installed but not shipped in any package: | /usr/rules.d | /usr/rules.d/95-upower-hid.rules | /usr/rules.d/95-upower-wup.rules To avoid, set udevrulesdir explicitly for non-systemd builds. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: upgrade 0.99.13 -> 0.99.17 / build with mesomAndreas Müller2022-04-062-38/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port to meson turned into total overhaul of recipe Version 0.99.17 --------------- Released: 2022-03-09 Bug fixes: - Fix FD handling issues that may cause lid to not be detected Version 0.99.16 --------------- Released: 2022-02-23 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) Version 0.99.15 --------------- Released: 2022-02-09 Bug fixes: - Various build fixes - Update bluetooth device alias when it changes (#169) No info for 0.99.14 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao2022-01-051-0/+2
| | | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 014 INFO: Latest version's commit: 8cbaa7f70b1bc8aa96f420f9061b20e5d8839ea7 After the patch: $ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 0.99.13 INFO: Latest version's commit: 0f6cc0a10be22d7ddd684e1cd851e4364a440494 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: upgrade 0.99.11 -> 0.99.13Andreas Müller2021-11-031-6/+7
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: Don't inherit 'features_check' in recipes that don't utilize itJacob Kroon2020-06-101-1/+1
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: rename distro_features_check to features_checkDenys Dmytriyenko2019-11-211-1/+1
| | | | | | | Avoid warning due to the class rename in OE-Core. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: update to 0.99.11Oleksandr Kravchuk2019-09-162-34/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: remove polkit dependencyHongxu Jia2019-06-251-4/+1
| | | | | | | | Follow upstream upower: https://gitlab.freedesktop.org/upower/upower/commit/9a2b2633095fb901fc1931ab0c600392d68bb3b4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: add REQUIRED_DISTRO_FEATURES for polkitMingli Yu2019-02-221-1/+3
| | | | | | | | | | | | | | | | After below commits to add polkit as a required distro feature: 97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check Need to add REQUIRED_DISTRO_FEATURES for polkit to fix below error for these packages which depend on polkit: $ bitbake upower ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/upower/upower_0.99.7.bb DEPENDS on or otherwise requires it) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: avoid scary messages in journal/syslogAndreas Müller2018-09-242-1/+35
| | | | | | | | | | | | When inserting/removing USB device not handled by upower (Mouse/Keyboard/USB-Sticks..) upower spams on later kernels: | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2 | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.0 | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.0/0003:41> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: update 0.99.5 -> 0.99.7Andreas Müller2018-04-081-7/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* upower: update 0.99.4 -> 0.99.5Andreas Müller2017-08-281-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: don't start on boot by default - dbus does that on demandAndreas Müller2016-09-261-0/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: add systemd supportJackie Huang2016-09-111-2/+6
| | | | | | | | | * inherit systemd * Add PACKAGECONFIG for systemd and control it based on DISTRO_FEATURES Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: update to version 0.99.4Derek Straka2016-08-151-5/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: fix WARNINGArmin Kuster2016-05-101-1/+1
| | | | | | | WARNING: upower-0.9.14-r2 do_configure: Missing DEPENDS on intltool-native Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: fix gobject introspectionAlexander Kanavin2016-03-141-2/+2
| | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
* upower replace udev by libgudev in DEPENDSAndreas Müller2015-09-231-1/+1
| | | | | | | | | | fixes: | configure: error: Package requirements (gudev-1.0 >= 147) were not met: | | No package 'gudev-1.0' found Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: Add PACKAGECONFIG for ideviceMartin Jansa2013-09-171-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: use gobject-introspection-stub instead of -native which was removed ↵Martin Jansa2012-07-281-2/+2
| | | | | | in oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Add missing gobject-introspection-native dependency for upower.Peter Tworek2012-01-231-1/+1
| | | | | Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: add pm-utils to RRECOMMENDSKoen Kooi2012-01-121-0/+4
| | | | | | | | | | This fixes: dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory) dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory) dbus-daemon[207]: (upowerd:401): UPower-WARNING **: failed to run script: Failed to execute child process "/usr/sbin/pm-powersave" (No such file or directory) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: update to 0.9.14Koen Kooi2011-10-191-4/+4
| | | | | | This fixes building against a recent glib-2.0 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: initial commit of 0.9.11Koen Kooi2011-06-091-0/+28
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>