From patchwork Sun Oct 17 00:45:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 33910 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD3CF27BBE3; Sun, 17 Oct 2021 01:47:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 345CF27BBE1 for ; Sun, 17 Oct 2021 01:47:57 +0100 (BST) Received: from localhost ([::1]:45060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbuLD-0001Gl-Tz for patchwork@mira.cbaines.net; Sat, 16 Oct 2021 20:47:55 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")