add gtk3 configuration and update schema
This commit is contained in:
parent
b4ea83e602
commit
d945404da4
4 changed files with 35 additions and 4 deletions
30
gtk3.nix
Normal file
30
gtk3.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# gtk4.nix
|
||||||
|
# Install GTK4/Libadwaita and other dependencies for common Pardus Apps/GTK Development
|
||||||
|
let
|
||||||
|
pkgs = import <nixpkgs> {};
|
||||||
|
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"
|
||||||
|
'';
|
||||||
|
}
|
1
gtk4.nix
1
gtk4.nix
|
@ -22,6 +22,7 @@ in pkgs.mkShell {
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
bash $(pwd "$0")/schemas/compile-schemas.sh
|
||||||
export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH"
|
export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH"
|
||||||
export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR"
|
export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR"
|
||||||
export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS"
|
export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<schemalist>
|
<schemalist>
|
||||||
<schema id="com.asandikci.pardus-security-center" path="/com/asandikci/pardus-security-center/">
|
<schema id="com.asandikci.pardus-security-center" path="/com/asandikci/pardus-security-center/">
|
||||||
<key name="first-run" type="b">
|
<key name="setup-completed" type="b">
|
||||||
<default>true</default>
|
<default>false</default>
|
||||||
<summary>First Run</summary>
|
<summary>Setup Completed</summary>
|
||||||
<description>Did application run before or is this first run?</description>
|
<description>Did application set up necessary packages/configurations (like clamav, ufw etc.) ?</description>
|
||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
Binary file not shown.
Loading…
Reference in a new issue