unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34511] Add qtcolorwidgets
@ 2019-02-17  9:47 pkill9
  2019-02-17 11:18 ` bug#34511: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: pkill9 @ 2019-02-17  9:47 UTC (permalink / raw)
  To: 34511

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-qtcolorwidgets.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-qtcolorwidgets.patch", Size: 1626 bytes --]

From 33d629801822ce2f3967f61a38ffe91205ea19bf Mon Sep 17 00:00:00 2001
From: Pkill -9 <pkill9@runbox.com>
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


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

* bug#34511: Add qtcolorwidgets
  2019-02-17  9:47 [bug#34511] Add qtcolorwidgets pkill9
@ 2019-02-17 11:18 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2019-02-17 11:18 UTC (permalink / raw)
  To: pkill9; +Cc: 34511-done

<pkill9@runbox.com> 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 <pkill9@runbox.com>
> 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

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

end of thread, other threads:[~2019-02-17 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-17  9:47 [bug#34511] Add qtcolorwidgets pkill9
2019-02-17 11:18 ` bug#34511: " Ricardo Wurmus

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).