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

asusd: Add at v6.1.0-rc2 #446

Merged
merged 2 commits into from
Jan 17, 2025
Merged

asusd: Add at v6.1.0-rc2 #446

merged 2 commits into from
Jan 17, 2025

Conversation

flukejones
Copy link
Contributor

Add asusd laptop control daemon for ASUS laptops.

@Pheoxy
Copy link
Contributor

Pheoxy commented Dec 17, 2024

You need to fix the homepage in the stone.yaml

@flukejones
Copy link
Contributor Author

You need to fix the homepage in the stone.yaml

Thanks yeah, is draft - I'm actively working on asusd itself to fix a few issues too.

@flukejones flukejones force-pushed the asusd branch 2 times, most recently from 6c2f8b3 to a78c726 Compare December 19, 2024 06:22
Copy link
Contributor

@ReillyBrogan ReillyBrogan left a comment

Choose a reason for hiding this comment

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

I was going to leave specific comments here, but honestly I'm very confused by this build.

  • Why is it specifying toolchain: gnu, does it not build with Clang?
  • Is mold a build requirement or is it just because it shaves a bit of time off the build? (hint: if I'm asking this question it's because there should be a comment in the recipe explaining the choice)
  • Why is it pulling in cmake when it appears to use make?

@ReillyBrogan
Copy link
Contributor

Oh okay I just realized that you copied and pasted what was in the zed recipe. Feel free to ping me when you want this to actually be reviewed then.

@flukejones flukejones marked this pull request as draft January 7, 2025 01:19
@flukejones flukejones changed the title DRAFT: asusd: Add at v6.0.12 asusd: Add at v6.0.12 Jan 12, 2025
@flukejones
Copy link
Contributor Author

@ReillyBrogan I think I've addressed everything now. It might be an RC but it's in a good position to be included now - and there will be more work coming but no timeframe so RC is better than none at present.

@flukejones flukejones marked this pull request as ready for review January 12, 2025 09:12
a/asusd/stone.yaml Outdated Show resolved Hide resolved
a/asusd/stone.yaml Outdated Show resolved Hide resolved
a/asusd/monitoring.yaml Outdated Show resolved Hide resolved
a/asusd/stone.yaml Outdated Show resolved Hide resolved
a/asusd/stone.yaml Outdated Show resolved Hide resolved
@flukejones flukejones force-pushed the asusd branch 2 times, most recently from d7b8364 to 8d7f70d Compare January 13, 2025 10:21
@flukejones
Copy link
Contributor Author

I think that was a good clean up. Build tested, install tested, run tested.

Copy link
Contributor

@ReillyBrogan ReillyBrogan left a comment

Choose a reason for hiding this comment

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

Looks much better now! The only thing that needs to be fixed is that some changes to the linux desktop manifest seem to have snuck in during a rebase/amend.

Once that's done I'll approve this, but if you want since you need to poke it anyway you could move the comment about installing data/bins into the install block itself. The other minor thing you could change is to change

license     :
    - MPL-2.0

To

license     : MPL-2.0

Neither of these changes require a rebuild.

The final optional thing you could do would be to pre-enable the services out of the box (if that's desirable to users).

If you want to do that then create two files asusd.preset and asusd-user.preset in the pkgdir with the following contents respectively:

enable asusd.service

and

enable asusd-user.service

And then install these to %(installroot)%(libdir)/systemd/system-preset/50-asusd.preset and %(installroot)%(libdir)/systemd/user-preset/50-asusd-user.preset. Then they'll be enabled by default by a trigger.

Ignore if the services are DBUS-activated instead.

@flukejones
Copy link
Contributor Author

The services are udev rule activated. But it would be handy to be able to start them on install

Add asusd laptop control daemon for ASUS laptops.

Signed-off-by: Luke D. Jones <[email protected]>
@flukejones flukejones changed the title asusd: Add at v6.0.12 asusd: Add at v6.1.0-rc2 Jan 15, 2025
@ikeycode ikeycode merged commit 539e78f into serpent-os:main Jan 17, 2025
2 checks passed
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.

4 participants