gobject-introspection.ffi gobject-introspection.loader
gobject-introspection.types io io.files io.pathnames kernel lexer
locals make namespaces parser sequences splitting summary vocabs
-vocabs.parser xml ;
+vocabs.parser xdg xml ;
IN: gobject-introspection
ERROR: gir-not-found name paths ;
<PRIVATE
: system-gir-dirs ( -- dirs )
- "XDG_DATA_DIRS" os-env "/usr/local/share/:/usr/share/" or
- ":" split [ "gir-1.0" append-path ] map ;
+ xdg-data-dirs [ "gir-1.0" append-path ] map ;
: custom-gir-dirs ( -- dirs )
"GIR_DIRS" os-env ":" split ;