From ba6327440d3917126e55524ca622b0f5972b0c53 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Thu, 21 Jul 2022 08:33:36 +0200 Subject: [PATCH v3 23/86] gnu: KDE-PIM: Remove trailing booleans. * gnu/packages/kde-pim.scm (akonadi, akonadi-mime, akonadi-search, kincidenceeditor, kdepim-runtime, kidentitymanagement, kleopatra, kmail, kmime, korganizer, kpeoplevcard, ksmtp, libkleo, libksieve)[arguments]: Remove trailing booleans. diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index bea3f2a17c..b31fa85f67 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -102,8 +102,7 @@ (define-public akonadi (display (call-with-input-file "CMakeLists.txt" get-string-all)))) - (rename-file "CMakeLists.txt.new" "CMakeLists.txt")) - #t))))) + (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))))))) (home-page "https://kontact.kde.org/components/akonadi") (synopsis "Extensible cross-desktop storage service for PIM") (description "Akonadi is an extensible cross-desktop Personal Information @@ -253,12 +252,10 @@ (define-public akonadi-mime (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer")) (mkdir-p plugins-dir) (copy-file "serializers/akonadi_serializer_mail.desktop" - (string-append plugins-dir "/akonadi_serializer_mail.desktop"))) - #t)) + (string-append plugins-dir "/akonadi_serializer_mail.desktop"))))) (add-before 'check 'check-setup (lambda _ - (setenv "HOME" "/tmp") - #t))))) + (setenv "HOME" "/tmp")))))) (synopsis "Akonadi MIME handling library") (description "Akonadi Mime is a library that effectively bridges the type-agnostic API of the Akonadi client libraries and the domain-specific @@ -334,8 +331,7 @@ (define-public akonadi-search ;; DBus communication. See also 'korganizer'. (substitute* "agent/autotests/CMakeLists.txt" ((".*schedulertest\\.cpp.*") - "")) - #t)) + "")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -401,8 +397,7 @@ (define-public kincidenceeditor (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "dbus-launch" "ctest" ;; FIXME: test fails. - "-E" "akonadi-sqlite-incidencedatetimetest")) - #t))))) + "-E" "akonadi-sqlite-incidencedatetimetest"))))))) (home-page "https://invent.kde.org/pim/incidenceeditor") (synopsis "KDE PIM library for editing incidences") (description "This library provides an incidence editor for KDE PIM.") @@ -707,8 +702,7 @@ (define-public kdepim-runtime |akonadi-sqlite-ewstest|ewsmoveitemrequest_ut|ewsdeleteitemrequest_ut\ |ewsgetitemrequest_ut|ewsunsubscriberequest_ut|ewssettings_ut\ |templatemethodstest|akonadi-sqlite-serverbusytest|ewsattachment_ut|\\ -testmovecollectiontask)")) - #t))))) +testmovecollectiontask)"))))))) (home-page "https://invent.kde.org/pim/kdepim-runtime") (synopsis "Runtime components for Akonadi KDE") (description "This package contains Akonadi agents written using KDE @@ -858,8 +852,7 @@ (define-public kidentitymanagement (modify-phases %standard-phases (add-before 'check 'set-home (lambda _ - (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this? - #t))))) + (setenv "HOME" "/tmp/dummy-home")))))) ;; FIXME: what is this? (home-page "https://kontact.kde.org/") (synopsis "Library for shared identities between mail applications") (description "This library provides an API for managing user identities.") @@ -967,8 +960,7 @@ (define-public kleopatra (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "dbus-launch" "ctest")) - #t))))) + (invoke "dbus-launch" "ctest"))))))) (home-page "https://apps.kde.org/utilities/org.kde.kleopatra/") (synopsis "Certificate Manager and Unified Crypto GUI") (description "Kleopatra is a certificate manager and a universal crypto @@ -1064,8 +1056,7 @@ (define-public kmail sendlateragent-sendlaterutiltest|\ sendlateragent-sendlaterconfigtest|\ followupreminder-followupreminderconfigtest|\ -akonadi-sqlite-unifiedmailboxmanagertest)")) - #t))))) +akonadi-sqlite-unifiedmailboxmanagertest)"))))))) (home-page "https://kontact.kde.org/components/kmail/") (synopsis "Full featured graphical email client") (description "KMail supports multiple accounts, mail filtering and email @@ -1365,9 +1356,8 @@ (define-public kmime ;; the Qt locale returns different. See kmime commit 3a9651d26a. (substitute* "autotests/dateformattertest.cpp" (("(Today|Yesterday) 12:34:56" line day) - (string-append day " 12:34 PM"))) - #t))))) - (home-page "https://api.kde.org/kdepim/kmime/html/index.html") + (string-append day " 12:34 PM")))))))) + (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") (synopsis "Library for handling MIME data") (description "This library provides an API for handling MIME data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard @@ -1548,13 +1538,11 @@ (define-public korganizer ;; See also 'akonadi-search' for a similar test failure. (substitute* "src/autotests/CMakeLists.txt" ((".*test_advanced\\(koeventpopupmenutest\\.cpp.*") - "")) - #t)) + "")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "dbus-launch" "ctest")) - #t))))) + (invoke "dbus-launch" "ctest"))))))) (home-page "https://apps.kde.org/korganizer/") (synopsis "Organizational assistant, providing calendars and other similar functionality to help you organize your life") @@ -1586,8 +1574,7 @@ (define-public kpeoplevcard '(#:phases (modify-phases %standard-phases (replace 'check-setup (lambda _ - (setenv "HOME" "/tmp") - #t))))) + (setenv "HOME" "/tmp")))))) (native-inputs (list extra-cmake-modules)) (inputs @@ -1764,8 +1751,7 @@ (define-public ksmtp (substitute* "src/CMakeLists.txt" (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)" _ prefix) - (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})"))) - #t))))) + (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))))))) (home-page "https://invent.kde.org/pim/ksmtp") (synopsis "Library for sending email through an SMTP server") (description "This library provides an API for handling SMTP @@ -1926,8 +1912,7 @@ (define-public libkleo (lambda* (#:key tests? #:allow-other-keys) (when tests? ;; FIXME: These tests fail. (invoke "ctest" "-E" - "(keyresolvercoretest|newkeyapprovaldialogtest)")) - #t))))) + "(keyresolvercoretest|newkeyapprovaldialogtest)"))))))) (home-page "https://invent.kde.org/pim/libkleo") (synopsis "KDE PIM cryptographic library") (description "@code{libkleo} is a library for Kleopatra and other parts of @@ -1983,8 +1968,7 @@ (define-public libksieve (substitute* "src/ksieveui/editor/webengine/autotests/CMakeLists.txt" (("^\\s*(add_test|ecm_mark_as_test)\\W" line) - (string-append "# " line))) - #t))))) + (string-append "# " line)))))))) (home-page "https://invent.kde.org/pim/libksieve") (synopsis "KDE Sieve library") (description "Sieve is a language that can be used filter emails. KSieve -- 2.37.0