--- a/Cargo.toml 2024-05-14 07:35:44.000000000 +0200 +++ b/Cargo.toml 2024-05-15 19:34:14.013981364 +0200 @@ -23,8 +23,6 @@ "rog-anime", "rog-aura", "rog-profiles", - "rog-control-center", - "rog-slash", "simulators", ] default-members = [ @@ -32,7 +30,6 @@ "asusd", "asusd-user", "cpuctl", - "rog-control-center", ] [workspace.dependencies] --- a/Makefile 2024-05-15 19:24:41.294467449 +0200 +++ b/Makefile 2024-05-15 19:40:24.579960477 +0200 @@ -11,7 +11,6 @@ libdir = $(exec_prefix)/lib zshcpl = $(datarootdir)/zsh/site-functions -BIN_ROG := rog-control-center BIN_C := asusctl BIN_D := asusd BIN_U := asusd-user @@ -23,10 +22,10 @@ DEBUG ?= 0 ifeq ($(DEBUG),0) - ARGS += --release --features "rog-control-center/x11" + ARGS += --release TARGET = release else - ARGS += --profile dev --features "rog-control-center/x11" + ARGS += --profile dev TARGET = debug endif @@ -44,15 +43,11 @@ rm -rf .cargo vendor vendor.tar.xz install-program: - $(INSTALL_PROGRAM) "./target/$(TARGET)/$(BIN_ROG)" "$(DESTDIR)$(bindir)/$(BIN_ROG)" - $(INSTALL_PROGRAM) "./target/$(TARGET)/$(BIN_C)" "$(DESTDIR)$(bindir)/$(BIN_C)" $(INSTALL_PROGRAM) "./target/$(TARGET)/$(BIN_D)" "$(DESTDIR)$(bindir)/$(BIN_D)" $(INSTALL_PROGRAM) "./target/$(TARGET)/$(BIN_U)" "$(DESTDIR)$(bindir)/$(BIN_U)" install-data: - $(INSTALL_DATA) "./rog-control-center/data/$(BIN_ROG).desktop" "$(DESTDIR)$(datarootdir)/applications/$(BIN_ROG).desktop" - $(INSTALL_DATA) "./rog-control-center/data/$(BIN_ROG).png" "$(DESTDIR)$(datarootdir)/icons/hicolor/512x512/apps/$(BIN_ROG).png" cd rog-aura/data/layouts && find . -type f -name "*.ron" -exec $(INSTALL_DATA) "{}" "$(DESTDIR)$(datarootdir)/rog-gui/layouts/{}" \; $(INSTALL_DATA) "./data/$(BIN_D).rules" "$(DESTDIR)$(libdir)/udev/rules.d/99-$(BIN_D).rules" @@ -81,10 +76,6 @@ install: install-program install-data uninstall: - rm -f "$(DESTDIR)$(bindir)/$(BIN_ROG)" - rm -r "$(DESTDIR)$(datarootdir)/applications/$(BIN_ROG).desktop" - rm -r "$(DESTDIR)$(datarootdir)/icons/hicolor/512x512/apps/$(BIN_ROG).png" - rm -f "$(DESTDIR)$(bindir)/$(BIN_C)" rm -f "$(DESTDIR)$(bindir)/$(BIN_D)" rm -f "$(DESTDIR)$(libdir)/udev/rules.d/99-$(BIN_D).rules" @@ -101,7 +92,6 @@ rm -r "$(DESTDIR)$(datarootdir)/icons/hicolor/scalable/status/gpu-vfio.svg" rm -r "$(DESTDIR)$(datarootdir)/icons/hicolor/scalable/status/notification-reboot.svg" rm -rf "$(DESTDIR)$(datarootdir)/asusd" - rm -rf "$(DESTDIR)$(datarootdir)/rog-gui" update: cargo update @@ -137,7 +127,6 @@ strip -s ./target/$(TARGET)/$(BIN_C) strip -s ./target/$(TARGET)/$(BIN_D) strip -s ./target/$(TARGET)/$(BIN_U) - strip -s ./target/$(TARGET)/$(BIN_ROG) endif