Archived
1
0
Fork 0

gnu: Make nothing depend on QtWebKit.

This is required for <https://issues.guix.gnu.org/53289>.

* gnu/packages/qt.scm (python-pyqt)[inputs]: Remove qtwebkit.
(python-pyqt-without-qtwebkit): Remove variable.
(python-pyqtwebengine)[inputs]: Replace python-pyqt-without-qtwebkit with
python-pyqt.
* gnu/packages/backup.scm (vorta)[inputs]: Likewise.
* gnu/packages/ebook.scm (calibre)[inputs]: Likewise.
[arguments]: Adjust accordingly.
* gnu/packages/education.scm (anki)[inputs]: Replace
python-pyqt-without-qtwebkit with python-pyqt.
* gnu/packages/kde-games.scm (kajongg)[inputs]: Likewise.
* gnu/packages/maths.scm (veusz)[inputs]: Likewise.
* gnu/packages/music.scm (frescobaldi)[inputs]: Likewise.
(picard)[inputs]: Likewise.
* gnu/packages/orange.scm (orange)[inputs]: Likewise.
* gnu/packages/pdf.scm (flyer-composer)[inputs]: Likewise.
* gnu/packages/python-check.scm (python-pytest-qt)[propagated-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-qtconsole)[propagated-inputs]: Likewise.
(python-pyqtgraph)[propagated-inputs]: Likewise.
* gnu/packages/radio.scm (gnuradio)[inputs]: Likewise.
* gnu/packages/video.scm (openshot)[inputs]: Likewise.
* gnu/packages/vpn.scm (openconnect-sso)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (qutebrowser)[inputs]: Likewise.
This commit is contained in:
Leo Famulari 2023-02-17 14:17:55 -05:00
parent 7eb3eec4da
commit abe7afb17c
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
15 changed files with 18 additions and 30 deletions

View file

@ -1343,7 +1343,7 @@ borgmatic is powered by borg.")
python-paramiko python-paramiko
python-peewee python-peewee
python-psutil python-psutil
python-pyqt-without-qtwebkit python-pyqt
python-secretstorage python-secretstorage
;; This is included so that the qt-wrap phase picks it up. ;; This is included so that the qt-wrap phase picks it up.
qtsvg-5)) qtsvg-5))

View file

@ -200,7 +200,7 @@ with Microsoft Compiled HTML (CHM) files")
python-pychm python-pychm
python-pycryptodome python-pycryptodome
python-pygments python-pygments
python-pyqt-without-qtwebkit python-pyqt
python-pyqtwebengine python-pyqtwebengine
python-regex python-regex
speech-dispatcher speech-dispatcher
@ -246,7 +246,7 @@ tags = [\"WS_X11\"]")
(string-append "[tool.sip.project] (string-append "[tool.sip.project]
sip-include-dirs = [\"" sip-include-dirs = [\""
#$(this-package-input #$(this-package-input
"python-pyqt-without-qtwebkit") "python-pyqt")
"/share/sip\"]"))) "/share/sip\"]")))
(substitute* "src/calibre/ebooks/pdf/pdftohtml.py" (substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
(("PDFTOHTML = 'pdftohtml'") (("PDFTOHTML = 'pdftohtml'")

View file

@ -805,7 +805,7 @@ stored and user can review his performance in any time.")
("python-pyaudio" ,python-pyaudio) ("python-pyaudio" ,python-pyaudio)
;; `python-pyqtwebengine' must precede `python-pyqt' in PYTHONPATH. ;; `python-pyqtwebengine' must precede `python-pyqt' in PYTHONPATH.
("python-pyqtwebengine" ,python-pyqtwebengine) ("python-pyqtwebengine" ,python-pyqtwebengine)
("python-pyqt" ,python-pyqt-without-qtwebkit) ("python-pyqt" ,python-pyqt)
("python-requests" ,python-requests) ("python-requests" ,python-requests)
("python-send2trash" ,python-send2trash) ("python-send2trash" ,python-send2trash)
("python-sip" ,python-sip) ("python-sip" ,python-sip)

View file

@ -322,7 +322,7 @@ This package is part of the KDE games module.")
ki18n ki18n
libkmahjongg libkmahjongg
python python
python-pyqt-without-qtwebkit python-pyqt
python-twisted python-twisted
python-qtpy python-qtpy
python-zope-interface python-zope-interface

View file

@ -3184,7 +3184,7 @@ ASCII text files using Gmsh's own scripting language.")
(list ghostscript ;optional, for EPS/PS output (list ghostscript ;optional, for EPS/PS output
python-dbus python-dbus
python-h5py ;optional, for HDF5 data python-h5py ;optional, for HDF5 data
python-pyqt-without-qtwebkit python-pyqt
qtbase-5 qtbase-5
qtsvg-5)) qtsvg-5))
(propagated-inputs (propagated-inputs

View file

@ -2967,7 +2967,7 @@ using a system-independent interface.")
python-ly python-ly
python-poppler-qt5 python-poppler-qt5
python-pyportmidi python-pyportmidi
python-pyqt-without-qtwebkit python-pyqt
python-sip)) python-sip))
(home-page "https://www.frescobaldi.org/") (home-page "https://www.frescobaldi.org/")
(synopsis "LilyPond sheet music text editor") (synopsis "LilyPond sheet music text editor")
@ -3709,7 +3709,7 @@ event-based scripts for scrobbling, notifications, etc.")
(inputs (inputs
(list chromaprint (list chromaprint
python-discid python-discid
python-pyqt-without-qtwebkit python-pyqt
python-mutagen python-mutagen
python-fasteners python-fasteners
python-pyyaml python-pyyaml

View file

@ -160,7 +160,7 @@ GUI based workflow. It is primarily used in the Orange framework.")
python-orange-widget-base python-orange-widget-base
python-pandas python-pandas
python-pygments python-pygments
python-pyqt-without-qtwebkit python-pyqt
python-pyqtgraph python-pyqtgraph
python-pyqtwebengine python-pyqtwebengine
python-pyyaml python-pyyaml

View file

@ -185,7 +185,7 @@ information.")
(inputs (inputs
(list python-poppler-qt5 (list python-poppler-qt5
python-pypdf2 python-pypdf2
python-pyqt-without-qtwebkit python-pyqt
qtbase-5)) qtbase-5))
(home-page "http://crazy-compilers.com/flyer-composer") (home-page "http://crazy-compilers.com/flyer-composer")
(synopsis "Rearrange PDF pages to print as flyers on one sheet") (synopsis "Rearrange PDF pages to print as flyers on one sheet")

View file

@ -1678,7 +1678,7 @@ libraries.")
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
#t))))) #t)))))
(propagated-inputs (propagated-inputs
(list python-pyqt-without-qtwebkit)) (list python-pyqt))
(native-inputs (native-inputs
(list python-pytest python-pytest-runner python-setuptools-scm)) (list python-pytest python-pytest-runner python-setuptools-scm))
(home-page "https://github.com/pytest-dev/pytest-qt") (home-page "https://github.com/pytest-dev/pytest-qt")

View file

@ -14227,7 +14227,7 @@ Jupyter kernels such as IJulia and IRKernel.")
(("def test_other_output") "def _test_other_output"))))))) (("def test_other_output") "def _test_other_output")))))))
(propagated-inputs (propagated-inputs
(list python-ipykernel python-ipython-genutils python-jupyter-client (list python-ipykernel python-ipython-genutils python-jupyter-client
python-jupyter-core python-pygments python-pyqt-without-qtwebkit python-jupyter-core python-pygments python-pyqt
python-pyzmq python-qtpy python-traitlets)) python-pyzmq python-qtpy python-traitlets))
(native-inputs (native-inputs
(list python-flaky python-pytest python-pytest-qt)) (list python-flaky python-pytest python-pytest-qt))
@ -16198,7 +16198,7 @@ ISO 8859, etc.).")
(list qtbase-5)) (list qtbase-5))
(propagated-inputs (propagated-inputs
(list python-h5py python-numpy python-pyopengl python-scipy (list python-h5py python-numpy python-pyopengl python-scipy
python-pyqt-without-qtwebkit)) python-pyqt))
(home-page "https://www.pyqtgraph.org") (home-page "https://www.pyqtgraph.org")
(synopsis "Scientific graphics and GUI library for Python") (synopsis "Scientific graphics and GUI library for Python")
(description (description

View file

@ -3270,7 +3270,6 @@ module provides support functions to the automatically generated code.")
("qtsvg-5" ,qtsvg-5) ("qtsvg-5" ,qtsvg-5)
("qttools-5" ,qttools-5) ("qttools-5" ,qttools-5)
("qtwebchannel-5" ,qtwebchannel-5) ("qtwebchannel-5" ,qtwebchannel-5)
("qtwebkit" ,qtwebkit)
("qtwebsockets-5" ,qtwebsockets-5) ("qtwebsockets-5" ,qtwebsockets-5)
("qtx11extras" ,qtx11extras) ("qtx11extras" ,qtx11extras)
("qtxmlpatterns" ,qtxmlpatterns))) ("qtxmlpatterns" ,qtxmlpatterns)))
@ -3367,7 +3366,7 @@ contain over 620 classes.")
(inputs (inputs
`(("python" ,python-wrapper) `(("python" ,python-wrapper)
("python-sip" ,python-sip) ("python-sip" ,python-sip)
("python-pyqt" ,python-pyqt-without-qtwebkit) ("python-pyqt" ,python-pyqt)
("qtbase" ,qtbase-5) ("qtbase" ,qtbase-5)
("qtsvg-5" ,qtsvg-5) ("qtsvg-5" ,qtsvg-5)
("qtdeclarative-5" ,qtdeclarative-5) ("qtdeclarative-5" ,qtdeclarative-5)
@ -3425,17 +3424,6 @@ set of three modules. Prior to v5.12 these bindings were part of PyQt
itself.") itself.")
(license license:gpl3))) (license license:gpl3)))
;; XXX: This is useful for removing qtwebkit from other packages' dependency
;; graphs, as well as for preventing python-pyqtwebengine from transitively
;; depending on qtwebkit.
;; Ultimately, it would be nicer to have a more modular set of python-pyqt-*
;; packages that could be used together.
(define-public python-pyqt-without-qtwebkit
(package/inherit python-pyqt
(name "python-pyqt-without-qtwebkit")
(inputs
(alist-delete "qtwebkit" (package-inputs python-pyqt)))))
(define-public python-pyqt-builder (define-public python-pyqt-builder
(package (package
(name "python-pyqt-builder") (name "python-pyqt-builder")

View file

@ -687,7 +687,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
python-numpy python-numpy
python-pycairo python-pycairo
python-pygobject python-pygobject
python-pyqt-without-qtwebkit python-pyqt
python-pyqtgraph python-pyqtgraph
python-pyyaml python-pyyaml
qtbase-5 qtbase-5

View file

@ -4872,7 +4872,7 @@ API. It includes bindings for Python, Ruby, and other languages.")
font-dejavu font-dejavu
libopenshot libopenshot
python python
python-pyqt-without-qtwebkit python-pyqt
python-pyqtwebengine python-pyqtwebengine
python-pyzmq python-pyzmq
python-requests python-requests

View file

@ -750,7 +750,7 @@ and probably others.")
python-lxml python-lxml
python-prompt-toolkit python-prompt-toolkit
python-requests python-requests
python-pyqt-without-qtwebkit python-pyqt
python-pyqtwebengine python-pyqtwebengine
python-pysocks python-pysocks
python-pyxdg python-pyxdg

View file

@ -491,7 +491,7 @@ interface.")
;; FIXME: python-pyqtwebengine needs to come before python-pyqt so ;; FIXME: python-pyqtwebengine needs to come before python-pyqt so
;; that it's __init__.py is used first. ;; that it's __init__.py is used first.
python-pyqtwebengine python-pyqtwebengine
python-pyqt-without-qtwebkit python-pyqt
;; While qtwebengine-5 is provided by python-pyqtwebengine, it's ;; While qtwebengine-5 is provided by python-pyqtwebengine, it's
;; included here so we can wrap QTWEBENGINEPROCESS_PATH. ;; included here so we can wrap QTWEBENGINEPROCESS_PATH.
qtwebengine-5)) qtwebengine-5))