mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 18:56:49 -04:00
XML: Move to data/interfaces, install for dbus
This commit is contained in:
parent
30a0a40279
commit
194646b8f1
5 changed files with 6 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -16,6 +16,7 @@ test:
|
||||||
@cargo test
|
@cargo test
|
||||||
|
|
||||||
install: target/release/steamos-manager target/release/steamosctl
|
install: target/release/steamos-manager target/release/steamosctl
|
||||||
|
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/interaces/"
|
||||||
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/services/"
|
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/services/"
|
||||||
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/system-services/"
|
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/system-services/"
|
||||||
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/system.d/"
|
install -d -m0755 "$(DESTDIR)/usr/share/dbus-1/system.d/"
|
||||||
|
@ -29,6 +30,8 @@ install: target/release/steamos-manager target/release/steamosctl
|
||||||
|
|
||||||
install -m644 "data/platform.toml" "$(DESTDIR)/usr/share/steamos-manager/"
|
install -m644 "data/platform.toml" "$(DESTDIR)/usr/share/steamos-manager/"
|
||||||
|
|
||||||
|
install -D -m644 -t "$(DESTDIR)/usr/share/dbus-1/interfaces" "data/interfaces/"*
|
||||||
|
|
||||||
install -m644 "data/system/com.steampowered.SteamOSManager1.service" "$(DESTDIR)/usr/share/dbus-1/system-services/"
|
install -m644 "data/system/com.steampowered.SteamOSManager1.service" "$(DESTDIR)/usr/share/dbus-1/system-services/"
|
||||||
install -m644 "data/system/com.steampowered.SteamOSManager1.conf" "$(DESTDIR)/usr/share/dbus-1/system.d/"
|
install -m644 "data/system/com.steampowered.SteamOSManager1.conf" "$(DESTDIR)/usr/share/dbus-1/system.d/"
|
||||||
install -m644 "data/system/steamos-manager.service" "$(DESTDIR)/usr/lib/systemd/system/"
|
install -m644 "data/system/steamos-manager.service" "$(DESTDIR)/usr/lib/systemd/system/"
|
||||||
|
|
|
@ -1342,7 +1342,7 @@ mod test {
|
||||||
.await
|
.await
|
||||||
.expect("remote");
|
.expect("remote");
|
||||||
let local = testing::InterfaceIntrospection::from_local(
|
let local = testing::InterfaceIntrospection::from_local(
|
||||||
"../com.steampowered.SteamOSManager1.Manager.xml",
|
"../data/interfaces/com.steampowered.SteamOSManager1.Manager.xml",
|
||||||
"com.steampowered.SteamOSManager1.Manager",
|
"com.steampowered.SteamOSManager1.Manager",
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
@ -1354,7 +1354,7 @@ mod test {
|
||||||
let remote =
|
let remote =
|
||||||
testing::InterfaceIntrospection::from_remote::<I, _>(connection, MANAGER_PATH).await?;
|
testing::InterfaceIntrospection::from_remote::<I, _>(connection, MANAGER_PATH).await?;
|
||||||
let local = testing::InterfaceIntrospection::from_local(
|
let local = testing::InterfaceIntrospection::from_local(
|
||||||
"../com.steampowered.SteamOSManager1.xml",
|
"../data/interfaces/com.steampowered.SteamOSManager1.xml",
|
||||||
I::name().to_string(),
|
I::name().to_string(),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
|
@ -213,7 +213,7 @@ mod test {
|
||||||
.await
|
.await
|
||||||
.expect("remove");
|
.expect("remove");
|
||||||
let local = testing::InterfaceIntrospection::from_local(
|
let local = testing::InterfaceIntrospection::from_local(
|
||||||
"../com.steampowered.SteamOSManager1.xml",
|
"../data/interfaces/com.steampowered.SteamOSManager1.xml",
|
||||||
UdevDbusObject::name().to_string(),
|
UdevDbusObject::name().to_string(),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue