From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EIarDqIClmOSGwEAbAwnHQ (envelope-from ) for ; Sun, 11 Dec 2022 17:17:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +BG/DqIClmPuhQAAauVa8A (envelope-from ) for ; Sun, 11 Dec 2022 17:17:38 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EDE23121BC for ; Sun, 11 Dec 2022 17:17:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4P0k-0004w9-Tg; Sun, 11 Dec 2022 11:17:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4P0i-0004ue-9u for guix-patches@gnu.org; Sun, 11 Dec 2022 11:17:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4P0g-0002SC-FU for guix-patches@gnu.org; Sun, 11 Dec 2022 11:17:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4P0g-00068Y-Al for guix-patches@gnu.org; Sun, 11 Dec 2022 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59948] [PATCH 2/2] gnu: Add iio-sensor-proxy Resent-From: florhizome@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Dec 2022 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59948 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59948@debbugs.gnu.org Cc: florhizome Received: via spool by 59948-submit@debbugs.gnu.org id=B59948.167077538523568 (code B ref 59948); Sun, 11 Dec 2022 16:17:02 +0000 Received: (at 59948) by debbugs.gnu.org; 11 Dec 2022 16:16:25 +0000 Received: from localhost ([127.0.0.1]:46857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4P05-000684-AH for submit@debbugs.gnu.org; Sun, 11 Dec 2022 11:16:25 -0500 Received: from mout02.posteo.de ([185.67.36.66]:49565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4P01-00067i-4V for 59948@debbugs.gnu.org; Sun, 11 Dec 2022 11:16:21 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5BACF240101 for <59948@debbugs.gnu.org>; Sun, 11 Dec 2022 17:16:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670775375; bh=YubLJWb5HWofM3qgrZ0kV43WBkfi8AoBQXsYT7BkNg0=; h=From:To:Cc:Subject:Date:From; b=hKFnpUaCgo67CKep6mUQ/Pa4LZoVXhFiml/yXvy5vy8Xu8iZREb5/Eyd0/JPAFDXN L4ZiqdftjxZcDs7hHHWopEQH+rMKoyE7mtS1gPStToSI630/pDbTvbnjYvDQXgjUU1 9cijyjXyr7+v/BE9rNf4QT9++Zt1sCJ+B24ImUzzEVxu6xNiExV6cGKMAziV0S76bc ZZwrG9ct+dSjMyrvJtNNCqpmvOif9bB+C9db1Ri0e5W6bjqHTZFmu43DdA0NTEm5vQ RTUfb+B/aprofhWhfoeCA7s9YDJMMesu1FxgsKmS9o1qD3V0wOOUg9UXdYg0iLqNHD TBLoFRZuPMThA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NVVHf5pDkz9rxH; Sun, 11 Dec 2022 17:16:14 +0100 (CET) From: florhizome@posteo.net Date: Sun, 11 Dec 2022 16:16:10 +0000 Message-Id: <4c2106193551187473304b07f491b8295db14561.1670775116.git.florhizome@posteo.net> In-Reply-To: <25385f4134fe2e449cb85d140f6b6cf92060bdb0.1670775116.git.florhizome@posteo.net> References: <25385f4134fe2e449cb85d140f6b6cf92060bdb0.1670775116.git.florhizome@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670775458; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tURXYIZjBW3sm7llJtWtRBET2lRBbue23TdhhFZciz8=; b=M+rR/he/R0tpr1cYZqUAk8zlvld3zIbpqf2WwUKQDoZpA6oA0MLLWq6P7LxQVTK5EW2PcK PCZMrdwsmhiM4UNXxTNQxobefqlExi/3nBrUKJr9lCcLe23bnLqjssHnw296hJC+Q4kP6T h3ykVhzbx/zTXzSJd7RLGQqxlzWv7rbVeSongFzCQlaBsZNeD+i6Z+txWChbS/vP5tHNDd q1wtur4EsYjfexyEvYXUqZ0MJ85NRnHUhc8ENIC5p8Rk71gxaQfigz1IzaTBPt+1q7dR8p mjzVggZXbT1PO2pRnTsme0E7PUhGeKkDrPgiwoY8Zn6NQl70h1BYz7pHP3rMyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670775458; a=rsa-sha256; cv=none; b=guT4Ryry3A7wm6ECWCE01bVA1EGT/4R6T7gwJFAHX0TS+3Rl8Xmlrn8ZaI6bGZO6x6F8Dx an4VVFTfV6S7dH49oPBs8tX3CFyxNF/lF4482WPu9f8ihLM3R5ZSygnpo1r5Co78EDF/hv Mcpjirik97NWaARXoWGizQI2CVMKfONw2GezzFgHQ2bNdwfcy5CFqYCwIPtmetM6bVesa3 wjz/6ci12LT2jE14mr4X2DLRWFKWrTSc9M7eWDANIY+zZVq2eE7cZOvULdGI0Q7dOZ2Hqa CLYGOXiDib1oYqD4XpjObDkK1rAK49NDP/nyk99VQ5ub6+sgI8TQyuQmOpDxEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hKFnpUaC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hKFnpUaC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EDE23121BC X-Spam-Score: 6.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: f6gJ0JCgZMLd From: florhizome --- gnu/packages/freedesktop.scm | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 28d0c0722f..d3d66d5209 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2022 Daniel Meißner ;;; Copyright © 2022 muradm ;;; Copyright © 2022 Petr Hodina +;;; Copyright © 2022 florhizome ;;; ;;; This file is part of GNU Guix. ;;; @@ -810,6 +811,56 @@ (define-public elogind of a the system to know what users are logged in, and where.") (license license:lgpl2.1+))) +(define-public iio-sensor-proxy + (package + (name "iio-sensor-proxy") + (version "3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/hadess/iio-sensor-proxy") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zf9kjhngs8k8vpwfiyra60vp4zic6gzs7axw1cd736my9pyhniv")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags + #~(list "-Dsystemdsystemunitdir=false" + (string-append "-Dudevrulesdir=" + #$output "/lib/udev")) + #:glib-or-gtk? #t + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fake-pkexec + (lambda _ + (setenv "PKEXEC_UID" "-1"))) + (add-before 'configure 'correct-polkit-dir + (lambda _ + (substitute* "meson.build" + (("polkit_gobject_dep\\..*") + (string-append "'" #$output "/share/polkit-1/actions'")))))))) + (native-inputs + (list dbus + (list glib "bin") + gobject-introspection + python + python-dbusmock + python-psutil + pkg-config + umockdev)) + (inputs + (list glib libgudev-next polkit)) + (home-page "https://gitlab.freedesktop.org/hadess/iio-sensor-proxy") + (synopsis "Proxies sensor devices to applications through D-Bus") + (description "With a GNOME 3.18 (or newer) based system, orientation changes + will automatically be applied when rotating the panel, ambient light will be + used to change the screen brightness, and GeoClue will be able to read the compass +data to show the direction in Maps.") + (license license:gpl3))) + (define-public basu (package (name "basu") -- 2.38.1