flatpak-builder/doc/xdg-app.xml

265 lines
9.6 KiB
XML
Raw Normal View History

2015-01-14 05:36:07 +00:00
<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="xdg-app">
<refentryinfo>
<title>xdg-app</title>
2015-01-14 05:36:07 +00:00
<productname>xdg-app</productname>
<authorgroup>
<author>
<contrib>Developer</contrib>
<firstname>Alexander</firstname>
<surname>Larsson</surname>
<email>alexl@redhat.com</email>
</author>
</authorgroup>
</refentryinfo>
<refmeta>
<refentrytitle>xdg-app</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>xdg-app</refname>
<refpurpose>Build, install and run applications and runtimes</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>xdg-app</command>
<arg choice="opt" rep="repeat">OPTION</arg>
<arg choice="req">COMMAND</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
xdg-app is a tool for managing applications and the runtimes
they use. In the xdg-app model, applications can be built and
distributed independently from the host system they are used
2015-01-14 05:36:07 +00:00
on, and they are isolated from the host system ('sandboxed')
to some degree, at runtime.
</para>
<para>
xdg-app can operate in system-wide or per-user mode. The system-wide
data (runtimes, applications and configuration) is located in
<filename>$prefix/share/xdg-app/</filename>, and the per-user
data is in <filename>$HOME/.local/share/xdg-app/</filename>.
Below these locations, there is a local repository in the
<filename>repo/</filename> subdirectory and installed runtimes
and applications are in the corresponding <filename>runtime/</filename>
and <filename>app/</filename> subdirectories.
</para>
<para>
xdg-app uses OSTree to distribute and deploy data. The repositories
it uses are OSTree repositories and can be manipulated with the
<command>ostree</command> utility. Installed runtimes and
applications are OSTree checkouts.
</para>
2015-01-14 05:36:07 +00:00
</refsect1>
<refsect1>
<title>Options</title>
<para>The following options are understood:</para>
<variablelist>
<varlistentry>
<term><option>-h</option></term>
<term><option>--help</option></term>
<listitem><para>
Show help options and exit.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option></term>
<term><option>--verbose</option></term>
<listitem><para>
Print debug information during command processing.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>--version</option></term>
<listitem><para>
Print version information and exit.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>Commands</title>
<para>Commands related to repository configuration:</para>
2015-01-14 05:36:07 +00:00
<variablelist>
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-remote-add</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 05:36:07 +00:00
<listitem><para>
Add a remote repository.
</para></listitem>
</varlistentry>
2015-09-17 14:22:52 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-remote-modify</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-09-17 14:22:52 +00:00
<listitem><para>
Modify remote repository properties.
</para></listitem>
</varlistentry>
2015-01-14 23:24:55 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-remote-delete</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 23:24:55 +00:00
<listitem><para>
Delete a remote repository.
</para></listitem>
</varlistentry>
2015-01-15 00:12:39 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-remote-list</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-15 00:12:39 +00:00
<listitem><para>
Lists remote repositories.
</para></listitem>
</varlistentry>
2015-01-16 04:30:17 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-remote-ls</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-16 04:30:17 +00:00
<listitem><para>
Show available runtimes and applications.
</para></listitem>
</varlistentry>
</variablelist>
2016-01-13 15:33:43 +00:00
<para>Commands for handling installed runtimes and applications:</para>
<variablelist>
2015-01-14 05:36:07 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-install</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 05:36:07 +00:00
<listitem><para>
2016-01-13 15:33:43 +00:00
Install an application or a runtime.
2015-01-14 05:36:07 +00:00
</para></listitem>
</varlistentry>
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-update</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 05:36:07 +00:00
<listitem><para>
2016-01-13 15:33:43 +00:00
Update an application or a runtime.
2015-01-14 05:36:07 +00:00
</para></listitem>
</varlistentry>
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-uninstall</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
2016-01-13 15:33:43 +00:00
Uninstall an application or a runtime.
</para></listitem>
</varlistentry>
2015-01-15 02:08:02 +00:00
<varlistentry>
<term><citerefentry><refentrytitle>xdg-app-list-runtimes</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
List installed runtimes.
</para></listitem>
</varlistentry>
2015-01-15 02:39:13 +00:00
<varlistentry>
<term><citerefentry><refentrytitle>xdg-app-list-apps</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
List installed applications.
</para></listitem>
</varlistentry>
</variablelist>
2016-01-13 15:33:43 +00:00
<para>Commands for running applications:</para>
<variablelist>
2015-01-14 05:36:07 +00:00
<varlistentry>
<term><citerefentry><refentrytitle>xdg-app-run</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
Run an application.
</para></listitem>
</varlistentry>
2015-09-17 14:22:52 +00:00
<varlistentry>
<term><citerefentry><refentrytitle>xdg-app-override</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
Override application requirements.
</para></listitem>
</varlistentry>
<varlistentry>
<term><citerefentry><refentrytitle>xdg-app-export-file</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
<listitem><para>
Export a file to a sandboxed application.
</para></listitem>
</varlistentry>
</variablelist>
<para>Commands for building applications:</para>
<variablelist>
2015-01-14 05:36:07 +00:00
<varlistentry>
2015-01-17 03:28:17 +00:00
<term><citerefentry><refentrytitle>xdg-app-build-init</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 05:36:07 +00:00
<listitem><para>
Initialize a build directory.
</para></listitem>
</varlistentry>
<varlistentry>
2015-01-17 03:28:17 +00:00
<term><citerefentry><refentrytitle>xdg-app-build</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-14 05:36:07 +00:00
<listitem><para>
Run a build command in a build directory.
</para></listitem>
</varlistentry>
2015-01-15 22:41:58 +00:00
<varlistentry>
2015-01-17 03:28:17 +00:00
<term><citerefentry><refentrytitle>xdg-app-build-finish</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-15 22:41:58 +00:00
<listitem><para>
Finalizes a build directory.
</para></listitem>
</varlistentry>
2015-01-16 01:59:56 +00:00
<varlistentry>
2015-01-17 03:28:17 +00:00
<term><citerefentry><refentrytitle>xdg-app-build-export</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-16 01:59:56 +00:00
<listitem><para>
Create a repository from a build directory.
</para></listitem>
</varlistentry>
2015-01-25 02:53:51 +00:00
<varlistentry>
2016-01-13 15:33:43 +00:00
<term><citerefentry><refentrytitle>xdg-app-build-update-repo</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
2015-01-25 02:53:51 +00:00
<listitem><para>
Update repository metadata.
</para></listitem>
</varlistentry>
2015-01-14 05:36:07 +00:00
</variablelist>
</refsect1>
<refsect1>
<title>See also</title>
<para>
<citerefentry><refentrytitle>ostree</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ostree.repo</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
</para>
</refsect1>
2015-01-14 05:36:07 +00:00
</refentry>