1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00

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
This commit is contained in:
Sughosha
2025-09-30 22:33:26 +05:30
committed by Andreas Enge
parent 82db7ad007
commit d7dd7d8187
3 changed files with 104 additions and 68 deletions
+1
View File
@@ -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 \
+103
View File
@@ -0,0 +1,103 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2025 Sughosha <sughosha@disroot.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.
(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+)))
-68
View File
@@ -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")