From b09326bbca6321b9bb389c967f07df59868d331f Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Mon, 23 Jan 2023 13:10:33 +0100 Subject: [PATCH] misc: Add timeshift --- .../actions/vanilla-history-undo-symbolic.svg | 2 ++ data/icons/meson.build | 4 +++ debian/vanilla-first-setup.substvars | 2 ++ recipe.json | 33 ++++++++++++++++++ .../bundle-app-icons/org.gnome.DejaDup.png | Bin 0 -> 5790 bytes .../vanilla-first-setup.gresource.xml | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg create mode 100644 debian/vanilla-first-setup.substvars create mode 100644 vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png diff --git a/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg b/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg new file mode 100644 index 0000000..12c9f69 --- /dev/null +++ b/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg @@ -0,0 +1,2 @@ + + diff --git a/data/icons/meson.build b/data/icons/meson.build index a4e454f..b030749 100644 --- a/data/icons/meson.build +++ b/data/icons/meson.build @@ -30,3 +30,7 @@ install_data( join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'), install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions') ) +install_data( + join_paths(actions_dir, 'vanilla-history-undo-symbolic.svg'), + install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions') +) diff --git a/debian/vanilla-first-setup.substvars b/debian/vanilla-first-setup.substvars new file mode 100644 index 0000000..e6b63de --- /dev/null +++ b/debian/vanilla-first-setup.substvars @@ -0,0 +1,2 @@ +misc:Depends=dconf-gsettings-backend | gsettings-backend +misc:Pre-Depends= diff --git a/recipe.json b/recipe.json index 7060a06..52f31c3 100644 --- a/recipe.json +++ b/recipe.json @@ -251,6 +251,12 @@ "flatpak" : true, "snap" : true }, + { + "name" : "Déjà Dup Backups", + "icon" : "org.gnome.DejaDup", + "flatpak" : true, + "snap" : true + }, { "name" : "Flatseal", "icon" : "com.github.tchx84.Flatseal", @@ -376,6 +382,11 @@ "type" : "command", "commands" : ["!nextBoot flatpak install -y org.gnome.Boxes || snap install gnome-boxes"] }, + { + "if" : "Déjà Dup Backups", + "type" : "command", + "commands" : ["!nextBoot flatpak install -y org.gnome.DejaDup || snap install deja-dup"] + }, { "if" : "Flatseal", "type" : "command", @@ -403,6 +414,28 @@ } ] }, + "timeshift": { + "template": "yes-no", + "icon": "vanilla-history-undo-symbolic", + "title": "Timeshift", + "description": "Choose whether to install Timeshift to create snapshots of your system.", + "buttons": { + "yes": "Install", + "no": "Skip", + "info": { + "type": "text", + "title": "Timeshift", + "text": "Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.\n\nIn RSYNC mode, snapshots are taken using rsync and hard-links. Common files are shared between snapshots which saves disk space. Each snapshot is a full system backup that can be browsed with a file manager.\n\nIn BTRFS mode, snapshots are taken using the in-built features of the BTRFS filesystem. BTRFS snapshots are supported only on BTRFS systems having an Ubuntu-type subvolume layout (with @ and @home subvolumes)." + } + }, + "final": [ + { + "if": "timeshift", + "type": "command", + "commands": ["apt install -y timeshift"] + } + ] + }, "nvidia": { "template": "yes-no", "display-conditions": [ diff --git a/vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png b/vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png new file mode 100644 index 0000000000000000000000000000000000000000..bc6bb790501fc6245cc670cca26b1086012ee17d GIT binary patch literal 5790 zcmV;P7Gdd$P)X>45Ab;p12z1bIXNKsr&N+Km$q-@J_Bs*IJGcodij0w22C|LE~ zB4>T`w%ZSHIQz~w^C)Znz(C^6x#!+@-~XO_?m73}2YvL>M<0Fk(MKPB^wCEjee}`C z?EJto12keCL--LCT%M;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zHTw}&)us(yub(OE1CQ663Iu!$fneb2kU#L%Cy#vHakJk?AAR)EM<0Fk(MKPB^wCEj cecYb-e=9GRW!GkmY5)KL07*qoM6N<$f../data/icons/hicolor/symbolic/actions/vanilla-package-symbolic.svg ../data/icons/hicolor/symbolic/actions/vanilla-container-terminal-symbolic.svg ../data/icons/hicolor/symbolic/actions/vanilla-puzzle-piece-symbolic.svg + ../data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg assets/bundle-app-icons/com.github.flxzt.rnote.png @@ -46,5 +47,6 @@ assets/bundle-app-icons/org.libreoffice.LibreOffice.png assets/bundle-app-icons/net.lutris.Lutris.png assets/bundle-app-icons/com.heroicgameslauncher.hgl.png + assets/bundle-app-icons/org.gnome.DejaDup.png