mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Cut new release with debian builds
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -678,7 +678,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rog-daemon"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
dependencies = [
|
||||
"dbus",
|
||||
"dbus-tokio",
|
||||
|
||||
@@ -23,6 +23,8 @@ $ sudo systemctl start rog-core.service
|
||||
$ sudo systemctl enable rog-core.service
|
||||
```
|
||||
|
||||
You may also need to activate the service for debian install. If running Pop!_OS, I suggest disabling `system76-power` gnome-shell extension, or at least limiting use of the power-management parts as `rog-core` lets you set the same things (one or the other will overwrite pstates). I will create a shell extension at some point similar to system76, but using the rog-core parts. It is safe to leave `system76-power.service` enabled and use for switching between graphics modes.
|
||||
|
||||
## Updating
|
||||
|
||||
Occasionally I might break things for you by tweaking or changing the config file layout. Usually this will mean you need to remove `/etc/rog-core.toml' and restart the daemon to create a new one. You *can* back up the old one and copy settings back over (then restart daemon again).
|
||||
|
||||
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
rog-core (0.9.0) focal; urgency=medium
|
||||
|
||||
* Initial packaging
|
||||
|
||||
-- Luke Jones <luke@ljones.dev> Sat, 02 May 2020 20:17:12 +1200
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
||||
23
debian/control
vendored
Normal file
23
debian/control
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
Source: rog-core
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Luke Jones <luke@ljones.dev>
|
||||
Build-Depends:
|
||||
debhelper (>=9),
|
||||
cargo,
|
||||
dh-systemd,
|
||||
libusb-1.0-0-dev,
|
||||
libdbus-1-dev,
|
||||
pkg-config
|
||||
Standards-Version: 4.1.1
|
||||
Homepage: https://github.com/flukejones/rog-core
|
||||
|
||||
Package: rog-core
|
||||
Architecture: amd64
|
||||
Depends:
|
||||
dbus,
|
||||
systemd,
|
||||
libusb-1.0-0,
|
||||
${misc:Depends},
|
||||
${shlib:Depends}
|
||||
Description: ASUS ROG Laptop Management
|
||||
7
debian/copyright
vendored
Normal file
7
debian/copyright
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: rog-core
|
||||
Source: https://github.com/flukejones/rog-core
|
||||
|
||||
Files: *
|
||||
Copyright: Copyright 2020 Luke Jones
|
||||
License: MPL-2.0
|
||||
16
debian/rog-core.postinst
vendored
Normal file
16
debian/rog-core.postinst
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
mv /etc/rogcore.conf /etc/rogcore.save || true
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
16
debian/rog-core.postrm
vendored
Normal file
16
debian/rog-core.postrm
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove)
|
||||
rm -f /etc/rogcore.conf
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
21
debian/rules
vendored
Normal file
21
debian/rules
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export VENDORED ?= 1
|
||||
CLEAN ?= 1
|
||||
|
||||
%:
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_auto_build:
|
||||
env CARGO_HOME="$$(pwd)/target/cargo" \
|
||||
dh_auto_build
|
||||
|
||||
override_dh_auto_clean:
|
||||
ifeq ($(CLEAN),1)
|
||||
make clean
|
||||
endif
|
||||
ifeq ($(VENDORED),1)
|
||||
if ! ischroot; then \
|
||||
make vendor; \
|
||||
fi
|
||||
endif
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rog-daemon"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["Luke <luke@ljones.dev>"]
|
||||
|
||||
@@ -7,7 +7,7 @@ use rog_aura::{
|
||||
AuraDbusWriter, LED_MSG_LEN,
|
||||
};
|
||||
|
||||
static VERSION: &'static str = "0.8.0";
|
||||
static VERSION: &'static str = "0.9.1";
|
||||
|
||||
#[derive(Debug, Options)]
|
||||
struct CLIStart {
|
||||
|
||||
Reference in New Issue
Block a user