From b4ea83e602f19b0fd97d011e502d744bdec29fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Sat, 22 Jun 2024 02:40:53 +0300 Subject: [PATCH] update project dependencies and add schemas --- gtk4.nix | 5 +++++ ...m.asandikci.pardus-security-center.gschema.xml | 10 ++++++++++ schemas/compile-schemas.sh | 2 ++ schemas/gschemas.compiled | Bin 0 -> 296 bytes 4 files changed, 17 insertions(+) create mode 100644 schemas/com.asandikci.pardus-security-center.gschema.xml create mode 100755 schemas/compile-schemas.sh create mode 100644 schemas/gschemas.compiled diff --git a/gtk4.nix b/gtk4.nix index 4a3db9e..849d963 100644 --- a/gtk4.nix +++ b/gtk4.nix @@ -21,4 +21,9 @@ in pkgs.mkShell { python-pkgs.debian ])) ]; + shellHook = '' + export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH" + export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR" + export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS" + ''; } \ No newline at end of file diff --git a/schemas/com.asandikci.pardus-security-center.gschema.xml b/schemas/com.asandikci.pardus-security-center.gschema.xml new file mode 100644 index 0000000..94c3f10 --- /dev/null +++ b/schemas/com.asandikci.pardus-security-center.gschema.xml @@ -0,0 +1,10 @@ + + + + + true + First Run + Did application run before or is this first run? + + + \ No newline at end of file diff --git a/schemas/compile-schemas.sh b/schemas/compile-schemas.sh new file mode 100755 index 0000000..6e78dd5 --- /dev/null +++ b/schemas/compile-schemas.sh @@ -0,0 +1,2 @@ +cd $(dirname "$0") +glib-compile-schemas . \ No newline at end of file diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled new file mode 100644 index 0000000000000000000000000000000000000000..8a383b74333563cfeecad2e960142caeb3858386 GIT binary patch literal 296 zcmZ<{ODxJv%qwAl0tp};0by$}!32Rct0)7*e;|O!`GD2L0L5RPH#Pw&1F=;YJQx~) z^c^5(1mfiUT)o8N#JrTu?Bq)a25l%#upokoR(Qs qT%uc4ng`1iGOl1Ehw5K_BQieYoTFu{%zmfuR_poB;r?UPJl- literal 0 HcmV?d00001