From 3844166f1c60c4703236deb89012c90bed85481f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 Jul 2020 11:57:59 +0200 Subject: gnu: Add qtspell. * gnu/packages/qt.scm (qtspell): New variable. --- gnu/packages/qt.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 1cbf7991ab..33a952d9c8 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1548,6 +1548,36 @@ the end-user is driving and cannot attend the incoming messages on the phone. In such a scenario, the messaging application can read out the incoming message."))) +(define-public qtspell + (package + (name "qtspell") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/manisandro/qtspell.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1081makirjxixz44ghwz362vgnk5wcks6ni6w01pl667x8wggsd2")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no test + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("enchant" ,enchant) + ("qtbase" ,qtbase))) + (home-page "https://github.com/manisandro/qtspell") + (synopsis "Spell checking for Qt text widgets") + (description + "QtSpell adds spell-checking functionality to Qt's text widgets, +using the Enchant spell-checking library.") + ;; COPYING file specify GPL3, but source code files all refer to GPL2+. + (license license:gpl2+))) + (define-public qtwebengine (package (inherit qtsvg) -- cgit v1.2.3 From 578a1d794b18ca4e67eaa4b85afab3f5a9a874c5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 Jul 2020 11:59:14 +0200 Subject: gnu: qtspell: Add missing module. --- gnu/packages/qt.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 33a952d9c8..dded586a21 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -55,6 +55,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) + #:use-module (gnu packages enchant) #:use-module (gnu packages fontutils) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) -- cgit v1.2.3 From 23f8c10198920e48ce49d2f70bb5edd5d10e83a8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 28 Jul 2020 12:44:54 +0200 Subject: gnu: Update copyright. * gnu/packages/qt.scm: Update copyright. --- gnu/packages/qt.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index dded586a21..4b3af757f9 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus ;;; Copyright © 2017 Quiliro ;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice -;;; Copyright © 2018 Nicolas Goaziou +;;; Copyright © 2018, 2020 Nicolas Goaziou ;;; Copyright © 2018 Hartmut Goebel ;;; Copyright © 2018 Eric Bavier ;;; Copyright © 2019, 2020 Marius Bakke -- cgit v1.2.3 From a0a55309a7aaffecb1dcfadc5daba5e7c7d896e1 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Fri, 31 Jul 2020 10:15:08 +0200 Subject: gnu: qtimageformats: Fix build. Reported by on IRC. * gnu/packages/qt.scm (qtimageformats)[arguments]: Add a 'fix-build phase. Signed-off-by: Mathieu Othacehe --- gnu/packages/qt.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 4b3af757f9..17a2ad1ed6 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2020 Kei Kebreau ;;; Copyright © 2020 TomZ ;;; Copyright © 2020 Jonathan Brielmaier +;;; Copyright © 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -712,6 +713,16 @@ HostData=lib/qt5 '(begin (delete-file-recursively "src/3rdparty") #t)))) + (arguments + (substitute-keyword-arguments (package-arguments qtsvg) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'fix-build + (lambda _ + (substitute* "src/plugins/imageformats/jp2/qjp2handler.cpp" + (("^#include ") + "#include \n#include ")) + #t)))))) (native-inputs `()) (inputs `(("jasper" ,jasper) -- cgit v1.2.3 From 12bb72fb0f8b8c35d46e439ba79f0a3a9f7703db Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 10 Aug 2020 16:37:26 -0400 Subject: gnu: qtserialbus: Add libsocketcan support. * gnu/packages/qt.scm (qtserialbus)[inputs]: Add libsocketcan. [phases]{patch-libsocketcan-reference}: Add phase. --- gnu/packages/qt.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 17a2ad1ed6..25f811ac70 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020 TomZ ;;; Copyright © 2020 Jonathan Brielmaier ;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages maths) + #:use-module (gnu packages networking) #:use-module (gnu packages ninja) #:use-module (gnu packages nss) #:use-module (gnu packages pciutils) @@ -1077,8 +1079,22 @@ interacting with serial ports from within Qt."))) (sha256 (base32 "14bahg82jciciqkl74q9hvf3a8kp3pk5v731vp2416k4b8bn4xqb")))) + (arguments + (substitute-keyword-arguments (package-arguments qtsvg) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'unpack 'patch-libsocketcan-reference + (lambda* (#:key inputs #:allow-other-keys) + (let* ((libcansocket (assoc-ref inputs "libsocketcan")) + (libcansocket.so (string-append libcansocket + "/lib/libsocketcan.so"))) + (substitute* "src/plugins/canbus/socketcan/libsocketcan.cpp" + (("QStringLiteral\\(\"socketcan\"\\)") + (format #f "QStringLiteral(~s)" libcansocket.so))) + #t))))))) (inputs - `(("qtbase" ,qtbase) + `(("libsocketcan" ,libsocketcan) + ("qtbase" ,qtbase) ("qtserialport" ,qtserialport))) (synopsis "Qt Serial Bus module") (description "The Qt Serial Bus API provides classes and functions to -- cgit v1.2.3