GNU bug report logs -
#48989
[PATCH] gnu: Add ddcui.
Previous Next
Reported by: Brice Waegeneire <brice <at> waegenei.re>
Date: Sat, 12 Jun 2021 22:17:02 UTC
Severity: normal
Tags: patch
Done: Brice Waegeneire <brice <at> waegenei.re>
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 48989 in the body.
You can then email your comments to 48989 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#48989
; Package
guix-patches
.
(Sat, 12 Jun 2021 22:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 12 Jun 2021 22:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/hardware.scm (ddcui): New variable.
---
gnu/packages/hardware.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ecbcca79b1..54370c928e 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -43,11 +43,13 @@
#:use-module (gnu packages polkit)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -100,6 +102,36 @@ calibrated, and restored when the calibration is applied.")
(license (list license:bsd-3 ; FindDDCUtil.cmake
license:gpl2+)))) ; everything else
+(define-public ddcui
+ (package
+ (name "ddcui")
+ (version "0.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rockowitz/ddcui")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0myma1zw6dlygv3xbin662d91zcnwss10syf12q2fppkrd8qdgqf"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f)) ; No test suite
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("qttools" ,qttools)))
+ (inputs
+ `(("ddcutil" ,ddcutil)
+ ("glib" ,glib)
+ ("qtbase" ,qtbase)))
+ (home-page "https://www.ddcutil.com/")
+ (synopsis "Graphical user interface for ddcutil")
+ (description "ddcui is a graphical user interface for ddcutil, implemented
+using Qt. It provide a dynamic way to inspect and configure external monitors
+through the Display Data Channel Command Interface (@dfn{DDC/CI}) protocol.")
+ (license (list license:gpl2+))))
+
(define-public edid-decode
(let ((commit "74b64180d67bb009d8d9ea1b6f18ad41aaa16396") ; 2020-04-22
(revision "1"))
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48989
; Package
guix-patches
.
(Fri, 18 Jun 2021 12:30:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 48989 <at> debbugs.gnu.org (full text, mbox):
Hello Brice,
> * gnu/packages/hardware.scm (ddcui): New variable.
Building this package fails with the following error on my machine:
--8<---------------cut here---------------start------------->8---
CMake Error at CMakeLists.txt:45 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of
the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/tmp/guix-build-ddcui-0.1.2.drv-0/build/CMakeFiles/CMakeOutput.log".
command "cmake" "../source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/jfrs3l9lwyaznml9kqzcnpy64gabyad9-ddcui-0.1.2" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/jfrs3l9lwyaznml9kqzcnpy64gabya1
builder for `/gnu/store/i4raw95kpbvdarj48f1iirq0yk0m35gr-ddcui-0.1.2.drv' failed with exit code 1
build of /gnu/store/i4raw95kpbvdarj48f1iirq0yk0m35gr-ddcui-0.1.2.drv failed
View build log at '/var/log/guix/drvs/i4/raw95kpbvdarj48f1iirq0yk0m35gr-ddcui-0.1.2.drv.bz2'.
guix build: error: build of `/gnu/store/i4raw95kpbvdarj48f1iirq0yk0m35gr-ddcui-0.1.2.drv' failed
--8<---------------cut here---------------end--------------->8---
Any idea why?
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48989
; Package
guix-patches
.
(Sun, 20 Jun 2021 07:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 48989 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/hardware.scm (ddcui): New variable.
---
gnu/packages/hardware.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
In master, qtbase was updated to version 6, so I replaced 'qtbase' input
with 'qtbase-5'. It build correctly again on my side.
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ecbcca79b1..f0a72e8752 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -43,11 +43,13 @@
#:use-module (gnu packages polkit)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -100,6 +102,36 @@ calibrated, and restored when the calibration is applied.")
(license (list license:bsd-3 ; FindDDCUtil.cmake
license:gpl2+)))) ; everything else
+(define-public ddcui
+ (package
+ (name "ddcui")
+ (version "0.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rockowitz/ddcui")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0myma1zw6dlygv3xbin662d91zcnwss10syf12q2fppkrd8qdgqf"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f)) ; No test suite
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("qttools" ,qttools)))
+ (inputs
+ `(("ddcutil" ,ddcutil)
+ ("glib" ,glib)
+ ("qtbase" ,qtbase-5)))
+ (home-page "https://www.ddcutil.com/")
+ (synopsis "Graphical user interface for ddcutil")
+ (description "ddcui is a graphical user interface for ddcutil, implemented
+using Qt. It provide a dynamic way to inspect and configure external monitors
+through the Display Data Channel Command Interface (@dfn{DDC/CI}) protocol.")
+ (license (list license:gpl2+))))
+
(define-public edid-decode
(let ((commit "74b64180d67bb009d8d9ea1b6f18ad41aaa16396") ; 2020-04-22
(revision "1"))
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#48989
; Package
guix-patches
.
(Tue, 29 Jun 2021 17:05:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 48989 <at> debbugs.gnu.org (full text, mbox):
Hey,
> In master, qtbase was updated to version 6, so I replaced 'qtbase' input
> with 'qtbase-5'. It build correctly again on my side.
Same here, feel free to proceed!
Thanks,
Mathieu
Reply sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
You have taken responsibility.
(Sat, 03 Jul 2021 16:00:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
bug acknowledged by developer.
(Sat, 03 Jul 2021 16:00:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 48989-done <at> debbugs.gnu.org (full text, mbox):
Mathieu Othacehe <othacehe <at> gnu.org> writes:
> Same here, feel free to proceed!
Thanks, pushed as 9c1720591caf8fafa8e4336a291b9b47c2ddc7e2.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Aug 2021 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.