From: Sergey Trofimov <sarg@sarg.org.ru>
To: 73459@debbugs.gnu.org
Cc: Sergey Trofimov <sarg@sarg.org.ru>
Subject: [bug#73459] [PATCH] gnu: qview: Update to 6.1.
Date: Tue, 24 Sep 2024 22:21:46 +0200 [thread overview]
Message-ID: <fce8e58b5fe8c112ff1e0aec9d0410f1de2a904a.1727209300.git.sarg@sarg.org.ru> (raw)
* gnu/packages/image-viewers.scm (qview): Update to 6.1.
[inputs, native-inputs]: Use qt6.
[arguments]: Disable broken tests. Workaround lrelease being resolved
relative to qtbase instead of qttools.
---
gnu/packages/image-viewers.scm | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 81ee770420..7fd8585ff1 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -700,7 +700,7 @@ (define-public qpageview
(define-public qview
(package
(name "qview")
- (version "5.0")
+ (version "6.1")
(source
(origin
(method git-fetch)
@@ -709,32 +709,31 @@ (define-public qview
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1ck4mvhzc4m72n010n43d8ipjczzk6ya637rgfyi7bzb4gv0f3am"))))
+ (base32 "1c719ivzdm0m8apbqx8h0wi796k5myrm4q3vl16vxwzjcx5ball7"))))
(build-system qt-build-system)
(arguments
(list
+ #:qtbase qtbase
+ #:tests? #f ; test code doesn't compile
#:phases
#~(modify-phases %standard-phases
(replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "qmake" (string-append "PREFIX=" #$output))))
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (invoke "qmake" (string-append "PREFIX=" #$output))
+ (substitute* "Makefile"
+ (((string-append #$qtbase "/bin/lrelease"))
+ (search-input-file inputs "/bin/lrelease")))))
;; Don't phone home or show "Checking for updates..." in the About
;; menu.
(add-before 'build 'disable-auto-update
(lambda _
(substitute* "src/qvaboutdialog.cpp"
(("qvApp->checkUpdates\\(\\);") "")
- (("updateText\\(\\);") ""))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (with-directory-excursion "tests"
- (invoke "qmake" "tests.pro")
- (invoke "make" "tests"))))))))
+ (("updateText\\(\\);") "")))))))
(native-inputs
- (list qttools-5))
+ (list qttools))
(inputs
- (list qtbase-5 qtimageformats-5 qtsvg-5))
+ (list qtbase qtimageformats qtsvg))
(home-page "https://interversehq.com/qview/")
(synopsis "Convenient and minimal image viewer")
(description "qView is a Qt image viewer designed with visually
base-commit: 759b74b85224f1da1e1027bb48427648c1bbde98
--
2.46.0
next reply other threads:[~2024-09-24 20:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 20:21 Sergey Trofimov [this message]
2024-10-25 10:36 ` bug#73459: [PATCH] gnu: qview: Update to 6.1 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fce8e58b5fe8c112ff1e0aec9d0410f1de2a904a.1727209300.git.sarg@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=73459@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.