Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] iio-sensor-proxy: move daemon back to /usr/bin; fix tests
@ 2021-10-07  9:16 Gottox
  2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox
  0 siblings, 1 reply; 2+ messages in thread
From: Gottox @ 2021-10-07  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

There is a new pull request by Gottox against master on the void-packages repository

https://github.com/Gottox/void-packages iio-sensor-proxy-fix-install-dir
https://github.com/void-linux/void-packages/pull/33399

iio-sensor-proxy: move daemon back to /usr/bin; fix tests
This fixes an issue where the sv service war unable to start. Also while at it, I fixed the tests for this package.

A patch file from https://github.com/void-linux/void-packages/pull/33399.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-iio-sensor-proxy-fix-install-dir-33399.patch --]
[-- Type: text/x-diff, Size: 1417 bytes --]

From 08d8cd11f1c0197575e932a02626b87c28a617df Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Thu, 7 Oct 2021 10:52:40 +0200
Subject: [PATCH] iio-sensor-proxy: move daemon back to /usr/bin; fix tests

---
 srcpkgs/iio-sensor-proxy/template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iio-sensor-proxy/template b/srcpkgs/iio-sensor-proxy/template
index e5f9af8aeca5..ebd13471e6f8 100644
--- a/srcpkgs/iio-sensor-proxy/template
+++ b/srcpkgs/iio-sensor-proxy/template
@@ -1,11 +1,12 @@
 # Template file for 'iio-sensor-proxy'
 pkgname=iio-sensor-proxy
 version=3.1
-revision=1
+revision=2
 build_style=meson
 configure_args="-Dsystemdsystemunitdir=false"
 hostmakedepends="gtk-doc pkg-config git gnome-common autoconf-archive glib-devel libtool"
 makedepends="libgudev-devel gtk+3-devel"
+checkdepends="dbus python3-dbus python3-psutil"
 short_desc="IIO accelerometer sensor to input device proxy"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="GPL-3.0-or-later"
@@ -13,6 +14,10 @@ homepage="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy"
 distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
 checksum=cc594a68707bc0700f073753681da60edfddfbe5088e25d336f265a1eb944b2f
 
+do_check() {
+	dbus-run-session ninja -C build test
+}
 post_install() {
 	vsv iio-sensor-proxy
+	mv $DESTDIR/usr/libexec/* $DESTDIR/usr/bin
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: iio-sensor-proxy: move daemon back to /usr/bin; fix tests
  2021-10-07  9:16 [PR PATCH] iio-sensor-proxy: move daemon back to /usr/bin; fix tests Gottox
@ 2021-10-08 17:50 ` Gottox
  0 siblings, 0 replies; 2+ messages in thread
From: Gottox @ 2021-10-08 17:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

There's a merged pull request on the void-packages repository

iio-sensor-proxy: move daemon back to /usr/bin; fix tests
https://github.com/void-linux/void-packages/pull/33399

Description:
This fixes an issue where the sv service war unable to start. Also while at it, I fixed the tests for this package.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-08 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07  9:16 [PR PATCH] iio-sensor-proxy: move daemon back to /usr/bin; fix tests Gottox
2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).