diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2025-01-15 07:31:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2025-01-15 07:31:09 (GMT) |
commit | 8be5b3fb8a516380fc88fd900a98238ce8564682 (patch) | |
tree | 046285342f2a3025269e3f4599d448fefbae5726 | |
parent | effdeaccbd2a5f65d41d3b906de420c2fc532e10 (diff) |
Introduce a few new helper files for local execution.
-rw-r--r-- | tools/maint/exportall.inc | 8 | ||||
-rw-r--r-- | tools/maint/libpath.inc | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tools/maint/exportall.inc b/tools/maint/exportall.inc new file mode 100644 index 0000000..f03be3c --- /dev/null +++ b/tools/maint/exportall.inc @@ -0,0 +1,8 @@ + +# source tools/maint/exportall.inc + +# unset PYTHONPATH GSETTINGS_SCHEMA_DIR LD_LIBRARY_PATH + +source tools/maint/pypath.inc +source tools/maint/gsettings.inc +source tools/maint/libpath.inc diff --git a/tools/maint/libpath.inc b/tools/maint/libpath.inc new file mode 100644 index 0000000..19e68d7 --- /dev/null +++ b/tools/maint/libpath.inc @@ -0,0 +1,10 @@ + +# Look for all path containing binaries for local execution + +# source tools/maint/libpath.inc + +LD_LIBRARY_PATH="$PWD/src/.libs:$LD_LIBRARY_PATH" + +find . -type d -name schemas -exec glib-compile-schemas {} \; + +export LD_LIBRARY_PATH=$( find plugins/ -maxdepth 2 -type d -name '.libs' -printf "$PWD/plugins/%P:" | sed 's/:$//' ):"$LD_LIBRARY_PATH" |