summaryrefslogtreecommitdiff
path: root/docs/gdk-pixbuf-query-loaders.rst
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-05-13 00:29:25 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-05-13 00:29:25 +0100
commit9b3aea45fabc90aaf335eeef8a35579fd8e37a86 (patch)
tree338c958abf017bf183104bd22c77cbe7cdc33260 /docs/gdk-pixbuf-query-loaders.rst
parentf61618b4cc053d957a8eae8179a00728eefda79b (diff)
downloadgdk-pixbuf-9b3aea45fabc90aaf335eeef8a35579fd8e37a86.tar.gz
Replace DocBook with reStructuredText for man pages
The dependency on xsltproc and the DocBook style sheets is vaguely annoying, and there are better tools these days that do not require writing XML.
Diffstat (limited to 'docs/gdk-pixbuf-query-loaders.rst')
-rw-r--r--docs/gdk-pixbuf-query-loaders.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/gdk-pixbuf-query-loaders.rst b/docs/gdk-pixbuf-query-loaders.rst
new file mode 100644
index 000000000..8fc9e7eba
--- /dev/null
+++ b/docs/gdk-pixbuf-query-loaders.rst
@@ -0,0 +1,51 @@
+.. _gdk-pixbuf-query-loaders(1):
+
+========================
+gdk-pixbuf-query-loaders
+========================
+
+-------------------------------------
+GdkPixbuf loader registration utility
+-------------------------------------
+
+SYNOPSIS
+--------
+| **gdk-pixbuf-query-loaders** [OPTIONS...] [MODULES..]
+
+DESCRIPTION
+-----------
+
+``gdk-pixbuf-query-loaders`` collects information about loadable modules for
+``gdk-pixbuf`` and writes it to the default cache file location, or to
+``stdout``.
+
+If called without arguments, it looks for modules in the ``gdk-pixbuf`` loader
+directory.
+
+If called with arguments, it looks for the specified modules. The arguments may
+be absolute or relative paths.
+
+Normally, the output of ``gdk-pixbuf-query-loaders`` is written to
+``$libdir/gdk-pixbuf-2.0/2.10.0/loaders.cache``, where ``gdk-pixbuf`` looks for
+it by default. If it is written to some other location, the environment variable
+``GDK_PIXBUF_MODULE_FILE`` can be set to point ``gdk-pixbuf`` at the file.
+
+OPTIONS
+-------
+
+``--update-cache``
+
+ Writes the output to the default cache location instead of the standard
+ output.
+
+ENVIRONMENT
+-----------
+
+The environment variable ``GDK_PIXBUF_MODULEDIR`` can be used to specify a
+different loader directory.
+
+The default ``gdk-pixbuf`` loader directory is
+``LIBDIR/gdk-pixbuf-2.0/VERSION/loaders``, where:
+
+- ``LIBDIR`` is the libdir used when building ``gdk-pixbuf``
+- ``VERSION`` is the ABI version for ``gdk-pixbuf`` loaders