summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/flatpak
Commit message (Collapse)AuthorAgeFilesLines
* flatpak: update 1.15.6 -> 1.15.8Markus Volk2024-06-023-64/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove included patches - set path for fusermount3 to avoid requirement for fuse3-native. This is needed since: https://github.com/flatpak/flatpak/commit/2cb17b4eb82ecedaa98b5b7f954cf3e52fa95682 Changes in 1.15.8 ~~~~~~~~~~~~~~~~~ Security fixes: * Don't allow an executable name to be misinterpreted as a command-line option for bwrap(1). This prevents a sandbox escape where a malicious or compromised app could ask xdg-desktop-portal to generate a .desktop file with access to files outside the sandbox. (CVE-2024-32462) Other bug fixes: * Pass the -export-dynamic linker option as -Wl,-export-dynamic, fixing build failures with clang 18 and lld 18 (#5760) * Fix a double-free when installation is cancelled (#5763) * Fix installed-tests failure with "FUSERMOUNT: unbound variable" (#5751) * Translation updates: pt_BR (#5762), tr (#5761) Changes in 1.15.7 ~~~~~~~~~~~~~~~~~ Released: 2024-03-27 Dependencies: * The Meson build system is now required. Compiling with Autotools is no longer possible. * In distributions that compile Flatpak to use a separate bubblewrap (bwrap) executable, version 0.9.0 is recommended. Several of the bug fixes listed below will not be active if an older version is used. * In distributions that compile Flatpak to use a separate xdg-dbus-proxy executable, version 0.1.5 is recommended. * If libmalcontent (parental controls) is enabled, it must be version 0.5.0 or later. New features: * Automatically remove obsolete driver versions and other autopruned refs (#5632) * `--socket=inherit-wayland-socket` (#5614) * Automatically reload D-Bus session bus configuration after installing or upgrading apps, to pick up any exported D-Bus services (#3342) Bug fixes: * Update included copy of bubblewrap to version 0.9.0: * `--symlink` is now idempotent, meaning it succeeds if the symlink already exists and already has the desired target (#2387, #3477, #5255) * Report a better error message if `mount(2)` fails with `ENOSPC` * Fix a double-close on error reading from `--args`, `--seccomp` or `--add-seccomp-fd` argument * Improve memory allocation behaviour * Silence various compiler warnings * Update included copy of bubblewrap to version 0.1.5: * Fix handling of long object paths * Don't parse `<developer><name/></developer>` as the application name (#5700) * Don't refuse to start apps when there is no D-Bus system bus available (#5076) * Don't try to repeat migration of apps whose data was migrated to a new name and then deleted (#5668) * Improve handling of mixed locales on systems with systemd-localed (#5497) * Improve display of ellipsized columns in wide terminals (#5722) * Make `flatpak info -e` look for extensions in all installations (#5670) * Fix warnings from newer GLib versions (#5660, #5737) * Always set the `container` environment variable (#5610) * Always let the app inherit redirected file descriptors (#5626) * In `flatpak ps`, add xdg-desktop-portal-gnome to the list of backends we'll use to learn which apps are running in the background (#5729) * Don't use `WAYLAND_SOCKET` unless given `--socket=inherit-wayland-socket` (#5614) * Use `fusermount3` if compiled with FUSE 3, overridable with `-Dsystem_fusermount` compile-time option (#5104) * Avoid leaking a temporary variable from /etc/profile.d/flatpak.sh into the shell environment (#5574) * Improve async-signal safety (#5687) * Fix various memory leaks (#5683, #5690, #5691) * Avoid undefined behaviour of signed left-shift when storing object IDs in a hash table (#5738) * Detect the correct gtk-doc when cross-compiling (#5650) * Detect the correct wayland-scanner when cross-compiling (#5596) * Documentation improvements (#5659, #5677, #5682, #5664, #5719) * Skip more tests when FUSE isn't available (#5611) * Translation updates (#5602, #5707) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* flatpak: remove unneeded RDEPENDSMarkus Volk2024-02-121-2/+0
| | | | | | | | | | | The build has been modified to use internal copies of bubblewrap and xdg-dbus-proxy. https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=9c68079a26b64b836bc6a28e422a1099f48726d2 We can additionally remove the RDEPENDS for these tools, since flatpak now creates its own copies of the files in /usr/libexec. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: fix gtk-doc buildMarkus Volk2024-01-122-0/+34
| | | | | | | | | | this fixes: | Run-time dependency gtk-doc found: NO (tried pkgconfig) | | ../git/meson.build:206:13: ERROR: Dependency "gtk-doc" not found, tried pkgconfig Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: do not rely on executables from the hostAlexander Kanavin2023-12-271-2/+0
| | | | | | | | | | This is not how yocto builds work: any needed executables should come from the build itself, with limited exceptions listed in HOSTTOOLS. flatpak is entirely capable of building without requiring them upfront. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: Add packageconfigs for man and docbook docsMarkus Volk2023-11-201-2/+2
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: Upgrade 1.15.4 -> 1.15.6Markus Volk2023-11-193-4/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a patch to fix build for the newly added wayland_security_context feature - build wayland_security_context according to wayland distro_feature - add GIR_MESON_OPTION - add packageconfigs for selinux and http_backend Dependencies: In distributions that compile Flatpak to use a separate bubblewrap (bwrap) executable, version 0.8.0 is now required. Enabling the optional Wayland security context feature requires libwayland-client, wayland-scanner >= 1.15 and wayland-protocols >= 1.32. Ubuntu 18.04 is no longer routinely tested. Support for dependency versions included in Ubuntu 18.04 should be considered "at risk". Features: Add --device=input, for access to evdev devices in /dev/input (#5481) Update bundled copy of bubblewrap to version 0.8.0, and rely on its features: Improve error message if seccomp is disabled in kernel config Security hardening: set user namespace limit to 0, to prevent creation of nested user namespaces in a more robust way (#5084) For subsandboxes started by flatpak-portal, inherit environment variables from the flatpak run that started the original instance rather than from flatpak-portal, fixing behaviour of FLATPAK_GL_DRIVERS and similar features (#5278) Stop http transfers if a download in progress becomes very slow (#5519) Make it easier to configure extra languages, by picking them up from AccountsService if configured there (#5006) Add new flatpak_transaction_add_rebase_and_uninstall() API, allowing end-of-life apps to be replaced by their intended replacement more reliably (#3991) Create a private Wayland socket with the "security context" extension if available, allowing the compositor to identify connections from sandboxed apps as belonging to the sandbox (#4920, #5507, #5558) Update libglnx to 2023-08-29 Use features of newer GLib versions if available Turn off system-level crash reporting infrastructure during some unit tests that involve intentional assertion failures Add anchors to link to sections of flatpak-metadata documentation (#5582) New translations: ka, nl. Bug fixes: Avoid warnings processing symbolic links with GLib >= 2.77.0, and with GLib 2.76.0 (GLib 2.76.1 or later silences these warnings) Bypass page cache for backend requests in revokefs, fixing installation errors with libostree 2023.4 (#5452) Show AppStream metadata in flatpak remote-info as intended (#5523; regression in 1.9.1) Don't let Flatpak apps inherit VK_DRIVER_FILES or VK_ICD_FILENAMES from the host system, which would be wrong for the sandbox (#5553) Fix build failure with prereleases of libappstream 0.17.x (#5472) Forward-compatibility with libappstream 1.0 (#5563) Fix installation with Meson if configured with -Dauto_sideloading=true (#5495) Fix a memory leak (#5329) Fix compiler warnings (#5362, #5366) Make the tests fail more comprehensibly if a required tool is missing (#5020) Clean up /var/tmp/flatpak-cache-* directories on boot (#1119) Don't force GIO_USE_VFS=local for programs launched via flatpak-spawn (#5567) Clarify documentation for D-Bus name ownership (#5582) Translation updates: id, tr, zh_CN (#5332, #5565) Internal changes: Split up large source files into smaller modules, reducing internal circular dependencies (#5410, #5411, #5415, #5419, #5416, #5414) Re-synchronize code backported from GLib with the version in GLib (#5410) Make the flags used to apply "extra data" clearer (#5466) Use glnx_opendirat() where possible (#5527) CI improvements (#5374, #5381) (There was never a 1.15.5 release, I got our versioning convention mixed up and thought we avoided releasing odd micro versions.) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe-components: Avoid usage of nobranch=1Sourav Kumar Pramanik2023-09-071-1/+1
| | | | | | | | | The usage of nobranch=1 in SRC_URI allows using unprotected branches. This change updates the real branch name in place of nobranch=1 for these components. Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: fix api-documentation buildMarkus Volk2023-08-261-1/+4
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: update dependenciesMarkus Volk2023-07-101-2/+7
| | | | | | | | - use system bubblewrap and xdg-dbus-proxy instead of building subprojects - fix seccomp PACKAGECONFIG Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: update 1.15.3 -> 1.15.4Markus Volk2023-04-011-1/+1
| | | | | Signed-off-by: Markus Volk <f_L_K@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: update 1.15.1 -> 1.15.3Markus Volk2023-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.15.3 Released: 2023-02-21 Build system: Building this version of Flatpak with Meson is recommended. The source release flatpak-1.15.3.tar.xz no longer contains Autotools-generated files, although this version can still be built using Autotools after running ./autogen.sh. Future versions are likely to remove the Autotools build system. Bug fixes: When splitting an upgrade into two steps (download without installing, and then upgrade without allowing further downloads) like GNOME Software does, if an app is marked EOL and superseded by a replacement, don't remove the superseded app in the first step, which would result in the replacement incorrectly not being installed (#5172) Fix a crash when --socket=gpg-agent is used (#5095) Fix a crash when listing apps if one of them is broken or misconfigured (#5293) If an app has invalid syntax in its overrides or metadata, mention the filename in the error message (#5293) Unset $GDK_BACKEND for apps, ensuring GTK apps with --socket=fallback-x11 can work (#5303) Fix a deprecation warning when compiled with curl >= 7.85 (#5284) Translation updates: es, ru (#5266, #5312, #5313) Internal changes: Better diagnostic messages for why runtimes are or are not considered unused (#5237) 1.15.2 Released: 2023-02-06 Bug fixes: Never try to export a parent of reserved directories as a --filesystem, for example /run, which would prevent the app from starting (#5205, #5207) Never try to export a --filesystem below /run/flatpak or /run/host, which could similarly prevent the app from starting The above change also fixes apps not starting if a --filesystem is a symlink to the root directory (#1357) Show a warning when the --filesystem exists but cannot be shared with the sandbox (#1357, #5035, #5205, #5207) Display the intended messages for flatpak repair (#5204) Exporting an app to an existing repository on a CIFS filesystem now works as intended (#5257) Unset $GIO_EXTRA_MODULES for apps, avoiding misbehaviour in some GLib apps when set to a path on the host (#5206) Unset $XKB_CONFIG_ROOT for apps, avoiding crashes in GTK and Qt apps under Wayland when this variable is set to a path not available in the sandbox (#5194) When using the fish shell, avoid duplicate XDG_DATA_DIRS entries if the profile script is sourced more than once (#5198) Update included copy of bubblewrap to 0.7.0 for better error messages Install SELinux files correctly when building with Meson Translation updates: ru, tr (#5256, #5262) Internal changes: Update included copy of libglnx flatpak -v now uses the INFO log level, and flatpak -vv uses the DEBUG log level in the flatpak log domain. Previously, the extra messages that were logged by flatpak -vv were in a separate "flatpak2" log domain. G_MESSAGES_DEBUG=flatpak previously had an effect similar to flatpak -v, and is now more similar to flatpak -vv. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: add runtime dependency on flatpak-xdg-utilsMarkus Volk2022-12-261-0/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak-xdg-utils: add recipeMarkus Volk2022-12-261-0/+14
| | | | | | | | | Helper tools for sandboxed applications Provides support for thumbnailing, email and xdg-open Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: add recipeMarkus Volk2022-12-262-0/+90
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>