* [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6.
@ 2023-09-19 14:40 Timotej Lazar
2023-09-20 17:26 ` Bruno Victal
2023-09-23 13:14 ` [bug#66103] [PATCH v2] gnu: keepassxc: Switch to qt-build-system Timotej Lazar
0 siblings, 2 replies; 5+ messages in thread
From: Timotej Lazar @ 2023-09-19 14:40 UTC (permalink / raw)
To: 66103; +Cc: Timotej Lazar
* gnu/packages/password-utils.scm (keepassxc): Update to 2.7.6.
[build-system]: Switch to qt-build-system.
[arguments]: Drop superfluous phase and modules.
[inputs]: Drop qtbase-5.
---
gnu/packages/password-utils.scm | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 753a29dcca..9e9e48c1f5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -63,6 +63,7 @@ (define-module (gnu packages password-utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
+ #:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -145,7 +146,7 @@ (define-public pwgen
(define-public keepassxc
(package
(name "keepassxc")
- (version "2.7.5")
+ (version "2.7.6")
(source
(origin
(method url-fetch)
@@ -153,15 +154,10 @@ (define-public keepassxc
"/releases/download/" version "/keepassxc-"
version "-src.tar.xz"))
(sha256
- (base32 "03002fncllr658mgl5s6an5wnh0a333qnkxad6aw85hqj004iqpd"))))
- (build-system cmake-build-system)
+ (base32 "0w6nh2lnzfqcxasfsppmh4q309p1flzgfiv25hahzsd8kx879055"))))
+ (build-system qt-build-system)
(arguments
(list
- #:modules '((guix build cmake-build-system)
- (guix build qt-utils)
- (guix build utils))
- #:imported-modules `(,@%cmake-build-system-modules
- (guix build qt-utils))
#:configure-flags
#~(append
(list "-DWITH_XC_ALL=YES"
@@ -178,10 +174,7 @@ (define-public keepassxc
;; Fails with "TestCli::testClip() Compared values are not the
;; same". That test also requires a phase with (setenv
;; "QT_QPA_PLATFORM" "offscreen") in order to work.
- (invoke "ctest" "--exclude-regex" "testcli"))))
- (add-after 'install 'wrap-qt
- (lambda* (#:key inputs #:allow-other-keys)
- (wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
+ (invoke "ctest" "--exclude-regex" "testcli")))))))
(native-inputs
(append
(list qttools-5)
@@ -201,7 +194,6 @@ (define-public keepassxc
minizip
pcsc-lite
qrencode
- qtbase-5
qtsvg-5
qtwayland-5
qtx11extras
--
2.41.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6.
2023-09-19 14:40 [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6 Timotej Lazar
@ 2023-09-20 17:26 ` Bruno Victal
2023-09-21 6:41 ` Timotej Lazar
2023-09-23 13:14 ` [bug#66103] [PATCH v2] gnu: keepassxc: Switch to qt-build-system Timotej Lazar
1 sibling, 1 reply; 5+ messages in thread
From: Bruno Victal @ 2023-09-20 17:26 UTC (permalink / raw)
To: Timotej Lazar; +Cc: 66103
Hi Timotej,
Timotej Lazar <timotej.lazar@araneo.si> writes:
> @@ -178,10 +174,7 @@ (define-public keepassxc
> ;; Fails with "TestCli::testClip() Compared values are not the
> ;; same". That test also requires a phase with (setenv
> ;; "QT_QPA_PLATFORM" "offscreen") in order to work.
> - (invoke "ctest" "--exclude-regex" "testcli"))))
> - (add-after 'install 'wrap-qt
> - (lambda* (#:key inputs #:allow-other-keys)
> - (wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
> + (invoke "ctest" "--exclude-regex" "testcli")))))))
Can you confirm if this is still necessary?
I see that upstream has this commit [1] that suggests the issue has
already been fixed?
[1]: <https://github.com/keepassxreboot/keepassxc/commit/bb4f5c2e9427da591504cebeae8ecbb54c1da655>
--
Thanks,
Bruno.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6.
2023-09-20 17:26 ` Bruno Victal
@ 2023-09-21 6:41 ` Timotej Lazar
0 siblings, 0 replies; 5+ messages in thread
From: Timotej Lazar @ 2023-09-21 6:41 UTC (permalink / raw)
To: Bruno Victal; +Cc: 66103
Bruno Victal <mirai@makinata.eu> [2023-09-20 18:26:42+0100]:
> Timotej Lazar <timotej.lazar@araneo.si> writes:
>> @@ -178,10 +174,7 @@ (define-public keepassxc
>> ;; Fails with "TestCli::testClip() Compared values are not the
>> ;; same". That test also requires a phase with (setenv
>> ;; "QT_QPA_PLATFORM" "offscreen") in order to work.
>> - (invoke "ctest" "--exclude-regex" "testcli"))))
>> - (add-after 'install 'wrap-qt
>> - (lambda* (#:key inputs #:allow-other-keys)
>> - (wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
>> + (invoke "ctest" "--exclude-regex" "testcli")))))))
>
> Can you confirm if this is still necessary?
> I see that upstream has this commit [1] that suggests the issue has
> already been fixed?
The test still fails. I tried setting QT_QPA_PLATFORM as mentioned in
the comment to no effect. The test also fails in a different way without
a writable HOME, but after setting it I got the message in the comment.
Thanks for the review!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#66103] [PATCH v2] gnu: keepassxc: Switch to qt-build-system.
2023-09-19 14:40 [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6 Timotej Lazar
2023-09-20 17:26 ` Bruno Victal
@ 2023-09-23 13:14 ` Timotej Lazar
2023-09-28 16:36 ` bug#66103: " Efraim Flashner
1 sibling, 1 reply; 5+ messages in thread
From: Timotej Lazar @ 2023-09-23 13:14 UTC (permalink / raw)
To: 66103; +Cc: mirai, Timotej Lazar
* gnu/packages/password-utils.scm (keepassxc): Use qt-build-system.
[build-system]: Switch to qt-build-system.
[arguments]: Drop superfluous phase and modules.
[inputs]: Drop qtbase-5.
---
The package was updated on master, so I’m sending just the build-system
change. Workaround for the failing test is still necessary.
gnu/packages/password-utils.scm | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index be85898c41..9e9e48c1f5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -63,6 +63,7 @@ (define-module (gnu packages password-utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
+ #:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -154,14 +155,9 @@ (define-public keepassxc
version "-src.tar.xz"))
(sha256
(base32 "0w6nh2lnzfqcxasfsppmh4q309p1flzgfiv25hahzsd8kx879055"))))
- (build-system cmake-build-system)
+ (build-system qt-build-system)
(arguments
(list
- #:modules '((guix build cmake-build-system)
- (guix build qt-utils)
- (guix build utils))
- #:imported-modules `(,@%cmake-build-system-modules
- (guix build qt-utils))
#:configure-flags
#~(append
(list "-DWITH_XC_ALL=YES"
@@ -178,10 +174,7 @@ (define-public keepassxc
;; Fails with "TestCli::testClip() Compared values are not the
;; same". That test also requires a phase with (setenv
;; "QT_QPA_PLATFORM" "offscreen") in order to work.
- (invoke "ctest" "--exclude-regex" "testcli"))))
- (add-after 'install 'wrap-qt
- (lambda* (#:key inputs #:allow-other-keys)
- (wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
+ (invoke "ctest" "--exclude-regex" "testcli")))))))
(native-inputs
(append
(list qttools-5)
@@ -201,7 +194,6 @@ (define-public keepassxc
minizip
pcsc-lite
qrencode
- qtbase-5
qtsvg-5
qtwayland-5
qtx11extras
--
2.41.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-09-28 16:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 14:40 [bug#66103] [PATCH] gnu: keepassxc: Update to 2.7.6 Timotej Lazar
2023-09-20 17:26 ` Bruno Victal
2023-09-21 6:41 ` Timotej Lazar
2023-09-23 13:14 ` [bug#66103] [PATCH v2] gnu: keepassxc: Switch to qt-build-system Timotej Lazar
2023-09-28 16:36 ` bug#66103: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.