Subject: bug#34511: closed (Re: [bug#34511] Add qtcolorwidgets)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 17 Feb 2019 11:19:01 +0000

Your bug report

#34511: Add qtcolorwidgets

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
34511: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34511
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#34511] Add qtcolorwidgets
From: Ricardo Wurmus <[email-masked]>
To: <[email-masked]>
Cc: [email-masked]
Date: Sun, 17 Feb 2019 12:18:19 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

<[email-masked]> writes:

> This is a QT module that provides color management, e.g. a color wheel. https://gitlab.com/mattia.basaglia/Qt-Color-Widgets
>
> I'm adding this as a dependency for drawpile which I will also submit
> once this package definition is merged. There is unfortunately no
> release available for this, however drawpile bundles it's own copy of
> qtcolorwidgets if it doesn't find one.
>
> From 33d629801822ce2f3967f61a38ffe91205ea19bf Mon Sep 17 00:00:00 2001
> From: Pkill -9 <[email-masked]>
> Date: Sun, 17 Feb 2019 09:42:28 +0000
> Subject: [PATCH] gnu: Add qtcolorwidgets.
>
> * gnu/packages/qt.scm (qtcolorwidgets): New variable.
> ---

Thank you.  I pushed a modified version to the master branch with commit
b16640ac0.

Changes:

- added comments about the lack of a public release
- changed the version string, because “git” is not a valid version string
- wrapped the package definition in a let binding providing the commit and the
  Guix revision
- changed the comment style (margin comments use only one semicolon)
- expanded the description.

~~ Ricardo

Subject: Add qtcolorwidgets
From: <[email-masked]>
To: "guix-patches" <[email-masked]>
Date: Sun, 17 Feb 2019 09:47:11 +0000 (GMT)
List-Id: <debbugs-submit.debbugs.gnu.org>

This is a QT module that provides color management, e.g. a color wheel. https://gitlab.com/mattia.basaglia/Qt-Color-Widgets

I'm adding this as a dependency for drawpile which I will also submit once this package definition is merged. There is unfortunately no release available for this, however drawpile bundles it's own copy of qtcolorwidgets if it doesn't find one.

From 33d629801822ce2f3967f61a38ffe91205ea19bf Mon Sep 17 00:00:00 2001
From: Pkill -9 <[email-masked]>
Date: Sun, 17 Feb 2019 09:42:28 +0000
Subject: [PATCH] gnu: Add qtcolorwidgets.

* gnu/packages/qt.scm (qtcolorwidgets): New variable.
---
 gnu/packages/qt.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 664309cb5..e3296b582 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2232,3 +2232,28 @@ a binding language:
 @item Creating from Singleton QML QObject defined in the binded language
 @end itemize\n")
     (license license:lgpl3)))                    ;version 3 only (+ exception)
+
+(define-public qtcolorwidgets
+  (package
+    (name "qtcolorwidgets")
+    (version "git")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
+                    (commit "a95f72e935fe9e046061a1d1c3930cbfbcb533e0")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0dkiwlqh2gwhlp78c1fmchj3shl4p9inspcl96ya5aa8mn6kydy8"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f)) ;; No tests.
+    (native-inputs
+     `(("qttools" ,qttools)))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (home-page "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
+    (synopsis "Color management widgets")
+    (description "QTColorWidgets provides QT widgets for managing colors.")
+    (license license:lgpl3+)))
-- 
2.20.1