Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565904 - gnome-extra/iio-sensor-proxy: new ebuild
Summary: gnome-extra/iio-sensor-proxy: new ebuild
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
Depends on:
Reported: 2015-11-16 09:28 UTC by poncho
Modified: 2021-04-18 12:00 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---

initial ebuild (iio-sensor-proxy-1.1.ebuild,467 bytes, text/plain)
2015-11-16 09:28 UTC, poncho
iio-sensor-proxy-1.3 (iio-sensor-proxy-1.3.ebuild,484 bytes, text/plain)
2016-11-24 14:11 UTC, poncho
iio-sensor-proxy-2.0 (iio-sensor-proxy-2.0.ebuild,498 bytes, text/plain)
2016-12-18 20:07 UTC, poncho

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2015-11-16 09:28:09 UTC
Created attachment 417086 [details]
initial ebuild

With a GNOME 3.18 (or newer) based system, orientation changes will automatically be applied when rotating the panel, ambient light will be used to change the screen brightness, and Geoclue will be able to read the compass data to show the direction in Maps.
Comment 1 poncho 2016-02-16 09:15:07 UTC
gnome-base/gnome-settings-daemon needs the patches from:

otherwise, the log gets spamed with:

gdm: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/var/lib/gdm] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 99]
Error executing command as another user: Not authorized
This incident has been reported.
Comment 2 poncho 2016-11-24 14:11:24 UTC
Created attachment 454240 [details]
Comment 3 poncho 2016-12-18 20:07:46 UTC
Created attachment 456626 [details]

This release adds build fixes, fixes the detection of a number of
devices that should be supported, stops trying to use devices
that shouldn't, and adds support for the "mount-matrix" property,
which can be used to fix the orientation of accelerometers on
devices where the default does not work.

    * Add support for ACCEL_MOUNT_MATRIX udev property
    * Fix startup failure on certain devices
    * Work-around possible kernel bug on certain devices
    * Better supported/unsupported sensors detection
    * Better debug output
Comment 4 Oleh 2017-10-04 08:45:05 UTC
this project has hard dependency on systemd, which is offered ebuild missing.
Comment 5 Roman Zimmermann 2020-06-30 14:42:13 UTC
It seems that the only reason for the systemd check in the build script is because a systemd unit file is shipped. For non-systemd systems we could pass any directory and then delete the file after the build. We’d still need to supply a OpenRC init-file though.