From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1455082-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 35D93158020
	for <garchives@archives.gentoo.org>; Wed,  9 Nov 2022 20:18:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 202CBE0864;
	Wed,  9 Nov 2022 20:18:56 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 03237E0864
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Nov 2022 20:18:55 +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 ED873340E67
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Nov 2022 20:18:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 56C2A609
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Nov 2022 20:18:53 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1668025118.6e2f45ed9c90b92f7076e498b82a1b3ee877918c.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfconf/
X-VCS-Repository: repo/gentoo
X-VCS-Files: xfce-base/xfconf/Manifest xfce-base/xfconf/xfconf-4.17.1.ebuild
X-VCS-Directories: xfce-base/xfconf/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 6e2f45ed9c90b92f7076e498b82a1b3ee877918c
X-VCS-Branch: master
Date: Wed,  9 Nov 2022 20:18:53 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 136a704b-fdf9-4ca6-bca8-04cbb551a963
X-Archives-Hash: a24c1f82436125310cb26230ba0ebd7b

commit:     6e2f45ed9c90b92f7076e498b82a1b3ee877918c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 20:16:38 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 20:18:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2f45ed

xfce-base/xfconf: Bump to 4.17.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/xfconf/Manifest             |  1 +
 xfce-base/xfconf/xfconf-4.17.1.ebuild | 78 +++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest
index 51f342c89a9c..6382956b8a43 100644
--- a/xfce-base/xfconf/Manifest
+++ b/xfce-base/xfconf/Manifest
@@ -1,2 +1,3 @@
 DIST xfconf-4.16.0.tar.bz2 634858 BLAKE2B 34a03e457934310d4750b0811ff3b6fbde0c786656c9cc1bb2dd733e0104c2ab3ff1834fefcea31a6711931406b8ab507a528596b598e92c401defb8e6d7715e SHA512 d2e6b272243d6eda71f42cb3df18cb9c0745a1864718639e9aa494902dfe5b4989b2761fee2195456e5725cad0f744978f9c95c6f01e48aa016a919ce3468344
 DIST xfconf-4.17.0.tar.bz2 629001 BLAKE2B f7dbddc5762e4000a1cd5de4c02656f2a1626a244c847f53d1d0646773d91b2a10ee48e870d4b42bd004756e09a9b1e3d3e22f240712e5e7c9fe759908ece048 SHA512 e1eac703a898f151d9bde6c4177103498754a776b0c7f1381e7af9994a9cb1765943f840b31e665f40a1c4a26bc8b8a0c6e8aa0615f5501a52d4860065d59bc3
+DIST xfconf-4.17.1.tar.bz2 624819 BLAKE2B a8752240b6619c9be83b73c16e1bb4915853b728aeb168d803f569dc38f221d5a02d2d1cbf8eee7ea43dd37f6473de5b6ec30848bf1f502bdc974002edcde681 SHA512 c0d5d3b41a9194390b0d45705a496a37bb55c7dd8821efcbad06e0e37ccfd917c4a54de45be16820c20748df81c1aee47cbec2c27caa1eaa5007802f87848762

diff --git a/xfce-base/xfconf/xfconf-4.17.1.ebuild b/xfce-base/xfconf/xfconf-4.17.1.ebuild
new file mode 100644
index 000000000000..68bc11da4d43
--- /dev/null
+++ b/xfce-base/xfconf/xfconf-4.17.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 vala
+
+DESCRIPTION="A configuration management system for Xfce"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+HOMEPAGE="
+	https://docs.xfce.org/xfce/xfconf/start
+	https://gitlab.xfce.org/xfce/xfconf/
+"
+
+LICENSE="GPL-2+"
+SLOT="0/3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="debug +introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+DEPEND="
+	>=dev-libs/glib-2.50
+	sys-apps/dbus
+	>=xfce-base/libxfce4util-4.17.2:=
+	introspection? ( >=dev-libs/gobject-introspection-1.66:= )
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	dev-util/gdbus-codegen
+	dev-util/glib-utils
+	dev-util/intltool
+	sys-devel/gettext
+	virtual/pkgconfig
+	vala? ( $(vala_depend) )
+"
+
+src_configure() {
+	local myconf=(
+		$(use_enable introspection)
+		$(use_enable vala)
+		$(use_enable debug checks)
+		--with-bash-completion-dir="$(get_bashcompdir)"
+	)
+
+	use vala && vala_setup
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	local service_dir=${HOME}/.local/share/dbus-1/services
+	mkdir -p "${service_dir}" || die
+	cat > "${service_dir}/org.xfce.Xfconf.service" <<-EOF || die
+		[D-BUS Service]
+		Name=org.xfce.Xfconf
+		Exec=${S}/xfconfd/xfconfd
+	EOF
+
+	(
+		# start isolated dbus session bus
+		dbus_data=$(dbus-launch --sh-syntax) || exit
+		eval "${dbus_data}"
+
+		# -j>1 often hangs
+		# https://gitlab.xfce.org/xfce/xfconf/-/issues/13
+		nonfatal emake -j1 check
+		ret=${?}
+
+		kill "${DBUS_SESSION_BUS_PID}"
+		exit "${ret}"
+	) || die
+}
+
+src_install() {
+	default
+	find "${D}" -type f -name '*.la' -delete || die
+}