all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#37367] [PATCH 0/3] Add learn-to-type programs
@ 2019-09-10  9:50 Efraim Flashner
  2019-09-10  9:52 ` [bug#37367] [PATCH 1/3] gnu: Add klavaro Efraim Flashner
  2019-09-16 12:05 ` bug#37367: [PATCH 0/3] Add learn-to-type programs Efraim Flashner
  0 siblings, 2 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-09-10  9:50 UTC (permalink / raw)
  To: 37367

I was looking for a learn-to-type program for my daughter and I found
klavaro and ktouch. Of the two I think I like ktouch better, but in any
case here they are.

Efraim Flashner (3):
  gnu: Add klavaro.
  gnu: Add kqtquickcharts.
  gnu: Add ktouch.

 gnu/packages/education.scm | 101 ++++++++++++++++++++++++++++++++++++-
 gnu/packages/kde.scm       |  24 +++++++++
 2 files changed, 124 insertions(+), 1 deletion(-)

-- 
2.23.0

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

* [bug#37367] [PATCH 1/3] gnu: Add klavaro.
  2019-09-10  9:50 [bug#37367] [PATCH 0/3] Add learn-to-type programs Efraim Flashner
@ 2019-09-10  9:52 ` Efraim Flashner
  2019-09-10  9:52   ` [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts Efraim Flashner
  2019-09-10  9:52   ` [bug#37367] [PATCH 3/3] gnu: Add ktouch Efraim Flashner
  2019-09-16 12:05 ` bug#37367: [PATCH 0/3] Add learn-to-type programs Efraim Flashner
  1 sibling, 2 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-09-10  9:52 UTC (permalink / raw)
  To: 37367

* gnu/packages/education.scm (klavaro): New variable.
---
 gnu/packages/education.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 240fc4acd8..0ec1de7b75 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;;
@@ -520,3 +520,30 @@ minutes.  For simpler timetables, it may take a shorter time, under
 difficult timetables, it may take a longer time, a matter of hours.")
     (license license:agpl3+)))
 
+(define-public klavaro
+  (package
+    (name "klavaro")
+    (version "3.09")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://sourceforge/klavaro/klavaro-"
+                            version ".tar.bz2"))
+        (sha256
+         (base32
+          "12gml7h45b1w9s318h0d5wxw92h7pgajn2kh57j0ak9saq0yb0wr"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("cairo" ,cairo)
+       ("curl" ,curl)
+       ("gtk+" ,gtk+)
+       ("pango" ,pango)))
+    (home-page "https://klavaro.sourceforge.io/en/index.html")
+    (synopsis "Touch typing tutor")
+    (description
+     "Klavaro is a simple tutor to teach correct typing, almost independently of
+language and very flexible regarding to new or unknown keyboard layouts.")
+    (license license:gpl3+)))
-- 
2.23.0

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

* [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts.
  2019-09-10  9:52 ` [bug#37367] [PATCH 1/3] gnu: Add klavaro Efraim Flashner
@ 2019-09-10  9:52   ` Efraim Flashner
  2019-09-16  8:33     ` Ludovic Courtès
  2019-09-10  9:52   ` [bug#37367] [PATCH 3/3] gnu: Add ktouch Efraim Flashner
  1 sibling, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2019-09-10  9:52 UTC (permalink / raw)
  To: 37367

* gnu/packages/kde.scm (kqtquickcharts): New variable.
---
 gnu/packages/kde.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index f2261f7f98..c80da7d796 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -602,3 +602,27 @@ communicate with each other.  Here's a few things KDE Connect can do:
 @end enumerate")
     (properties `((upstream-name . "kdeconnect-kde")))
     (license (list license:gpl2 license:gpl3)))) ; dual licensed
+
+(define-public kqtquickcharts
+  (package
+    (name "kqtquickcharts")
+    (version "19.08.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://kde/stable/applications/"
+                            version "/src/kqtquickcharts-" version ".tar.xz"))
+        (sha256
+         (base32
+          "1j3rivvh4sa94lsd0hi4xfvcikl05zrqd7634wxyaxs718ais6dg"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)))
+    (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
+    (synopsis "Interactive charts for Qt Quick")
+    (description
+     "A QtQuick plugin to render beautiful and interactive charts.")
+    (license license:lgpl2.1+)))
-- 
2.23.0

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

* [bug#37367] [PATCH 3/3] gnu: Add ktouch.
  2019-09-10  9:52 ` [bug#37367] [PATCH 1/3] gnu: Add klavaro Efraim Flashner
  2019-09-10  9:52   ` [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts Efraim Flashner
@ 2019-09-10  9:52   ` Efraim Flashner
  1 sibling, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-09-10  9:52 UTC (permalink / raw)
  To: 37367

* gnu/packages/education.scm (ktouch): New variable.
---
 gnu/packages/education.scm | 72 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 0ec1de7b75..3181746282 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -36,6 +36,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages javascript)
+  #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -547,3 +548,74 @@ difficult timetables, it may take a longer time, a matter of hours.")
      "Klavaro is a simple tutor to teach correct typing, almost independently of
 language and very flexible regarding to new or unknown keyboard layouts.")
     (license license:gpl3+)))
+
+(define-public ktouch
+  (package
+    (name "ktouch")
+    (version "19.08.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://kde/stable/applications/"
+                            version "/src/ktouch-" version ".tar.xz"))
+        (sha256
+         (base32
+          "19rdk94pls75hdvx11hnfk3qpm6l28p9q45q5f04sknxagrfaznr"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:modules ((guix build cmake-build-system)
+                  (guix build qt-utils)
+                  (guix build utils))
+       #:imported-modules (,@%cmake-build-system-modules
+                            (guix build qt-utils))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'configure 'patch-makefiles
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((qtdec (assoc-ref inputs "qtdeclarative")))
+               (substitute* '("src/CMakeFiles/ktouch_autogen.dir/build.make"
+                              "src/CMakeFiles/ktouch.dir/build.make")
+                 (("/gnu/store/.*qmlcachegen")
+                  (string-append qtdec "/bin/qmlcachegen"))))
+             #t))
+         (add-after 'install 'wrap-executable
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (wrap-qt-program out "ktouch"))
+             #t)))))
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("kcmutils" ,kcmutils)
+       ("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kdeclarative" ,kdeclarative)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kitemviews" ,kitemviews)
+       ("kqtquickcharts" ,kqtquickcharts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("libxcb" ,libxcb)
+       ("libxkbfile" ,libxkbfile)
+       ("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtgraphicaleffects" ,qtgraphicaleffects)
+       ("qtquickcontrols2" ,qtquickcontrols2)
+       ("qtx11extras" ,qtx11extras)
+       ("qtxmlpatterns" ,qtxmlpatterns)))
+    (home-page "https://edu.kde.org/ktouch/")
+    (synopsis "Touch typing tutor")
+    (description
+     "KTouch is an aid for learning how to type with speed and accuracy.  It
+provides a sample text to type and indicates which fingers should be used for
+each key.  A collection of lessons are included for a wide range of different
+languages and keyboard layouts, and typing statistics are used to dynamically
+adjust the level of difficulty.")
+    (license license:gpl2)))
-- 
2.23.0

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

* [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts.
  2019-09-10  9:52   ` [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts Efraim Flashner
@ 2019-09-16  8:33     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-09-16  8:33 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 37367

Hello Efraim,

Efraim Flashner <efraim@flashner.co.il> skribis:

> +    (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
> +    (synopsis "Interactive charts for Qt Quick")
> +    (description
> +     "A QtQuick plugin to render beautiful and interactive charts.")

Nitpick: please write a full sentence here.

Other than that the 3 patches LGTM, thanks!

Ludo’.

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

* bug#37367: [PATCH 0/3] Add learn-to-type programs
  2019-09-10  9:50 [bug#37367] [PATCH 0/3] Add learn-to-type programs Efraim Flashner
  2019-09-10  9:52 ` [bug#37367] [PATCH 1/3] gnu: Add klavaro Efraim Flashner
@ 2019-09-16 12:05 ` Efraim Flashner
  1 sibling, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-09-16 12:05 UTC (permalink / raw)
  To: 37367-done

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

patches pushed

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-09-16 12:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-10  9:50 [bug#37367] [PATCH 0/3] Add learn-to-type programs Efraim Flashner
2019-09-10  9:52 ` [bug#37367] [PATCH 1/3] gnu: Add klavaro Efraim Flashner
2019-09-10  9:52   ` [bug#37367] [PATCH 2/3] gnu: Add kqtquickcharts Efraim Flashner
2019-09-16  8:33     ` Ludovic Courtès
2019-09-10  9:52   ` [bug#37367] [PATCH 3/3] gnu: Add ktouch Efraim Flashner
2019-09-16 12:05 ` bug#37367: [PATCH 0/3] Add learn-to-type programs Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.