[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
462/465: gnu: kmail: Wrap program.
From: |
guix-commits |
Subject: |
462/465: gnu: kmail: Wrap program. |
Date: |
Tue, 16 Jul 2024 11:04:00 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit 703856873a9f9744f0cf7fe33f304293ad3b6b76
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Jul 16 20:36:03 2024 +0800
gnu: kmail: Wrap program.
* gnu/packages/kde-pim.scm (kmail): Wrap program.
[inputs]: Add kaddressbook and kmail-account-wizard.
[arguments]<#:phases>: Add wrap-program phase.
Change-Id: I82d7c897a188d8ac0d0b743d4fe4146aaf4081eb
---
gnu/packages/kde-pim.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 0a0c378c9c..d640d9ac3f 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1175,6 +1175,7 @@ and retrieving certificates from LDAP servers.")
gpgme-1.23
grantlee
grantleetheme
+ kaddressbook
kbookmarks
kcalendarcore
kcalutils
@@ -1195,6 +1196,7 @@ and retrieving certificates from LDAP servers.")
kitemviews
kjobwidgets
kldap
+ kmail-account-wizard
kmailcommon
kmailtransport
kmessagelib
@@ -1232,6 +1234,19 @@ and retrieving certificates from LDAP servers.")
#:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs #:allow-other-keys)
+ (define (find-program-directory name)
+ (dirname (search-input-file
+ inputs (string-append "/bin/" name))))
+ (wrap-program (string-append #$output "/bin/kmail")
+ `("XDG_DATA_DIRS" ":" prefix
+ (,(getenv "XDG_DATA_DIRS")))
+ `("PATH" ":" prefix
+ ,(map find-program-directory
+ (list "kaddressbook"
+ "akonadictl"
+ "accountwizard"))))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- 429/465: gnu: Add kio-zeroconf., (continued)
- 429/465: gnu: Add kio-zeroconf., guix-commits, 2024/07/16
- 430/465: gnu: powerdevil: Add ddcutil support., guix-commits, 2024/07/16
- 431/465: gnu: Add kqtquickcharts., guix-commits, 2024/07/16
- 443/465: gnu: kshisen: Update to 24.05.2., guix-commits, 2024/07/16
- 444/465: gnu: kajongg: Update to 24.05.2., guix-commits, 2024/07/16
- 446/465: gnu: kommit: Update to 1.6.0., guix-commits, 2024/07/16
- 448/465: gnu: qtlocation: Rename to qtlocation-5., guix-commits, 2024/07/16
- 452/465: gnu: Add kimageformats-5., guix-commits, 2024/07/16
- 455/465: gnu: kjs: Update to 5.116.0., guix-commits, 2024/07/16
- 458/465: gnu: Remove kactivities-stats., guix-commits, 2024/07/16
- 462/465: gnu: kmail: Wrap program.,
guix-commits <=
- 465/465: gnu: francis: Update to 24.05.2., guix-commits, 2024/07/16
- 24/465: gnu: Add appstream-qt6., guix-commits, 2024/07/16
- 282/465: gnu: audiocd-kio: Update to 24.05.2., guix-commits, 2024/07/16
- 245/465: gnu: Add print-manager., guix-commits, 2024/07/16
- 250/465: gnu: ksmtp: Update to 24.05.2., guix-commits, 2024/07/16
- 243/465: gnu: kmouth: Update to 24.05.2., guix-commits, 2024/07/16
- 310/465: gnu: kaddressbook: Update to 24.05.2., guix-commits, 2024/07/16
- 347/465: gnu: Add kwallet-5., guix-commits, 2024/07/16
- 350/465: gnu: Add kxmlgui-5., guix-commits, 2024/07/16
- 359/465: gnu: Add kparts-5., guix-commits, 2024/07/16