From d7dd7d8187e9f3b7d985864fef65aa96b71de654 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Tue, 30 Sep 2025 22:33:26 +0530 Subject: [PATCH] gnu: gwenview: Move to kde-graphics.scm. * gnu/packages/kde.scm (gwenview): Remove variable. * gnu/packages/kde-graphics.scm: New file. * gnu/local.mk: Register it. Change-Id: Ifa5b359ed3eab320a2cb0e62189f1f14b161c147 --- gnu/local.mk | 1 + gnu/packages/kde-graphics.scm | 103 ++++++++++++++++++++++++++++++++++ gnu/packages/kde.scm | 68 ---------------------- 3 files changed, 104 insertions(+), 68 deletions(-) create mode 100644 gnu/packages/kde-graphics.scm diff --git a/gnu/local.mk b/gnu/local.mk index e096603ae74d7215e6fb97f1d402b3aad811c114..381a09ccc2335f821eb8bc06bcb7b2606c6c733b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -406,6 +406,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/kde.scm \ %D%/packages/kde-frameworks.scm \ %D%/packages/kde-games.scm \ + %D%/packages/kde-graphics.scm \ %D%/packages/kde-internet.scm \ %D%/packages/kde-multimedia.scm \ %D%/packages/kde-office.scm \ diff --git a/gnu/packages/kde-graphics.scm b/gnu/packages/kde-graphics.scm new file mode 100644 index 0000000000000000000000000000000000000000..8c3e62085bd380a391be37de05683c5d01c6ee09 --- /dev/null +++ b/gnu/packages/kde-graphics.scm @@ -0,0 +1,103 @@ +;;; 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-graphics) + #: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 astronomy) + #:use-module (gnu packages compression) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages ghostscript) + #:use-module (gnu packages image) + #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages kde-plasma) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages qt) + #:use-module (gnu packages xdisorg)) + +(define-public gwenview + (package + (name "gwenview") + (version "24.12.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/gwenview-" version ".tar.xz")) + (sha256 + (base32 "0rh4249wqhm35ahpyhpnxdnaw8s0hklx2mdsmfj6m20f26w90ifb")))) + (build-system qt-build-system) + (arguments + (list #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ctest" "-E" + (string-append + "(" + (string-join '("placetreemodeltest" + "historymodeltest" + "contextmanagertest" + "urlutilstest") + "|") + ")")))))))) + (native-inputs + (list extra-cmake-modules + kdoctools + pkg-config)) + (inputs + (list baloo + cfitsio + exiv2 + plasma-activities + kcolorpicker + kcrash + kguiaddons + ki18n + kiconthemes + kimageannotator + kio + kitemmodels + knotifications + kparts + lcms + libjpeg-turbo + libkdcraw + libpng + libtiff + libxkbcommon + phonon + purpose + qtimageformats + qtsvg + qtwayland + wayland + wayland-protocols + zlib)) + (home-page "https://userbase.kde.org/Gwenview") + (synopsis "Image viewer for KDE") + (description + "Gwenview is an image viewer for KDE. It also provides image editing and +annotating features.") + (license license:gpl2+))) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 5cfed27982ff6cc2e397eb2effe59936031f12ee..658f663ff454d1308844fea28fa4190f7cab034c 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -154,74 +154,6 @@ This package contains GUI widgets for baloo.") (description "This package provides a non-blocking Qt database framework.") (license license:lgpl2.1+))) -(define-public gwenview - (package - (name "gwenview") - (version "24.12.3") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" version - "/src/gwenview-" version ".tar.xz")) - (sha256 - (base32 "0rh4249wqhm35ahpyhpnxdnaw8s0hklx2mdsmfj6m20f26w90ifb")))) - (build-system qt-build-system) - (arguments - (list #:qtbase qtbase - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "ctest" "-E" - (string-append - "(" - (string-join '("placetreemodeltest" - "historymodeltest" - "contextmanagertest" - "urlutilstest") - "|") - ")")))))))) - (native-inputs - (list extra-cmake-modules - kdoctools - pkg-config)) - (inputs - (list baloo - cfitsio - exiv2 - plasma-activities - kcolorpicker - kcrash - kguiaddons - ki18n - kiconthemes - kimageannotator - kio - kitemmodels - knotifications - kparts - lcms - libjpeg-turbo - libkdcraw - libpng - libtiff - libxkbcommon - phonon - purpose - qtimageformats - qtsvg - qtwayland - wayland - wayland-protocols - zlib)) - (home-page "https://userbase.kde.org/Gwenview") - (synopsis "Image viewer for KDE") - (description - "Gwenview is an image viewer for KDE. It also provides image editing and -annotating features.") - (license license:gpl2+))) - (define-public analitza (package (name "analitza")