From d1bad1b7c70c312abf835a33d84bd79461a6a8df Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 21 Jan 2024 18:10:48 +0100 Subject: [PATCH 1/4] feat: Add custom gnome control center --- modules/20-gnome-core.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/20-gnome-core.yml b/modules/20-gnome-core.yml index 77fa395..92c37b7 100644 --- a/modules/20-gnome-core.yml +++ b/modules/20-gnome-core.yml @@ -18,3 +18,15 @@ source: - xdg-desktop-portal - xdg-desktop-portal-gnome - xdg-desktop-portal-gtk +modules: + name: gnome-control-center + type: dpkg + source: + type: tar + url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz + checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 + name: remove-dbgsym + type: shell + commands: + - apt remove -y gnome-control-center-dbgsym gnome-control-center-dev + From 5a244697b1fc51ae81ba8012a4767157c30f87ac Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 21 Jan 2024 18:16:46 +0100 Subject: [PATCH 2/4] fix module --- modules/20-gnome-core.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/20-gnome-core.yml b/modules/20-gnome-core.yml index 92c37b7..6ec3f0d 100644 --- a/modules/20-gnome-core.yml +++ b/modules/20-gnome-core.yml @@ -19,14 +19,14 @@ source: - xdg-desktop-portal-gnome - xdg-desktop-portal-gtk modules: - name: gnome-control-center - type: dpkg - source: - type: tar - url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz - checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 - name: remove-dbgsym - type: shell - commands: - - apt remove -y gnome-control-center-dbgsym gnome-control-center-dev + - name: gnome-control-center + type: shell + source: + type: tar + url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz + checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 + commands: + - dpkg -i /sources/gnome-control-center-data_45~rc-2_all + - dpkg -i /sources/gnome-control-center_45~rc-2_amd64.deb + - apt -y install -f From 2f0ec6df6f7980985ee5c9ee2ed8a86c0a80d708 Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 21 Jan 2024 18:27:23 +0100 Subject: [PATCH 3/4] fix dpkg path --- modules/20-gnome-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/20-gnome-core.yml b/modules/20-gnome-core.yml index 6ec3f0d..acbeb99 100644 --- a/modules/20-gnome-core.yml +++ b/modules/20-gnome-core.yml @@ -26,7 +26,7 @@ modules: url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 commands: - - dpkg -i /sources/gnome-control-center-data_45~rc-2_all + - dpkg -i /sources/gnome-control-center-data_45~rc-2_all.deb - dpkg -i /sources/gnome-control-center_45~rc-2_amd64.deb - apt -y install -f From e08c5505b7086b6ff67b277b7614f7e5b01e0b8e Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 21 Jan 2024 18:35:33 +0100 Subject: [PATCH 4/4] Move control center to own module --- modules/20-gnome-core.yml | 11 ----------- modules/21-gnome-control-center.yml | 10 ++++++++++ recipe.yml | 1 + 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 modules/21-gnome-control-center.yml diff --git a/modules/20-gnome-core.yml b/modules/20-gnome-core.yml index acbeb99..f634298 100644 --- a/modules/20-gnome-core.yml +++ b/modules/20-gnome-core.yml @@ -18,15 +18,4 @@ source: - xdg-desktop-portal - xdg-desktop-portal-gnome - xdg-desktop-portal-gtk -modules: - - name: gnome-control-center - type: shell - source: - type: tar - url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz - checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 - commands: - - dpkg -i /sources/gnome-control-center-data_45~rc-2_all.deb - - dpkg -i /sources/gnome-control-center_45~rc-2_amd64.deb - - apt -y install -f diff --git a/modules/21-gnome-control-center.yml b/modules/21-gnome-control-center.yml new file mode 100644 index 0000000..32bcc48 --- /dev/null +++ b/modules/21-gnome-control-center.yml @@ -0,0 +1,10 @@ +name: gnome-control-center +type: shell +source: + type: tar + url: https://github.com/Vanilla-OS/gnome-control-center/releases/download/continuous/gnome-control-center.tar.xz + checksum: 81eff2e3fa32a918902cf49cd07d5bf43db0b3bcfef0ce80b78e7f2494bfd060 +commands: + - dpkg -i /sources/gnome-control-center-data_45~rc-2_all.deb + - dpkg -i /sources/gnome-control-center_45~rc-2_amd64.deb + - apt -y install -f diff --git a/recipe.yml b/recipe.yml index e3bdb12..6054c9d 100644 --- a/recipe.yml +++ b/recipe.yml @@ -50,6 +50,7 @@ modules: - modules/03-fswarn - modules/10-vanilla-abroot-rollback-notifier - modules/20-gnome-core + - modules/21-gnome-control-center - modules/30-gnome-essentials - modules/40-gnome-appearance - modules/50-laptop-goodies