[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/332: gnu: kpublictransport: Update to 23.04.3.
From: |
guix-commits |
Subject: |
135/332: gnu: kpublictransport: Update to 23.04.3. |
Date: |
Wed, 2 Aug 2023 10:36:53 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit e32d2967ebe025c9d6335b62ae711623adf74f49
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Sat Jul 15 11:14:40 2023 +0800
gnu: kpublictransport: Update to 23.04.3.
* gnu/packages/kde.scm (kpublictransport): Update to 23.04.3.
[native-inputs]: Add tzdata-for-tests.
[inputs]: Add networkmanager-qt, ki18n.
[arguments]: Enable all tests, add check-setup phase.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde.scm | 35 ++++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index bafe4bc47e..50d7878736 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -48,6 +48,7 @@
#:use-module (gnu packages apr)
#:use-module (gnu packages astronomy)
#:use-module (gnu packages audio)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
@@ -867,27 +868,35 @@ multi-floor indoor maps.")
(define-public kpublictransport
(package
(name "kpublictransport")
- (version "22.08.1")
+ (version "23.04.3")
(source (origin
(method url-fetch)
- (uri (string-append
- "mirror://kde/stable/release-service/" version
- "/src/kpublictransport-" version ".tar.xz"))
+ (uri (string-append "mirror://kde/stable/release-service/"
+ version "/src/kpublictransport-" version
+ ".tar.xz"))
(sha256
(base32
- "0z7zyyiq4815m74s6p841k1c4pxbrss7hnkag8kr5qa3q4264kg9"))))
+ "04fa9ismgkhskpmjf6b8gvra2z0jpsigz79b93m1snxm4046xihb"))))
(build-system qt-build-system)
(arguments
(list #:phases '(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "QT_QPA_PLATFORM" "offscreen")
- (invoke "ctest" "-E"
-
"(mergeutiltest|departuretest|journeytest|networkconfigtest|locationhistorymodeltest|navitiaparsertest|otpparsertest|ivvassparsertest|cachetest)")))))))
- (native-inputs (list extra-cmake-modules pkg-config))
+ (add-before 'check 'check-setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "HOME" ".")
+ (setenv "TZ" "Europe/Prague")
+ (setenv "TZDIR"
+ (search-input-directory inputs
+
"share/zoneinfo")))))))
+ (native-inputs (list extra-cmake-modules pkg-config tzdata-for-tests))
;; TODO: clipper and osmctools are not detected
- (inputs (list clipper osmctools protobuf qtdeclarative-5 zlib))
+ (inputs (list clipper
+ osmctools
+ protobuf
+ qtdeclarative-5
+ zlib
+ networkmanager-qt
+ ki18n))
(home-page "https://api.kde.org/kdepim/kpublictransport/html/index.html";)
(synopsis "Library for accessing realtime public transport data")
(description
- 74/332: gnu: kpeople: Update to 5.108.0., (continued)
- 74/332: gnu: kpeople: Update to 5.108.0., guix-commits, 2023/08/02
- 75/332: gnu: kwallet: Update to 5.108.0., guix-commits, 2023/08/02
- 65/332: gnu: kimageformats: Update to 5.108.0., guix-commits, 2023/08/02
- 96/332: gnu: kmediaplayer: Update to 5.108.0., guix-commits, 2023/08/02
- 117/332: gnu: poxml: Update to 23.04.3., guix-commits, 2023/08/02
- 108/332: gnu: kde-frameworkintegration: Update to 5.108.0., guix-commits, 2023/08/02
- 150/332: gnu: drkonqi: Update to 5.27.6., guix-commits, 2023/08/02
- 145/332: gnu: kactivitymanagerd: Update to 5.27.6., guix-commits, 2023/08/02
- 139/332: gnu: konsole: Update to 23.04.3., guix-commits, 2023/08/02
- 130/332: gnu: kopeninghours: Use G-expressions., guix-commits, 2023/08/02
- 135/332: gnu: kpublictransport: Update to 23.04.3.,
guix-commits <=
- 128/332: gnu: kosmindoormap: Update to 23.04.3., guix-commits, 2023/08/02
- 188/332: gnu: powerdevil: Update to 5.27.6., guix-commits, 2023/08/02
- 67/332: gnu: kdesignerplugin: Update to 5.108.0., guix-commits, 2023/08/02
- 88/332: gnu: kcmutils: Update to 5.108.0., guix-commits, 2023/08/02
- 120/332: gnu: libkdegames: Update to 23.04.3., guix-commits, 2023/08/02
- 116/332: gnu: kdf: Update to 23.04.3., guix-commits, 2023/08/02
- 131/332: gnu: marble-qt: Update to 23.04.3., guix-commits, 2023/08/02
- 132/332: gnu: marble-qt: Use G-expressions., guix-commits, 2023/08/02
- 179/332: gnu: kscreenlocker: Format with 'guix style'., guix-commits, 2023/08/02
- 160/332: gnu: plasma-disks: Update to 5.27.6., guix-commits, 2023/08/02