From 0d3d6fd71b94268ca7a5add1f39205be73586e15 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Thu, 14 Oct 2021 18:25:20 +1100 Subject: [PATCH] gnu: libgravatar: Move to (gnu packages kde-pim). Remove uneeded (gnu packages kde-internet) import. * gnu/packages/kde-internet.scm: Move libgravatar ... * gnu/packages/kde-pim.scm ...here Signed-off-by: Marius Bakke --- gnu/packages/kde-internet.scm | 32 -------------------------------- gnu/packages/kde-pim.scm | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm index 35d41887c2..25a177965a 100644 --- a/gnu/packages/kde-internet.scm +++ b/gnu/packages/kde-internet.scm @@ -415,38 +415,6 @@ (define-public ktorrent a full-featured client for BitTorrent.") (license license:gpl2+))) -(define-public libgravatar - (package - (name "libgravatar") - (version "20.04.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/release-service/" version - "/src/libgravatar-" version ".tar.xz")) - (sha256 - (base32 "0981ci2kr20v4fk11h57rqya0brgslfazpgq1yk5yqiwyqqm49r2")))) - (build-system qt-build-system) - (native-inputs - (list extra-cmake-modules)) - (inputs - (list kconfig - ki18n - kio - kpimcommon - ktextwidgets - kwidgetsaddons - qtbase-5)) - (arguments - `(#:tests? #f)) ;; 2/7 tests fail (due to network issues?) - (home-page "https://invent.kde.org/pim/libgravatar") - (synopsis "Online avatar lookup library") - (description "This library retrieves avatar images based on a -hash from a person's email address, as well as local caching to avoid -unnecessary network operations.") - (license ;; GPL for programs, LGPL for libraries - (list license:gpl2+ license:lgpl2.0+)))) - (define-public libktorrent (package (name "libktorrent") diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index d895a74fd2..9d7a0bf202 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2021, 2022 Efraim Flashner +;;; Copyright © 2022 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,7 +35,6 @@ (define-module (gnu packages kde-pim) #:use-module (gnu packages gnupg) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) - #:use-module (gnu packages kde-internet) #:use-module (gnu packages openldap) #:use-module (gnu packages qt) #:use-module (gnu packages search) @@ -1641,6 +1641,38 @@ (define-public kpimcommon (license ;; GPL for programs, LGPL for libraries (list license:gpl2+ license:lgpl2.0+)))) +(define-public libgravatar + (package + (name "libgravatar") + (version "20.04.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/libgravatar-" version ".tar.xz")) + (sha256 + (base32 "0981ci2kr20v4fk11h57rqya0brgslfazpgq1yk5yqiwyqqm49r2")))) + (build-system qt-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kconfig" ,kconfig) + ("ki18n" ,ki18n) + ("kio" ,kio) + ("kpimcommon" ,kpimcommon) + ("ktextwidgets" ,ktextwidgets) + ("kwidgetsaddons" ,kwidgetsaddons) + ("qtbase" ,qtbase-5))) + (arguments + `(#:tests? #f)) ;; 2/7 tests fail (due to network issues?) + (home-page "https://invent.kde.org/pim/libgravatar") + (synopsis "Online avatar lookup library") + (description "This library retrieves avatar images based on a +hash from a person's email address, as well as local caching to avoid +unnecessary network operations.") + (license ;; GPL for programs, LGPL for libraries + (list license:gpl2+ license:lgpl2.0+)))) + (define-public kpimtextedit (package (name "kpimtextedit")