From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 220DA158015 for ; Sat, 23 Dec 2023 04:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D4792BC013; Sat, 23 Dec 2023 04:45:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1925E2BC013 for ; Sat, 23 Dec 2023 04:45:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47FC833FD3F for ; Sat, 23 Dec 2023 04:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A96B99C4 for ; Sat, 23 Dec 2023 04:45:17 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1703306712.b1e9fd41d35880e69155ae77784089e71a79359a.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/flatpak/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/flatpak/Manifest sys-apps/flatpak/flatpak-1.14.5.ebuild X-VCS-Directories: sys-apps/flatpak/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b1e9fd41d35880e69155ae77784089e71a79359a X-VCS-Branch: master Date: Sat, 23 Dec 2023 04:45:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e2226cca-5bdc-47c4-a8ae-4b1aea35634c X-Archives-Hash: a1d9e563e69d1c4a2ec7606f33dd4784 commit: b1e9fd41d35880e69155ae77784089e71a79359a Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 22 21:36:05 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Dec 23 04:45:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e9fd41 sys-apps/flatpak: add 1.14.5, python3_12 Closes: https://bugs.gentoo.org/920319 Signed-off-by: Andreas Sturmlechner gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34431 Signed-off-by: Zac Medico gentoo.org> sys-apps/flatpak/Manifest | 1 + sys-apps/flatpak/flatpak-1.14.5.ebuild | 120 +++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/sys-apps/flatpak/Manifest b/sys-apps/flatpak/Manifest index e1398473899f..56ef409d4835 100644 --- a/sys-apps/flatpak/Manifest +++ b/sys-apps/flatpak/Manifest @@ -1,2 +1,3 @@ DIST flatpak-1.12.8.tar.xz 1568984 BLAKE2B 6db457eba6b5c03ae4b7037e55f0537821152a80cad8746939fe93008922a9a33ff9f08635613e56a84f2d151826130c497c1e9f7f1e41a5b2dc215882f2eb14 SHA512 5a37d94e12c18a746b222c1ddbd20bddfb22079af1d3a79dc819cdb25f04774c9e4b3a51f9b5ed64f210317e7ec9fb97324ae38ec3430c6a515ba4042805fc57 DIST flatpak-1.14.4.tar.xz 1637484 BLAKE2B cf208c581ad76d46489ba473d290c35907da0d1d473bf2b4792fb56c31e7110cd38f1c6fc4ad04aa3675868d17116ba52a84b028d7b7789c1736cfe26f3cabfe SHA512 3f97096affd4f1de184ded353f1ab403d9f1813b199b9a1595596cc7c5d6b46062aa2ef184255823f50ae95ca60d0542d9b9e520f9a605f9bc51091863bf89b0 +DIST flatpak-1.14.5.tar.xz 1637692 BLAKE2B 180dc094ef3feef1ccefceb562836f55f6e875016588a5984435ea3157498a8746305c16aa2c83044c107fd7f0e8f6c034c326b4ae29ade1c657e82cff353d47 SHA512 552deaaf3e6712a56f33698c20e6b8225c8893fe9a375af897fd99e19c487bf79b19c3e4ce3b00f3caf90020019ff67c628ca6a8f2ae1e6e01db397d2081ab2b diff --git a/sys-apps/flatpak/flatpak-1.14.5.ebuild b/sys-apps/flatpak/flatpak-1.14.5.ebuild new file mode 100644 index 000000000000..528b56bf57ed --- /dev/null +++ b/sys-apps/flatpak/flatpak-1.14.5.ebuild @@ -0,0 +1,120 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit linux-info python-any-r1 systemd tmpfiles + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" +DESCRIPTION="Linux application sandboxing and distribution framework" +HOMEPAGE="https://flatpak.org/" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc introspection policykit seccomp systemd X" +RESTRICT="test" + +RDEPEND=" + acct-group/flatpak + acct-user/flatpak + >=app-arch/libarchive-2.8:= + app-arch/zstd:= + >=app-crypt/gpgme-1.1.8:= + >=dev-libs/appstream-0.12:= + >=dev-libs/appstream-glib-0.5.10:= + >=dev-libs/glib-2.56:2= + >=dev-libs/libxml2-2.4:= + dev-libs/json-glib:= + dev-libs/libassuan:= + >=dev-util/ostree-2020.8:=[gpg(+)] + dev-util/ostree[curl] + >=gnome-base/dconf-0.26:= + gnome-base/gsettings-desktop-schemas + net-misc/curl:= + >=sys-apps/bubblewrap-0.5.0 + sys-apps/dbus + >=sys-fs/fuse-3.1.1:3= + sys-apps/xdg-dbus-proxy + X? ( + x11-apps/xauth + x11-libs/libXau:= + ) + x11-libs/gdk-pixbuf:2= + policykit? ( >=sys-auth/polkit-0.98:= ) + seccomp? ( sys-libs/libseccomp:= ) + systemd? ( sys-apps/systemd:= ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/automake-1.13.4 + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig + dev-util/gdbus-codegen + sys-devel/bison + $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') + introspection? ( >=dev-libs/gobject-introspection-1.40 ) + doc? ( + app-text/xmlto + dev-libs/libxslt + ) +" + +PDEPEND="sys-apps/xdg-desktop-portal" + +PATCHES=( + "${FILESDIR}"/${PN}-1.14.4-fuse-3-slotted.patch +) + +python_check_deps() { + python_has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" +} + +pkg_setup() { + local CONFIG_CHECK="~USER_NS" + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + # This line fails because locales are in /usr/lib/locale/locale-archive. + sed -i 's:^cp -r /usr/lib/locale/C.*:#\0:' tests/make-test-runtime.sh || die +} + +src_configure() { + local myeconfargs=( + --enable-sandboxed-triggers + --localstatedir="${EPREFIX}"/var + --with-system-bubblewrap + --with-system-dbus-proxy + --with-tmpfilesdir="/usr/lib/tmpfiles.d" + $(use_enable X xauth) + $(use_enable doc documentation) + $(use_enable doc docbook-docs) + $(use_enable introspection) + $(use_enable policykit system-helper) + $(use_enable seccomp) + $(use_with systemd) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + # https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die + # resolve conflict with acct-user/flatpak for #856706 + rm -rf "${ED}/usr/lib/sysusers.d" + + if use systemd; then + systemd_dounit "${FILESDIR}"/flatpak-update.{service,timer} + fi +} + +pkg_postinst() { + tmpfiles_process flatpak.conf +}