mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
community/xdg-dbus-proxy: new aport
Filtering proxy for D-Bus connections https://github.com/flatpak/xdg-dbus-proxy/ Needed by webkit2gtk j# ../../main/s390x-use-elf-gdb_fpregset_t.patch
This commit is contained in:
parent
58c10f30a1
commit
91ba9be2ce
36
community/xdg-dbus-proxy/APKBUILD
Normal file
36
community/xdg-dbus-proxy/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname="xdg-dbus-proxy"
|
||||
pkgver="0.1.1"
|
||||
pkgrel=0
|
||||
pkgdesc="Filtering proxy for D-Bus connections"
|
||||
url="https://github.com/flatpak/xdg-dbus-proxy/"
|
||||
arch="all"
|
||||
license="LGPL-2.1-or-later"
|
||||
depends="dbus"
|
||||
makedepends="glib-dev docbook-xsl libxslt"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://github.com/flatpak/xdg-dbus-proxy/releases/download/$pkgver/xdg-dbus-proxy-$pkgver.tar.xz
|
||||
musl-fix.patch" # https://github.com/flatpak/flatpak/issues/618
|
||||
builddir="$srcdir/xdg-dbus-proxy-$pkgver"
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="30917de338c596f9728eece0858675f82e7d410cea862840e6818209beeaf2f42d85d59e9019d667fcb30db0987e439b36ecd81168ef4c3f998c560e12ddd348 xdg-dbus-proxy-0.1.1.tar.xz
|
||||
aa3d8494e7d59079f14a8352b2062e8b67409ce452d1eeadebbbcf444a876ebbafd722146fbaf6c9258d19991ed50988655a8314993b1fe83f5c7b63e0847878 musl-fix.patch"
|
||||
22
community/xdg-dbus-proxy/musl-fix.patch
Normal file
22
community/xdg-dbus-proxy/musl-fix.patch
Normal file
@ -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;
|
||||
Loading…
x
Reference in New Issue
Block a user