diff --git a/gtk3.nix b/gtk3.nix new file mode 100644 index 0000000..848fea6 --- /dev/null +++ b/gtk3.nix @@ -0,0 +1,30 @@ +# gtk4.nix +# Install GTK4/Libadwaita and other dependencies for common Pardus Apps/GTK Development +let + pkgs = import {}; +in pkgs.mkShell { + packages = [ + pkgs.gtk3 + pkgs.gobject-introspection + pkgs.pkg-config + pkgs.libnotify + pkgs.libadwaita + pkgs.dbus + pkgs.apt + pkgs.libsoup + (pkgs.python3.withPackages (python-pkgs: [ + python-pkgs.pycairo + python-pkgs.pygobject3 + python-pkgs.pydbus + python-pkgs.dbus-python + python-pkgs.python-apt + python-pkgs.debian + ])) + ]; + shellHook = '' + bash $(pwd "$0")/schemas/compile-schemas.sh + 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/gtk4.nix b/gtk4.nix index 849d963..383294b 100644 --- a/gtk4.nix +++ b/gtk4.nix @@ -22,6 +22,7 @@ in pkgs.mkShell { ])) ]; shellHook = '' + bash $(pwd "$0")/schemas/compile-schemas.sh 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" diff --git a/schemas/com.asandikci.pardus-security-center.gschema.xml b/schemas/com.asandikci.pardus-security-center.gschema.xml index 94c3f10..8564e6c 100644 --- a/schemas/com.asandikci.pardus-security-center.gschema.xml +++ b/schemas/com.asandikci.pardus-security-center.gschema.xml @@ -1,10 +1,10 @@ - - true - First Run - Did application run before or is this first run? + + false + Setup Completed + Did application set up necessary packages/configurations (like clamav, ufw etc.) ? \ No newline at end of file diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 8a383b7..feca18f 100644 Binary files a/schemas/gschemas.compiled and b/schemas/gschemas.compiled differ