From 24a48769f03b243065aec42c384c39a2d2306964 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Feb 2023 10:03:38 +0000 Subject: gentoo auto-resync : 28:02:2023 - 10:03:37 --- sys-apps/accountsservice/Manifest | 3 +- .../accountsservice-22.08.8-r1.ebuild | 87 ++++++++++++++++++++++ .../accountsservice/accountsservice-22.08.8.ebuild | 86 --------------------- ...accountsservice-22.08.8-configure-clang16.patch | 33 ++++++++ 4 files changed, 122 insertions(+), 87 deletions(-) create mode 100644 sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild delete mode 100644 sys-apps/accountsservice/accountsservice-22.08.8.ebuild create mode 100644 sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch (limited to 'sys-apps/accountsservice') diff --git a/sys-apps/accountsservice/Manifest b/sys-apps/accountsservice/Manifest index ee269a7bdb0b..6bc50e31a7ab 100644 --- a/sys-apps/accountsservice/Manifest +++ b/sys-apps/accountsservice/Manifest @@ -1,4 +1,5 @@ AUX accountsservice-22.04.62-gentoo-system-users.patch 1318 BLAKE2B 69c74ad620cebd6864efff7ad87401a72ea5f644a773a682653b45584e34755aaf12a0e79ba816c990b0af2784d01fec5e8b657699ecfc7c38343330a36fda57 SHA512 a85a6ca785a3863d96eae39bc3eee5fe89bedd0bdae40cd6bc2e077bb88f72d73d0be63dcf0e0a788f0f5d69ed39801c9ede623afe8ed08c94372314b1fddd09 +AUX accountsservice-22.08.8-configure-clang16.patch 1247 BLAKE2B 2a4a99498f9ae1b6e6e84824918f0961719ef4ea9e2b18171e12b263a51953dcd1be055dfc0b3824821eebd863b33a9ac29b3f619be179d529901e117ca69b88 SHA512 08b409cb8b2a5301a98ca9986b3f33c9cd46ca98a24f273c6d495967a69af447c85bdfd25e5de28adcefc99b8141b9dd77d393bb92d758bf6c7fff1e1ad982ce DIST accountsservice-22.08.8.tar.xz 102672 BLAKE2B 7c9436d3845fc1883772b434c4f9e2fba934d17e6d4452a6be65e1d790a23b331eaaa64b0e6eff6fefe79587a40cf1749a0f3de09f323b10740046bd9d145c9d SHA512 2ca3ceb1b44338d9924b86788256d4eef7ec10e0c2197bfb8cc6c31ae224fab3051f03cb406a526f90057684965bef4ba0f2cc01b26198ec1fc6baec36ad3ff8 -EBUILD accountsservice-22.08.8.ebuild 2028 BLAKE2B e914869415acba107cbdfe1780e86c0c941885943681803b12f33cef83dd48fa5e038e40c43e7a64688d2ac45052e787a04e8eddbaa7d203e617c08ccb1f493f SHA512 8065d821748afcdbc4ab663fe8dcb0ef017661bf5cd1f2b947418bf9257fff31c2b06c80efec6d96a93388ad2f388d02b675ac719109260d8b8a2642f87e8297 +EBUILD accountsservice-22.08.8-r1.ebuild 2072 BLAKE2B 0d3d8951ea62de17377f67fc3aee88aa89c5c319c5136141ae2c65b65a9f8fcb8326e74f561665839dcd62db26a9e241dd8f6988779cc4c4c597ea0126a4e873 SHA512 51ed97b523545d2efc98c51fc4f9599566d06bb1f5556df33c033cfd8f1ed32c26d9f466c4ba13ebf01112f0b8b853251975041c05a588113b516387fab1c2d0 MISC metadata.xml 559 BLAKE2B c43012a95ec8ddd3ce687f69b4dc1889c82f31828f8e1f53bded7723b82c2a8faff594674fbd819370078dc13f48f51df45a3a280563c6a00080e5332128498c SHA512 6c1e1e291bcd11a06fe4e7b73031accdf0fe839cb7372f96d1cc52e5c1a1a1b032adcf0da7dde016331fefcb1ae1402386ba3ab2713b4256e9e60dd2b73f76f5 diff --git a/sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild b/sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild new file mode 100644 index 000000000000..738666099808 --- /dev/null +++ b/sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 2011-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{9..11} ) +inherit meson python-any-r1 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 ~loong ppc ppc64 ~riscv ~sparc x86" + +IUSE="doc elogind gtk-doc +introspection selinux systemd test" +RESTRICT="!test? ( test )" +REQUIRED_USE="^^ ( elogind systemd )" + +CDEPEND=" + >=dev-libs/glib-2.63.5:2 + sys-auth/polkit + virtual/libcrypt:= + 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 + ) + test? ( + $(python_gen_any_dep ' + dev-python/python-dbusmock[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-accountsd ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch + "${FILESDIR}"/${P}-configure-clang16.patch +) + +python_check_deps() { + if use test; then + python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" + fi +} + +src_configure() { + local emesonargs=( + --localstatedir="${EPREFIX}/var" + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" + -Dadmin_group="wheel" + $(meson_use elogind) + $(meson_use introspection) + $(meson_use doc docbook) + $(meson_use gtk-doc gtk_doc) + -Dvapi=false + ) + 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 +} diff --git a/sys-apps/accountsservice/accountsservice-22.08.8.ebuild b/sys-apps/accountsservice/accountsservice-22.08.8.ebuild deleted file mode 100644 index 9f34a6d97636..000000000000 --- a/sys-apps/accountsservice/accountsservice-22.08.8.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2011-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) -inherit meson python-any-r1 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 ~loong ppc ppc64 ~riscv ~sparc x86" - -IUSE="doc elogind gtk-doc +introspection selinux systemd test" -RESTRICT="!test? ( test )" -REQUIRED_USE="^^ ( elogind systemd )" - -CDEPEND=" - >=dev-libs/glib-2.63.5:2 - sys-auth/polkit - virtual/libcrypt:= - 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 - ) - test? ( - $(python_gen_any_dep ' - dev-python/python-dbusmock[${PYTHON_USEDEP}] - ') - ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-accountsd ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch -) - -python_check_deps() { - if use test; then - python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" - fi -} - -src_configure() { - local emesonargs=( - --localstatedir="${EPREFIX}/var" - -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" - -Dadmin_group="wheel" - $(meson_use elogind) - $(meson_use introspection) - $(meson_use doc docbook) - $(meson_use gtk-doc gtk_doc) - -Dvapi=false - ) - 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 -} diff --git a/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch b/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch new file mode 100644 index 000000000000..939418752731 --- /dev/null +++ b/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch @@ -0,0 +1,33 @@ +https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/453f893e3c38c209ae9dff47bca74ccb33a5bd34 + +From 453f893e3c38c209ae9dff47bca74ccb33a5bd34 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 28 Feb 2023 02:31:50 +0000 +Subject: [PATCH] meson.build: fix -Wimplicit-function-declaration in configure + tests for printf + + needs to be included for printf. Newer compilers like Clang 16 make +implicit function declarations an error by default which can cause misleading +or incorrect configure test results. + +Signed-off-by: Sam James +--- a/meson.build ++++ b/meson.build +@@ -79,6 +79,7 @@ endforeach + + if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURCE') + code = '''#define _GNU_SOURCE ++ #include + #include + int main (int argc, char **argv) { + printf ("%s\n", WTMPX_FILENAME); +@@ -91,6 +92,7 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC + config_h.set('PATH_WTMP', 'WTMPX_FILENAME') + elif cc.has_header_symbol('paths.h', '_PATH_WTMPX') + code = '''#include ++ #include + int main (int argc, char **argv) { + printf ("%s\n", _PATH_WTMPX); + return 0; +-- +GitLab -- cgit v1.2.3