From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Marco Rimoldi <rimarko@libero.it>
Cc: 68052@debbugs.gnu.org
Subject: [bug#68052] [PATCH 1/4] gnu: python-poppler-qt5: update to 21.3.0
Date: Thu, 04 Jan 2024 13:00:52 -0500 [thread overview]
Message-ID: <87wmsp0yi3.fsf@gmail.com> (raw)
In-Reply-To: <20231226231408.6f2caeb5@libero.it> (Marco Rimoldi's message of "Tue, 26 Dec 2023 23:14:08 +0100")
Hello,
Marco Rimoldi <rimarko@libero.it> writes:
> * gnu/packages/pdf.scm (python-poppler-qt5): Update tp 21.3.0
Please end complete sentences by a final period (also in the commit
summary).
> [build-system]: Change to pyproject, fix previous build failure.
The changelog should ideally detail each change, such as specifying the
'sipbuild.api' backend.
> Change-Id: I30d6e2a3180505091d8072ed452211b0bb3a0178
> ---
> gnu/packages/pdf.scm | 37 +++++++++++++------------------------
> 1 file changed, 13 insertions(+), 24 deletions(-)
>
> diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
> index 644a4617a6..787f5a2a6f 100644
> --- a/gnu/packages/pdf.scm
> +++ b/gnu/packages/pdf.scm
> @@ -415,40 +415,29 @@ (define-public poppler-qt5
> (define-public python-poppler-qt5
> (package
> (name "python-poppler-qt5")
> - (version "21.1.0")
> + (version "21.3.0")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "python-poppler-qt5" version))
> (sha256
> (base32
> - "0b82gm4i75q5v19kfbq0h4y0b2vcwr2213zkhxh6l0h45kdndmxd"))
> - (patches (search-patches "python-poppler-qt5-fix-build.patch"))))
Patches are also registered in the build system in gnu/local.mk, and
need to be de-registered there.
> - (build-system python-build-system)
> + "1q3gvmsmsq3llf9mcbhlkryrgprqrw2z7wmnvagy180f3y2fhxxl"))))
> + (build-system pyproject-build-system)
> (arguments
> - `(;; There are no tests. The check phase just causes a rebuild.
> - #:tests? #f
> - #:phases
> - (modify-phases %standard-phases
> - (replace 'build
> - (lambda* (#:key inputs #:allow-other-keys)
> - (substitute* "setup.py"
> - ;; This check always fails, so disable it.
> - (("if not check_qtxml\\(\\)")
> - "if True"))
> - ;; We need to pass an extra flag here. This cannot be in
> - ;; configure-flags because it should not be passed for the
> - ;; installation phase.
> - ((@@ (guix build python-build-system) call-setuppy)
> - "build_ext" (list (string-append "--pyqt-sip-dir="
> - (assoc-ref inputs "python-pyqt")
> - "/share/sip")) #t))))))
> + `(
> + ;; The backend builder expects a Python dictionary as per
> + ;; https://peps.python.org/pep-0517/#config-settings, but we
> + ;; give it lists and it fails. The next line is a workaround.
Please use double space after period (that's an Emacs/Texinfo/Scheme
convention that allows navigating between sentences in Emacs).
> + #:configure-flags '#nil
> + #:build-backend "sipbuild.api"
> + #:tests? #f))
> (native-inputs
> (list pkg-config))
> (inputs
> - (list python-sip-4 python-pyqt poppler-qt5 qtbase-5))
> - (home-page "https://pypi.org/project/python-poppler-qt5/")
> - (synopsis "Python bindings for Poppler-Qt5")
> + (list python-sip python-pyqt-builder python-pyqt poppler-qt5 qtbase-5))
> + (home-page "https://github.com/frescobaldi/python-poppler-qt5")
> + (synopsis "Python binding to Poppler-Qt5")
> (description
> "This package provides Python bindings for the Qt5 interface of the
> Poppler PDF rendering library.")
The rest LGTM.
--
Thanks,
Maxim
next prev parent reply other threads:[~2024-01-04 18:02 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 22:10 [bug#68052] [PATCH 0/4] Collected patches fixing builds of various Frescobaldi dependencies Marco Rimoldi via Guix-patches via
2023-12-26 22:14 ` [bug#68052] [PATCH 1/4] gnu: python-poppler-qt5: update to 21.3.0 Marco Rimoldi via Guix-patches via
2024-01-04 18:00 ` Maxim Cournoyer [this message]
2023-12-26 22:14 ` [bug#68052] [PATCH 2/4] gnu : python-poppler-qt5: Remove no longer needed patch Marco Rimoldi via Guix-patches via
2024-01-04 18:02 ` Maxim Cournoyer
2023-12-26 22:15 ` [bug#68052] [PATCH 3/4] gnu: python-pyportmidi: Update to latest git revision, fixing build fail Marco Rimoldi via Guix-patches via
2024-01-04 18:04 ` Maxim Cournoyer
2024-01-04 18:06 ` Maxim Cournoyer
2023-12-26 22:16 ` [bug#68052] [PATCH 4/4] gnu: portmidi: Add variant portmidi-2 updated to release 2.0.4 Marco Rimoldi via Guix-patches via
2024-01-04 18:07 ` Maxim Cournoyer
2024-01-16 0:34 ` [bug#68052] [PATCH v1 0/3] Collected patches fixing builds of various Frescobaldi dependencies Marco Rimoldi via Guix-patches via
2024-01-16 0:34 ` [bug#68052] [PATCH v1 1/3] gnu: python-poppler-qt5: Update to 21.3.0 Marco Rimoldi via Guix-patches via
2024-01-16 0:34 ` [bug#68052] [PATCH v1 2/3] gnu: python-pyportmidi: Update to first working git revision since project restarted development, fixing build Marco Rimoldi via Guix-patches via
2024-01-16 0:34 ` [bug#68052] [PATCH v1 3/3] gnu: portmidi: Add variant portmidi-2 updated to release 2.0.4 Marco Rimoldi via Guix-patches via
2024-01-16 17:37 ` [bug#68052] [PATCH v2 0/3] Collected patches fixing builds of various Frescobaldi dependencies Marco Rimoldi via Guix-patches via
2024-01-16 17:37 ` [bug#68052] [PATCH v2 1/3] gnu: python-poppler-qt5: Update to 21.3.0 Marco Rimoldi via Guix-patches via
2024-01-16 17:37 ` [bug#68052] [PATCH v2 2/3] gnu: python-pyportmidi: Update to first working git revision since project restarted development, fixing build Marco Rimoldi via Guix-patches via
2024-01-16 17:37 ` [bug#68052] [PATCH v2 3/3] gnu: portmidi: Add variant portmidi-2 updated to release 2.0.4 Marco Rimoldi via Guix-patches via
2024-02-21 19:30 ` [bug#68052] [PATCH v3 1/4] gnu: python-poppler-qt5: Update to 21.3.0 Marco Rimoldi via Guix-patches via
2024-02-21 19:30 ` [bug#68052] [PATCH v3 2/4] gnu: python-pyportmidi: Update to first working git revision since project restarted development, fixing build Marco Rimoldi via Guix-patches via
2024-02-21 19:30 ` [bug#68052] [PATCH v3 3/4] gnu: portmidi: Add variant portmidi-2 updated to release 2.0.4 Marco Rimoldi via Guix-patches via
2024-02-21 19:30 ` [bug#68052] [PATCH v3 4/4] gnu: frescobaldi: Make it display icons with qtsvg-5 Marco Rimoldi via Guix-patches via
2024-03-16 10:12 ` [bug#68052] [PATCH v3 1/4] gnu: python-poppler-qt5: Update to 21.3.0 Christopher Baines
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmsp0yi3.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=68052@debbugs.gnu.org \
--cc=rimarko@libero.it \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).