From 58b85483743685c003c9185eef4ab45ec32b6f19 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 1 Oct 2025 21:43:44 +0530 Subject: [PATCH] gnu: kapptemplate: Move to kde-sdk.scm. * gnu/packages/kde.scm (kapptemplate): Remove variable. * gnu/packages/kde-sdk.scm: New file. * gnu/local.mk: Register it. Change-Id: Icfda719fa3e9200cf6e0eae5b944734b832d7a92 --- gnu/local.mk | 1 + gnu/packages/kde-sdk.scm | 69 ++++++++++++++++++++++++++++++++++++++++ gnu/packages/kde.scm | 41 ------------------------ 3 files changed, 70 insertions(+), 41 deletions(-) create mode 100644 gnu/packages/kde-sdk.scm diff --git a/gnu/local.mk b/gnu/local.mk index 151b781ada3bf8efcdc10b47bc56f883d87b30a2..afa5ab32b23784f9fb99f28f24c63544ecbe37dd 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -411,6 +411,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/kde-office.scm \ %D%/packages/kde-pim.scm \ %D%/packages/kde-plasma.scm \ + %D%/packages/kde-sdk.scm \ %D%/packages/kde-systemtools.scm \ %D%/packages/kde-utils.scm \ %D%/packages/kerberos.scm \ diff --git a/gnu/packages/kde-sdk.scm b/gnu/packages/kde-sdk.scm new file mode 100644 index 0000000000000000000000000000000000000000..39eff31af974de4ed5754532293dea3c9ab059c4 --- /dev/null +++ b/gnu/packages/kde-sdk.scm @@ -0,0 +1,69 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Sughosha +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages kde-sdk) + #:use-module (guix build-system qt) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages kde) + #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages qt)) + +(define-public kapptemplate + (package + (name "kapptemplate") + (version "24.12.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/kapptemplate-" version ".tar.xz")) + (sha256 + (base32 "1wiv509y80m6gf891yw55d9429a35axngi922k119zvxfk5641as")))) + (build-system qt-build-system) + (arguments + (list #:qtbase qtbase)) + (native-inputs + (list extra-cmake-modules kdoctools)) + (inputs + (list karchive + kcompletion + kconfigwidgets + kcoreaddons + kirigami-addons + ki18n + kio)) + (home-page "https://apps.kde.org/kapptemplate/") + (synopsis "Factory for easy creation of KDE/Qt components and programs") + (description "KAppTemplate is an application to start development quickly +using existing templates providing basic repeatedly written code and a proper +structure. It features: + +@itemize +@item Templates for C++, Ruby, Python and PHP +@item Categories +@item Templates for different build-systems and frameworks +@item Templates especially for KDE-development (plugins for Plasma, QtQuick + KTextEditor, KRunner, Akonadi) +@item New templates using space holders and a simple CMake-command +@item Integration into KDevelop +@end itemize") + (license license:gpl2+))) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 7981c217a3851884081b67361197a02301c05b6f..53526e5e3dcc1c1d0b12c37920d0d276eba3167a 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -394,47 +394,6 @@ 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 kapptemplate - (package - (name "kapptemplate") - (version "24.12.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" version - "/src/kapptemplate-" version ".tar.xz")) - (sha256 - (base32 "1wiv509y80m6gf891yw55d9429a35axngi922k119zvxfk5641as")))) - (build-system qt-build-system) - (arguments - (list #:qtbase qtbase)) - (native-inputs - (list extra-cmake-modules kdoctools)) - (inputs - (list karchive - kcompletion - kconfigwidgets - kcoreaddons - kirigami-addons - ki18n - kio)) - (home-page "https://apps.kde.org/kapptemplate/") - (synopsis "Factory for easy creation of KDE/Qt components and programs") - (description "KAppTemplate is an application to start development quickly -using existing templates providing basic repeatedly written code and a proper -structure. It features: - -@itemize -@item Templates for C++, Ruby, Python and PHP -@item Categories -@item Templates for different build-systems and frameworks -@item Templates especially for KDE-development (plugins for Plasma, QtQuick - KTextEditor, KRunner, Akonadi) -@item New templates using space holders and a simple CMake-command -@item Integration into KDevelop -@end itemize") - (license license:gpl2+))) - (define-public kdevelop (package (name "kdevelop")