-
Notifications
You must be signed in to change notification settings - Fork 802
iio-sensor-proxy: init at 3.6 #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
301b4b8
to
df99c9d
Compare
Draft because it's not useful yet, but I wouldn't mind if it got merged already. |
Yeah, I think it's fine to have things prepared. Or at least letting it ready and people can test with the kernel changes. I've done some adjustments to the Makefile to follow the ports' standard: https://gist.github.com/lwhsu/fd9f05f055db2f13765fa2fea7e1a371 Also, it seems not buildable in the poudriere for now: https://gist.github.com/lwhsu/759f4f824169525cb46640d951386843 |
monitor-sensor can run, but we don't have any kernel interfaces for sensors in FreeBSD yet. Signed-off-by: Daniel Schaefer <dhs@frame.work>
df99c9d
to
1159abc
Compare
Thanks, I applied your formatting. |
I got this in poudriere test build:
The first part means that this port installs these files but we don't have them listed in pkg-plist, I'm not sure if those files under The second part mean that we have them in pkg-plist but not installed, it seems What I'm not sure is that should we do something to teach it install |
libgudev-1.0.so:devel/libgudev \ | ||
libpolkit-gobject-1.so:sysutils/polkit | ||
|
||
USES= pkgconfig meson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
USES values should be sorted.
@@ -0,0 +1,5 @@ | |||
bin/monitor-sensor | |||
usr/lib/iio-sensor-proxy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks suspicious. It feels like we should have MESON_ARGS= -Dlibexecdir=${PREFIX}/libexec
in the Makefile to make this file go into a correct dir.
@@ -0,0 +1,5 @@ | |||
bin/monitor-sensor | |||
usr/lib/iio-sensor-proxy | |||
usr/lib/udev/rules.d/80-iio-sensor-proxy.rules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this file is still installed despite the -Dudevrulesdir=disabled
arg, then we need to prepend @comment
there to prevent it from being packaged into the final package.
Preparation for Framework 12 (Convertible) g-sensor to let the screen rotate.
monitor-sensor can run, but we don't have any kernel interfaces for sensors in FreeBSD yet.