Skip to content

sensorfw-core: sync datatypes header changes from latest SensorFW#11

Open
peat-psuwit wants to merge 2 commits into
waydroid:mainfrom
peat-psuwit:for-upstream/sensorfw-0.15.1
Open

sensorfw-core: sync datatypes header changes from latest SensorFW#11
peat-psuwit wants to merge 2 commits into
waydroid:mainfrom
peat-psuwit:for-upstream/sensorfw-0.15.1

Conversation

@peat-psuwit
Copy link
Copy Markdown
Contributor

SensorFW 0.14.0 "silently" change the wire format over unix socket,
exposing the change over the in-tree, Qt-ridden headers only 1.

This change pulls in the latest changes in datatypes/ headers from
SensorFW 0.15.1, transforming it in the same way it was before (quint64
-> uint64_t, remove Qt-ism). In practice, the most important change is
in genericdata.h. One other header has a miscellaneous change, but
I've decided to include them for completeness.

Footnotes

  1. https://github.com/sailfishos/sensorfw/commit/532fc4cf91bc6291d5b4828348dd65c7c938308c

SensorFW 0.14.0 "silently" change the wire format over unix socket,
exposing the change over the in-tree, Qt-ridden headers only [^1].

This change pulls in the latest changes in datatypes/ headers from
SensorFW 0.15.1, transforming it in the same way it was before (quint64
-> uint64_t, remove Qt-ism). In practice, the most important change is
in `genericdata.h`. One other header has a miscellaneous change, but
I've decided to include them for completeness.

[^1]: sailfishos/sensorfw@532fc4c
Because backwards-incompatible nature of the wire format change, enforce
built package to be used on SensorFW >= 0.14.0 only.
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the debian/control file to require libsensorfw-qt5-plugins version 0.14.0 or higher. It also changes the TimedXyzData coordinate types from int to float and updates an include path in touchdata.h. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant