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 45786138359 for ; Thu, 9 Jul 2020 17:07:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D893E0985; Thu, 9 Jul 2020 17:07:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5BD74E0985 for ; Thu, 9 Jul 2020 17:07:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3D68134F6A5 for ; Thu, 9 Jul 2020 17:07:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C16002CE for ; Thu, 9 Jul 2020 17:07:01 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1594314256.7b3334e4407979463f645e0e390a409d0da8ed4d.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-apps/xdg-dbus-proxy/files/, sys-apps/xdg-dbus-proxy/ X-VCS-Repository: proj/musl X-VCS-Files: sys-apps/xdg-dbus-proxy/Manifest sys-apps/xdg-dbus-proxy/files/xdg-dbus-proxy-0.1.2-missing-TEMP_FAILURE_RETRY.patch sys-apps/xdg-dbus-proxy/metadata.xml sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.2.ebuild X-VCS-Directories: sys-apps/xdg-dbus-proxy/ sys-apps/xdg-dbus-proxy/files/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 7b3334e4407979463f645e0e390a409d0da8ed4d X-VCS-Branch: master Date: Thu, 9 Jul 2020 17:07:01 +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: bf0aa08e-26f8-46f9-a148-6340e9227431 X-Archives-Hash: 746a7ca3f2dfc5d5d93068c660322565 commit: 7b3334e4407979463f645e0e390a409d0da8ed4d Author: callmetango users noreply github com> AuthorDate: Sat Jul 4 09:31:34 2020 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jul 9 17:04:16 2020 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=7b3334e4 sys-apps/xdg-dbus-proxy: make it compile on musl * add missing TEMP_FAILURE_RETRY macro Signed-off-by: Anthony G. Basile gentoo.org> sys-apps/xdg-dbus-proxy/Manifest | 1 + ...us-proxy-0.1.2-missing-TEMP_FAILURE_RETRY.patch | 22 ++++++++++++++++ sys-apps/xdg-dbus-proxy/metadata.xml | 8 ++++++ .../xdg-dbus-proxy/xdg-dbus-proxy-0.1.2.ebuild | 30 ++++++++++++++++++++++ 4 files changed, 61 insertions(+) diff --git a/sys-apps/xdg-dbus-proxy/Manifest b/sys-apps/xdg-dbus-proxy/Manifest new file mode 100644 index 0000000..24a0753 --- /dev/null +++ b/sys-apps/xdg-dbus-proxy/Manifest @@ -0,0 +1 @@ +DIST xdg-dbus-proxy-0.1.2.tar.xz 119264 BLAKE2B 9f9fb561dd434e146636dd2e78275065c3f249b0486b1cb09ac0df2a2a9bd534f84192bb6f0f4b0627d47b9d490e3f5c10a6a4dca67d36a2465e4a971b28c64e SHA512 c76460e365778efeb1ef7cb9e479491afd1dc270680d108e7ece82b27be30bb4f958d4d218ac7d4497dcc749da25437f62119003866dcdeafcb6cea843dcbe1e diff --git a/sys-apps/xdg-dbus-proxy/files/xdg-dbus-proxy-0.1.2-missing-TEMP_FAILURE_RETRY.patch b/sys-apps/xdg-dbus-proxy/files/xdg-dbus-proxy-0.1.2-missing-TEMP_FAILURE_RETRY.patch new file mode 100644 index 0000000..3e18d1b --- /dev/null +++ b/sys-apps/xdg-dbus-proxy/files/xdg-dbus-proxy-0.1.2-missing-TEMP_FAILURE_RETRY.patch @@ -0,0 +1,22 @@ +https://github.com/flatpak/flatpak/issues/618 +diff --git a/dbus-proxy.c b/dbus-proxy.c +index 163df21..99090e1 100644 +--- a/dbus-proxy.c ++++ b/dbus-proxy.c +@@ -31,6 +31,16 @@ + + #include "flatpak-proxy.h" + ++/* taken from glibc unistd.h and fixes musl */ ++#ifndef TEMP_FAILURE_RETRY ++#define TEMP_FAILURE_RETRY(expression) \ ++ (__extension__ \ ++ ({ long int __result; \ ++ do __result = (long int) (expression); \ ++ while (__result == -1L && errno == EINTR); \ ++ __result; })) ++#endif ++ + static const char *argv0; + static GList *proxies; + static int sync_fd = -1; diff --git a/sys-apps/xdg-dbus-proxy/metadata.xml b/sys-apps/xdg-dbus-proxy/metadata.xml new file mode 100644 index 0000000..996e7ca --- /dev/null +++ b/sys-apps/xdg-dbus-proxy/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.2.ebuild b/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.2.ebuild new file mode 100644 index 0000000..6239ed5 --- /dev/null +++ b/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Filtering proxy for D-Bus connections" +HOMEPAGE="https://github.com/flatpak/xdg-dbus-proxy" +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + virtual/pkgconfig +" +PATCHES=( + "${FILESDIR}/${P}-missing-TEMP_FAILURE_RETRY.patch" +) + +src_configure() { + econf --enable-man +}