GNU bug report logs - #32011
[PATCH] gnu: Add ddcutil.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Fri, 29 Jun 2018 18:59:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32011 in the body.
You can then email your comments to 32011 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Fri, 29 Jun 2018 18:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 29 Jun 2018 18:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add ddcutil.
Date: Fri, 29 Jun 2018 20:58:24 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Mon, 02 Jul 2018 15:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 32011 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 32011 <at> debbugs.gnu.org
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Mon, 02 Jul 2018 17:40:48 +0200
Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:

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

LGTM, and looks like a useful tool!

Note that if this does not rely (directly or indirectly) on
functionality specific to the kernel Linux, it can go elsewhere.

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Thu, 30 Aug 2018 13:01:01 GMT) Full text and rfc822 format available.

Message #11 received at 32011 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 32011 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Thu, 30 Aug 2018 08:59:48 -0400
Hello,

I've been using this for quite some times, it works very well!
I don't know if it relies on Linux specifics, the project only state it
is a "Linux utility", and I couldn't find it packaged on other systems
such as FreeBSD, according to repology.org.

Could someone with the rights please merge it in?

Thank you Tobias!

Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Thu, 30 Aug 2018 13:29:01 GMT) Full text and rfc822 format available.

Message #14 received at 32011 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 32011 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Thu, 30 Aug 2018 15:28:56 +0200
Maxim,

Maxim Cournoyer wrote:
> Hello,
>
> I've been using this for quite some times, it works very well!

\o/

> I don't know if it relies on Linux specifics, the project only 
> state it
> is a "Linux utility", and I couldn't find it packaged on other 
> systems
> such as FreeBSD, according to repology.org.

It probably is. My point was more that many 'modern' packages are, 
either by design or due to lack of developer time or effort, and 
we don't throw them all into linux.scm. Much like how e.g. Borg 
isn't in python.scm. Does that make sense?

> Could someone with the rights please merge it in?

Whoops. Thanks for the reminder!

*Unfurls scroll*

It's on my to-do list...

Kind regards,

T G-R




Information forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Thu, 30 Aug 2018 13:56:02 GMT) Full text and rfc822 format available.

Message #17 received at 32011 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 32011 <at> debbugs.gnu.org
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Thu, 30 Aug 2018 15:56:18 +0200
Tobias Geerinckx-Rice wrote:
> It probably is. My point was more that many 'modern' packages 
> are
> [Linux-only]


...which was in bug #32488, apparently[0], which is not this bug, 
but the point's the same.

Kind regards,

T G-R

[0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32488#8




Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Thu, 30 Aug 2018 18:03:02 GMT) Full text and rfc822 format available.

Notification sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
bug acknowledged by developer. (Thu, 30 Aug 2018 18:03:02 GMT) Full text and rfc822 format available.

Message #22 received at 32011-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 32011-done <at> debbugs.gnu.org
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Thu, 30 Aug 2018 20:02:40 +0200
Guix, Maxim,

Maxim Cournoyer wrote:
> Could someone with the rights please merge it in?

Done in aadd1d241cc9891a857dda9a5cf8389673b3c76c!

Kind regards,

T G-R




Information forwarded to guix-patches <at> gnu.org:
bug#32011; Package guix-patches. (Fri, 31 Aug 2018 01:14:02 GMT) Full text and rfc822 format available.

Message #25 received at 32011-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 32011-done <at> debbugs.gnu.org
Subject: Re: [bug#32011] [PATCH] gnu: Add ddcutil.
Date: Thu, 30 Aug 2018 21:12:58 -0400
Tobias Geerinckx-Rice <me <at> tobias.gr> writes:

> Guix, Maxim,
>
> Maxim Cournoyer wrote:
>> Could someone with the rights please merge it in?
>
> Done in aadd1d241cc9891a857dda9a5cf8389673b3c76c!
>
> Kind regards,
>
> T G-R

Thanks again, Tobias :)

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Sep 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.