guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

38/332: gnu: kcontacts: Update to 5.108.0.


From: guix-commits
Subject: 38/332: gnu: kcontacts: Update to 5.108.0.
Date: Thu, 3 Aug 2023 05:43:36 -0400 (EDT)

iyzsong pushed a commit to branch kde-updates
in repository guix.

commit 016016578f22117d0d6191f918ca5287e3740fb9
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Jul 12 13:40:38 2023 +0800

    gnu: kcontacts: Update to 5.108.0.
    
    * gnu/packages/kde-frameworks.scm (kcontacts): Update to 5.108.0.
    [native-inputs]: Relpace xorg-server with xorg-server-for-tests.
    [arguments]: Run all tests with "Xvfb +extension GLX", add check-setup 
phase.
    
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 gnu/packages/kde-frameworks.scm | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 5b246109e8..62c7a1d2b5 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1617,7 +1617,7 @@ integrated it into your application's other widgets.")
 (define-public kcontacts
   (package
     (name "kcontacts")
-    (version "5.98.0")
+    (version "5.108.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1628,10 +1628,10 @@ integrated it into your application's other widgets.")
                (search-patches "kcontacts-incorrect-country-name.patch"))
               (sha256
                (base32
-                "0g3lg1i9rg7hjw7xjx9228sy54dy35lgwghcjds5cawszl5yi106"))))
+                "15x6f05ngs3nmxpdi11bi4k4zpjnvx5cy3yxbdklls3f2wpq6jd4"))))
     (build-system cmake-build-system)
     (native-inputs
-     (list extra-cmake-modules xorg-server)) ; for the tests
+     (list extra-cmake-modules xorg-server-for-tests)) ; for the tests
     (inputs
      (list qtbase-5))
     (propagated-inputs
@@ -1640,18 +1640,11 @@ integrated it into your application's other widgets.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             ;; The test suite requires a running X server.
-             ;; Xvfb doesn't have proper glx support and needs a pixeldepth
-             ;; of 24 bit to avoid "libGL error: failed to load driver: swrast"
-             ;;                    "Could not initialize GLX"
-             (when tests?
-               (setenv "HOME" (getcwd))
-               (system "Xvfb :1 -screen 0 640x480x24 &")
-               (setenv "DISPLAY" ":1")
-               (invoke "ctest" "-E"
-                
"(kcontacts-birthdaytest|kcontacts-testroundtrip|kcontacts-addresstest)")))))))
+         (add-before 'check 'check-setup
+           (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]