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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9600D1382C5 for ; Sat, 13 Jun 2020 15:27:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93680E09DF; Sat, 13 Jun 2020 15:27:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6430EE09DF for ; Sat, 13 Jun 2020 15:27:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F62234F048 for ; Sat, 13 Jun 2020 15:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8904E242 for ; Sat, 13 Jun 2020 15:27:20 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1592062027.f7afbdf2fe9537f39fcf6eb0551ada301cff972e.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/accountsservice/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/accountsservice/Manifest sys-apps/accountsservice/accountsservice-0.6.55.ebuild X-VCS-Directories: sys-apps/accountsservice/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: f7afbdf2fe9537f39fcf6eb0551ada301cff972e X-VCS-Branch: master Date: Sat, 13 Jun 2020 15:27:20 +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: 80ccb42f-6915-4294-b8da-1a662e989c22 X-Archives-Hash: 30714fd7fa3d5123dd28a44a8981336c commit: f7afbdf2fe9537f39fcf6eb0551ada301cff972e Author: Pacho Ramos gentoo org> AuthorDate: Sat Jun 13 15:26:56 2020 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Jun 13 15:27:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7afbdf2 sys-apps/accountsservice: Bump to 0.6.55 This is needed to have switch user option in recent Gnome versions (#717390). Also stop installing /var empty directories, they are created at runtime when needed (#658682). Thanks-to: Francesco Turco Thanks-to: Lars Wendler (Polynomial-C) Thanks-to: Arfrever Frehtes Taifersar Arahesis Thanks-to: Fabian Köster Bug: https://bugs.gentoo.org/717390 Closes: https://bugs.gentoo.org/684326 Closes: https://bugs.gentoo.org/658682 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> sys-apps/accountsservice/Manifest | 1 + .../accountsservice/accountsservice-0.6.55.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/sys-apps/accountsservice/Manifest b/sys-apps/accountsservice/Manifest index a3e3d7211af..5962483b524 100644 --- a/sys-apps/accountsservice/Manifest +++ b/sys-apps/accountsservice/Manifest @@ -1 +1,2 @@ DIST accountsservice-0.6.50.tar.xz 384484 BLAKE2B 52c06ba85498f292204834f967211d8f0940786dc2ea3070124d3aecccd551375bfbc8fc31f23a2c3c86e23359294307656c3b927c4e819fc102d8626ae0dd82 SHA512 6e07cd318452b1cbedeacd729f0ebb200525caf1b09981abb2bac16fd90756a790ebec08aca0a0cea016f14ab27c159a68fe1332ef4bc636c5863b8c61040f64 +DIST accountsservice-0.6.55.tar.xz 97972 BLAKE2B aba3adfeb53e64455ce8e672b9db754bae4af6b4de0823cc021d0311a381ec40af04371e78f7c84eab7fb72356b26e22db78aad0343d57f65ea71a7742b51fc7 SHA512 c12e6a8e80f9b087f97238da4734d2d3a14a7c5cbd870a32a04b00116f176c818c39fb886f6dc72c3e93c136b0c2074ddf8f77e20431fa3bd54f138bea9d262d diff --git a/sys-apps/accountsservice/accountsservice-0.6.55.ebuild b/sys-apps/accountsservice/accountsservice-0.6.55.ebuild new file mode 100644 index 00000000000..8b9e10e0aa6 --- /dev/null +++ b/sys-apps/accountsservice/accountsservice-0.6.55.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson systemd + +DESCRIPTION="D-Bus interfaces for querying and manipulating user account information" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/AccountsService/" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="doc consolekit elogind gtk-doc +introspection selinux systemd" +REQUIRED_USE="^^ ( consolekit elogind systemd )" + +CDEPEND=" + >=dev-libs/glib-2.44:2 + sys-auth/polkit + consolekit? ( sys-auth/consolekit ) + elogind? ( >=sys-auth/elogind-229.4 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) + systemd? ( >=sys-apps/systemd-186:0= ) +" +DEPEND="${CDEPEND}" +BDEPEND=" + dev-libs/libxslt + dev-util/gdbus-codegen + sys-devel/gettext + virtual/pkgconfig + doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto ) + gtk-doc? ( + dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 ) +" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-accountsd ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.35-gentoo-system-users.patch +) + +src_configure() { + local emesonargs=( + --localstatedir="${EPREFIX}/var" + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" + -Dadmin_group="wheel" + $(meson_use systemd) + $(meson_use elogind) + $(meson_use introspection) + $(meson_use doc docbook) + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + # https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/90 + if use doc; then + mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${PF}" || die + fi + + # This directories are created at runtime when needed + rm -r "${ED}"/var/lib || die +}