From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id bAFCObtya2GXgAEAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 02:47:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OHNNNLtya2H7SQAA1q6Kng (envelope-from ) for ; Sun, 17 Oct 2021 00:47:55 +0000 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 4341434266 for ; Sun, 17 Oct 2021 02:47:55 +0200 (CEST) Received: from localhost ([::1]:45060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbuLB-0001Gl-W2 for larch@yhetil.org; Sat, 16 Oct 2021 20:47:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbuKM-0001GZ-G4 for guix-patches@gnu.org; Sat, 16 Oct 2021 20:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbuKM-0004Gn-6j for guix-patches@gnu.org; Sat, 16 Oct 2021 20:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbuKM-0007Mz-30 for guix-patches@gnu.org; Sat, 16 Oct 2021 20:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51245] [PATCH] gnu: Add openhmd. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Oct 2021 00:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51245 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51245@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163443159428294 (code B ref -1); Sun, 17 Oct 2021 00:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2021 00:46:34 +0000 Received: from localhost ([127.0.0.1]:43280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbuJp-0007ME-4R for submit@debbugs.gnu.org; Sat, 16 Oct 2021 20:46:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:48468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbuJn-0007M5-6A for submit@debbugs.gnu.org; Sat, 16 Oct 2021 20:46:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbuJm-0001Eh-Sk for guix-patches@gnu.org; Sat, 16 Oct 2021 20:46:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbuJk-0003bt-GP for guix-patches@gnu.org; Sat, 16 Oct 2021 20:46:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id F17F4240026 for ; Sun, 17 Oct 2021 02:46:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634431580; bh=pcicaGlCf6ao4aTxeXYne2ZQoRPYyQfzbwLPgBgPCFc=; h=From:To:Cc:Subject:Date:From; b=pZru+EeH2jO9aPjWAuQSm/WEGvOj2P4zJdTBa9zPXHVY/IWNLlhYJA0ax+UnPo1J1 U7WyFspTCvZicZ8XZbk6CWYwLTQU7UqbeqnpSzLFE1nG8Sj3WgCzHvAQwC0hcgAxj6 DQv6HYnPM8vuelUzKgH3MSue8+/eBzv+Bf2XliirTzxxka7o5jbsXOeEFhfICHBY0k w5j3RUutU5wx7c5zudygl6+KGQ5BZr0DqiToS9o6e5Wmr56sBg8QgZ2UFNm5C+nkA4 wIGpI9F+LL3Y+GfOz56Csg/IiqgZue6PuNw+xlimNW6SMS4X3pNey/3z10b9GCaQVx KqSYGeOvRQw7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HX1XV6gpRz6tm9; Sun, 17 Oct 2021 02:46:18 +0200 (CEST) From: Vinicius Monego Date: Sun, 17 Oct 2021 00:45:06 +0000 Message-Id: <20211017004506.337650-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634431675; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DB/F1HoXmchR+V9QvNyL9b9CA4kPtyKasGRnakhKKbw=; b=Nh0lKkp8+cg/xzaddBJ49yUGhqCvIIDtxStddTOO9fSoBhwPHKwI6EL5DcyF9cTWYlw9av ZKSq+2aUvbZRGh5Y3kigfc9isNl+v+ncrHJXbZdgFB99meiA2P1tWe6VMUPOByGTjgux1v f78SfHQikO96obIBEDXk3XhHZPbMOW2LiG6YEKaosvTDxNwVRgD7NqG1yvZPFRErA880wS iP7nCbbbgSm8un605B8t2s7e+5ixQduFDMmxNT02G3gsAkcdP8WP2m8Yy26lbEDLFzvbAe HPfmMwbs2OIX6x6WUfxPztJRi/0iS7+pz0JGKnf0LuXrupSApv1lBQ/2316mSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634431675; a=rsa-sha256; cv=none; b=u0ZMo4etGLDJNXdqWJce0WLagCZZAnApEk520TpbMEQWSaaq2ji8QdC+w7ledijOiIYeIi 0bLDjCPhQiXW/lh8BuNQBrY2IoplcI5szBVMFLCtuWpYT2ZmyrhWjxPSUY3TvtGIWIbS8u edsb9zGCmyd5r2FrXzHgbR96eV2YFi9LjJc7rVgGXh9+ugfTMkYTMwlm7UgtmNpiR5DpQQ jUHRAXM6jyxW96lvOnb9e9mKROTslwDCz49KATZbjLFd5l53QYo9TsOrfssBLzPSqsywKp GNMKoI6ht9tmACpo03u+kqyy879cpCSCb0e4m6XDRLP2JJ4gpW1RPLETXiQFZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pZru+EeH; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pZru+EeH; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4341434266 X-Spam-Score: -1.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: K6MQKJpkz3RZ * gnu/packages/hardware.scm (openhmd): New variable. --- gnu/packages/hardware.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index d000ab8ce6..f25b7ae9c0 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2021 Denis Carikli ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,6 +60,7 @@ #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix git-download) @@ -569,6 +571,32 @@ MSR addresses differ (greatly) between processors, and any such modification can be dangerous and may void your CPU or system board's warranty.") (license license:gpl2))) ; cpuid.c is gpl2, {rd,wr}msr.c are gpl2+ +(define-public openhmd + (package + (name "openhmd") + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenHMD/OpenHMD") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hkpdl4zgycag5k8njvqpx01apxmm8m8pvhlsxgxpqiqy9a38ccg")))) + (build-system meson-build-system) + (arguments + `(#:tests? #f)) ; no test target although there is a test folder + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("hidapi" ,hidapi))) + (home-page "http://www.openhmd.net/") + (synopsis "API and drivers for immersive technology") + (description "OpenHMD aims to provide an API and drivers for immersive +technology, such as head mounted displays with built in head tracking.") + (license license:boost1.0))) + (define-public wavemon (package (name "wavemon") -- 2.30.2