From e7acb06fed344e862af0e547bbfa6f9d17c49416 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Tue, 7 Oct 2025 07:37:58 +0530 Subject: [PATCH] gnu: ktouch: Move to kde-education.scm. * gnu/packages/education.scm (ktouch): Remove variable. * gnu/packages/kde-education.scm (ktouch): New variable. Change-Id: I693dc37075d0419030d89fc5b09cf4ca2f892c6e --- gnu/packages/education.scm | 49 -------------------------------- gnu/packages/kde-education.scm | 52 +++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 50 deletions(-) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 6e7a55ae4228658d358b95dfa1a3daa3f71a815c..e61ab33e49bb6e76434f8e7dce5d1749183a699e 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -56,7 +56,6 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages image) #:use-module (gnu packages javascript) - #:use-module (gnu packages kde-education) #:use-module (gnu packages kde-frameworks) ; extra-cmake-modules #:use-module (gnu packages linux) #:use-module (gnu packages mp3) @@ -683,54 +682,6 @@ hours.") language and very flexible regarding to new or unknown keyboard layouts.") (license license:gpl3+))) -(define-public ktouch - (package - (name "ktouch") - (version "24.12.3") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" - version "/src/ktouch-" version ".tar.xz")) - (sha256 - (base32 "1sqzm8xf3xaia0b761mgpb2q4gc8yxwhvkzwdvw0spj25irdv7n5")))) - (build-system qt-build-system) - (native-inputs - (list extra-cmake-modules kdoctools-5 pkg-config)) - (inputs - (list kcmutils-5 - kcompletion-5 - kconfig-5 - kconfigwidgets-5 - kcoreaddons-5 - kdeclarative-5 - ki18n-5 - kiconthemes-5 - kitemviews-5 - ktextwidgets-5 - kwidgetsaddons-5 - kwindowsystem-5 - kxmlgui-5 - kqtquickcharts - libxcb - libxkbfile - qtbase-5 - qtdeclarative-5 - qtgraphicaleffects - qtquickcontrols2-5 - qtx11extras - qtxmlpatterns-5)) - (arguments (list #:tests? #f)) - (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))) - (define-public kanatest ;; Latest release tarball is 0.4.8, which is really old and does not build ;; commit on sourceforge are not tagged, we take the latest diff --git a/gnu/packages/kde-education.scm b/gnu/packages/kde-education.scm index 0ebcf6689a04c2b282364551c611b58ef57df935..11e4119073bdfd395edbffcfd432b91fde6a2ef3 100644 --- a/gnu/packages/kde-education.scm +++ b/gnu/packages/kde-education.scm @@ -33,6 +33,7 @@ #:use-module (gnu packages freedesktop) #:use-module (gnu packages geo) #:use-module (gnu packages gps) + #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) #:use-module (gnu packages libreoffice) @@ -45,7 +46,8 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) - #:use-module (gnu packages readline)) + #:use-module (gnu packages readline) + #:use-module (gnu packages xorg)) (define-public kqtquickcharts (package @@ -149,6 +151,54 @@ of 2D and 3D functions and to calculate easy (and not so easy) calculations, such as addition, trigonometric functions or derivatives.") (license license:gpl2+))) +(define-public ktouch + (package + (name "ktouch") + (version "24.12.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" + version "/src/ktouch-" version ".tar.xz")) + (sha256 + (base32 "1sqzm8xf3xaia0b761mgpb2q4gc8yxwhvkzwdvw0spj25irdv7n5")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules kdoctools-5 pkg-config)) + (inputs + (list kcmutils-5 + kcompletion-5 + kconfig-5 + kconfigwidgets-5 + kcoreaddons-5 + kdeclarative-5 + ki18n-5 + kiconthemes-5 + kitemviews-5 + ktextwidgets-5 + kwidgetsaddons-5 + kwindowsystem-5 + kxmlgui-5 + kqtquickcharts + libxcb + libxkbfile + qtbase-5 + qtdeclarative-5 + qtgraphicaleffects + qtquickcontrols2-5 + qtx11extras + qtxmlpatterns-5)) + (arguments (list #:tests? #f)) + (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))) + (define-public labplot (package (name "labplot")