emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49455: closed ([PATCH] gnu: add libgpiod)


From: GNU bug Tracking System
Subject: bug#49455: closed ([PATCH] gnu: add libgpiod)
Date: Tue, 20 Jul 2021 20:26:02 +0000

Your message dated Tue, 20 Jul 2021 22:25:19 +0200
with message-id <87wnpkka1c.fsf@gnu.org>
and subject line Re: bug#49455: [PATCH] gnu: add libgpiod
has caused the debbugs.gnu.org bug report #49455,
regarding [PATCH] gnu: add libgpiod
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
49455: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49455
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: add libgpiod Date: Wed, 7 Jul 2021 10:56:39 +0300
---
 gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index da3c8755f6..9c83f1969d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8248,3 +8248,39 @@ Availability and Serviceability} reports from Linux 
kernel trace events.
 These trace events are logged in @file{/sys/kernel/debug/tracing} and reported
 through standard log mechanisms like syslog.")
     (license license:gpl2)))
+
+(define-public libgpiod
+  (package
+    (name "libgpiod")
+    (version "1.6.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+          (git-reference
+            (url "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git";)
+            (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256 (base32 
"0rv8a11hx3pc6sdw6nfc6k35hkp2clb3v53n1381cvip8fzhbsad"))))
+    (build-system gnu-build-system)
+    (arguments
+      `(#:configure-flags
+        '("--enable-tools=yes"
+          "--enable-bindings-cxx"
+          "--enable-bindings-python")))
+    (native-inputs
+      `(("automake" ,automake)
+        ("autoconf" ,autoconf)
+        ("libtool" ,libtool)
+        ("autoconf-archive" ,autoconf-archive)
+        ("pkg-config" ,pkg-config)
+        ("python" ,python-3)))
+    (synopsis "C library and tools for interacting with the linux GPIO 
character device")
+    (description "C library with C++/Python bindings and command line tools
+for interacting with GPIO devices that avoids the usage of older system-wide
+/sys interface.")
+    (home-page "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/";)
+    (license (list license:lgpl2.1+ ;; libgpiod
+                   license:gpl2+    ;; gpio-tools
+                   license:lgpl3+   ;; C++ bindings
+                   ))))
-- 
2.32.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#49455: [PATCH] gnu: add libgpiod Date: Tue, 20 Jul 2021 22:25:19 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Ivan Gankevich <i.gankevich@spbu.ru> skribis:

> +(define-public libgpiod
> +  (package
> +    (name "libgpiod")
> +    (version "1.6.3")

I tweaked the synopsis and description, added a copyright line for you,
adjusted the commit log as per our conventions, and committed.

Thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]