diff --git a/flatpak-docs.html b/flatpak-docs.html index e2f73056..b24ad2aa 100644 --- a/flatpak-docs.html +++ b/flatpak-docs.html @@ -1,15 +1,21 @@ -
+
Flatpak comes with a rich commandline interface. -
Table of Contents
flatpak-install — Install an application or runtime
flatpak install [OPTION...] REMOTE NAME [BRANCH]
flatpak install [OPTION...] --bundle FILENAME
+
Table of Contents
flatpak-install — Install an application or runtime
flatpak install [OPTION...] REMOTE REF...
flatpak install [OPTION...] [ --bundle | --from ] FILENAME
Installs an application or runtime. REMOTE must name - an existing remote and NAME is the name of the - application or runtime to install. Optionally, BRANCH can - be specified to install a branch other than the default branch. This required - if there are multiple matches in the selected remote. + an existing remote and REF is a reference to the + application or runtime to install.
- By default this looks for both apps and runtime with the given NAME in - the specified REMOTE , but you can limit this by using the --app or --runtime option. + Each REF arguments is a full or partial indentifier in the + flatpak ref format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements + except ID are optional and can be left out, including the slashes, + so most of the time you need only specify ID. Any part left out will be matched + against what is in the remote, and if there are multiple matches an error message + will list the alternatives. +
+ By default this looks for both apps and runtime with the given REF in + the specified REMOTE , but you can limit this by using the --app or + --runtime option, or by supplying the initial element in the REF.
Note that flatpak allows one to have multiple branches of an application and runtimes installed and used at the same time. However, only version of an application one can be current, @@ -21,62 +27,73 @@ system-wide installation.
The alternative form of the command installs an application from a - single-file bundle instead of a configured remote. Such bundles can - be created with the flatpak build-bundle command. -
The following options are understood:
-h, --help+ single-file bundle or a flatpakref file instead of a configured remote. + Bundles can be created with the flatpak build-bundle command, flatpakref + files are simple references to a remote repo for an application. +
The following options are understood:
-h, --helpShow help options and exit.
--bundleInstall from a bundle file instead of a configured remote. -
--user- Create a per-user installation. +
--from+ Install from a flatpakref file instead + of a configured remote.
--userCreate a per-user installation.
--systemCreate a system-wide installation.
--arch=ARCH- The architecture to install for. + The default architecture to install for, if not given explicitly in the REF .
--subpath=PATHInstall only a subpath of the ref. This is mainly used to install a subset of locales. This can be added multiple times to install multiple subpaths.,
--no-deployDownload the latest version, but don't deploy it.
--no-pull- Don't download the latest version, deploy it whatever is locally available. + Don't download the latest version, deploy whatever is locally available.
--no-relatedDon't download related extensions, such as the locale data. +
--no-deps+ Don't verify runtime dependencies when installing.
--app- Only look for an app with the given name. + Assume that all REF s are apps if not explicitly specified.
--runtime- Only look for an runtime with the given name. + Assume that all REF s are runtimes if not explicitly specified.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-update — Update a runtime
flatpak update [OPTION...] [NAME] [BRANCH]
- Updates an application or runtime. NAME is the - name of an installed application or runtime. Optionally, - BRANCH can be specified to update a - specific branch, otherwise all installed branches are updated. If - no NAME is given, then everything installed + flatpak-update(1), + flatpak-list(1), + flatpak-build-bundle(1), + flatpak-flatpakref(1) +
flatpak-update — Update an application or runtime
flatpak update [OPTION...] [REF...]
+ Updates applications and runtimes. REF is a reference to the + application or runtime to install. If no REF is given, everything is updated.
- By default this looks for both installed applications and - runtimes, but you can limit this by using the --app or - --runtime option. + Each REF arguments is a full or partial indentifier in the + flatpak ref format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements + except ID are optional and can be left out, including the slashes, + so most of the time you need only specify ID. Any part left out will be matched + against what is installed, and if there are multiple matches an error message + will list the alternatives. +
+ By default this looks for both apps and runtime with the given REF in + the specified REMOTE , but you can limit this by using the --app or + --runtime option, or by supplying the initial element in the REF.
Normally, this command updates the application to the tip of its branch. But it is possible to check out another commit, with the --commit option.
- Note that updating a is different from installing + Note that updating a runtime is different from installing a different branch, and runtime updates are expected to keep strict compatibility. If an application update does cause a problem, it is possible to go back to the previous @@ -84,7 +101,7 @@
Unless overridden with the --user option, this command updates a system-wide installation. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userUpdate a per-user installation. @@ -104,27 +121,37 @@ Don't download the latest version, deploy it whatever is locally available.
--no-relatedDon't download related extensions, such as the locale data. +
--no-deps+ Don't update or install runtime dependencies when installing.
--appOnly look for an app with the given name. +
--appstream+ Update appstream for the remote.
--runtimeOnly look for an runtime with the given name.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-uninstall — Uninstall an application or runtime
flatpak uninstall [OPTION...] NAME [BRANCH]
- Uninstalls an application or runtime. The NAME , - ARCH and BRANCH - arguments must identify an installed application. - If BRANCH is not specified, it defaults - to whatever is installed, unless there are multiple versions, then you - have to specify a branch. + flatpak-install(1), + flatpak-list(1) +
flatpak-uninstall — Uninstall an application or runtime
flatpak uninstall [OPTION...] [REF...]
+ Uninstalls an application or runtime. REF is a reference to the + application or runtime to install. If no REF is given, everything + is updated. +
+ Each REF arguments is a full or partial indentifier in the + flatpak ref format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements + except ID are optional and can be left out, including the slashes, + so most of the time you need only specify ID. Any part left out will be matched + against what is installed, and if there are multiple matches an error message + will list the alternatives.
By default this looks for both installed apps and runtime with the given NAME , but you can @@ -141,7 +168,7 @@
Unless overridden with the --user option, this command updates a system-wide installation. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--keep-refKeep the ref for the application and the objects belonging to it @@ -161,11 +188,13 @@ Don't uninstall related extensions, such as the locale data.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-list — List installed applications and/or runtimes
flatpak list [OPTION...]
Lists the names of the installed applications and/or runtime.
By default, both per-user and system-wide installations @@ -174,12 +203,14 @@
By default this lists the installed apps, but you can change this by using the --app or --runtime option. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userList per-user installations.
--systemList system-wide installations. +
--arch=ARCH+ List installations for this architecture.
--show-detailsShow arches and branches, in addition to the application names.
--app@@ -188,20 +219,22 @@ List runtimes.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-info — Show information about installed application and/or runtime
flatpak info [OPTION...] NAME [BRANCH]
flatpak-info — Show information about installed application and/or runtime
flatpak info [OPTION...] NAME [BRANCH]
Show info about and installed application and/or runtime.
By default, both per-user and system-wide installations @@ -210,7 +243,7 @@ org.gnome.GEdit
By default this queries the installed apps and runtimes, but you can limit this by using the --app or --runtime option. -
The following options are understood:
-h, --help+
flatpak-run — Run an application
flatpak run [OPTION...] APP [ARG...]
Runs an application in a sandboxed environment. APP must name an installed application. Extra arguments are passed on to the application. @@ -255,7 +288,7 @@ org.gnome.GEdit metadata and various options like --share and --socket that are passed to the run command: Access is allowed if it was requested either in the application metadata file or with an option and the user hasn't overridden it. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
-v, --verbosePrint debug information during command processing. @@ -300,12 +333,22 @@ org.gnome.GEdit
--device=DEVICEExpose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--nodevice=DEVICEDon't expose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. + This option can be used multiple times. +
--allow=FEATURE+ Allow access to a specific feature. This overrides to + the Context section from the application metadata. + FEATURE must be one of: devel, multiarch. + This option can be used multiple times. +
--disallow=FEATURE+ Disallow access to a specific feature. This overrides to + the Context section from the application metadata. + FEATURE must be one of: devel, multiarch. This option can be used multiple times.
--filesystem=FSAllow the application access to a subset of the filesystem. @@ -345,26 +388,21 @@ org.gnome.GEdit allowing that location to be used for persistent data. This overrides to the Context section from the application metadata. This option can be used multiple times. -
--no-desktop- Don't require a running session, meaning that no cgroups creation will happen. This can be - useful for certain scenarios when you might want to run a flatpak without a valid user - session available (e.g. from a socket-activated systemd service), and not having a - properly sandboxed environment is not an issue.
--log-session-busLog session bus traffic. This can be useful to see what access you need to allow in your D-Bus policy.
--log-system-busLog system bus traffic. This can be useful to see what access you need to allow in your D-Bus policy. -
flatpak-override — Override application requirements
flatpak override [OPTION...] APP
Overrides the application specified runtime requirements. This can be used to grant a sandboxed application more or less resources than it requested.
@@ -372,7 +410,7 @@ org.gnome.GEdit requested when it is started. But the user can override it on a particular instance by specifying extra arguments to flatpak run, or every time by using flatpak override. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--share=SUBSYSTEMShare a subsystem with the host session. This overrides @@ -397,12 +435,12 @@ org.gnome.GEdit
--device=DEVICEExpose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--nodevice=DEVICEDon't expose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--filesystem=FSAllow the application access to a subset of the filesystem. @@ -444,33 +482,35 @@ org.gnome.GEdit Print debug information during command processing.
--versionPrint version information and exit. -
flatpak-enter — Enter an application
flatpak enter [OPTION...] MONITORPID COMMAND [ARG...]
flatpak-enter — Enter an application
flatpak enter [OPTION...] MONITORPID COMMAND [ARG...]
Enter a running sandbox. - MONITORPID must be the pid of the monitor process for a running sandbox. + SANDBOXEDPID must be the pid of a process running in a flatpak sandbox. COMMAND is the command to run in the sandbox. Extra arguments are passed on to the command.
This creates a new process within the running sandbox, with the same environment. This is useful when you want to debug a problem with a running application. -
The following options are understood:
-h, --help+
+ This command requires extra privileges, so must be run as root or via e.g. sudo. +
flatpak-document-export — Export a file to a sandboxed application
flatpak document-export [OPTION...] FILE
flatpak-document-export — Export a file to a sandboxed application
flatpak document-export [OPTION...] FILE
Creates a document id for a local file that can be exposed to sandboxed applications, allowing them access to files that they would not otherwise see. The exported files are exposed in a @@ -479,7 +519,7 @@ org.gnome.GEdit This command also lets you modify the per-application permissions of the documents, granting or revoking access to the file on a per-application basis. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--uniqueDon't reuse an existing document id for the file. This makes it safe to later remove the @@ -513,44 +553,44 @@ org.gnome.GEdit Print debug information during command processing.
--versionPrint version information and exit. -
flatpak-document-unexport — Stop exporting a file
flatpak document-export [OPTION...] FILE
flatpak-document-unexport — Stop exporting a file
flatpak document-export [OPTION...] FILE
Removes the document id for the file from the document portal. This will make the document unavailable to all sandboxed applications. -
flatpak-document-info — Show information about exported files
flatpak document-info [OPTION...] FILE
flatpak-document-info — Show information about exported files
flatpak document-info [OPTION...] FILE
Shows information about an exported file, such as the document id, the fuse path, the original location in the filesystem, and the per-application permissions.
FILE can either be a file in the fuse filesystem at /run/user/$UID/doc/, or a file anywhere else. -
The following options are understood:
-h, --help+
flatpak-document-list — List exported files
flatpak document-list [OPTION...] [APPID]
Lists exported files, with their document id and the full path to their origin. If an APPID is specified, only the files exported to this app are listed. -
flatpak-remote-add — Add a remote repository
flatpak remote-add [OPTION...] NAME LOCATION
flatpak-remote-add — Add a remote repository
flatpak remote-add [OPTION...] NAME LOCATION
Adds a remote repository to the flatpak repository configuration. NAME is the name for the new remote, and LOCATION is the url or pathname for the repository.
Unless overridden with the --user option, this command changes the system-wide configuration. -
The following options are understood:
-h, --help+
+ The alternative form of the command adds a remote from a flatpakrepo + file. +
The following options are understood:
-h, --helpShow help options and exit. +
--from+ Add from a flatpakrepo file (local or http uri) instead of from commandline arguments. This means the LOCATION argument specifies the filename/uri of a flatpakref rather than a repo url.
--userModify the per-user configuration.
--system@@ -600,34 +645,42 @@ permissions: Mark the remote as not enumerated. This means the remote will not be used to list applications, for instance in graphical installation tools. +
--no-use-for-deps+ Mark the remote as not to be used for automatic runtime + dependency resolution.
--if-not-existsDo nothing if the provided remote already exists.
--disableDisable the added remote.
--title=TITLEA title for the remote, e.g. for display in a UI. +
--default-branch=BRANCH+ A default branch to for the remote, mainly for use in a UI.
--gpg-import=FILEImport gpg keys from the specified keyring file as trusted for the new remote. If the file is - the keyring is read from standard input.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-remote-modify — Modify a remote repository
flatpak remote-modify [OPTION...] NAME
flatpak-remote-modify — Modify a remote repository
flatpak remote-modify [OPTION...] NAME
Modifies options for an existing remote repository in the flatpak repository configuration. NAME is the name for the remote.
Unless overridden with the --user option, this command changes the system-wide configuration. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userModify the per-user configuration. @@ -644,6 +697,9 @@ permissions: Mark the remote as not enumerated. This means the remote will not be used to list applications, for instance in graphical installation tools. +
--no-use-for-deps+ Mark the remote as not to be used for automatic runtime + dependency resolution.
--disableDisable the remote. Disabled remotes will not be automatically updated from.
--enable@@ -652,30 +708,42 @@ permissions: Mark the remote as enumerated. This means the remote will be used to list applications, for instance in graphical installation tools. +
--use-for-deps+ Mark the remote as to be used for automatic runtime + dependency resolution.
--title=TITLEA title for the remote, e.g. for display in a UI. +
--default-branch=BRANCH+ A default branch to for the remote, mainly for use in a UI. +
--update-metadata+ A default branch to for the remote, mainly for use in a UI. +
+ Update the remote's extra metadata from the OSTree repository's summary + file. Only xa.title and xa.default-branch are supported at the moment.
--gpg-import=FILEImport gpg keys from the specified keyring file as trusted for the new remote. If the file is - the keyring is read from standard input.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-remote-delete — Delete a remote repository
flatpak remote-delete [OPTION...] NAME
flatpak-remote-delete — Delete a remote repository
flatpak remote-delete [OPTION...] NAME
Removes a remote repository from the flatpak repository configuration. NAME is the name of an existing remote.
Unless overridden with the --user option, this command changes the system-wide configuration. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userModify the per-user configuration. @@ -685,22 +753,24 @@ permissions: Remove remote even if its in use by installed apps or runtimes.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-remote-list — List remote repositories
flatpak remote-list [OPTION...]
Lists the known remote repositories, in priority order.
By default, both per-user and system-wide installations are shown. Use the --user or --system options to change this. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userShow the per-user configuration. @@ -712,24 +782,26 @@ permissions: Show disabled repos.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-remote-ls — Show available runtimes and applications
flatpak remote-ls [OPTION...] REMOTE
flatpak-remote-ls — Show available runtimes and applications
flatpak remote-ls [OPTION...] REMOTE
Shows runtimes and applications that are available in the remote repository with the name REMOTE . - You can find all configured remote repositories with flatpak list-repos. + You can find all configured remote repositories with flatpak remote-list.
Unless overridden with the --user option, this command uses the system-wide configuration. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--userUse the per-user configuration. @@ -748,17 +820,19 @@ testrepo Test Repository http://209.132.179.91/repo/ no-gpg-verify supported architectures are shown. Use --arch=* to show all archtectures.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-build-init — Initialize a build directory
flatpak build-init [OPTION...] DIRECTORY APPNAME SDK RUNTIME [BRANCH]
flatpak-build-init — Initialize a build directory
flatpak build-init [OPTION...] DIRECTORY APPNAME SDK RUNTIME [BRANCH]
Initializes a directory for building an application. DIRECTORY is the name of the directory. APPNAME is the application id of the app @@ -774,7 +848,7 @@ org.freedesktop.glxgears
It is an error to run build-init on a directory that has already been initialized as a build directory. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--arch=ARCHThe architecture to use. @@ -787,24 +861,34 @@ org.freedesktop.glxgears app.
--tag=TAGAdd a tag to the metadata file. + This option can be used multiple times.
--sdk-extension=EXTENSIONWhen using --writable-sdk, in addition to the sdk, also install the specified extension. + This option can be used multiple times.
--sdk-dir
Specify a custom subdirectory to use instead of usr for --writable-sdk.
--updateRe-initialize the sdk and var, don't fail if already initialized. +
--base=APP+ Initialize the application with files from another specified application. +
--base-version=VERSION+ Specify the version to use for --base. If not specified, will default to + "master". +
--base-extension=EXTENSION+ When using --base, also install the specified extension from the app. + This option can be used multiple times.
--verbosePrint debug information during command processing.
--versionPrint version information and exit. -
flatpak-build — Build in a directory
flatpak build [OPTION...] DIRECTORY [COMMAND [ARG...]]
flatpak-build — Build in a directory
flatpak build [OPTION...] DIRECTORY [COMMAND [ARG...]]
Runs a build command in a directory. DIRECTORY must have been initialized with flatpak build-init.
@@ -814,7 +898,7 @@ org.freedesktop.glxgears
are mounted at /app and /var,
respectively. They are writable, and their contents are preserved between
build commands, to allow accumulating build artifacts there.
-
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
-v, --verbosePrint debug information during command processing. @@ -849,12 +933,12 @@ org.freedesktop.glxgears
--device=DEVICEExpose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--nodevice=DEVICEDon't expose a device to the application. This overrides to the Context section from the application metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--filesystem=FILESYSTEM[:ro]Allow the application access to a subset of the filesystem. @@ -898,14 +982,14 @@ org.freedesktop.glxgears allowing that location to be used for persistent data. This overrides to the Context section from the application metadata. This option can be used multiple times. -
flatpak-build-finish — Finalize a build directory
flatpak build-finish [OPTION...] DIRECTORY
flatpak-build-finish — Finalize a build directory
flatpak build-finish [OPTION...] DIRECTORY
Finalizes a build directory, to prepare it for exporting. DIRECTORY is the name of the directory.
@@ -921,7 +1005,7 @@ org.freedesktop.glxgears
It is an error to run build-finish on a directory that has not been initialized as a build directory, or has already been finalized. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--command=COMMANDThe command to use. If this option is not specified, @@ -950,12 +1034,32 @@ org.freedesktop.glxgears
--device=DEVICEExpose a device to the application. This updates the [Context] group in the metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. This option can be used multiple times.
--nodevice=DEVICEDon't expose a device to the application. This updates the [Context] group in the metadata. - DEVICE must be one of: dri, all. + DEVICE must be one of: dri, kvm, all. + This option can be used multiple times. +
--allow=FEATURE+ Allow access to a specific feature. This updates + the [Context] group in the metadata. + FEATURE must be one of: devel, multiarch. + This option can be used multiple times. +
+ The devel feature allows the application to
+ access certain syscalls such as ptrace(), and
+ perf_event_open().
+
+ The multiarch feature allows the application to
+ execute programs compiled for an ABI other than the one supported
+ natively by the system. For example, for the x86_64
+ architecture, 32-bit x86 binaries will be allowed as
+ well.
+
--disallow=FEATURE+ Disallow access to a specific feature. This updates + the [Context] group in the metadata. + FEATURE must be one of: devel, multiarch. This option can be used multiple times.
--filesystem=FSAllow the application access to a subset of the filesystem. @@ -997,13 +1101,20 @@ org.freedesktop.glxgears allowing that location to be used for persistent data. This updates the [Context] group in the metadata. This option can be used multiple times. +
--extra-data=NAME:SHA256:DOWNLOAD-SIZE:INSTALL-SIZE:URL+ Adds information about extra data uris to the app. These will be downloaded + and verified by the client when the app is installed and placed in the + /app/extra directory. You can also supply an /app/bin/apply_extra script + that will be run after the files are downloaded.
--no-exportsDon't look for exports in the build.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
$ flatpak build-finish /build/my-app --socket=x11 --share=ipc
Exporting share/applications/gnome-calculator.desktop @@ -1011,12 +1122,12 @@ Exporting share/dbus-1/services/org.gnome.Calculator.SearchProvider.service More than one executable Using gcalccmd as command Please review the exported files and the metadata -
flatpak-build-export — Create a repository from a build directory
flatpak build-export [OPTION...] LOCATION DIRECTORY [BRANCH]
flatpak-build-export — Create a repository from a build directory
flatpak build-export [OPTION...] LOCATION DIRECTORY [BRANCH]
Creates or updates a repository with an application build. LOCATION is the location of the repository. DIRECTORY must be a @@ -1038,7 +1149,7 @@ Please review the exported files and the metadata
The repo-update command should be used to update repository metadata whenever application builds are added to a repository. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
-s, --subject=SUBJECTOne line subject for the commit message. @@ -1048,8 +1159,10 @@ Please review the exported files and the metadata Specify the architecture component of the branch to export. Only host compatible architectures can be specified.
--exclude=PATTERNExclude files matching PATTERN from the commit. + This option can be used multiple times.
--include=PATTERNDon't exclude files matching PATTERN from the commit, even if they match the --export patterns. + This option can be used multiple times.
--metadata=FILENAME
Use the specified filename as metadata in the exported app instead of
the default file (called metadata). This is useful
@@ -1060,17 +1173,25 @@ Please review the exported files and the metadata
than the regular files directory.
--update-appstreamRun appstream-builder and to update the appstream branch after build. +
--no-update-summary+ Don't update the summary file after the new commit is added. This means + the repository will not be useful for serving over http until build-repo-update + has been run. This is useful is you want to do multiple repo operations before + finally updating the summary.
--gpg-sign=KEYID- Sign the commit with this GPG key + Sign the commit with this GPG key. + This option can be used multiple times.
--gpg-homedir=PATHGPG Homedir to use when looking for keyrings
--runtimeExport a runtime instead for an app (this uses the usr subdir as files).
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-build-bundle — Create a single-file bundle from a local repository
flatpak build-bundle [OPTION...] LOCATION FILENAME NAME [BRANCH]
flatpak-build-bundle — Create a single-file bundle from a local repository
flatpak build-bundle [OPTION...] LOCATION FILENAME NAME [BRANCH]
Creates a single-file named FILENAME for the application (or runtime) named NAME in the repository at LOCATION . If @@ -1097,7 +1218,7 @@ Content Bytes Written: 305 The format of the bundle file is that of an ostree static delta (against an empty base) with some flatpak specific metadata for the application icons and appdata. -
The following options are understood:
-h, --help+
flatpak-build-import-bundle — Import a file bundle into a local repository
flatpak build-import-bundle [OPTION...] LOCATION FILENAME
flatpak-build-import-bundle — Import a file bundle into a local repository
flatpak build-import-bundle [OPTION...] LOCATION FILENAME
Imports a bundle from a file named FILENAME into the repository at LOCATION .
The format of the bundle file is that generated by build-bundle. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--ref=REFOverride the ref specified in the bundle.
--ociImport an OCI image instead of a Flatpak bundle. +
--update-appstream+ Run appstream-builder and to update the appstream branch after build. +
--no-update-summary+ Don't update the summary file after the new commit is added. This means + the repository will not be useful for serving over http until build-repo-update + has been run. This is useful is you want to do multiple repo operations before + finally updating the summary. +
--gpg-sign=KEYID+ Sign the commit with this GPG key. + This option can be used multiple times. +
--gpg-homedir=PATH+ GPG Homedir to use when looking for keyrings
--versionPrint version information and exit. -
flatpak-build-update-repo — Create a repository from a build directory
flatpak build-update-repo [OPTION...] LOCATION
flatpak-build-update-repo — Create a repository from a build directory
flatpak build-update-repo [OPTION...] LOCATION
Updates repository metadata for the repository at LOCATION . This command generates an OSTree summary file that lists the contents of the repository. @@ -1156,13 +1291,14 @@ Content Bytes Written: 305 After this command, LOCATION can be used as the repository location for flatpak add-repo, either by exporting it over http, or directly with a file: url. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--title=TITLEA title for the repository, e.g. for display in a UI. The title is stored in the repository summary.
--gpg-sign=KEYID- Sign the commit with this GPG key + Sign the commit with this GPG key. + This option can be used multiple times.
--gpg-homedir=PATHGPG Homedir to use when looking for keyrings
--generate-static-deltas@@ -1174,14 +1310,16 @@ Content Bytes Written: 305 Only keep at most this number of old versions for any particular ref. Default is -1 which means infinite.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-build-sign — Sign an application or runtime
flatpak build-sign [OPTION...] LOCATION ID [BRANCH]
flatpak-build-sign — Sign an application or runtime
flatpak build-sign [OPTION...] LOCATION ID [BRANCH]
Signs the commit for a specified application or runtime in a local repository. LOCATION is the location of the repository. ID is the name of the application, or @@ -1190,10 +1328,11 @@ Content Bytes Written: 305
Applications can also be signed during build-export, but it is sometimes useful to add additional signatures later. -
The following options are understood:
-h, --help+
The following options are understood:
-h, --helpShow help options and exit.
--gpg-sign=KEYID- Sign the commit with this GPG key + Sign the commit with this GPG key. + This option can be used multiple times.
--gpg-homedir=PATHGPG Homedir to use when looking for keyrings
--runtime@@ -1202,9 +1341,11 @@ Content Bytes Written: 305 The architecture to use.
-v, --verbosePrint debug information during command processing. +
--ostree-verbose+ Print OSTree debug information during command processing.
--versionPrint version information and exit. -
flatpak-builder — Help build application dependencies
flatpak-builder [OPTION...] DIRECTORY MANIFEST
flatpak-builder --run [OPTION...] DIRECTORY MANIFEST COMMAND
flatpak-builder — Help build application dependencies
flatpak-builder [OPTION...] DIRECTORY MANIFEST
flatpak-builder --run [OPTION...] DIRECTORY MANIFEST COMMAND
flatpak-builder --show-deps [OPTION...] MANIFEST
flatpak-builder is a wrapper around the flatpak build command that automates the building of applications and their dependencies. It is one option you can use to build applications. @@ -1243,7 +1384,7 @@ Content Bytes Written: 305 of at the first step where something changes. For instance the first version controlled source that had new commits added, or the first module where some changes to the MANIFEST file caused the build environment to change. This makes flatpak-builder very efficient for incremental builds. -
The top level of the json file describes global attributes of the application, and how it can be build, and the list of modules that need to be @@ -1251,37 +1392,41 @@ Content Bytes Written: 305
These are the properties that are accepted:
id or app-id (string)A string defining the application id.
branch (string)The branch of the application, defaults to master.
runtime (string)The name of the runtime that the application uses.
runtime-version (string)The version of the runtime that the application uses, defaults to master.
sdk (string)The name of the development runtime that the application builds with.
var (string)Initialize the (otherwise empty) writable /var in the build with a copy of this runtime.
metadata (string)Use this file as the base metadata file when finishing.
command (string)The filename or path to the main binary of the application. Note that this is really just a single file, not a commandline. If you want to pass arguments, install a shell script wrapper and use that as the command.
build-runtime (boolean)Build a new runtime instead of an application.
separate-locales (boolean)Separate out locale files and translations to an extension runtime. Defaults to true.
id-platform (string)When building a runtime sdk, also create a platform based on it with this id.
metadata-platform (string)The metadata file to use for the platform we create.
writable-sdk (boolean)If true, use a writable copy of the sdk for /usr. - Defaults to true if --build-runtime is specified.
appstream-compose (boolean)Run appstream-compose during cleanup phase. Defaults to true.
sdk-extensions (array of strings)Install these extra sdk extensions in /usr.
platform-extensions (array of strings)Install these extra sdk extensions when creating the platform.
tags (array of strings)Add these tags to the metadata file.
build-options (object)Object specifying the build environment. See below for details.
modules (array of objects or string)An array of object specifying the modules to be built in order. + Defaults to true if --build-runtime is specified.
appstream-compose (boolean)Run appstream-compose during cleanup phase. Defaults to true.
sdk-extensions (array of strings)Install these extra sdk extensions in /usr.
platform-extensions (array of strings)Install these extra sdk extensions when creating the platform.
base (string)Start with the files from the specified application. This can be + used to create applications that extend another application.
base-version (string)Use this specific version of the application specified in base. + If unspecified, this uses the value specified in branch
base-extensions (array of strings)Install these extra extensions from the base application when initializing + the application directory.
tags (array of strings)Add these tags to the metadata file.
build-options (object)Object specifying the build environment. See below for details.
modules (array of objects or string)An array of objects specifying the modules to be built in order. String members in the array are interpreted as the name of a separate json file that contains a module. See below for details.
cleanup (array of strings)An array of file patterns that should be removed at the end. Patterns starting with / are taken to be full pathnames (without the /app prefix), otherwise they just match - the basename.
cleanup-commands (array of strings)An array of commandlines that are run during the cleanup phase.
cleanup-platform (array of strings)Extra files to clean up in the platform.
finish-args (array of strings)An array of arguments passed to the flatpak build-finish command.
rename-desktop-file (string)Any desktop file with this name will be renamed to a name based on id during the cleanup phase.
rename-appdata-file (string)Any appdata file with this name will be renamed to a name based on id during the cleanup phase.
rename-icon (string)Any icon with this name will be renamed to a name based on id during the cleanup phase.
copy-icon (boolean)If rename-icon is set, keep a copy of the old icon file.
desktop-file-name-prefix (string)This string will be prefixed to the Name key in the main application desktop file.
desktop-file-name-suffix (string)This string will be suffixed to the Name key in the main application desktop file.
+ the basename.
cleanup-commands (array of strings)An array of commandlines that are run during the cleanup phase.
cleanup-platform (array of strings)Extra files to clean up in the platform.
finish-args (array of strings)An array of arguments passed to the flatpak build-finish command.
rename-desktop-file (string)Any desktop file with this name will be renamed to a name based on id during the cleanup phase.
rename-appdata-file (string)Any appdata file with this name will be renamed to a name based on id during the cleanup phase.
rename-icon (string)Any icon with this name will be renamed to a name based on id during the cleanup phase.
copy-icon (boolean)If rename-icon is set, keep a copy of the old icon file.
desktop-file-name-prefix (string)This string will be prefixed to the Name key in the main application desktop file.
desktop-file-name-suffix (string)This string will be suffixed to the Name key in the main application desktop file.
Build options specify the build environment of a module, and can be specified globally as well as per-module. Options can also be specified on a per-architecture basis using the arch property.
These are the properties that are accepted:
cflags (string)This is set in the environment variable CFLAGS during the build.
cxxflags (string)This is set in the environment variable CXXFLAGS during the build.
prefix (string)The build prefix for the modules (defaults to /app for
- applications and /usr for runtimes).
env (object)This is a dictionary defining environment variables to be set during the build.
build-args (array of strings)This is an array containing extra options to pass to flatpak build.
strip (boolean)If this is true (the default is false) then all ELF files will be stripped after install.
no-debuginfo (boolean)If this is true (the default is false) and strip is not set then all ELF files will have their debug info extracted to a separate file.
arch (object)This is a dictionary defining for each arch a separate build options object that override the main one.
+ applications and /usr for runtimes).
env (object)This is a dictionary defining environment variables to be set during the build.
build-args (array of strings)This is an array containing extra options to pass to flatpak build.
strip (boolean)If this is true (the default is false) then all ELF files will be stripped after install.
no-debuginfo (boolean)By default (if strip is not true) flatpak-builder extracts all debug info in ELF files to a separate files + and puts this in an extension. If you want to disable this, set no-debuginfo to true.
arch (object)This is a dictionary defining for each arch a separate build options object that override the main one.
Each module specifies a source that has to be separately built and installed. It contains the build options and a list of sources to download and extract before building.
Modules can be nested, in order to turn related modules on and off with a single key.
These are the properties that are accepted: -
name (string)The name of the module, used in e.g. build logs. The name is also used for constructing filenames and commandline arguments, therefore using spaces or '/' in this string is a bad idea.
disabled (boolean)If true, skip this module
sources (array of objects)An array of objects defining sources that will be downloaded and extracted in order
config-opts (array of strings)An array of options that will be passed to configure
make-args (array of strings)An array of arguments that will be passed to make
make-install-args (array of strings)An array of arguments that will be passed to make install
rm-configure (boolean)If true, remove the configure script before starting build
no-autogen (boolean)Ignore the existence of an autogen script
no-parallel-make (boolean)Don't call make with arguments to build in parallel
no-python-timestamp-fix (boolean)Don't fix up the *.py[oc] header timestamps for ostree use.
cmake (boolean)Use cmake instead of configure
builddir (boolean)Use a build directory that is separate from the source directory
subdir (string)Build inside this subdirectory of the extracted sources
build-options (object)A build options object that can override global options
post-install (array of strings)An array of shell command that are run after the install phase. Can for example +
name (string)The name of the module, used in e.g. build logs. The name is also used for constructing filenames and commandline arguments, therefore using spaces or '/' in this string is a bad idea.
disabled (boolean)If true, skip this module
sources (array of objects)An array of objects defining sources that will be downloaded and extracted in order
config-opts (array of strings)An array of options that will be passed to configure
make-args (array of strings)An array of arguments that will be passed to make
make-install-args (array of strings)An array of arguments that will be passed to make install
rm-configure (boolean)If true, remove the configure script before starting build
no-autogen (boolean)Ignore the existence of an autogen script
no-parallel-make (boolean)Don't call make with arguments to build in parallel
no-python-timestamp-fix (boolean)Don't fix up the *.py[oc] header timestamps for ostree use.
cmake (boolean)Use cmake instead of configure
builddir (boolean)Use a build directory that is separate from the source directory
subdir (string)Build inside this subdirectory of the extracted sources
build-options (object)A build options object that can override global options
post-install (array of strings)An array of shell commands that are run after the install phase. Can for example clean up the install dir, or install extra files.
cleanup (array of strings)An array of file patterns that should be removed at the end. Patterns starting with / are taken to be full pathnames (without the /app prefix), otherwise they just match the basename. Note that any patterns will only match files installed by this module. -
cleanup-platform (array of strings)Extra files to clean up in the platform.
modules (array of objects or strings)An array of object specifying nested modules to be built before this one. - String members in the array are interpreted as names of a separate json file that contains a module.
These contain a pointer to the source that will be extracted into the source directory before the build starts. They can be of several types, distinguished by the type property. -
type"archive"
path (string)The path of the archive
url (string)The url of a remote archive that will be downloaded. This overrides path if both are specified.
sha256 (string)The sha256 checksum of the file, verified after download
strip-components (integer)The number of initial pathname components to strip during extraction. Defaults to 1.
dest (string)Directory inside the source dir where the archive will be extracted.
type"git"
url (string)URL of the git repository
branch (string)The branch/tag/commit to use from the git repository
dest (string)Directory inside the source dir where the repository will be checked out.
type"bzr"
url (string)URL of the bzr repository
revision (string)A specific revision to use in the branch
dest (string)Directory inside the source dir where the repository will be checked out.
type"file"
path (string)The path of a local file that will be copied into the source dir
url (string)The url of a remote file that will be downloaded and copied into the source dir. This overrides path if both are specified.
sha256 (string)The sha256 checksum of the file, verified after download. This is optional for local files.
dest-filename (string)Filename to use inside the source dir, default to the basename of path.
dest (string)Directory inside the source dir where the file will be copied.
+
type"archive"
path (string)The path of the archive
url (string)The URL of a remote archive that will be downloaded. This overrides path if both are specified.
sha256 (string)The sha256 checksum of the file, verified after download
strip-components (integer)The number of initial pathname components to strip during extraction. Defaults to 1.
dest (string)Directory inside the source dir where the archive will be extracted.
type"git"
path (string)The path to a local checkout of the git repository. Due to how git-clone works, this will be much faster than specifying a URL of file:///...
url (string)URL of the git repository. This overrides path if both are specified.
branch (string)The branch/tag/commit to use from the git repository
dest (string)Directory inside the source dir where the repository will be checked out.
type"bzr"
url (string)URL of the bzr repository
revision (string)A specific revision to use in the branch
dest (string)Directory inside the source dir where the repository will be checked out.
type"file"
path (string)The path of a local file that will be copied into the source dir
url (string)The URL of a remote file that will be downloaded and copied into the source dir. This overrides path if both are specified.
sha256 (string)The sha256 checksum of the file, verified after download. This is optional for local files.
dest-filename (string)Filename to use inside the source dir, default to the basename of path.
dest (string)Directory inside the source dir where the file will be copied.
This is a way to create a shell (/bin/sh) script from an inline set of commands. -
type"script"
commands (array of strings)An array of shell commands that will be put in a shellscript file
dest-filename (string)Filename to use inside the source dir, default to the basename of path.
dest (string)Directory inside the source dir where the file will be copied.
- This is a to create/modify the sources by running shell commands. -
type"shell"
commands (array of strings)An array of shell commands that will be run during source extraction
type"patch"
path (string)The path of a patch file that will be applied in the source dir
strip-components (integer)The value of the -p argument to patch, defaults to 1.
dest (string)Directory inside the source dir where the patch will be applied.
use-git (boolean)Whether to use "git apply" rather than "patch" to apply the patch, required when the patch file contains binary diffs.
The following options are understood:
-h, --help+
type"script"
commands (array of strings)An array of shell commands that will be put in a shellscript file
dest-filename (string)Filename to use inside the source dir, default to the basename of path.
dest (string)Directory inside the source dir where the file will be copied.
+ This is a way to create/modify the sources by running shell commands. +
type"shell"
commands (array of strings)An array of shell commands that will be run during source extraction
type"patch"
path (string)The path of a patch file that will be applied in the source dir
strip-components (integer)The value of the -p argument to patch, defaults to 1.
dest (string)Directory inside the source dir where the patch will be applied.
use-git (boolean)Whether to use "git apply" rather than "patch" to apply the patch, required when the patch file contains binary diffs.
The following options are understood:
-h, --helpShow help options and exit.
-v, --verbosePrint debug information during command processing. @@ -1303,11 +1448,16 @@ Content Bytes Written: 305 arguments to give the same environment as the build, and the same permissions the final app will have. The command to run must be the last argument passed to flatpak-builder, after the directory and the manifest. +
--show-deps+ List all the (local) files that the manifest depends on.
--download-onlyExit successfully after downloading the required sources.
--build-onlyDon't do the cleanup and finish stages, which is useful if you want to build more things into the app. +
--finish-only+ Only do the cleanup, finish and export stages, picking up + where a --build-only command left off.
--require-changesDo nothing, leaving a non-existent DIRECTORY if nothing changes since last cached build. If this is not specified, the latest version from the cache will be put @@ -1317,6 +1467,12 @@ Content Bytes Written: 305 This also creates a symlink to the build directory with a stable name ("build-modulename").
--ccacheEnable use of ccache in the build (needs ccache in the sdk) +
--stop-at=MODULENAME+ Stop building at the specified module, ignoring all the following ones. + This is useful for debugging and development. For instance, you can + build all the dependencies, but stop at the main application so that + you can then do a build from a pre-existing checkout. + Implies --build-only.
--repo=DIRWhen build is done, run export the result to this repository.
-s, --subject=SUBJECT@@ -1328,13 +1484,25 @@ Content Bytes Written: 305
--gpg-sign=KEYIDSign the commit with this GPG key. Used when exporting the build results. + This option can be used multiple times.
--gpg-homedir=PATHGPG Homedir to use when looking for keyrings. Used when exporting the build results.
--force-cleanErase the previous contents of DIRECTORY if it is not empty. -
+
--sandbox+ Disable the possibility to specify build-args that + are passed to flatpak build. This means the build + process can't break out of its sandbox, and is + useful when building less trusted software. +
--allow-missing-runtimes+ Do not immediately fail if the sdk or platform runtimes + are not installed on this system. Attempting to build any + manifest modules will still fail if the sdk is missing, but + may be useful for apps that install files without a sandbox + build. +
flatpak-builder caches sources and partial build results in
the .flatpak-builder subdirectory of the current directory. If you
use --keep-build-dirs, build directories for each
@@ -1342,7 +1510,7 @@ Content Bytes Written: 305
It is safe to remove the contents of the .flatpak-builder directory. This will force a full build the next time you build. -
flatpak-metadata — Information about an application or runtime
Flatpak uses metadata files to describe applications and runtimes.
The metadata file for a deployed application or
runtime is placed in the toplevel deploy directory. For example, the
@@ -1429,15 +1597,15 @@ Content Bytes Written: 305
A metadata file describing the effective configuration is available
inside the running sandbox at /run/user/$UID/flatpak-info.
-
The metadata file is using the same .ini file format that is used for systemd unit files or application .desktop files. -
+
Metadata for applications starts with an [Application] group, metadata for runtimes with a [Runtime] group.
The following keys can be present in these groups: -
name (string)The name of the application or runtime. This key is mandatory.
runtime (string)The fully qualified name of the runtime that is used by the application. This key is mandatory for applications.
sdk (string)The fully qualified name of the sdk that matches the runtime.
command (string)The command to run. Only relevant for applications.
+
name (string)The name of the application or runtime. This key is mandatory.
runtime (string)The fully qualified name of the runtime that is used by the application. This key is mandatory for applications.
sdk (string)The fully qualified name of the sdk that matches the runtime.
command (string)The command to run. Only relevant for applications.
This group determines various system resources that may be shared with the application when it is run in a flatpak sandbox.
@@ -1454,7 +1622,7 @@ Content Bytes Written: 305 find sockets that are not in a fixed location.
devices (list)List of devices to make available in the sandbox. - Possible values: dri, all. + Possible values: dri, kvm, all.
filesystems (list)List of filesystem subsets to make available to the application. Possible values: home, host, xdg-desktop, @@ -1476,7 +1644,7 @@ Content Bytes Written: 305 in the sandbox a bind mount to "~/.var/app/org.my.App/.myapp", thus allowing an unmodified application to save data in the per-application location. -
If the sockets key is not allowing full access
to the D-Bus session bus, then flatpak provides filtered access.
@@ -1510,7 +1678,7 @@ Content Bytes Written: 305 The application can send messages/ and receive replies and signals from the bus name or names.
ownThe application can own the bus name or names (as well as all the above). -
If the sockets key is not allowing full access
to the D-Bus system bus, then flatpak does not make the system
bus available unless the [System Bus Policy] group is present
@@ -1518,14 +1686,14 @@ Content Bytes Written: 305
Entries in this group have the same form as for the [Session Bus Policy] group. However, the app has no permissions by default. -
The [Environment] group specifies environment variables to set when running the application.
Entries in this group have the form VAR=VALUE
where VAR is the name of an environment variable
to set.
-
Runtimes and applications can define extensions, which are optional, additional runtimes to be mounted at a specified location inside the sandbox when they are present on the system. Typical uses for @@ -1553,7 +1721,7 @@ Content Bytes Written: 305
autodelete (boolean)Whether to automatically delete this extension when deleting a 'related' application or runtime. -
[Application] name=org.gnome.Calculator runtime=org.gnome.Platform/x86_64/3.20 @@ -1577,11 +1745,62 @@ subdirectories=true [Extension org.gnome.Calculator.Debug] directory=lib/debug -
flatpak-make-current — Make a specific version of an app current
flatpak make-current [OPTION...] APP BRANCH
flatpak-flatpakrepo — Reference to a remote
+ Flatpak uses flatpakrepo files to share information about remotes.
+ The flatpakrepo file contains enough information
+ to add the remote. Use the flatpak remote-add --from
+ command to do so.
+
+ The filename extension commonly used for flatpakrepo files is .flatpakrepo.
+
+ The flatpakrepo file is using the same .ini file format that is used for + systemd unit files or application .desktop files. +
+ All the information is contained in the [Flatpak Repo] group. +
+ The following keys can be present in this group: +
Url (string)The url for the remote. This key is mandatory.
Title (string)The title of the remote. This should be a user-friendly name that can be displayed e.g. in an app store.
GPGKey (string)The base64-encoded gpg key for the remote.
+[Flatpak Repo] +Title=GEdit +Url=http://sdk.gnome.org/repo-apps/ +GPGKey=mQENBFUUCGcBCAC/K9WeV4xCaKr3NKRqPXeY5mpaXAJyasLqCtrDx92WUgbu0voWrhohNAKpqizod2dvzc/XTxm3rHyIxmNfdhz1gaGhynU75Qw4aJVcly2eghTIl++gfDtOvrOZo/VuAq30f32dMIgHQdRwEpgCwz7WyjpqZYltPAEcCNL4MTChAfiHJeeiQ5ibystNBW8W6Ymf7sO4m4g5+/aOxI54oCOzD9TwBAe+yXcJJWtc2rAhMCjtyPJzxd0ZVXqIzCe1xRvJ6Rq7YCiMbiM2DQFWXKnmYQbj4TGNMnwNdAajCdrcBWEMSbzq7EzuThIJRd8Ky4BkEe1St6tuqwFaMZz+F9eXABEBAAG0KEdub21lIFNESyAzLjE2IDxnbm9tZS1vcy1saXN0QGdub21lLm9yZz6JATgEEwECACIFAlUUCGcCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEArkz6VV0VKBa5cH/0vXa31YgEjNk78gGFXqnQxdD1WYA87OYxDi189l4lA802EFTF4wCBuZyDOqdd5BhS3Ab0cR778DmZXRUP2gwe+1zTJypU2JMnDpkwJ4NK1VP6/tE4SAPrznBtmb76BKaWBqUfZ9Wq1zg3ugvqkZB/Exq+usypIOwQVp1KL58TrjBRda0HvRctzkNhr0qYAtkfLFe0GvksBp4vBm8uGwAx7fw/HbhIjQ9pekTwvB+5GwDPO/tSip/1bQfCS+XJB8Ffa04HYPLGedalnWBrwhYY+G/kn5Zh9L/AC8xeLwTJTHM212rBjPa9CWs9C6a57MSaeGIEHLC1hEyiJJ15w8jmY= +
flatpak-flatpakref — Reference to a remote for an application or runtime
+ Flatpak uses flatpakref files to share information about a remote for
+ a single application. The flatpakref file contains
+ enough information to add the remote and install the application.
+ Use the flatpak install --from command to do so.
+
+ The filename extension commonly used for flatpakref files is .flatpakref.
+
+ A flatpakref file can also refer to a remote for a runtime. +
+ The flatpakref file is using the same .ini file format that is used for + systemd unit files or application .desktop files. +
+ All the information is contained in the [Flatpak Ref] group. +
+ The following keys can be present in this group: +
Name (string)The fully qualified name of the runtime that is used by the application. This key is mandatory.
Url (string)The url for the remote. This key is mandatory.
Branch (string)The name of the branch from which to install the application or runtime. If this key is not specified, the "master" branch is used.
Title (string)The title of the application or runtime. This should be a user-friendly name that can be displayed e.g. in an app store.
IsRuntime (boolean)Whether this file refers to a runtime. If this key is not specified, the file is assumed to refer to an application.
GPGKey (string)The base64-encoded gpg key for the remote.
+[Flatpak Ref] +Title=GEdit +Name=org.gnome.gedit +Branch=stable +Url=http://sdk.gnome.org/repo-apps/ +IsRuntime=False +GPGKey=mQENBFUUCGcBCAC/K9WeV4xCaKr3NKRqPXeY5mpaXAJyasLqCtrDx92WUgbu0voWrhohNAKpqizod2dvzc/XTxm3rHyIxmNfdhz1gaGhynU75Qw4aJVcly2eghTIl++gfDtOvrOZo/VuAq30f32dMIgHQdRwEpgCwz7WyjpqZYltPAEcCNL4MTChAfiHJeeiQ5ibystNBW8W6Ymf7sO4m4g5+/aOxI54oCOzD9TwBAe+yXcJJWtc2rAhMCjtyPJzxd0ZVXqIzCe1xRvJ6Rq7YCiMbiM2DQFWXKnmYQbj4TGNMnwNdAajCdrcBWEMSbzq7EzuThIJRd8Ky4BkEe1St6tuqwFaMZz+F9eXABEBAAG0KEdub21lIFNESyAzLjE2IDxnbm9tZS1vcy1saXN0QGdub21lLm9yZz6JATgEEwECACIFAlUUCGcCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEArkz6VV0VKBa5cH/0vXa31YgEjNk78gGFXqnQxdD1WYA87OYxDi189l4lA802EFTF4wCBuZyDOqdd5BhS3Ab0cR778DmZXRUP2gwe+1zTJypU2JMnDpkwJ4NK1VP6/tE4SAPrznBtmb76BKaWBqUfZ9Wq1zg3ugvqkZB/Exq+usypIOwQVp1KL58TrjBRda0HvRctzkNhr0qYAtkfLFe0GvksBp4vBm8uGwAx7fw/HbhIjQ9pekTwvB+5GwDPO/tSip/1bQfCS+XJB8Ffa04HYPLGedalnWBrwhYY+G/kn5Zh9L/AC8xeLwTJTHM212rBjPa9CWs9C6a57MSaeGIEHLC1hEyiJJ15w8jmY= +
flatpak-make-current — Make a specific version of an app current
flatpak make-current [OPTION...] APP BRANCH
Makes a particular branch of an application current. Only the current branch of an app has its exported files (such as desktop files and icons) made visible to the host. @@ -1591,7 +1810,7 @@ directory=lib/debug
Unless overridden with the --user option, this command creates a system-wide installation. -
The following options are understood:
-h, --help+
An FlatpakInstallation object provides information about an installation location for flatpak applications. Typical installation locations are either -system-wide (in /var/lib/flatpak) or per-user (in ~/.local/share/flatpak).
+system-wide (in $prefix/var/lib/flatpak) or per-user (in ~/.local/share/flatpak).FlatpakInstallation can list configured remotes as well as installed application and runtime references (in short: refs). It can also run, install, update and uninstall applications and runtimes.
@@ -1741,6 +1749,56 @@ flatpak_installation_remove_remote (
+flatpak_installation_update_remote_sync ()
+gboolean
+flatpak_installation_update_remote_sync
+ (FlatpakInstallation *self,
+ const char *name,
+ GCancellable *cancellable,
+ GError **error);
+Updates the local configuration of a remote repository by fetching
+the related information from the summary file in the remote OSTree
+repository and committing the changes to the local installation.
+
+Parameters
+
+
+
+
+
+
+
+
+self
+
+
+
+
+name
+the name of the remote to update
+
+
+
+cancellable
+ a GCancellable.
+[nullable]
+
+
+error
+return location for a GError
+
+
+
+
+
+
+Since: 0.6.13
+
+
+
flatpak_get_default_arch ()
const char *
flatpak_get_default_arch (void);
diff --git a/reference/html/flatpak-Version-information.html b/reference/html/flatpak-Version-information.html
index 7ae0991d..03bbaede 100644
--- a/reference/html/flatpak-Version-information.html
+++ b/reference/html/flatpak-Version-information.html
@@ -81,7 +81,7 @@
diff --git a/reference/html/flatpak.devhelp2 b/reference/html/flatpak.devhelp2
index b0800cce..023c2e18 100644
--- a/reference/html/flatpak.devhelp2
+++ b/reference/html/flatpak.devhelp2
@@ -43,6 +43,7 @@
+
diff --git a/reference/html/full-api-index.html b/reference/html/full-api-index.html
index dfba9196..51c3546f 100644
--- a/reference/html/full-api-index.html
+++ b/reference/html/full-api-index.html
@@ -209,6 +209,10 @@
+flatpak_installation_update_remote_sync, function in FlatpakInstallation
+
+
+
FlatpakInstalledRef, struct in FlatpakInstalledRef
diff --git a/reference/html/index.html b/reference/html/index.html
index 52013ede..e4ffaac5 100644
--- a/reference/html/index.html
+++ b/reference/html/index.html
@@ -15,7 +15,7 @@
Flatpak Library Reference Manual
- For flatpak 0.6.7
+ For flatpak 0.6.13