unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32011] [PATCH] gnu: Add ddcutil.
@ 2018-06-29 18:58 Tobias Geerinckx-Rice
  2018-07-02 15:40 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-06-29 18:58 UTC (permalink / raw)
  To: 32011

* gnu/packages/linux.scm (ddcutil): New public variable.
---

Guix, Maxim,

Here's a little tool that might help some people control their monitors.

Kind regards,

T G-R

 gnu/packages/linux.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 50f90e165..641a2fe2f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -675,6 +675,48 @@ The Discordian calendar was made popular by the \"Illuminatus!\" trilogy
 by Robert Shea and Robert Anton Wilson.")
     (license license:public-domain)))
 
+(define-public ddcutil
+  (package
+    (name "ddcutil")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.ddcutil.com/tarballs/"
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1b4bm3zhk5vnad6fxf0mn8nrlj3fngifl7nzxgxw0n56hlv7ccv0"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("eudev" ,eudev)
+       ("glib" ,glib)
+       ("libdrm" ,libdrm)               ; enhanced diagnostics
+       ("libusb" ,libusb)               ; support USB monitors
+       ("libx11" ,libx11)               ; enhanced diagnostics
+       ("libxrandr" ,libxrandr)
+       ("zlib" ,zlib)))
+    (home-page "https://www.ddcutil.com/")
+    (synopsis "Control external monitor settings")
+    (description
+     "ddcutil can query and modify most external monitors' settings, such as
+brightness, colour levels, and input sources.  Generally speaking, any setting
+that can be changed by pressing buttons on the monitor can be modified by
+ddcutil.
+
+ddcutil communicates directly with monitors implementing the Monitor Control
+Command Set (@dfn{MCCS}).  It usually does so through the the Display Data
+Channel Command Interface (@dfn{DDC/CI}) protocol on the I2C bus, but can also
+communicate over USB as per the USB Monitor Control Class Specification.
+
+One particular use case is in colour profile management.  Monitor calibration
+is relative to the monitor colour settings currently in effect, e.g. red gain.
+ddcutil allows colour-related settings to be saved at the time a monitor is
+calibrated, and restored when the calibration is applied.")
+    (license (list license:bsd-3        ; FindDDCUtil.cmake
+                   license:gpl2+))))    ; everything else
+
 (define-public procps
   (package
     (name "procps")
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-31  1:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-29 18:58 [bug#32011] [PATCH] gnu: Add ddcutil Tobias Geerinckx-Rice
2018-07-02 15:40 ` Ludovic Courtès
2018-08-30 12:59   ` Maxim Cournoyer
2018-08-30 13:28     ` Tobias Geerinckx-Rice
2018-08-30 13:56       ` Tobias Geerinckx-Rice
2018-08-30 18:02       ` bug#32011: " Tobias Geerinckx-Rice
2018-08-31  1:12         ` [bug#32011] " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).