Skip to content
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

build: Fix build with fwupd 2.0.0 #169

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

bobby285271
Copy link
Member

Based on https://gitlab.archlinux.org/archlinux/packaging/packages/pantheon-settings-daemon/-/commit/e1f48299fdc39d3825fa65cfbcce54678e34a823.

Fixes:

../src/Application.vala:140.39-140.65: error: The name `DEVICE_FLAG_UPDATABLE' does not exist in the context of `Fwupd' (fwupd)
  140 |                 if (!device.has_flag (Fwupd.DEVICE_FLAG_UPDATABLE)) {
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~'

Based on https://gitlab.archlinux.org/archlinux/packaging/packages/pantheon-settings-daemon/-/commit/e1f48299fdc39d3825fa65cfbcce54678e34a823.

Fixes:

../src/Application.vala:140.39-140.65: error: The name `DEVICE_FLAG_UPDATABLE' does not exist in the context of `Fwupd' (fwupd)
  140 |                 if (!device.has_flag (Fwupd.DEVICE_FLAG_UPDATABLE)) {
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
@bobby285271 bobby285271 requested a review from a team November 6, 2024 15:42
Copy link

@leonardo-lemos leonardo-lemos left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@leonardo-lemos leonardo-lemos merged commit f9f9e6c into main Nov 7, 2024
4 checks passed
@leonardo-lemos leonardo-lemos deleted the bobby285271/fwupd branch November 7, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants