From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QWGeHu4fImH5YwEAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 11:59:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oE2tGe4fImGXEwAAbx9fmQ (envelope-from ) for ; Sun, 22 Aug 2021 09:59:10 +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 0759A14FC9 for ; Sun, 22 Aug 2021 11:59:10 +0200 (CEST) Received: from localhost ([::1]:45080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHkFx-0005Tr-5J for larch@yhetil.org; Sun, 22 Aug 2021 05:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHkFq-0005Tg-KV for guix-patches@gnu.org; Sun, 22 Aug 2021 05:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHkFq-0000xq-Cx for guix-patches@gnu.org; Sun, 22 Aug 2021 05:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHkFq-0002Hw-BV for guix-patches@gnu.org; Sun, 22 Aug 2021 05:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50157] [PATCH] gnu: Add xpadneo. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Aug 2021 09:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50157 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Prikler , 50157@debbugs.gnu.org Received: via spool by 50157-submit@debbugs.gnu.org id=B50157.16296263238771 (code B ref 50157); Sun, 22 Aug 2021 09:59:02 +0000 Received: (at 50157) by debbugs.gnu.org; 22 Aug 2021 09:58:43 +0000 Received: from localhost ([127.0.0.1]:38210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHkFW-0002HO-T5 for submit@debbugs.gnu.org; Sun, 22 Aug 2021 05:58:43 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:58172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHkFU-0002HG-K2 for 50157@debbugs.gnu.org; Sun, 22 Aug 2021 05:58:41 -0400 Received: from butterfly.local ([188.188.251.166]) by baptiste.telenet-ops.be with bizsmtp id kZye250043c9yoU01ZyfCu; Sun, 22 Aug 2021 11:58:39 +0200 Message-ID: <38410a183350db8ffcf597b9fd1866a269333a05.camel@telenet.be> From: Maxime Devos Date: Sun, 22 Aug 2021 11:58:37 +0200 In-Reply-To: <20210821220053.31441-1-leo.prikler@student.tugraz.at> References: <20210821220053.31441-1-leo.prikler@student.tugraz.at> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-v6w/lXcBisASlp36ZC0L" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629626319; bh=eX0v/OhYEpuqwGjo9lU5MZ2bzbz6iKuiwu16kp17VhM=; h=Subject:From:To:Date:In-Reply-To:References; b=vRl1iDcaNlNVYi+BnKQi2lXEJt8pObaDgtNY70YpmVv7wr9Q5lgu1s87qK+WaY0p+ pYX4vrHmjBERRdOo+3QSiVNG6dad+ViMgHrGFHxbi681et+Q7mNbLU7vrj23EDq5WL 6kq+s8kbIqH6z7LN2xKWzY5PHqdMP0zIgJ3ZxuTrM6e7Wf2tSrJPYTzUVFhYjCnW9Z BZe2QvxUYDpw6Y3ZEOoCkY9a7FK/Rcwch2QNKjaOhFMwVV2zs/uCF7erwbq9u0d4ra c1gIl/HoVmD6lNt3m3hnlim3VsQEZuxIWYfgbzDUTXeZjmIpkyW34YkxSKqlBSTyVy n6wt+w1gLJlPA== 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=1629626350; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=eX0v/OhYEpuqwGjo9lU5MZ2bzbz6iKuiwu16kp17VhM=; b=npGHZ2jXv+3Nk8sAlYW7lTZ7zWL4SfudtzASycyyd4i17+AJ6VXdUimPqLU3+q6Bti29GA ISHlFNrTl4oytbayBc/EJimJdfwkS/+4359BSFY7EbaiHPoLnASOiH7yKpXoEnSrSQjlNo k38XUBGebSfg3aWLdzgLgbJv3lPt2q4WdlVJWG/BEoZn5ftr+i/kPJD5XRFxZkXeJbSHbC 1GfhTN9CehyX0UJwKAhheID4QAbuRYjp+bV+/1FpK/JhLbl4uNuPf1bZdvP4mimCriFJYP O3Q0ZAd7Odgqx1JeepEvGHzCgRilQ2cy4WwK2d7J6/MKZnEwQmbYQN01fHY3/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629626350; a=rsa-sha256; cv=none; b=qLKNjzeVvMoC4CAjYro1tiZzwoNW0PRGCPP3yBGIqDCzmU5uLsts0Dh0F2SToClLM/fngU x3gkLjhkGcgwCcGk8QTa013J+bs78eILYmxJIFvn3K43OJeCapy5PgrUYA05Ui1lz9m/xK adfPrq2aKIjK+UEd+5PWD0crcX6cfFQbzJcagNGwZw5VvJu/u12EYxygoipbGCdYPwI+wy dx1TU2QdoO6wt/mSoNkpCWILF21ipdoO0ekdQLsUGqWE1iA60bRTlhC/LThN5092f+d5zB P6JloJZIOHoNxmYXg/0ilnQYZJwsSvIlJzYZ59tgQ8WVrK5aG7rm9yGXYGx2Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=vRl1iDca; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=vRl1iDca; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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: 0759A14FC9 X-Spam-Score: -3.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: wot2wUnbo3DP --=-v6w/lXcBisASlp36ZC0L Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Leo Prikler schreef op zo 22-08-2021 om 00:00 [+0200]: > * gnu/packages/linux.scm (xpadneo): New variable. > --- > gnu/packages/linux.scm | 52 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) >=20 > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 7b92be4b9c..385cdd558b 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -1505,6 +1505,58 @@ allows some more serious things like adding stream= ing capabilities to an > application by hooking GStreamer into the loopback device.") > (license license:gpl2+))) > =20 > +(define-public xpadneo > + (package > + (name "xpadneo") > + (version "0.9.1") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/atar-axis/xpadneo") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0xr0zx134s56h4ij6c3fh8ki0h58h61minbfxcl3sgpgxkh14ism"))= )) > + (build-system linux-module-build-system) > + (arguments > + `(#:tests? #f ; no `check' target > + #:modules (((guix build copy-build-system) #:prefix copy:) > + (guix build linux-module-build-system) > + (guix build utils)) > + #:imported-modules > + ((guix build copy-build-system) > + ,@%linux-module-build-system-modules) > + #:phases > + (modify-phases %standard-phases > + (replace 'configure > + (lambda args > + (with-directory-excursion "hid-xpadneo/src" > + (apply (assoc-ref %standard-phases 'configure) args)))) > + (replace 'build > + (lambda args > + (with-directory-excursion "hid-xpadneo/src" > + (apply (assoc-ref %standard-phases 'build) args)))) > + (replace 'install > + (lambda args > + (with-directory-excursion "hid-xpadneo/src" > + (apply (assoc-ref %standard-phases 'install) args)))) It might be a bit simpler to add a 'chdir' phase: (add-after 'unpack 'chdir (lambda _ (chdir "hid-xpadneo/src"))) instead of these 'with-directory-excursion'. Greetings, Maxime. --=-v6w/lXcBisASlp36ZC0L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYSIfzRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uuPAP0Y80JTYryJ285S0+QzqeT62okX luM8pHlBd9IAPcodYAEA5KsiWt0dx5p4jLLcjq1xFn362svr5NCLGQYtxey3sww= =0i6E -----END PGP SIGNATURE----- --=-v6w/lXcBisASlp36ZC0L--