Github messages for voidlinux
 help / color / mirror / Atom feed
From: Gottox <Gottox@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] iio-sensor-proxy: move daemon back to /usr/bin; fix tests
Date: Thu, 07 Oct 2021 11:16:46 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33399@inbox.vuxu.org> (raw)

[-- 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
 }

             reply	other threads:[~2021-10-07  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07  9:16 Gottox [this message]
2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33399@inbox.vuxu.org \
    --to=gottox@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).