[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70395] [PATCH kde-team 31/63] gnu: Add kcontacts-6.
From: |
Zheng Junjie |
Subject: |
[bug#70395] [PATCH kde-team 31/63] gnu: Add kcontacts-6. |
Date: |
Mon, 15 Apr 2024 20:47:08 +0800 |
* gnu/packages/kde-frameworks.scm (kcontacts-6): New variable.
(kcontacts): Inherit above.
Change-Id: Ifabaa96e327b97a3fcdf114f585ddab47ea70442
---
gnu/packages/kde-frameworks.scm | 47 +++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 60b4ca1269..5c43df7e89 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2282,8 +2282,46 @@ (define-public kcompletion
(list kconfig kwidgetsaddons))
(arguments '())))
+(define-public kcontacts-6
+ (package
+ (name "kcontacts")
+ (version "6.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (patches
+ (search-patches "kcontacts-incorrect-country-name.patch"))
+ (sha256
+ (base32
+ "0ki6hhhh46k8710nj8q19ah9sqnws2c4q8r0j5s4vkq2hddvxl5y"))))
+ (build-system qt-build-system)
+ (native-inputs (list extra-cmake-modules
+ ;; for test
+ iso-codes))
+ (inputs (list qtbase qtdeclarative))
+ (propagated-inputs
+ (list ;; As required by KF6ContactsConfig.cmake.
+ kcodecs-6 kconfig-6 kcoreaddons-6 ki18n-6))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _ (setenv "HOME" (getcwd)))))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "API for contacts/address book data following the vCard
standard")
+ (description "This library provides a vCard data model, vCard
+input/output, contact group management, locale-aware address formatting, and
+localized country name to ISO 3166-1 alpha 2 code mapping and vice verca.
+")
+ (license license:lgpl2.1+)))
+
(define-public kcontacts
(package
+ (inherit kcontacts-6)
(name "kcontacts")
(version "5.114.0")
(source (origin
@@ -2313,14 +2351,7 @@ (define-public kcontacts
(lambda _
(setenv "HOME" (getcwd))
(system "Xvfb +extension GLX :1 -screen 0 640x480x24 &")
- (setenv "DISPLAY" ":1"))))))
- (home-page "https://community.kde.org/Frameworks")
- (synopsis "API for contacts/address book data following the vCard
standard")
- (description "This library provides a vCard data model, vCard
-input/output, contact group management, locale-aware address formatting, and
-localized country name to ISO 3166-1 alpha 2 code mapping and vice verca.
-")
- (license license:lgpl2.1+)))
+ (setenv "DISPLAY" ":1"))))))))
(define-public kcrash
(package
--
2.41.0
- [bug#70395] [PATCH kde-team 53/63] gnu: qtbase: propagate libxkbcommon., (continued)
- [bug#70395] [PATCH kde-team 56/63] gnu: Add modemmanager-qt-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 52/63] gnu: Add kxmlgui-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 45/63] gnu: Add kconfigwidgets-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 63/63] gnu: Add kded-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 55/63] gnu: Add qqc2-desktop-style-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 20/63] gnu: Add kcompletion-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 34/63] gnu: Add kpackage-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 42/63] gnu: Add qca-qt6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 49/63] gnu: phonon: Enable qt6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 31/63] gnu: Add kcontacts-6.,
Zheng Junjie <=
- [bug#70395] [PATCH kde-team 41/63] gnu: qca: Update to 2.3.8., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 29/63] gnu: Add kcolorscheme., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 54/63] gnu: Add kirigami-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 39/63] gnu: Add kauth-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 15/63] gnu: Add kconfig-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 19/63] gnu: Add kcalendarcore-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 51/63] gnu: Add ktextwidgets-6., Zheng Junjie, 2024/04/15
- [bug#70395] [PATCH kde-team 36/63] gnu: Add syndication-6., Zheng Junjie, 2024/04/15