2013-10-04 19:10:29 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-24 20:17:33 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2015-01-03 07:12:01 +01:00
|
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2020-01-10 11:28:59 +01:00
|
|
|
|
;;; Copyright © 2015, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
2019-01-02 15:04:17 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2016-10-14 13:27:23 +02:00
|
|
|
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
2019-01-27 13:36:42 +01:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2017-07-18 16:36:42 +02:00
|
|
|
|
;;; Copyright © 2017 Quiliro <quiliro@fsfla.org>
|
2020-06-07 18:43:11 +02:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-10 18:54:01 +01:00
|
|
|
|
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-05-30 19:37:25 +02:00
|
|
|
|
;;; Copyright © 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2018-11-26 05:30:35 +01:00
|
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
2020-01-03 19:32:52 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2019-07-06 18:13:50 +02:00
|
|
|
|
;;; Copyright © 2018 John Soo <jsoo1@asu.edu>
|
2020-01-01 17:03:52 +01:00
|
|
|
|
;;; Copyright © 2020 Mike Rosset <mike.rosset@gmail.com>
|
2020-01-13 12:39:45 +01:00
|
|
|
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
2020-05-13 13:54:20 +02:00
|
|
|
|
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
;;; Copyright © 2020 TomZ <tomz@freedommail.ch>
|
2020-05-10 15:49:20 +02:00
|
|
|
|
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
2013-10-04 19:10:29 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages qt)
|
2016-08-25 20:45:07 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-10-04 19:10:29 +02:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2019-01-02 15:04:17 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2015-09-16 14:24:27 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-10-04 19:10:29 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-07-18 16:39:11 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2020-01-14 12:06:36 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-01-24 20:17:33 +01:00
|
|
|
|
#:use-module (guix packages)
|
2019-10-24 20:28:26 +02:00
|
|
|
|
#:use-module (guix deprecation)
|
2015-01-24 20:17:33 +01:00
|
|
|
|
#:use-module (guix utils)
|
2013-10-12 14:48:52 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2019-07-06 18:13:50 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages bison)
|
2019-07-06 18:13:50 +02:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages compression)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
#:use-module (gnu packages cups)
|
2020-01-03 19:32:52 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
#:use-module (gnu packages databases)
|
2016-12-01 12:51:20 +01:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
#:use-module (gnu packages flex)
|
2016-06-08 19:21:16 +02:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2019-07-16 17:11:03 +02:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2014-11-21 23:46:01 +01:00
|
|
|
|
#:use-module (gnu packages gl)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2017-09-04 11:09:00 +02:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2015-07-25 16:02:38 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 14:39:02 +02:00
|
|
|
|
#:use-module (gnu packages image)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
2019-07-06 18:13:50 +02:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2017-05-18 08:52:49 +02:00
|
|
|
|
#:use-module (gnu packages maths)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages ninja)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 15:14:57 +02:00
|
|
|
|
#:use-module (gnu packages nss)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
#:use-module (gnu packages pciutils)
|
|
|
|
|
#:use-module (gnu packages pcre)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-10-10 14:24:51 +02:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages regex)
|
2014-11-21 23:46:01 +01:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2017-01-05 22:01:45 +01:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 21:47:05 +01:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages telephony)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
2020-01-03 19:32:52 +01:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages video)
|
2018-10-21 08:05:13 +02:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
#:use-module (gnu packages xiph)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-10-21 08:05:13 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2013-10-04 19:10:29 +02:00
|
|
|
|
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(define-public grantlee
|
|
|
|
|
(package
|
|
|
|
|
(name "grantlee")
|
2020-06-03 23:36:27 +02:00
|
|
|
|
(version "5.2.0")
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-01-27 13:36:42 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/steveire/grantlee.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(sha256
|
2020-06-03 23:36:27 +02:00
|
|
|
|
(base32 "02dyqxjyxiqxrlz5g7v9ly8f095vs3iha39l75q6s8axs36y01lq"))))
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(native-inputs
|
2017-09-20 13:04:25 +02:00
|
|
|
|
;; Optional: lcov and cccc, both are for code coverage
|
2016-12-01 12:51:20 +01:00
|
|
|
|
`(("doxygen" ,doxygen)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
2020-06-03 23:36:27 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
2016-12-01 12:51:20 +01:00
|
|
|
|
("qtscript" ,qtscript)))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-06-03 23:36:27 +02:00
|
|
|
|
`(#:phases
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2017-09-20 13:04:25 +02:00
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
|
(lambda _
|
|
|
|
|
;; make Qt render "offscreen", required for tests
|
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
|
#t)))))
|
2016-12-01 12:51:20 +01:00
|
|
|
|
(home-page "https://github.com/steveire/grantlee")
|
|
|
|
|
(synopsis "Libraries for text templating with Qt")
|
|
|
|
|
(description "Grantlee Templates can be used for theming and generation of
|
|
|
|
|
other text such as code. The syntax uses the syntax of the Django template
|
|
|
|
|
system, and the core design of Django is reused in Grantlee.")
|
2020-06-03 23:35:27 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2016-12-01 12:51:20 +01:00
|
|
|
|
|
2019-10-24 20:28:26 +02:00
|
|
|
|
(define-public qt-4
|
2013-10-08 20:49:58 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "qt")
|
2019-10-24 20:28:26 +02:00
|
|
|
|
(version "4.8.7")
|
2013-10-08 20:49:58 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-04-21 13:50:42 +02:00
|
|
|
|
(uri (string-append "http://download.qt-project.org/archive/qt/"
|
2019-10-24 20:28:26 +02:00
|
|
|
|
(string-copy version 0 (string-rindex version #\.))
|
|
|
|
|
"/" version
|
|
|
|
|
"/qt-everywhere-opensource-src-"
|
|
|
|
|
version ".tar.gz"))
|
2013-10-08 20:49:58 +02:00
|
|
|
|
(sha256
|
2018-01-25 06:13:40 +01:00
|
|
|
|
(base32
|
2019-10-24 20:28:26 +02:00
|
|
|
|
"183fca7n7439nlhxyg1z7aky0izgbyll3iwakw4gwivy16aj5272"))
|
|
|
|
|
(patches (search-patches "qt4-ldflags.patch"))
|
2015-10-04 12:56:45 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2019-10-24 20:28:26 +02:00
|
|
|
|
;; Remove webkit module, which is not built.
|
|
|
|
|
'(begin (delete-file-recursively "src/3rdparty/webkit")
|
|
|
|
|
#t))))
|
2013-10-08 20:49:58 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2013-10-10 20:54:25 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mesa" ,mesa)))
|
2013-10-08 20:49:58 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("bluez" ,bluez)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
("cups" ,cups)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("double-conversion" ,double-conversion)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("expat" ,expat)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("icu4c" ,icu4c)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("jasper" ,jasper)
|
|
|
|
|
("libinput" ,libinput-minimal)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
("libmng" ,libmng)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libpci" ,pciutils)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("libpng" ,libpng)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("libx11" ,libx11)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("libxext" ,libxext)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libxfixes" ,libxfixes)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("libxi" ,libxi)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libxinerama" ,libxinerama)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("libxrender" ,libxrender)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("mtdev" ,mtdev)
|
2019-08-30 22:52:06 +02:00
|
|
|
|
("mariadb" ,mariadb "lib")
|
|
|
|
|
("mariadb-dev" ,mariadb "dev")
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("nss" ,nss)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
("postgresql" ,postgresql)
|
2013-10-10 14:24:51 +02:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("pcre2" ,pcre2)
|
2019-11-28 14:12:49 +01:00
|
|
|
|
("sqlite" ,sqlite)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 12:51:51 +01:00
|
|
|
|
("udev" ,eudev)
|
2015-06-16 17:27:10 +02:00
|
|
|
|
("unixodbc" ,unixodbc)
|
2017-10-12 18:53:31 +02:00
|
|
|
|
("wayland" ,wayland)
|
2013-10-08 20:49:58 +02:00
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-renderutil" ,xcb-util-renderutil)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
2019-10-24 20:28:26 +02:00
|
|
|
|
("zlib" ,zlib)
|
2020-01-20 11:29:24 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2019-07-16 17:11:03 +02:00
|
|
|
|
("libsm" ,libsm)
|
|
|
|
|
("openssl" ,openssl-1.0)))
|
2018-10-21 08:05:13 +02:00
|
|
|
|
(native-inputs
|
2019-07-16 17:11:03 +02:00
|
|
|
|
`(;; XXX: The JavaScriptCore engine does not build with the C++11 standard.
|
|
|
|
|
;; We could build it with -std=gnu++98, but then we'll get in trouble with
|
|
|
|
|
;; ICU later. Just keep using GCC 5 for now.
|
2020-04-21 19:07:09 +02:00
|
|
|
|
("gcc@5" ,gcc-5)
|
2019-10-24 20:28:26 +02:00
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("ruby" ,ruby)
|
|
|
|
|
("which" ,(@ (gnu packages base) which))))
|
2015-04-15 18:13:38 +02:00
|
|
|
|
;; Note: there are 37 MiB of examples and a '-exampledir' configure flags,
|
|
|
|
|
;; but we can't make them a separate output because "out" and "examples"
|
|
|
|
|
;; would refer to each other.
|
|
|
|
|
(outputs '("out" ;112MiB core + 37MiB examples
|
|
|
|
|
"doc")) ;280MiB of HTML + code
|
2013-10-12 14:48:52 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
2015-06-27 10:17:27 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2020-04-21 19:07:09 +02:00
|
|
|
|
(add-after 'set-paths 'hide-default-gcc
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gcc (assoc-ref inputs "gcc")))
|
|
|
|
|
;; Remove the default GCC from CPLUS_INCLUDE_PATH to prevent
|
|
|
|
|
;; conflicts with the GCC 5 input.
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
|
|
|
|
(delete (string-append gcc "/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
|
|
|
|
|
":"))
|
|
|
|
|
#t)))
|
2015-06-27 10:17:27 +02:00
|
|
|
|
(replace
|
2013-10-12 14:48:52 +02:00
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2015-04-15 18:13:38 +02:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
2013-10-12 14:48:52 +02:00
|
|
|
|
(substitute* '("configure")
|
2015-04-15 13:30:25 +02:00
|
|
|
|
(("/bin/pwd") (which "pwd")))
|
2018-10-21 09:04:34 +02:00
|
|
|
|
(substitute* "src/corelib/global/global.pri"
|
|
|
|
|
(("/bin/ls") (which "ls")))
|
2015-04-15 13:30:25 +02:00
|
|
|
|
|
2018-10-21 09:07:35 +02:00
|
|
|
|
(invoke
|
|
|
|
|
"./configure"
|
|
|
|
|
"-verbose"
|
|
|
|
|
"-prefix" out
|
|
|
|
|
"-nomake" "examples demos"
|
|
|
|
|
;; Note: Don't pass '-docdir' since 'qmake' and
|
|
|
|
|
;; libQtCore would record its value, thereby defeating
|
|
|
|
|
;; the whole point of having a separate output.
|
|
|
|
|
"-datadir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/data")
|
|
|
|
|
"-importdir" (string-append out "/lib/qt-4"
|
|
|
|
|
"/imports")
|
|
|
|
|
"-plugindir" (string-append out "/lib/qt-4"
|
|
|
|
|
"/plugins")
|
|
|
|
|
"-translationdir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/translations")
|
|
|
|
|
"-demosdir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/demos")
|
|
|
|
|
"-examplesdir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/examples")
|
|
|
|
|
"-opensource"
|
|
|
|
|
"-confirm-license"
|
|
|
|
|
;; explicitly link with dbus instead of dlopening it
|
|
|
|
|
"-dbus-linked"
|
|
|
|
|
;; Skip the webkit module; it fails to build on armhf
|
|
|
|
|
;; and, apart from that, may pose security risks.
|
|
|
|
|
"-no-webkit"
|
|
|
|
|
;; don't use the precompiled headers
|
|
|
|
|
"-no-pch"
|
|
|
|
|
;; drop special machine instructions not supported
|
|
|
|
|
;; on all instances of the target
|
|
|
|
|
,@(if (string-prefix? "x86_64"
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'()
|
|
|
|
|
'("-no-mmx"
|
|
|
|
|
"-no-3dnow"
|
|
|
|
|
"-no-sse"
|
|
|
|
|
"-no-sse2"))
|
|
|
|
|
"-no-sse3"
|
|
|
|
|
"-no-ssse3"
|
|
|
|
|
"-no-sse4.1"
|
|
|
|
|
"-no-sse4.2"
|
|
|
|
|
"-no-avx"))))
|
2015-06-27 21:37:50 +02:00
|
|
|
|
(add-after
|
|
|
|
|
'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Because of qt4-documentation-path.patch, documentation ends up
|
|
|
|
|
;; being installed in OUT. Move it to the right place.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
|
|
|
|
(olddoc (string-append out "/doc"))
|
|
|
|
|
(docdir (string-append doc "/share/doc/qt-" ,version)))
|
|
|
|
|
(mkdir-p (dirname docdir))
|
|
|
|
|
|
|
|
|
|
;; Note: We can't use 'rename-file' here because OUT and DOC are
|
|
|
|
|
;; different "devices" due to bind-mounts.
|
|
|
|
|
(copy-recursively olddoc docdir)
|
|
|
|
|
(delete-file-recursively olddoc)
|
2019-10-24 20:28:26 +02:00
|
|
|
|
#t))))))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "QMAKEPATH")
|
|
|
|
|
(files '("lib/qt5")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QML2_IMPORT_PATH")
|
|
|
|
|
(files '("lib/qt5/qml")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QT_PLUGIN_PATH")
|
|
|
|
|
(files '("lib/qt5/plugins")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc/xdg")))))
|
|
|
|
|
(home-page "https://www.qt.io/")
|
|
|
|
|
(synopsis "Cross-platform GUI library")
|
|
|
|
|
(description "Qt is a cross-platform application and UI framework for
|
|
|
|
|
developers using C++ or QML, a CSS & JavaScript like language.")
|
|
|
|
|
(license (list license:lgpl2.1 license:lgpl3))
|
|
|
|
|
|
|
|
|
|
;; Qt 4: 'QBasicAtomicPointer' leads to build failures on MIPS;
|
|
|
|
|
;; see <http://hydra.gnu.org/build/112828>.
|
|
|
|
|
;; Qt 5: assembler error; see <http://hydra.gnu.org/build/112526>.
|
|
|
|
|
(supported-systems (delete "mips64el-linux" %supported-systems))))
|
2015-01-24 20:17:33 +01:00
|
|
|
|
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(define-public qtbase
|
|
|
|
|
(package
|
|
|
|
|
(name "qtbase")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-02 20:46:32 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
2016-06-26 16:47:23 +02:00
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"12mjsahlma9rw3vz9a6b5h2s6ylg8b34hxc2vnlna5ll429fgfa8"))
|
2017-11-02 23:03:24 +01:00
|
|
|
|
;; Use TZDIR to avoid depending on package "tzdata".
|
2020-02-24 19:39:17 +01:00
|
|
|
|
(patches (search-patches "qtbase-use-TZDIR.patch"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"qtbase-moc-ignore-gcc-macro.patch"))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: qt: Update to 5.9.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.0.
(qtbase)[source]: Remove bundled freetype, libpng, libjpeg, pcre2, xcb,
xkbcommon, zlib.
[inputs]: Remove pcre, add pcre2.
[arguments]: Add configure flag to use system pcre, update flag to not
compile examples.
(qtwayland)[source]: Remove examples in a snippet.
(qtlocation)[inputs]: add icu4c, openssl, zlib.
2017-06-01 07:37:54 +02:00
|
|
|
|
;; corelib uses bundled harfbuzz, md4, md5, sha3
|
2016-06-02 20:46:32 +02:00
|
|
|
|
'(begin
|
gnu: qt: Update to 5.11.3.
* gnu/packages/qt.scm (qt, qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtscxml,
qtgamepad, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d,
qtnetworkauth, qtremoteobjects, qtspeech): Update to 5.11.3.
(qt)[source]: Remove patch.
* gnu/packages/patches/qt-5-renameat2.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-02 08:39:17 +01:00
|
|
|
|
(with-directory-excursion "src/3rdparty"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(list "double-conversion" "freetype" "harfbuzz-ng"
|
|
|
|
|
"libpng" "libjpeg" "pcre2" "sqlite" "xcb"
|
gnu: qt: Update to 5.12.4.
* gnu/packages/qt.scm (qt, qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.12.4.
(qt, qtbase)[source]: Remove xkbcommon from list of directories to remove.
(qtbase)[source]: Remove upstreamed patch.
(python-sip): Update to 4.19.18.
[source]: Update to new source uri.
(python-pyqt): Update to 5.12.3.
[source]: Update to new source uri.
* gnu/packages/patches/qtbase-old-kernel.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-08-29 10:35:39 +02:00
|
|
|
|
"zlib"))
|
gnu: qt: Update to 5.11.3.
* gnu/packages/qt.scm (qt, qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtscxml,
qtgamepad, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d,
qtnetworkauth, qtremoteobjects, qtspeech): Update to 5.11.3.
(qt)[source]: Remove patch.
* gnu/packages/patches/qt-5-renameat2.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-02 08:39:17 +01:00
|
|
|
|
#t)))))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-28 08:17:54 +02:00
|
|
|
|
(propagated-inputs
|
2017-09-03 11:38:57 +02:00
|
|
|
|
`(("mesa" ,mesa)
|
2020-01-13 12:39:45 +01:00
|
|
|
|
;; Use which the package, not the function
|
2017-09-03 11:38:57 +02:00
|
|
|
|
("which" ,(@ (gnu packages base) which))))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cups" ,cups)
|
|
|
|
|
("dbus" ,dbus)
|
2017-05-18 08:52:49 +02:00
|
|
|
|
("double-conversion" ,double-conversion)
|
2016-06-26 18:54:59 +02:00
|
|
|
|
("eudev" ,eudev)
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
2017-10-09 13:59:20 +02:00
|
|
|
|
("libinput" ,libinput-minimal)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("libmng" ,libmng)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("mtdev" ,mtdev)
|
2019-08-30 22:52:06 +02:00
|
|
|
|
("mariadb" ,mariadb "lib")
|
|
|
|
|
("mariadb-dev" ,mariadb "dev")
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("nss" ,nss)
|
|
|
|
|
("openssl" ,openssl)
|
gnu: qt: Update to 5.9.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.0.
(qtbase)[source]: Remove bundled freetype, libpng, libjpeg, pcre2, xcb,
xkbcommon, zlib.
[inputs]: Remove pcre, add pcre2.
[arguments]: Add configure flag to use system pcre, update flag to not
compile examples.
(qtwayland)[source]: Remove examples in a snippet.
(qtlocation)[inputs]: add icu4c, openssl, zlib.
2017-06-01 07:37:54 +02:00
|
|
|
|
("pcre2" ,pcre2)
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2019-11-28 14:12:49 +01:00
|
|
|
|
("sqlite" ,sqlite)
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("unixodbc" ,unixodbc)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-renderutil" ,xcb-util-renderutil)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
2020-01-13 12:39:45 +01:00
|
|
|
|
("xdg-utils" ,xdg-utils)
|
2016-06-02 20:46:32 +02:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-11-26 19:33:15 +01:00
|
|
|
|
("python" ,python)
|
2018-10-21 08:05:13 +02:00
|
|
|
|
("vulkan-headers" ,vulkan-headers)
|
2017-09-03 11:38:57 +02:00
|
|
|
|
("ruby" ,ruby)))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'patch-bin-sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("config.status"
|
|
|
|
|
"configure"
|
|
|
|
|
"mkspecs/features/qt_functions.prf"
|
|
|
|
|
"qmake/library/qmakebuiltins.cpp")
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2020-01-13 12:39:45 +01:00
|
|
|
|
(add-after 'configure 'patch-xdg-open
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("src/platformsupport/services/genericunix/qgenericunixservices.cpp")
|
|
|
|
|
(("^.*const char \\*browsers.*$" all)
|
|
|
|
|
(string-append "*browser = QStringLiteral(\""
|
|
|
|
|
(which "xdg-open")
|
|
|
|
|
"\"); return true; \n" all)))
|
|
|
|
|
#t))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("/bin/pwd") (which "pwd")))
|
|
|
|
|
(substitute* "src/corelib/global/global.pri"
|
|
|
|
|
(("/bin/ls") (which "ls")))
|
2016-08-01 23:54:43 +02:00
|
|
|
|
;; The configuration files for other Qt5 packages are searched
|
|
|
|
|
;; through a call to "find_package" in Qt5Config.cmake, which
|
|
|
|
|
;; disables the use of CMAKE_PREFIX_PATH via the parameter
|
|
|
|
|
;; "NO_DEFAULT_PATH". Re-enable it so that the different
|
|
|
|
|
;; components can be installed in different places.
|
|
|
|
|
(substitute* (find-files "." ".*\\.cmake")
|
|
|
|
|
(("NO_DEFAULT_PATH") ""))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
;; do not pass "--enable-fast-install", which makes the
|
|
|
|
|
;; configure process fail
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
(invoke
|
|
|
|
|
"./configure"
|
|
|
|
|
"-verbose"
|
|
|
|
|
"-prefix" out
|
|
|
|
|
"-docdir" (string-append out "/share/doc/qt5")
|
|
|
|
|
"-headerdir" (string-append out "/include/qt5")
|
|
|
|
|
"-archdatadir" (string-append out "/lib/qt5")
|
|
|
|
|
"-datadir" (string-append out "/share/qt5")
|
|
|
|
|
"-examplesdir" (string-append
|
|
|
|
|
out "/share/doc/qt5/examples")
|
|
|
|
|
"-opensource"
|
|
|
|
|
"-confirm-license"
|
2018-06-01 13:19:25 +02:00
|
|
|
|
|
|
|
|
|
;; These features require higher versions of Linux than the
|
|
|
|
|
;; minimum version of the glibc. See
|
|
|
|
|
;; src/corelib/global/minimum-linux_p.h. By disabling these
|
|
|
|
|
;; features Qt5 applications can be used on the oldest
|
|
|
|
|
;; kernels that the glibc supports, including the RHEL6
|
|
|
|
|
;; (2.6.32) and RHEL7 (3.10) kernels.
|
|
|
|
|
"-no-feature-getentropy" ; requires Linux 3.17
|
2019-11-14 17:13:10 +01:00
|
|
|
|
"-no-feature-renameat2" ; requires Linux 3.16
|
2018-06-01 13:19:25 +02:00
|
|
|
|
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
;; Do not build examples; if desired, these could go
|
|
|
|
|
;; into a separate output, but for the time being, we
|
|
|
|
|
;; prefer to save the space and build time.
|
|
|
|
|
"-no-compile-examples"
|
|
|
|
|
;; Most "-system-..." are automatic, but some use
|
|
|
|
|
;; the bundled copy by default.
|
2018-10-21 08:04:41 +02:00
|
|
|
|
"-system-sqlite"
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"-system-harfbuzz"
|
|
|
|
|
"-system-pcre"
|
|
|
|
|
;; explicitly link with openssl instead of dlopening it
|
|
|
|
|
"-openssl-linked"
|
|
|
|
|
;; explicitly link with dbus instead of dlopening it
|
|
|
|
|
"-dbus-linked"
|
|
|
|
|
;; don't use the precompiled headers
|
|
|
|
|
"-no-pch"
|
|
|
|
|
;; drop special machine instructions that do not have
|
|
|
|
|
;; runtime detection
|
|
|
|
|
,@(if (string-prefix? "x86_64"
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'()
|
|
|
|
|
'("-no-sse2"))
|
|
|
|
|
"-no-mips_dsp"
|
|
|
|
|
"-no-mips_dspr2"))))
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(add-after 'install 'patch-mkspecs
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(archdata (string-append out "/lib/qt5"))
|
|
|
|
|
(mkspecs (string-append archdata "/mkspecs"))
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(qt_config.prf (string-append
|
2017-08-25 16:52:41 +02:00
|
|
|
|
mkspecs "/features/qt_config.prf")))
|
2016-08-14 08:14:11 +02:00
|
|
|
|
;; For each Qt module, let `qmake' uses search paths in the
|
|
|
|
|
;; module directory instead of all in QT_INSTALL_PREFIX.
|
|
|
|
|
(substitute* qt_config.prf
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_HEADERS\\]")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../include/qt5))")
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(("\\$\\$\\[QT_HOST_LIBS\\]")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(("\\$\\$\\[QT_INSTALL_BINS\\]")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../bin))"))
|
2017-09-03 11:38:57 +02:00
|
|
|
|
|
|
|
|
|
;; Searches Qt tools in the current PATH instead of QT_HOST_BINS.
|
|
|
|
|
(substitute* (string-append mkspecs "/features/qt_functions.prf")
|
|
|
|
|
(("cmd = \\$\\$\\[QT_HOST_BINS\\]/\\$\\$2")
|
|
|
|
|
"cmd = $$system(which $${2}.pl 2>/dev/null || which $${2})"))
|
|
|
|
|
|
|
|
|
|
;; Resolve qmake spec files within qtbase by absolute paths.
|
|
|
|
|
(substitute*
|
|
|
|
|
(map (lambda (file)
|
|
|
|
|
(string-append mkspecs "/features/" file))
|
|
|
|
|
'("device_config.prf" "moc.prf" "qt_build_config.prf"
|
|
|
|
|
"qt_config.prf" "winrt/package_manifest.prf"))
|
|
|
|
|
(("\\$\\$\\[QT_HOST_DATA/get\\]") archdata)
|
|
|
|
|
(("\\$\\$\\[QT_HOST_DATA/src\\]") archdata))
|
2017-11-02 23:03:24 +01:00
|
|
|
|
#t)))
|
2019-11-27 19:09:58 +01:00
|
|
|
|
(add-after 'patch-mkspecs 'patch-prl-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Insert absolute references to the qtbase libraries because
|
|
|
|
|
;; QT_INSTALL_LIBS does not always resolve correctly, depending
|
|
|
|
|
;; on context. See <https://bugs.gnu.org/38405>
|
|
|
|
|
(substitute* (find-files (string-append out "/lib") "\\.prl$")
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
|
|
|
|
(string-append out "/lib")))
|
|
|
|
|
#t)))
|
2017-11-02 23:03:24 +01:00
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
;; Use the absolute paths for dynamically loaded libs, otherwise
|
|
|
|
|
;; the lib will be searched in LD_LIBRARY_PATH which typically is
|
|
|
|
|
;; not set in guix.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; libresolve
|
|
|
|
|
(let ((glibc (assoc-ref inputs ,(if (%current-target-system)
|
|
|
|
|
"cross-libc" "libc"))))
|
|
|
|
|
(substitute* '("src/network/kernel/qdnslookup_unix.cpp"
|
|
|
|
|
"src/network/kernel/qhostinfo_unix.cpp")
|
|
|
|
|
(("^\\s*(lib.setFileName\\(QLatin1String\\(\")(resolv\"\\)\\);)" _ a b)
|
|
|
|
|
(string-append a glibc "/lib/lib" b))))
|
|
|
|
|
;; libGL
|
|
|
|
|
(substitute* "src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp"
|
|
|
|
|
(("^\\s*(QLibrary lib\\(QLatin1String\\(\")(GL\"\\)\\);)" _ a b)
|
|
|
|
|
(string-append a (assoc-ref inputs "mesa") "/lib/lib" b)))
|
|
|
|
|
;; libXcursor
|
|
|
|
|
(substitute* "src/plugins/platforms/xcb/qxcbcursor.cpp"
|
|
|
|
|
(("^\\s*(QLibrary xcursorLib\\(QLatin1String\\(\")(Xcursor\"\\), 1\\);)" _ a b)
|
|
|
|
|
(string-append a (assoc-ref inputs "libxcursor") "/lib/lib" b))
|
|
|
|
|
(("^\\s*(xcursorLib.setFileName\\(QLatin1String\\(\")(Xcursor\"\\)\\);)" _ a b)
|
|
|
|
|
(string-append a (assoc-ref inputs "libxcursor") "/lib/lib" b)))
|
|
|
|
|
#t)))))
|
2016-08-14 08:14:11 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "QMAKEPATH")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
(files '("lib/qt5")))
|
2016-08-25 17:20:22 +02:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QML2_IMPORT_PATH")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
(files '("lib/qt5/qml")))
|
2016-08-25 17:20:22 +02:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QT_PLUGIN_PATH")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
(files '("lib/qt5/plugins")))
|
2016-08-25 17:20:22 +02:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc/xdg")))))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
(home-page "https://www.qt.io/")
|
|
|
|
|
(synopsis "Cross-platform GUI library")
|
|
|
|
|
(description "Qt is a cross-platform application and UI framework for
|
|
|
|
|
developers using C++ or QML, a CSS & JavaScript like language.")
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license (list license:lgpl2.1 license:lgpl3))))
|
2016-06-02 20:46:32 +02:00
|
|
|
|
|
2019-10-24 20:28:26 +02:00
|
|
|
|
;; qt used to refer to the monolithic Qt 5.x package
|
2020-01-10 11:28:59 +01:00
|
|
|
|
(define-deprecated qt qtbase)
|
2019-10-24 20:28:26 +02:00
|
|
|
|
|
2016-05-20 12:14:50 +02:00
|
|
|
|
(define-public qtsvg
|
|
|
|
|
(package (inherit qtbase)
|
|
|
|
|
(name "qtsvg")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-05-20 12:14:50 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-05-20 12:14:50 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"18dmfc8s428fzbk7k5vl3212b25455ayrz7s716nwyiy3ahgmmy7"))))
|
2016-06-28 08:17:54 +02:00
|
|
|
|
(propagated-inputs `())
|
2016-05-20 12:14:50 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(add-before 'configure 'configure-qmake
|
2016-05-20 12:14:50 +02:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(qtbase (assoc-ref inputs "qtbase"))
|
|
|
|
|
(tmpdir (string-append (getenv "TMPDIR")))
|
|
|
|
|
(qmake (string-append tmpdir "/qmake"))
|
|
|
|
|
(qt.conf (string-append tmpdir "/qt.conf")))
|
|
|
|
|
;; Use qmake with a customized qt.conf to override install
|
|
|
|
|
;; paths to $out.
|
|
|
|
|
(symlink (which "qmake") qmake)
|
|
|
|
|
(setenv "PATH" (string-append tmpdir ":" (getenv "PATH")))
|
|
|
|
|
(with-output-to-file qt.conf
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "[Paths]
|
|
|
|
|
Prefix=~a
|
|
|
|
|
ArchData=lib/qt5
|
|
|
|
|
Data=share/qt5
|
|
|
|
|
Documentation=share/doc/qt5
|
|
|
|
|
Headers=include/qt5
|
|
|
|
|
Libraries=lib
|
|
|
|
|
LibraryExecutables=lib/qt5/libexec
|
|
|
|
|
Binaries=bin
|
|
|
|
|
Tests=tests
|
|
|
|
|
Plugins=lib/qt5/plugins
|
|
|
|
|
Imports=lib/qt5/imports
|
|
|
|
|
Qml2Imports=lib/qt5/qml
|
|
|
|
|
Translations=share/qt5/translations
|
|
|
|
|
Settings=etc/xdg
|
|
|
|
|
Examples=share/doc/qt5/examples
|
|
|
|
|
HostPrefix=~a
|
|
|
|
|
HostData=lib/qt5
|
|
|
|
|
HostBinaries=bin
|
|
|
|
|
HostLibraries=lib
|
2017-10-22 13:21:17 +02:00
|
|
|
|
|
|
|
|
|
[EffectiveSourcePaths]
|
|
|
|
|
HostPrefix=~a
|
|
|
|
|
HostData=lib/qt5
|
|
|
|
|
" out out qtbase)))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
#t)))
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Valid QT_BUILD_PARTS variables are:
|
|
|
|
|
;; libs tools tests examples demos docs translations
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools tests")))
|
2017-09-03 11:38:57 +02:00
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
|
(lambda _
|
|
|
|
|
;; make Qt render "offscreen", required for tests
|
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
|
#t)))))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(synopsis "Qt module for displaying SVGs")
|
|
|
|
|
(description "The QtSvg module provides classes for displaying the
|
|
|
|
|
contents of SVG files.")))
|
2016-05-20 12:14:50 +02:00
|
|
|
|
|
2016-06-03 17:39:18 +02:00
|
|
|
|
(define-public qtimageformats
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtimageformats")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-03 17:39:18 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-03 17:39:18 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"132g4rlm61pdcpcrclr1rwpbrxn7va4wjfb021mh8pn1cl0wlgkk"))
|
2016-11-06 19:30:25 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "src/3rdparty")
|
|
|
|
|
#t))))
|
2016-06-03 17:39:18 +02:00
|
|
|
|
(native-inputs `())
|
|
|
|
|
(inputs
|
2016-12-22 23:14:18 +01:00
|
|
|
|
`(("jasper" ,jasper)
|
|
|
|
|
("libmng" ,libmng)
|
2016-06-03 17:39:18 +02:00
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Additional Image Format plugins for Qt")
|
|
|
|
|
(description "The QtImageFormats module contains plugins for adding
|
|
|
|
|
support for MNG, TGA, TIFF and WBMP image formats.")))
|
2016-06-03 17:39:18 +02:00
|
|
|
|
|
2016-06-05 00:06:22 +02:00
|
|
|
|
(define-public qtx11extras
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtx11extras")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-05 00:06:22 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-05 00:06:22 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0njlh6d327nll7d8qaqrwr5x15m9yzgyar2j45qigs1f7ah896my"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-05 00:06:22 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Extras for X11")
|
|
|
|
|
(description "The QtX11Extras module includes the library to access X11
|
|
|
|
|
from within Qt 5.")))
|
2016-06-05 00:06:22 +02:00
|
|
|
|
|
2016-06-05 05:55:24 +02:00
|
|
|
|
(define-public qtxmlpatterns
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtxmlpatterns")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-05 05:55:24 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-05 05:55:24 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1dyg1z4349k04yyzn8xbp4f5qjgm60gz6wgzp80khpilcmk8g6i1"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2020-01-05 19:27:17 +01:00
|
|
|
|
((#:tests? _ #f) #f) ; TODO: Enable the tests
|
2017-01-08 12:35:41 +01:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'disable-network-tests
|
|
|
|
|
(lambda _ (substitute* "tests/auto/auto.pro"
|
|
|
|
|
(("qxmlquery") "# qxmlquery")
|
gnu: qt: Update to 5.8.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.8.0.
(qtdeclarative-render2d)[properties]: New field, package has been
absorbed by qtdeclarative and thus marked as superseded by it.
2017-05-18 09:17:42 +02:00
|
|
|
|
(("xmlpatterns ") "# xmlpatterns"))
|
2017-01-08 12:35:41 +01:00
|
|
|
|
#t))))))
|
2020-01-05 19:27:17 +01:00
|
|
|
|
(native-inputs `(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(inputs `(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt XML patterns module")
|
|
|
|
|
(description "The QtXmlPatterns module is a XQuery and XPath engine for
|
|
|
|
|
XML and custom data models. It contains programs such as xmlpatterns and
|
|
|
|
|
xmlpatternsvalidator.")))
|
2016-06-05 05:55:24 +02:00
|
|
|
|
|
2016-06-06 15:30:22 +02:00
|
|
|
|
(define-public qtdeclarative
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtdeclarative")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-06 15:30:22 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 15:30:22 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0l0nhc2si6dl9r4s1bs45z90qqigs8jnrsyjjdy38q4pvix63i53"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2020-05-10 15:49:20 +02:00
|
|
|
|
((#:tests? _ #f) #f) ;TODO: Enable the tests
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'build 'fix-qt5core-install-prefix
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; The Qt5Core install prefix is set to qtbase, but qmlcachegen
|
|
|
|
|
;; is provided by qtdeclarative.
|
|
|
|
|
(substitute*
|
|
|
|
|
"lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
|
|
|
|
|
(("\\$\\{_qt5Core_install_prefix\\}") out)))
|
|
|
|
|
#t))))))
|
2016-06-06 15:30:22 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-11-26 19:33:15 +01:00
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-wrapper" ,python-wrapper)
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("vulkan-headers" ,vulkan-headers)))
|
2016-06-06 15:30:22 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt QML module (Quick 2)")
|
|
|
|
|
(description "The Qt QML module provides a framework for developing
|
|
|
|
|
applications and libraries with the QML language. It defines and implements the
|
|
|
|
|
language and engine infrastructure, and provides an API to enable application
|
|
|
|
|
developers to extend the QML language with custom types and integrate QML code
|
|
|
|
|
with JavaScript and C++.")))
|
2016-06-06 15:30:22 +02:00
|
|
|
|
|
2016-06-06 18:43:59 +02:00
|
|
|
|
(define-public qtconnectivity
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtconnectivity")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-06 18:43:59 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 18:43:59 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0a5wzin635b926b8prdwfazgy1vhyf8m6an64wp2lpkp78z7prmb"))))
|
2016-06-06 18:43:59 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bluez" ,bluez)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Connectivity module")
|
|
|
|
|
(description "The Qt Connectivity modules provides modules for interacting
|
|
|
|
|
with Bluetooth and NFC.")))
|
2016-06-06 18:43:59 +02:00
|
|
|
|
|
2016-06-06 19:05:47 +02:00
|
|
|
|
(define-public qtwebsockets
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebsockets")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-06 19:05:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 19:05:47 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"116amx4mnv50k0fpswgpr5x8wjny8nbffrjmld01pzhkhfqn4vph"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-06 19:05:47 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(inputs `(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Web Sockets module")
|
|
|
|
|
(description "WebSocket is a web-based protocol designed to enable two-way
|
|
|
|
|
communication between a client application and a remote host. The Qt
|
|
|
|
|
WebSockets module provides C++ and QML interfaces that enable Qt applications
|
|
|
|
|
to act as a server that can process WebSocket requests, or a client that can
|
|
|
|
|
consume data received from the server, or both.")))
|
2016-06-06 19:05:47 +02:00
|
|
|
|
|
2016-06-06 19:14:45 +02:00
|
|
|
|
(define-public qtsensors
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtsensors")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-06 19:14:45 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 19:14:45 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0qccpgbhyg9k4x5nni7xm0pyvaqia3zrcd42cn7ksf5h21lwmkxw"))))
|
2017-06-22 12:04:33 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2017-11-25 21:16:12 +01:00
|
|
|
|
((#:parallel-tests? _ #f) #f) ; can lead to race condition
|
2017-06-22 12:04:33 +02:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2018-02-10 18:54:01 +01:00
|
|
|
|
(add-after 'unpack 'fix-tests
|
2017-06-22 12:04:33 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/auto/qsensorgestures_gestures/tst_sensorgestures_gestures.cpp"
|
2018-02-10 18:54:01 +01:00
|
|
|
|
(("2000") "5000") ;lengthen test timeout
|
|
|
|
|
(("QTest::newRow(\"twist\") << \"twist\"") "")) ;failing test
|
2017-06-22 12:04:33 +02:00
|
|
|
|
#t))))))
|
2016-06-06 19:14:45 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(inputs `(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Sensors module")
|
|
|
|
|
(description "The Qt Sensors API provides access to sensor hardware via QML
|
|
|
|
|
and C++ interfaces. The Qt Sensors API also provides a motion gesture
|
|
|
|
|
recognition API for devices.")))
|
2016-06-06 19:14:45 +02:00
|
|
|
|
|
2016-06-06 20:50:41 +02:00
|
|
|
|
(define-public qtmultimedia
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtmultimedia")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-06 20:50:41 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 20:50:41 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1sczzcvk3c5gczz53yvp8ma6gp8aixk5pcq7wh344c9md3g8xkbs"))
|
2016-11-06 20:06:48 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
"examples/multimedia/spectrum/3rdparty")
|
|
|
|
|
;; We also prevent the spectrum example from being built.
|
|
|
|
|
(substitute* "examples/multimedia/multimedia.pro"
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(("spectrum") "#"))
|
|
|
|
|
#t))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2017-09-04 11:09:00 +02:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools tests"
|
|
|
|
|
(string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," out "/lib -Wl,-rpath,")
|
|
|
|
|
(string-append "PREFIX=" out)))))))
|
2017-09-04 11:09:00 +02:00
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-06 20:50:41 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-11-26 19:33:15 +01:00
|
|
|
|
("python" ,python)
|
2016-06-06 20:50:41 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2017-09-04 11:09:00 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
;; Gstreamer is needed for the mediaplayer plugin
|
|
|
|
|
("gstreamer" ,gstreamer)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)))
|
|
|
|
|
(synopsis "Qt Multimedia module")
|
|
|
|
|
(description "The Qt Multimedia module provides set of APIs to play and
|
|
|
|
|
record media, and manage a collection of media content. It also contains a
|
|
|
|
|
set of plugins for interacting with pulseaudio and GStreamer.")))
|
2016-06-06 20:50:41 +02:00
|
|
|
|
|
2016-06-08 19:21:16 +02:00
|
|
|
|
(define-public qtwayland
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwayland")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-08 19:21:16 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-08 19:21:16 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0al3yypy3fin62n8d1859jh0mn0fbpa161l7f37hgd4gf75365nk"))
|
gnu: qt: Update to 5.9.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.0.
(qtbase)[source]: Remove bundled freetype, libpng, libjpeg, pcre2, xcb,
xkbcommon, zlib.
[inputs]: Remove pcre, add pcre2.
[arguments]: Add configure flag to use system pcre, update flag to not
compile examples.
(qtwayland)[source]: Remove examples in a snippet.
(qtlocation)[inputs]: add icu4c, openssl, zlib.
2017-06-01 07:37:54 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; The examples try to build and cause the build to fail
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "examples")
|
|
|
|
|
#t))))
|
2017-08-25 16:52:41 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; FIXME: tst_seatv4::animatedCursor() fails for no good
|
|
|
|
|
;; reason and breaks these two tests.
|
|
|
|
|
(substitute* "tests/auto/client/seatv4/tst_seatv4.cpp"
|
|
|
|
|
(((string-append "QVERIFY\\(!cursorSurface\\(\\)->"
|
|
|
|
|
"m_waitingFrameCallbacks\\.empty\\(\\)\\);"))
|
|
|
|
|
"")
|
|
|
|
|
(("QTRY_COMPARE\\(bufferSpy\\.count\\(\\), 1\\);")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'set-test-environment
|
2017-08-25 16:52:41 +02:00
|
|
|
|
(lambda _
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
;; Do not fail just because /etc/machine-id is missing.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
2017-08-25 16:52:41 +02:00
|
|
|
|
#t))))))
|
2016-06-08 19:21:16 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mtdev" ,mtdev)
|
|
|
|
|
("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("wayland" ,wayland)))
|
|
|
|
|
(synopsis "Qt Wayland module")
|
|
|
|
|
(description "The Qt Wayland module provides the QtWayland client and
|
|
|
|
|
compositor libraries.")))
|
2016-06-08 19:21:16 +02:00
|
|
|
|
|
2016-06-09 22:41:39 +02:00
|
|
|
|
(define-public qtserialport
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtserialport")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-09 22:41:39 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-09 22:41:39 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"08ga9a1lwj83872nxablk602z1dq0la6jqsiicvd7m1sfbfpgnd6"))))
|
2016-06-09 22:41:39 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2016-06-26 16:57:51 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("eudev" ,eudev)))
|
2017-11-01 16:31:03 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'patch-dlopen-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/serialport/qtudev_p.h"
|
|
|
|
|
;; Use the absolute paths for dynamically loaded libs,
|
|
|
|
|
;; otherwise the lib will be searched in LD_LIBRARY_PATH which
|
|
|
|
|
;; typically is not set in guix.
|
|
|
|
|
(("^\\s*(udevLibrary->setFileNameAndVersion\\(QStringLiteral\\(\")(udev\"\\),\\s*[0-9]+\\);)" _ a b)
|
|
|
|
|
(string-append a (assoc-ref inputs "eudev") "/lib/lib" b)))
|
|
|
|
|
#t))))))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(synopsis "Qt Serial Port module")
|
|
|
|
|
(description "The Qt Serial Port module provides the library for
|
|
|
|
|
interacting with serial ports from within Qt.")))
|
2016-06-09 22:41:39 +02:00
|
|
|
|
|
2017-01-05 19:44:27 +01:00
|
|
|
|
(define-public qtserialbus
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtserialbus")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-05 19:44:27 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 19:44:27 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"14bahg82jciciqkl74q9hvf3a8kp3pk5v731vp2416k4b8bn4xqb"))))
|
2017-01-05 19:44:27 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtserialport" ,qtserialport)))
|
|
|
|
|
(synopsis "Qt Serial Bus module")
|
|
|
|
|
(description "The Qt Serial Bus API provides classes and functions to
|
|
|
|
|
access the various industrial serial buses and protocols, such as CAN, ModBus,
|
|
|
|
|
and others.")))
|
2017-01-05 19:44:27 +01:00
|
|
|
|
|
2016-06-09 22:56:18 +02:00
|
|
|
|
(define-public qtwebchannel
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebchannel")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-09 22:56:18 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-09 22:56:18 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0x7q66994pw6cd0f505bmirw1sssqs740zaw8lyqqqr32m2ch7bx"))))
|
2016-06-09 22:56:18 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtwebsockets" ,qtwebsockets)))
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
(inputs `(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Web communication library for Qt")
|
|
|
|
|
(description "The Qt WebChannel module enables peer-to-peer communication
|
|
|
|
|
between the host (QML/C++ application) and the client (HTML/JavaScript
|
|
|
|
|
application). The transport mechanism is supported out of the box by the two
|
|
|
|
|
popular web engines, Qt WebKit 2 and Qt WebEngine.")))
|
2016-06-09 22:56:18 +02:00
|
|
|
|
|
2018-05-30 23:47:20 +02:00
|
|
|
|
(define-public qtwebglplugin
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebglplugin")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2018-05-30 23:47:20 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"05rl657848fsprsnabdqb5z363c6drjc32k59223vl351f8ihhgb"))))
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 10:10:25 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'disable-network-tests
|
|
|
|
|
(lambda _ (substitute* "tests/plugins/platforms/platforms.pro"
|
|
|
|
|
(("webgl") "# webgl"))
|
|
|
|
|
#t))))))
|
2018-05-30 23:47:20 +02:00
|
|
|
|
(native-inputs '())
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("qtbase" ,qtbase)
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 10:10:25 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
("qtwebsockets" ,qtwebsockets)
|
|
|
|
|
("zlib" ,zlib)))
|
2018-05-30 23:47:20 +02:00
|
|
|
|
(synopsis "QPA plugin for running an application via a browser using
|
|
|
|
|
streamed WebGL commands")
|
|
|
|
|
(description "Qt back end that uses WebGL for rendering. It allows Qt
|
|
|
|
|
applications (with some limitations) to run in a web browser that supports
|
|
|
|
|
WebGL. WebGL is a JavaScript API for rendering 2D and 3D graphics within any
|
|
|
|
|
compatible web browser without the use of plug-ins. The API is similar to
|
|
|
|
|
OpenGL ES 2.0 and can be used in HTML5 canvas elements")))
|
|
|
|
|
|
2018-05-30 19:37:25 +02:00
|
|
|
|
(define-public qtwebview
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebview")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2018-05-30 19:37:25 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0jzzcm7z5njkddzfhmyjz4dbbzq8h93980cci4479zc4xq9r47y6"))))
|
2018-05-30 19:37:25 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Display web content in a QML application")
|
|
|
|
|
(description "Qt WebView provides a way to display web content in a QML
|
|
|
|
|
application without necessarily including a full web browser stack by using
|
|
|
|
|
native APIs where it makes sense.")))
|
|
|
|
|
|
2016-06-10 06:49:43 +02:00
|
|
|
|
(define-public qtlocation
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtlocation")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-10 06:49:43 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-10 06:49:43 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1k3m8zhbv04yrqvj7jlnh8f9xczdsmla59j9gcwsqvbg76y0hxy3"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-10 06:49:43 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
2016-08-16 20:24:24 +02:00
|
|
|
|
("qtquickcontrols" ,qtquickcontrols)
|
2016-06-10 06:49:43 +02:00
|
|
|
|
("qtserialport" ,qtserialport)))
|
gnu: qt: Update to 5.9.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.0.
(qtbase)[source]: Remove bundled freetype, libpng, libjpeg, pcre2, xcb,
xkbcommon, zlib.
[inputs]: Remove pcre, add pcre2.
[arguments]: Add configure flag to use system pcre, update flag to not
compile examples.
(qtwayland)[source]: Remove examples in a snippet.
(qtlocation)[inputs]: add icu4c, openssl, zlib.
2017-06-01 07:37:54 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("icu4c" ,icu4c)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Qt Location and Positioning modules")
|
|
|
|
|
(description "The Qt Location module provides an interface for location,
|
|
|
|
|
positioning and geolocation plugins.")))
|
2016-06-10 06:49:43 +02:00
|
|
|
|
|
2016-06-10 13:36:30 +02:00
|
|
|
|
(define-public qttools
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qttools")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-10 13:36:30 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-10 13:36:30 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1iakl3hlyg51ri1czmis8mmb257b0y1zk2a2knybd3mq69wczc2v"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-10 13:36:30 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
2018-10-21 08:05:13 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("vulkan-headers" ,vulkan-headers)))
|
2016-06-10 13:36:30 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Tools and Designer modules")
|
|
|
|
|
(description "The Qt Tools module provides a set of applications to browse
|
|
|
|
|
the documentation, translate applications, generate help files and other stuff
|
|
|
|
|
that helps in Qt development.")))
|
2016-06-10 13:36:30 +02:00
|
|
|
|
|
2016-06-30 11:22:30 +02:00
|
|
|
|
(define-public qtscript
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtscript")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-06-30 11:22:30 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-30 11:22:30 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1zlvg3hc6h70d789g3kv6dxbwswzkskkm00bdgl01grwrdy4izg9"))
|
2017-05-18 08:25:35 +02:00
|
|
|
|
(patches (search-patches "qtscript-disable-tests.patch"))))
|
2016-06-30 11:22:30 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Script module")
|
|
|
|
|
(description "Qt provides support for application scripting with ECMAScript.
|
|
|
|
|
The following guides and references cover aspects of programming with
|
|
|
|
|
ECMAScript and Qt.")))
|
2016-06-30 11:22:30 +02:00
|
|
|
|
|
2016-08-14 19:54:02 +02:00
|
|
|
|
(define-public qtquickcontrols
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtquickcontrols")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-08-14 19:54:02 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 19:54:02 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0qa4dlhn3iv9yvaic8hw86v6h8rn9sgq8xjfdaym04pfshfyypfm"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 19:54:02 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Quick Controls and other Quick modules")
|
|
|
|
|
(description "The QtScript module provides classes for making Qt
|
|
|
|
|
applications scriptable. This module provides a set of extra components that
|
|
|
|
|
can be used to build complete interfaces in Qt Quick.")))
|
2016-08-14 19:54:02 +02:00
|
|
|
|
|
2016-08-14 19:57:15 +02:00
|
|
|
|
(define-public qtquickcontrols2
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtquickcontrols2")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-08-14 19:57:15 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 19:57:15 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0q0mk2mjlf9ll0gdrdzxy8096s6g9draaqiwrlvdpa7lv14x7xzs"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 19:57:15 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Quick Controls 2 and other Quick 2 modules")
|
|
|
|
|
(description "The Qt Quick Controls 2 module contains the Qt Labs Platform
|
|
|
|
|
module that provides platform integration: native dialogs, menus and menu bars,
|
|
|
|
|
and tray icons. It falls back to Qt Widgets when a native implementation is
|
|
|
|
|
not available.")))
|
2016-08-14 19:57:15 +02:00
|
|
|
|
|
2016-08-14 19:58:17 +02:00
|
|
|
|
(define-public qtgraphicaleffects
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtgraphicaleffects")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2016-08-14 19:58:17 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 19:58:17 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"03xmwhapv0b2qj661iaqqrvhxc7qiid0acrp6rj85824ha2pyyj8"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 19:58:17 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Graphical Effects module")
|
|
|
|
|
(description "The Qt Graphical Effects module provides a set of QML types
|
|
|
|
|
for adding visually impressive and configurable effects to user interfaces.
|
|
|
|
|
Effects are visual items that can be added to Qt Quick user interface as UI
|
|
|
|
|
components. The API consists of over 20 effects provided as separate QML
|
|
|
|
|
types. The effects cover functional areas such as blending, masking, blurring,
|
|
|
|
|
coloring, and many more.")))
|
2016-08-14 19:58:17 +02:00
|
|
|
|
|
2017-01-05 22:01:45 +01:00
|
|
|
|
(define-public qtgamepad
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtgamepad")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-05 22:01:45 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 22:01:45 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"00wd3h465waxdghg2vdhs5pkj0xikwjn88l12477dksm8zdslzgp"))))
|
2017-01-05 22:01:45 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Gamepad module")
|
|
|
|
|
(description "The Qt Gamepad module is an add-on library that enables Qt
|
|
|
|
|
applications to support the use of gamepad hardware and in some cases remote
|
|
|
|
|
control equipment. The module provides both QML and C++ interfaces. The
|
|
|
|
|
primary target audience are embedded devices with fullscreen user interfaces,
|
|
|
|
|
and mobile applications targeting TV-like form factors.")))
|
2017-01-05 22:01:45 +01:00
|
|
|
|
|
2017-01-05 22:52:40 +01:00
|
|
|
|
(define-public qtscxml
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtscxml")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-05 22:52:40 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 22:52:40 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"141pfschv6zmcvvn3pi7f5vb4nf96zpngy80f9bly1sn58syl303"))
|
2017-01-05 22:52:40 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "tests/3rdparty")
|
|
|
|
|
;; the scion test refers to the bundled 3rd party test code.
|
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(("scion") "#"))
|
|
|
|
|
#t))))
|
2017-01-05 22:52:40 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt SCXML module")
|
|
|
|
|
(description "The Qt SCXML module provides functionality to create state
|
|
|
|
|
machines from SCXML files. This includes both dynamically creating state
|
|
|
|
|
machines (loading the SCXML file and instantiating states and transitions) and
|
|
|
|
|
generating a C++ file that has a class implementing the state machine. It
|
|
|
|
|
also contains functionality to support data models and executable content.")))
|
2017-01-05 22:52:40 +01:00
|
|
|
|
|
2017-01-05 23:24:54 +01:00
|
|
|
|
(define-public qtpurchasing
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtpurchasing")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-05 23:24:54 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 23:24:54 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0lg8x7g7dkf95xwxq8b4yw4ypdz68igkscya96xwbklg3q08gc39"))))
|
2017-01-05 23:24:54 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Purchasing module")
|
|
|
|
|
(description "The Qt Purchasing module provides and in-app API for
|
|
|
|
|
purchasing goods and services.")))
|
2017-01-05 23:24:54 +01:00
|
|
|
|
|
2017-01-06 13:56:26 +01:00
|
|
|
|
(define-public qtcharts
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtcharts")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-06 13:56:26 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-06 13:56:26 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1drvm15i6n10b6a1acgarig120ppvqh3r6fqqdn8i3blx81m5cmd"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-01-06 13:56:26 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Charts module")
|
|
|
|
|
(description "The Qt Charts module provides a set of easy to use chart
|
|
|
|
|
components. It uses the Qt Graphics View Framework, therefore charts can be
|
|
|
|
|
easily integrated to modern user interfaces. Qt Charts can be used as QWidgets,
|
|
|
|
|
QGraphicsWidget, or QML types. Users can easily create impressive graphs by
|
2017-10-10 08:55:50 +02:00
|
|
|
|
selecting one of the charts themes.")
|
|
|
|
|
(license license:gpl3)))
|
2017-01-06 13:56:26 +01:00
|
|
|
|
|
2017-01-07 16:57:36 +01:00
|
|
|
|
(define-public qtdatavis3d
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtdatavis3d")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-01-07 16:57:36 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-07 16:57:36 +01:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"080fkpxg70m3c697wfnkjhca58b7r1xsqd559jzb21985pdh6g3j"))))
|
gnu: qtsvg: Build tests by default.
* gnu/packages/qt.scm (qtsvg)[arguments]: Set QT_BUILD_PARTS in the
custom 'configure phase to include tests. Add custom 'set-display
phase to enable offscreen tests.
(qtx11extras, qtxmlpatterns, qtdeclarative, qtwebsockets, qtlocation,
qttools, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects,
qtcharts, qtdatavis3d)[arguments]: Disable tests.
(qtmultimedia)[source]: Edit snippet to not build 'spectrum' example.
[arguments]: Disable tests.
(qtscxml)[source]: Edit snippet to not build 'scion' test.
(qtcanvas3d)[arguments]: Don't build the test suite, don't run the tests.
2017-01-07 21:14:04 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-01-07 16:57:36 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Data Visualization module")
|
|
|
|
|
(description "The Qt Data Visualization module provides a way to visualize
|
|
|
|
|
data in 3D as bar, scatter, and surface graphs. It is especially useful for
|
|
|
|
|
visualizing depth maps and large quantities of rapidly changing data, such as
|
|
|
|
|
data received from multiple sensors. The look and feel of graphs can be
|
2017-10-10 08:55:50 +02:00
|
|
|
|
customized by using themes or by adding custom items and labels to them.")
|
|
|
|
|
(license license:gpl3)))
|
2017-08-01 20:24:46 +02:00
|
|
|
|
|
|
|
|
|
(define-public qtnetworkauth
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtnetworkauth")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-08-01 20:24:46 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 20:24:46 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0pi6p7bq54kzij2p69cgib7n55k69jsq0yqq09yli645s4ym202g"))))
|
gnu: modular-qt: Update to 5.9.2.
* gnu/packages/qt.scm (qtbase. qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtremoteobjects, qtspeech): Update to 5.9.2.
(qtnetworkauth): Same.
[arguments]: Add phase to help test suite pass.
2017-10-10 08:53:53 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'remove-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These tests can't find their test data.
|
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
|
|
|
|
(("oauth1 ") "# oauth1 "))
|
|
|
|
|
#t))))))
|
2017-08-01 20:24:46 +02:00
|
|
|
|
(inputs
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Network Authorization module")
|
|
|
|
|
(description "The Qt Network Authorization module provides an
|
|
|
|
|
implementation of OAuth and OAuth2 authenticathon methods for Qt.")))
|
2017-08-01 20:41:49 +02:00
|
|
|
|
|
|
|
|
|
(define-public qtremoteobjects
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtremoteobjects")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-08-01 20:41:49 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 20:41:49 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1mhlws5w0igf5hw0l90p6dz6k7w16dqfbnk2li0zxdmayk2039m6"))))
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'remove-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test can't find its imports.
|
|
|
|
|
(substitute* "tests/auto/qml/qml.pro"
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 10:10:25 +02:00
|
|
|
|
(("integration") "# integration")
|
|
|
|
|
(("usertypes") "# usertypes"))
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
;; disable failing tests: they need network
|
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
|
|
|
|
(("integration_multiprocess proxy_multiprocess integration_external restart")
|
|
|
|
|
"integration_multiprocess"))
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
#t))))))
|
2017-08-01 20:41:49 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Remote Objects module")
|
|
|
|
|
(description "The Qt Remote Objects module is an @dfn{inter-process
|
|
|
|
|
communication} (IPC) module developed for Qt. The idea is to extend existing
|
|
|
|
|
Qt's functionalities to enable an easy exchange of information between
|
|
|
|
|
processes or computers.")))
|
2017-08-01 21:00:51 +02:00
|
|
|
|
|
|
|
|
|
(define-public qtspeech
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtspeech")
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(version "5.14.2")
|
2017-08-01 21:00:51 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
gnu: qt: Update to 5.11.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech):
Update to 5.11.0.
[source]: Update source uri.
(qtbase)[source]: Don't remove bundled sqlite.
[inputs]: Remove sqlite.
[arguments]: Use 'invoke'. Use bundled sqlite.
(qtsvg, qtmultimedia, qtcanvas3d)[arguments]: Use 'invoke'.
(qtremoteobjects)[arguments]: Skip new integration test.
2018-05-26 20:23:10 +02:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 21:00:51 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"1nn6kspbp8hfkz1jhzc1qx1m9z7r1bgkdqgi9n4vl1q25yk8x7jy"))))
|
2020-01-03 19:32:52 +01:00
|
|
|
|
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 10:10:25 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-08-01 21:00:51 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
gnu: modular-qt: Add synopsis and descriptions for packages.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtdeclarative-render2d, qtconnectivity,
qtwebsockets, qtsensors, qtmultimedia, qtwayland, qtserialport,
qtserialbus, qtwebchannel, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech)[synopsis, description]: New fields.
2017-10-09 15:30:44 +02:00
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
|
|
|
|
(synopsis "Qt Speech module")
|
|
|
|
|
(description "The Qt Speech module enables a Qt application to support
|
|
|
|
|
accessibility features such as text-to-speech, which is useful for end-users
|
|
|
|
|
who are visually challenged or cannot access the application for whatever
|
|
|
|
|
reason. The most common use case where text-to-speech comes in handy is when
|
|
|
|
|
the end-user is driving and cannot attend the incoming messages on the phone.
|
|
|
|
|
In such a scenario, the messaging application can read out the incoming
|
|
|
|
|
message.")))
|
2017-01-07 16:57:36 +01:00
|
|
|
|
|
2020-01-01 17:03:52 +01:00
|
|
|
|
(define-public qtwebengine
|
|
|
|
|
(package
|
|
|
|
|
(inherit qtsvg)
|
|
|
|
|
(name "qtwebengine")
|
|
|
|
|
(version (package-version qtbase))
|
2020-01-03 19:32:52 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
gnu: Qt: Update to 5.12.7 [fixes CVE-2020-0569, CVE-2020-0570].
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.12.7.
2020-02-01 14:40:52 +01:00
|
|
|
|
(base32
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"0iy9lsl6zxlkca6x2p1506hbj3wmhnaipg23z027wfccbnkxcsg1"))
|
2020-01-03 19:32:52 +01:00
|
|
|
|
(modules '((ice-9 ftw)
|
|
|
|
|
(ice-9 match)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(let ((preserved-third-party-files
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
'("base/third_party/cityhash"
|
|
|
|
|
"base/third_party/dmg_fp"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"base/third_party/dynamic_annotations"
|
|
|
|
|
"base/third_party/icu"
|
|
|
|
|
"base/third_party/libevent"
|
|
|
|
|
"base/third_party/nspr"
|
|
|
|
|
"base/third_party/superfasthash"
|
|
|
|
|
"base/third_party/symbolize"
|
|
|
|
|
"base/third_party/xdg_mime"
|
|
|
|
|
"base/third_party/xdg_user_dirs"
|
|
|
|
|
"net/third_party/mozilla_security_manager"
|
|
|
|
|
"net/third_party/nss"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"net/third_party/quiche"
|
|
|
|
|
"net/third_party/uri_template"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/abseil-cpp"
|
|
|
|
|
"third_party/angle"
|
|
|
|
|
"third_party/angle/src/common/third_party/base"
|
|
|
|
|
"third_party/angle/src/common/third_party/smhasher"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/angle/src/common/third_party/xxhash"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/angle/src/third_party/compiler"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/axe-core"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/blink"
|
|
|
|
|
"third_party/boringssl"
|
|
|
|
|
"third_party/boringssl/src/third_party/fiat"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/boringssl/src/third_party/sike"
|
|
|
|
|
"third_party/boringssl/linux-x86_64/crypto/third_party/sike"
|
|
|
|
|
"third_party/boringssl/linux-aarch64/crypto/third_party/sike"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/breakpad"
|
|
|
|
|
"third_party/brotli"
|
|
|
|
|
"third_party/ced"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/cld_3"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/crc32c"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/dav1d"
|
|
|
|
|
"third_party/dawn"
|
2020-05-23 15:42:07 +02:00
|
|
|
|
"third_party/emoji-segmenter"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/ffmpeg"
|
|
|
|
|
"third_party/googletest"
|
|
|
|
|
"third_party/hunspell"
|
|
|
|
|
"third_party/iccjpeg"
|
|
|
|
|
"third_party/icu"
|
|
|
|
|
"third_party/inspector_protocol"
|
|
|
|
|
"third_party/jinja2"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/jsoncpp"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/jstemplate"
|
|
|
|
|
"third_party/khronos"
|
|
|
|
|
"third_party/leveldatabase"
|
|
|
|
|
"third_party/libaddressinput"
|
|
|
|
|
"third_party/libjingle_xmpp"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/libjpeg"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/libpng"
|
|
|
|
|
"third_party/libsrtp"
|
|
|
|
|
"third_party/libsync"
|
|
|
|
|
"third_party/libudev"
|
|
|
|
|
"third_party/libvpx"
|
|
|
|
|
"third_party/libwebm"
|
|
|
|
|
"third_party/libwebp"
|
|
|
|
|
"third_party/libxml"
|
|
|
|
|
"third_party/libxslt"
|
|
|
|
|
"third_party/libyuv"
|
|
|
|
|
"third_party/lss"
|
|
|
|
|
"third_party/markupsafe"
|
2020-05-23 15:42:07 +02:00
|
|
|
|
"third_party/mesa_headers"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/metrics_proto"
|
|
|
|
|
"third_party/modp_b64"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/nasm"
|
|
|
|
|
"third_party/one_euro_filter"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/opus"
|
|
|
|
|
"third_party/ots"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/perfetto"
|
|
|
|
|
"third_party/pffft"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/ply"
|
|
|
|
|
"third_party/polymer"
|
|
|
|
|
"third_party/protobuf"
|
|
|
|
|
"third_party/pyjson5"
|
|
|
|
|
"third_party/re2"
|
|
|
|
|
"third_party/rnnoise"
|
|
|
|
|
"third_party/skia"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/skia/include/third_party/skcms/skcms.h"
|
|
|
|
|
"third_party/skia/include/third_party/vulkan"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/skia/third_party/gif"
|
|
|
|
|
"third_party/skia/third_party/skcms"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/skia/third_party/vulkanmemoryallocator"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/smhasher"
|
|
|
|
|
"third_party/snappy"
|
|
|
|
|
"third_party/sqlite"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/usb_ids"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/usrsctp"
|
|
|
|
|
"third_party/web-animations-js"
|
|
|
|
|
"third_party/webrtc"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"third_party/webrtc/common_audio/third_party/fft4g"
|
|
|
|
|
"third_party/webrtc/common_audio/third_party/spl_sqrt_floor"
|
|
|
|
|
"third_party/webrtc/modules/third_party/fft"
|
|
|
|
|
"third_party/webrtc/modules/third_party/g711"
|
|
|
|
|
"third_party/webrtc/modules/third_party/g722"
|
|
|
|
|
"third_party/webrtc/rtc_base/third_party/base64"
|
|
|
|
|
"third_party/webrtc/rtc_base/third_party/sigslot"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"third_party/webrtc_overrides"
|
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_common.h"
|
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_version.h"
|
|
|
|
|
"third_party/woff2"
|
|
|
|
|
"third_party/yasm"
|
|
|
|
|
"third_party/zlib"
|
|
|
|
|
"url/third_party/mozilla"
|
|
|
|
|
"v8/src/third_party/utf8-decoder"
|
|
|
|
|
"v8/src/third_party/valgrind"
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
"v8/src/third_party/siphash"
|
|
|
|
|
"v8/third_party/v8/builtins"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
"v8/third_party/inspector_protocol"))
|
|
|
|
|
(protected (make-regexp "\\.(gn|gyp)i?$")))
|
|
|
|
|
(define preserved-club
|
|
|
|
|
(map (lambda (member)
|
|
|
|
|
(string-append "./" member))
|
|
|
|
|
preserved-third-party-files))
|
|
|
|
|
(define (empty? dir)
|
|
|
|
|
(equal? (scandir dir) '("." "..")))
|
|
|
|
|
(define (third-party? file)
|
|
|
|
|
(string-contains file "third_party/"))
|
|
|
|
|
(define (useless? file)
|
|
|
|
|
(any (cute string-suffix? <> file)
|
|
|
|
|
'(".zip" ".so" ".dll" ".exe" ".jar")))
|
|
|
|
|
(define (parents child)
|
|
|
|
|
;; Return all parent directories of CHILD up to and including
|
|
|
|
|
;; the closest "third_party".
|
|
|
|
|
(let* ((dirs (match (string-split child #\/)
|
|
|
|
|
((dirs ... last) dirs)))
|
|
|
|
|
(closest (list-index (lambda (dir)
|
|
|
|
|
(string=? "third_party" dir))
|
|
|
|
|
(reverse dirs)))
|
|
|
|
|
(delim (- (length dirs) closest)))
|
|
|
|
|
(fold (lambda (dir prev)
|
|
|
|
|
(cons (string-append (car prev) "/" dir)
|
|
|
|
|
prev))
|
|
|
|
|
(list (string-join (list-head dirs delim) "/"))
|
|
|
|
|
(list-tail dirs delim))))
|
|
|
|
|
(define (remove-loudly file)
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(format #t "deleting ~a...~%" file)
|
|
|
|
|
(force-output)
|
|
|
|
|
(delete-file file))
|
2020-01-03 19:32:52 +01:00
|
|
|
|
(define (delete-unwanted-files child stat flag base level)
|
|
|
|
|
(match flag
|
|
|
|
|
((or 'regular 'symlink 'stale-symlink)
|
|
|
|
|
(when (third-party? child)
|
|
|
|
|
(unless (or (member child preserved-club)
|
|
|
|
|
(any (cute member <> preserved-club)
|
|
|
|
|
(parents child))
|
|
|
|
|
(regexp-exec protected child))
|
|
|
|
|
(remove-loudly child)))
|
|
|
|
|
(when (and (useless? child) (file-exists? child))
|
|
|
|
|
(remove-loudly child))
|
|
|
|
|
#t)
|
|
|
|
|
('directory-processed
|
|
|
|
|
(when (empty? child)
|
|
|
|
|
(rmdir child))
|
|
|
|
|
#t)
|
|
|
|
|
(_ #t)))
|
|
|
|
|
|
|
|
|
|
(with-directory-excursion "src/3rdparty"
|
|
|
|
|
;; TODO: Try removing "gn" too for future versions of qtwebengine.
|
|
|
|
|
(delete-file-recursively "ninja")
|
|
|
|
|
|
|
|
|
|
(with-directory-excursion "chromium"
|
|
|
|
|
;; Delete bundled software and binaries that were not explicitly
|
|
|
|
|
;; preserved above.
|
|
|
|
|
(nftw "." delete-unwanted-files 'depth 'physical)
|
|
|
|
|
|
|
|
|
|
;; Assert that each preserved item is present to catch removals.
|
|
|
|
|
(for-each (lambda (third-party)
|
|
|
|
|
(unless (file-exists? third-party)
|
|
|
|
|
(error (format #f "~s does not exist!~%" third-party))))
|
|
|
|
|
preserved-club)
|
|
|
|
|
|
|
|
|
|
;; Use relative header locations instead of hard coded ones.
|
|
|
|
|
(substitute*
|
|
|
|
|
"base/third_party/dynamic_annotations/dynamic_annotations.c"
|
|
|
|
|
(("base/third_party/valgrind") "valgrind"))
|
|
|
|
|
(substitute*
|
|
|
|
|
"third_party/breakpad/breakpad/src/common/linux/libcurl_wrapper.h"
|
|
|
|
|
(("third_party/curl") "curl"))
|
2020-05-23 15:42:07 +02:00
|
|
|
|
(substitute*
|
|
|
|
|
'("components/viz/common/gpu/vulkan_context_provider.h"
|
|
|
|
|
"components/viz/common/resources/resource_format_utils.h"
|
|
|
|
|
"gpu/config/gpu_util.cc")
|
|
|
|
|
(("third_party/vulkan/include/")
|
|
|
|
|
""))
|
2020-01-03 19:32:52 +01:00
|
|
|
|
|
|
|
|
|
;; Replace Google Analytics bundle with an empty file and hope
|
|
|
|
|
;; no one notices.
|
|
|
|
|
(mkdir-p "third_party/analytics")
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
"third_party/analytics/google-analytics-bundle.js"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(const #t)))))
|
|
|
|
|
;; Do not enable support for loading the Widevine DRM plugin.
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
(substitute* "src/buildtools/config/common.pri"
|
2020-01-03 19:32:52 +01:00
|
|
|
|
(("enable_widevine=true")
|
|
|
|
|
"enable_widevine=false"))
|
|
|
|
|
#t)))))
|
2020-01-01 17:03:52 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("ninja" ,ninja)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-2" ,python-2)
|
|
|
|
|
("ruby" ,ruby)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("atk" ,atk)
|
|
|
|
|
("cups-minimal" ,cups-minimal)
|
2020-01-03 19:32:52 +01:00
|
|
|
|
("curl" ,curl)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("harbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("jsoncpp" ,jsoncpp)
|
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("libevent" ,libevent)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
;; FIXME: libxml2 needs to built with icu support though it links to
|
|
|
|
|
;; libxml2 configure summary still states "Checking for compatible
|
|
|
|
|
;; system libxml2... no"
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("minizip" ,minizip)
|
|
|
|
|
("nss" ,nss)
|
|
|
|
|
("opus" ,opus)
|
|
|
|
|
("pciutils" ,pciutils)
|
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("re2" ,re2)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("udev" ,eudev)
|
2020-01-03 19:32:52 +01:00
|
|
|
|
("valgrind" ,valgrind)
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-23 00:21:31 +02:00
|
|
|
|
("vulkan-headers" ,vulkan-headers)
|
2020-01-01 17:03:52 +01:00
|
|
|
|
("xcb-util" ,xcb-util)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2020-05-08 23:24:14 +02:00
|
|
|
|
(add-after 'unpack 'fix-build-with-newer-re2
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Adjust for API change in re2, taken from
|
|
|
|
|
;; https://chromium-review.googlesource.com/c/chromium/src/+/2145261
|
|
|
|
|
(substitute* "src/3rdparty/chromium/components/autofill/core\
|
|
|
|
|
/browser/address_rewriter.cc"
|
|
|
|
|
(("options\\.set_utf8\\(true\\)")
|
|
|
|
|
"options.set_encoding(RE2::Options::EncodingUTF8)"))
|
|
|
|
|
#t))
|
2020-04-08 21:45:23 +02:00
|
|
|
|
(add-after 'unpack 'patch-ninja-version-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The build system assumes the system Ninja is too old because
|
|
|
|
|
;; it only checks for versions 1.7 through 1.9. We have 1.10.
|
|
|
|
|
(substitute* "configure.pri"
|
|
|
|
|
(("1\\.\\[7-9\\]\\.\\*")
|
|
|
|
|
"1.([7-9]|1[0-9]).*"))
|
|
|
|
|
#t))
|
2020-01-01 17:03:52 +01:00
|
|
|
|
(add-before 'configure 'substitute-source
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(nss (assoc-ref inputs "nss"))
|
|
|
|
|
(udev (assoc-ref inputs "udev")))
|
|
|
|
|
;; Qtwebengine is not installed into the same prefix as
|
|
|
|
|
;; qtbase. Some qtbase QTLibraryInfo constants will not
|
|
|
|
|
;; work. Replace with the full path to the qtwebengine
|
|
|
|
|
;; translations and locales in the store.
|
|
|
|
|
(substitute* "src/core/web_engine_library_info.cpp"
|
|
|
|
|
(("QLibraryInfo::location\\(QLibraryInfo::TranslationsPath\\)")
|
|
|
|
|
(string-append "QLatin1String(\"" out "/share/qt5/translations\")"))
|
|
|
|
|
(("QLibraryInfo::location\\(QLibraryInfo::DataPath\\)")
|
|
|
|
|
(string-append "QLatin1String(\"" out "/share/qt5\")")))
|
|
|
|
|
;; Substitute full dynamic library path for nss.
|
|
|
|
|
(substitute* "src/3rdparty/chromium/crypto/nss_util.cc"
|
|
|
|
|
(("libnssckbi.so")
|
|
|
|
|
(string-append nss "/lib/nss/libnssckbi.so")))
|
|
|
|
|
;; Substitute full dynamic library path for udev.
|
|
|
|
|
(substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc"
|
|
|
|
|
(("libudev.so.1")
|
|
|
|
|
(string-append udev "/lib/libudev.so.1")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'configure 'set-env
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Avoids potential race conditions.
|
|
|
|
|
(setenv "PYTHONDONTWRITEBYTECODE" "1")
|
|
|
|
|
(setenv "NINJAFLAGS"
|
|
|
|
|
(string-append "-k1" ;less verbose build output
|
|
|
|
|
;; Respect the '--cores' option of 'guix build'.
|
|
|
|
|
" -j" (number->string (parallel-job-count))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Valid QT_BUILD_PARTS variables are:
|
|
|
|
|
;; libs tools tests examples demos docs translations
|
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools" "--"
|
|
|
|
|
"--webengine-printing-and-pdf=no"
|
|
|
|
|
"--webengine-ffmpeg=system"
|
|
|
|
|
"--webengine-icu=system"
|
|
|
|
|
"--webengine-pepper-plugins=no")))))
|
|
|
|
|
;; Tests are disabled due to "Could not find QtWebEngineProcess error"
|
|
|
|
|
;; It's possible this can be fixed by setting QTWEBENGINEPROCESS_PATH
|
|
|
|
|
;; before running tests.
|
|
|
|
|
((#:tests? _ #f) #f)))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(file-type 'regular)
|
|
|
|
|
(separator #f)
|
|
|
|
|
(variable "QTWEBENGINEPROCESS_PATH")
|
|
|
|
|
(files '("lib/qt5/libexec/QtWebEngineProcess")))))
|
|
|
|
|
(home-page "https://wiki.qt.io/QtWebEngine")
|
|
|
|
|
(synopsis "Qt WebEngine module")
|
|
|
|
|
(description "The Qt5WebEngine module provides support for web applications
|
|
|
|
|
using the Chromium browser project. The Chromium source code has Google services
|
|
|
|
|
and binaries removed, and adds modular support for using system libraries.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2015-01-24 20:17:33 +01:00
|
|
|
|
(define-public python-sip
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sip")
|
2020-06-07 22:36:03 +02:00
|
|
|
|
(version "4.19.22")
|
2015-01-24 20:17:33 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: qt: Update to 5.12.4.
* gnu/packages/qt.scm (qt, qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.12.4.
(qt, qtbase)[source]: Remove xkbcommon from list of directories to remove.
(qtbase)[source]: Remove upstreamed patch.
(python-sip): Update to 4.19.18.
[source]: Update to new source uri.
(python-pyqt): Update to 5.12.3.
[source]: Update to new source uri.
* gnu/packages/patches/qtbase-old-kernel.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-08-29 10:35:39 +02:00
|
|
|
|
(uri (string-append "https://www.riverbankcomputing.com/static/"
|
|
|
|
|
"Downloads/sip/" version "/sip-" version ".tar.gz"))
|
2015-01-24 20:17:33 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-07 22:36:03 +02:00
|
|
|
|
"0idywc326l8v1m3maprg1aq2gph67mmnnsskvlwfx8n19s16idz1"))))
|
2015-01-24 20:17:33 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-wrapper)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
2020-06-07 22:38:30 +02:00
|
|
|
|
#:imported-modules ((guix build python-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2015-08-11 15:41:35 +02:00
|
|
|
|
#:modules ((srfi srfi-1)
|
2020-06-07 22:38:30 +02:00
|
|
|
|
((guix build python-build-system) #:select (python-version))
|
2015-08-11 15:41:35 +02:00
|
|
|
|
,@%gnu-build-system-modules)
|
2015-01-24 20:17:33 +01:00
|
|
|
|
#:phases
|
2016-06-05 22:10:34 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(include (string-append out "/include"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(lib (string-append out "/lib/python"
|
2020-06-07 22:38:30 +02:00
|
|
|
|
(python-version python)
|
2016-06-05 22:10:34 +02:00
|
|
|
|
"/site-packages")))
|
2018-07-04 15:04:56 +02:00
|
|
|
|
(invoke "python" "configure.py"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--incdir" include)))))))
|
2016-06-05 22:10:34 +02:00
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/sip/intro")
|
2015-01-24 20:17:33 +01:00
|
|
|
|
(synopsis "Python binding creator for C and C++ libraries")
|
|
|
|
|
(description
|
|
|
|
|
"SIP is a tool to create Python bindings for C and C++ libraries. It
|
|
|
|
|
was originally developed to create PyQt, the Python bindings for the Qt
|
|
|
|
|
toolkit, but can be used to create bindings for any C or C++ library.
|
|
|
|
|
|
|
|
|
|
SIP comprises a code generator and a Python module. The code generator
|
|
|
|
|
processes a set of specification files and generates C or C++ code, which
|
|
|
|
|
is then compiled to create the bindings extension module. The SIP Python
|
|
|
|
|
module provides support functions to the automatically generated code.")
|
|
|
|
|
;; There is a choice between a python like license, gpl2 and gpl3.
|
|
|
|
|
;; For compatibility with pyqt, we need gpl3.
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license license:gpl3)))
|
2015-01-24 20:17:33 +01:00
|
|
|
|
|
|
|
|
|
(define-public python2-sip
|
|
|
|
|
(package (inherit python-sip)
|
|
|
|
|
(name "python2-sip")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-2)))))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-pyqt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyqt")
|
2020-06-07 22:39:55 +02:00
|
|
|
|
(version "5.14.2")
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-07 22:39:55 +02:00
|
|
|
|
;; PyPI is the canonical distribution point of PyQt. Older
|
|
|
|
|
;; releases are available from the web site.
|
|
|
|
|
(uri (list (pypi-uri "PyQt5" version)
|
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static/"
|
|
|
|
|
"Downloads/PyQt5/" version "/PyQt5-"
|
|
|
|
|
version ".tar.gz")))
|
|
|
|
|
(file-name (string-append "PyQt5-"version ".tar.gz"))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-07 22:39:55 +02:00
|
|
|
|
"1c4y4qi1l540gd125ikj0al00k5pg65kmqaixcfbzslrsrphq8xx"))
|
2018-07-22 13:40:29 +02:00
|
|
|
|
(patches (search-patches "pyqt-configure.patch"
|
|
|
|
|
"pyqt-public-sip.patch"))))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2017-02-03 16:59:09 +01:00
|
|
|
|
`(("qtbase" ,qtbase))) ; for qmake
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-sip" ,python-sip)))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(inputs
|
gnu: python-pyqt: Build with more qt modules.
* gnu/packages/qt.scm (python-pyqt)[inputs]: Add qtbase, qtconnectivity,
qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtserialport, qtsvg,
qttools, qtwebchannel, qtwebkit, qtwebsockets, qtx11extras,
qtxmlpatterns.
(python2-pyqt)[inputs]: Same.
(python-pyqt@4)[inputs]: Only use python.
2016-12-11 20:53:15 +01:00
|
|
|
|
`(("python" ,python-wrapper)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtconnectivity" ,qtconnectivity)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtsensors" ,qtsensors)
|
|
|
|
|
("qtserialport" ,qtserialport)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
2018-07-31 16:45:01 +02:00
|
|
|
|
("qtwebkit" ,qtwebkit)
|
gnu: python-pyqt: Build with more qt modules.
* gnu/packages/qt.scm (python-pyqt)[inputs]: Add qtbase, qtconnectivity,
qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtserialport, qtsvg,
qttools, qtwebchannel, qtwebkit, qtwebsockets, qtx11extras,
qtxmlpatterns.
(python2-pyqt)[inputs]: Same.
(python-pyqt@4)[inputs]: Only use python.
2016-12-11 20:53:15 +01:00
|
|
|
|
("qtwebsockets" ,qtwebsockets)
|
|
|
|
|
("qtx11extras" ,qtx11extras)
|
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(arguments
|
2015-08-11 15:41:35 +02:00
|
|
|
|
`(#:modules ((srfi srfi-1)
|
2020-06-07 22:41:14 +02:00
|
|
|
|
((guix build python-build-system) #:select (python-version))
|
2015-08-11 15:41:35 +02:00
|
|
|
|
,@%gnu-build-system-modules)
|
2020-06-07 22:41:14 +02:00
|
|
|
|
#:imported-modules ((guix build python-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2015-08-11 15:41:35 +02:00
|
|
|
|
#:phases
|
2016-06-05 22:14:29 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2020-01-14 12:04:59 +01:00
|
|
|
|
;; When building python-pyqtwebengine, <qprinter.h> can not be
|
|
|
|
|
;; included. Here we substitute the full path to the header in the
|
|
|
|
|
;; store.
|
|
|
|
|
(add-before 'configure 'substitute-source
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((qtbase (assoc-ref inputs "qtbase"))
|
|
|
|
|
(qtprinter.h (string-append "\"" qtbase "/include/qt5/QtPrintSupport/qprinter.h\"")))
|
|
|
|
|
(substitute* "sip/QtPrintSupport/qprinter.sip"
|
|
|
|
|
(("<qprinter.h>")
|
|
|
|
|
qtprinter.h))
|
|
|
|
|
#t)))
|
2016-06-05 22:14:29 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(sip (string-append out "/share/sip"))
|
2019-11-22 09:56:20 +01:00
|
|
|
|
(plugins (string-append out "/lib/qt5/plugins"))
|
2016-06-05 22:14:29 +02:00
|
|
|
|
(designer (string-append plugins "/designer"))
|
|
|
|
|
(qml (string-append plugins "/PyQt5"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(lib (string-append out "/lib/python"
|
2020-06-07 22:41:14 +02:00
|
|
|
|
(python-version python)
|
2016-12-04 23:13:26 +01:00
|
|
|
|
"/site-packages"))
|
|
|
|
|
(stubs (string-append lib "/PyQt5")))
|
2018-07-04 15:06:05 +02:00
|
|
|
|
(invoke "python" "configure.py"
|
|
|
|
|
"--confirm-license"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--designer-plugindir" designer
|
|
|
|
|
"--qml-plugindir" qml
|
|
|
|
|
; Where to install the PEP 484 Type Hints stub
|
|
|
|
|
; files. Without this the stubs are tried to be
|
|
|
|
|
; installed into the python package's
|
|
|
|
|
; site-package directory, which is read-only.
|
|
|
|
|
"--stubsdir" stubs
|
|
|
|
|
"--sipdir" sip)))))))
|
2016-06-05 22:14:29 +02:00
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(synopsis "Python bindings for Qt")
|
|
|
|
|
(description
|
|
|
|
|
"PyQt is a set of Python v2 and v3 bindings for the Qt application
|
|
|
|
|
framework. The bindings are implemented as a set of Python modules and
|
|
|
|
|
contain over 620 classes.")
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license license:gpl3)))
|
2020-01-14 12:06:36 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-pyqtwebengine
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyqtwebengine")
|
2020-06-07 22:42:27 +02:00
|
|
|
|
(version "5.14.0")
|
2020-01-14 12:06:36 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-07 22:42:27 +02:00
|
|
|
|
;; The newest releases are only available on PyPI. Older ones
|
|
|
|
|
;; are mirrored at the upstream home page.
|
|
|
|
|
(uri (list (pypi-uri "PyQtWebEngine" version)
|
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static"
|
|
|
|
|
"/Downloads/PyQtWebEngine/" version
|
|
|
|
|
"/PyQtWebEngine-" version ".tar.gz")))
|
2020-01-14 12:06:36 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-07 22:42:27 +02:00
|
|
|
|
"14hw49akb35n9pgiw564x8ykmsifihn9p2ax2x4zmywb3w2ra5g1"))))
|
2020-01-14 12:06:36 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("python-sip" ,python-sip)
|
|
|
|
|
;; qtbase is required for qmake
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-wrapper)
|
|
|
|
|
("python-sip" ,python-sip)
|
|
|
|
|
("python-pyqt" ,python-pyqt)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebengine" ,qtwebengine)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((srfi srfi-1)
|
2020-04-11 15:16:46 +02:00
|
|
|
|
((guix build python-build-system) #:select (python-version))
|
2020-01-14 12:06:36 +01:00
|
|
|
|
,@%gnu-build-system-modules)
|
2020-04-11 15:16:46 +02:00
|
|
|
|
#:imported-modules ((guix build python-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2020-01-14 12:06:36 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sipdir (string-append out "/share/sip"))
|
|
|
|
|
(pyqt-sipdir (string-append
|
|
|
|
|
(assoc-ref inputs "python-pyqt") "/share/sip"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(lib (string-append out "/lib/python"
|
2020-04-11 15:16:46 +02:00
|
|
|
|
(python-version python)
|
2020-01-14 12:06:36 +01:00
|
|
|
|
"/site-packages/PyQt5"))
|
|
|
|
|
(stubs (string-append lib "/PyQt5")))
|
|
|
|
|
|
|
|
|
|
(mkdir-p sipdir)
|
|
|
|
|
(invoke "python" "configure.py"
|
|
|
|
|
"-w"
|
|
|
|
|
"--no-dist-info"
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--no-qsci-api"
|
|
|
|
|
"--stubsdir" stubs
|
|
|
|
|
"--sipdir" sipdir
|
|
|
|
|
"--pyqt-sipdir" pyqt-sipdir))))
|
|
|
|
|
;; Because this has a different prefix than python-pyqt then we need
|
|
|
|
|
;; to make this a namespace of it's own
|
|
|
|
|
(add-after 'install 'make-namespace
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((__init__.py (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
2020-04-11 15:16:46 +02:00
|
|
|
|
"/lib/python"
|
|
|
|
|
(python-version (assoc-ref inputs "python"))
|
|
|
|
|
"/site-packages/PyQt5/__init__.py")))
|
2020-01-14 12:06:36 +01:00
|
|
|
|
(with-output-to-file __init__.py
|
|
|
|
|
(lambda _ (display "
|
|
|
|
|
from pkgutil import extend_path
|
|
|
|
|
__path__ = extend_path(__path__, __name__)
|
|
|
|
|
")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/pyqtwebengine/intro")
|
|
|
|
|
(synopsis "Python bindings for QtWebEngine")
|
|
|
|
|
(description
|
|
|
|
|
"PyQtWebEngine is a set of Python bindings for The Qt Company's Qt
|
|
|
|
|
WebEngine libraries. The bindings sit on top of PyQt5 and are implemented as a
|
|
|
|
|
set of three modules. Prior to v5.12 these bindings were part of PyQt
|
|
|
|
|
itself.")
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license license:gpl3)))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
|
2018-08-31 16:34:34 +02:00
|
|
|
|
;; XXX: This is useful because qtwebkit does not build reliably at this time.
|
|
|
|
|
;; 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)))))
|
|
|
|
|
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(define-public python2-pyqt
|
|
|
|
|
(package (inherit python-pyqt)
|
|
|
|
|
(name "python2-pyqt")
|
2020-06-08 19:12:31 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-enum34" ,python2-enum34)
|
|
|
|
|
("python-sip" ,python2-sip)))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-sip" ,python2-sip)
|
2016-06-05 22:12:38 +02:00
|
|
|
|
("qtbase" ,qtbase)))
|
2015-01-25 20:07:08 +01:00
|
|
|
|
(inputs
|
gnu: python-pyqt: Build with more qt modules.
* gnu/packages/qt.scm (python-pyqt)[inputs]: Add qtbase, qtconnectivity,
qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtserialport, qtsvg,
qttools, qtwebchannel, qtwebkit, qtwebsockets, qtx11extras,
qtxmlpatterns.
(python2-pyqt)[inputs]: Same.
(python-pyqt@4)[inputs]: Only use python.
2016-12-11 20:53:15 +01:00
|
|
|
|
`(("python" ,python-2)
|
2018-07-04 15:06:05 +02:00
|
|
|
|
("python2-enum34" ,python2-enum34)
|
gnu: python-pyqt: Build with more qt modules.
* gnu/packages/qt.scm (python-pyqt)[inputs]: Add qtbase, qtconnectivity,
qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtserialport, qtsvg,
qttools, qtwebchannel, qtwebkit, qtwebsockets, qtx11extras,
qtxmlpatterns.
(python2-pyqt)[inputs]: Same.
(python-pyqt@4)[inputs]: Only use python.
2016-12-11 20:53:15 +01:00
|
|
|
|
,@(alist-delete "python" (package-inputs python-pyqt))))))
|
2015-02-16 21:15:24 +01:00
|
|
|
|
|
2020-06-08 19:13:28 +02:00
|
|
|
|
(define-public python2-pyqtwebengine
|
|
|
|
|
(package/inherit
|
|
|
|
|
python-pyqtwebengine
|
|
|
|
|
(name "python2-pyqtwebengine")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
("python-sip" ,python2-sip)
|
|
|
|
|
;; qtbase is required for qmake
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
("python-sip" ,python2-sip)
|
|
|
|
|
("python-pyqt" ,python2-pyqt)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebengine" ,qtwebengine)))))
|
|
|
|
|
|
2018-07-22 10:36:59 +02:00
|
|
|
|
(define-public python2-pyqt-4
|
2015-02-16 21:15:24 +01:00
|
|
|
|
(package (inherit python-pyqt)
|
2018-07-22 10:36:59 +02:00
|
|
|
|
(name "python2-pyqt")
|
2017-05-19 21:29:51 +02:00
|
|
|
|
(version "4.12")
|
2015-02-16 21:15:24 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/pyqt/PyQt4/"
|
2017-05-19 21:29:51 +02:00
|
|
|
|
"PyQt-" version "/PyQt4_gpl_x11-"
|
2015-02-16 21:15:24 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-19 21:29:51 +02:00
|
|
|
|
"1nw8r88a5g2d550yvklawlvns8gd5slw53yy688kxnsa65aln79w"))))
|
2015-02-16 21:15:24 +01:00
|
|
|
|
(native-inputs
|
2018-07-22 10:36:59 +02:00
|
|
|
|
`(("python-sip" ,python2-sip)
|
2015-02-16 21:15:24 +01:00
|
|
|
|
("qt" ,qt-4)))
|
2018-07-22 10:36:59 +02:00
|
|
|
|
(inputs `(("python" ,python-2)))
|
2015-02-16 21:15:24 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
2015-08-11 15:41:35 +02:00
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2015-02-16 21:15:24 +01:00
|
|
|
|
#:phases
|
2016-12-11 21:10:43 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(sip (string-append out "/share/sip"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(python-version
|
|
|
|
|
(last (string-split python #\-)))
|
|
|
|
|
(python-major+minor
|
|
|
|
|
(string-join
|
|
|
|
|
(take (string-split python-version #\.) 2)
|
|
|
|
|
"."))
|
|
|
|
|
(lib (string-append out "/lib/python"
|
|
|
|
|
python-major+minor
|
|
|
|
|
"/site-packages")))
|
2019-01-25 13:59:53 +01:00
|
|
|
|
(invoke "python" "configure.py"
|
|
|
|
|
"--confirm-license"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--sipdir" sip)))))))
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license (list license:gpl2 license:gpl3)))) ; choice of either license
|
2015-02-16 21:15:24 +01:00
|
|
|
|
|
2017-07-18 16:36:42 +02:00
|
|
|
|
(define-public qscintilla
|
|
|
|
|
(package
|
|
|
|
|
(name "qscintilla")
|
2019-01-02 14:38:53 +01:00
|
|
|
|
(version "2.10.8")
|
2017-07-18 16:36:42 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/pyqt/QScintilla2/"
|
|
|
|
|
"QScintilla-" version "/QScintilla_gpl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-01-02 14:38:53 +01:00
|
|
|
|
"1swjr786w04r514pry9pn32ivza4il1cg35s60qy39cwc175pka6"))))
|
2017-07-18 16:36:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(chdir "Qt4Qt5")
|
|
|
|
|
(substitute* "qscintilla.pro"
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
|
|
|
|
(string-append out "/lib"))
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_HEADERS\\]")
|
|
|
|
|
(string-append out "/include"))
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_TRANSLATIONS\\]")
|
|
|
|
|
(string-append out "/translations"))
|
2017-09-03 11:36:42 +02:00
|
|
|
|
(("\\$\\$\\[QT_INSTALL_DATA\\]")
|
|
|
|
|
(string-append out "/lib/qt$${QT_MAJOR_VERSION}"))
|
|
|
|
|
(("\\$\\$\\[QT_HOST_DATA\\]")
|
|
|
|
|
(string-append out "/lib/qt$${QT_MAJOR_VERSION}")))
|
2018-01-23 23:44:53 +01:00
|
|
|
|
(invoke "qmake")))))))
|
2017-07-18 16:36:42 +02:00
|
|
|
|
(native-inputs `(("qtbase" ,qtbase)))
|
2018-03-02 00:33:37 +01:00
|
|
|
|
(home-page "https://www.riverbankcomputing.co.uk/software/qscintilla/intro")
|
2017-07-18 16:36:42 +02:00
|
|
|
|
(synopsis "Qt port of the Scintilla C++ editor control")
|
|
|
|
|
(description "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++
|
|
|
|
|
editor control. QScintilla includes features especially useful when editing
|
|
|
|
|
and debugging source code. These include support for syntax styling, error
|
|
|
|
|
indicators, code completion and call tips.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-07-18 16:39:10 +02:00
|
|
|
|
(define-public python-qscintilla
|
|
|
|
|
(package (inherit qscintilla)
|
|
|
|
|
(name "python-qscintilla")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--pyqt=PyQt5"
|
|
|
|
|
(string-append "--pyqt-sipdir="
|
|
|
|
|
(assoc-ref %build-inputs "python-pyqt")
|
|
|
|
|
"/share/sip")
|
|
|
|
|
(string-append "--qsci-incdir="
|
|
|
|
|
(assoc-ref %build-inputs "qscintilla")
|
|
|
|
|
"/include")
|
|
|
|
|
(string-append "--qsci-libdir="
|
|
|
|
|
(assoc-ref %build-inputs "qscintilla")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
2019-01-02 14:38:53 +01:00
|
|
|
|
(lambda* (#:key inputs outputs configure-flags #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(python (assoc-ref inputs "python")))
|
|
|
|
|
(chdir "Python")
|
|
|
|
|
(apply invoke "python3" "configure.py"
|
|
|
|
|
configure-flags)
|
|
|
|
|
;; Install to the right directory
|
|
|
|
|
(substitute* '("Makefile"
|
|
|
|
|
"Qsci/Makefile")
|
|
|
|
|
(("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+") out)
|
|
|
|
|
(((string-append python "/lib"))
|
|
|
|
|
(string-append out "/lib")))
|
|
|
|
|
;; And fix the installed.txt file
|
|
|
|
|
(substitute* "installed.txt"
|
|
|
|
|
(("/gnu/store/[^/]+") out)))
|
2018-01-24 12:35:29 +01:00
|
|
|
|
#t)))))
|
2017-07-18 16:39:10 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("qscintilla" ,qscintilla)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-pyqt" ,python-pyqt)))
|
|
|
|
|
(description "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++
|
|
|
|
|
editor control. QScintilla includes features especially useful when editing
|
|
|
|
|
and debugging source code. These include support for syntax styling, error
|
|
|
|
|
indicators, code completion and call tips.
|
|
|
|
|
|
|
|
|
|
This package provides the Python bindings.")))
|
|
|
|
|
|
2017-07-18 16:39:11 +02:00
|
|
|
|
;; PyQt only looks for modules in its own directory. It ignores environment
|
|
|
|
|
;; variables such as PYTHONPATH, so we need to build a union package to make
|
|
|
|
|
;; it work.
|
|
|
|
|
(define-public python-pyqt+qscintilla
|
|
|
|
|
(package (inherit python-pyqt)
|
|
|
|
|
(name "python-pyqt+qscintilla")
|
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build union))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (ice-9 match)
|
|
|
|
|
(guix build union))
|
|
|
|
|
(match %build-inputs
|
|
|
|
|
(((names . directories) ...)
|
|
|
|
|
(union-build (assoc-ref %outputs "out")
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
directories)
|
|
|
|
|
#t)))))
|
2017-07-18 16:39:11 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pyqt" ,python-pyqt)
|
|
|
|
|
("python-qscintilla" ,python-qscintilla)))
|
|
|
|
|
(synopsis "Union of PyQt and the Qscintilla extension")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the union of PyQt and the Qscintilla extension.")))
|
|
|
|
|
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(define-public qtkeychain
|
|
|
|
|
(package
|
|
|
|
|
(name "qtkeychain")
|
2019-01-02 15:04:17 +01:00
|
|
|
|
(version "0.9.1")
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-01-02 15:04:17 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/frankosterfeld/qtkeychain/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(sha256
|
2019-01-02 15:04:17 +01:00
|
|
|
|
(base32
|
|
|
|
|
"0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"))))
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2016-08-15 21:00:43 +02:00
|
|
|
|
(native-inputs
|
2017-09-19 19:39:51 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(inputs
|
2016-08-15 21:00:43 +02:00
|
|
|
|
`(("qtbase" ,qtbase)))
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests included
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-01-02 15:04:17 +01:00
|
|
|
|
(add-before 'configure 'set-qt-trans-dir
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("\\$\\{qt_translations_dir\\}")
|
2019-01-02 15:04:17 +01:00
|
|
|
|
"${CMAKE_INSTALL_PREFIX}/share/qt5/translations"))
|
2017-04-26 08:42:13 +02:00
|
|
|
|
#t)))))
|
2015-09-16 14:24:27 +02:00
|
|
|
|
(home-page "https://github.com/frankosterfeld/qtkeychain")
|
|
|
|
|
(synopsis "Qt API to store passwords")
|
|
|
|
|
(description
|
|
|
|
|
"QtKeychain is a Qt library to store passwords and other secret data
|
|
|
|
|
securely. It will not store any data unencrypted unless explicitly requested.")
|
2016-08-25 20:45:07 +02:00
|
|
|
|
(license license:bsd-3)))
|
2016-10-14 13:27:23 +02:00
|
|
|
|
|
|
|
|
|
(define-public qwt
|
|
|
|
|
(package
|
|
|
|
|
(name "qwt")
|
2020-06-07 18:43:11 +02:00
|
|
|
|
(version "6.1.5")
|
2016-10-14 13:27:23 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/qwt/qwt/"
|
|
|
|
|
version "/qwt-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2020-06-07 18:43:11 +02:00
|
|
|
|
(base32 "0hf0mpca248xlqn7xnzkfj8drf19gdyg5syzklvq8pibxiixwxj0"))))
|
2016-10-14 13:27:23 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2017-09-07 15:19:54 +02:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(docdir (string-append out "/share/doc/qwt"))
|
|
|
|
|
(incdir (string-append out "/include/qwt"))
|
|
|
|
|
(pluginsdir (string-append out "/lib/qt5/plugins/designer"))
|
|
|
|
|
(featuresdir (string-append out "/lib/qt5/mkspecs/features")))
|
2016-10-14 13:27:23 +02:00
|
|
|
|
(substitute* '("qwtconfig.pri")
|
2017-09-07 15:19:54 +02:00
|
|
|
|
(("^(\\s*QWT_INSTALL_PREFIX)\\s*=.*" _ x)
|
|
|
|
|
(format #f "~a = ~a\n" x out))
|
|
|
|
|
(("^(QWT_INSTALL_DOCS)\\s*=.*" _ x)
|
|
|
|
|
(format #f "~a = ~a\n" x docdir))
|
|
|
|
|
(("^(QWT_INSTALL_HEADERS)\\s*=.*" _ x)
|
|
|
|
|
(format #f "~a = ~a\n" x incdir))
|
|
|
|
|
(("^(QWT_INSTALL_PLUGINS)\\s*=.*" _ x)
|
|
|
|
|
(format #f "~a = ~a\n" x pluginsdir))
|
|
|
|
|
(("^(QWT_INSTALL_FEATURES)\\s*=.*" _ x)
|
|
|
|
|
(format #f "~a = ~a\n" x featuresdir)))
|
|
|
|
|
(substitute* '("doc/doc.pro")
|
|
|
|
|
;; We'll install them in the 'install-man-pages' phase.
|
|
|
|
|
(("^unix:doc\\.files.*") ""))
|
2019-01-25 13:53:04 +01:00
|
|
|
|
(invoke "qmake"))))
|
2017-09-07 15:19:54 +02:00
|
|
|
|
(add-after 'install 'install-man-pages
|
2016-10-14 13:27:23 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man")))
|
|
|
|
|
;; Remove some incomplete manual pages.
|
|
|
|
|
(for-each delete-file (find-files "doc/man/man3" "^_tmp.*"))
|
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(copy-recursively "doc/man" man)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://qwt.sourceforge.net")
|
|
|
|
|
(synopsis "Qt widgets for plots, scales, dials and other technical software
|
|
|
|
|
GUI components")
|
|
|
|
|
(description
|
|
|
|
|
"The Qwt library contains widgets and components which are primarily useful
|
|
|
|
|
for technical and scientific purposes. It includes a 2-D plotting widget,
|
|
|
|
|
different kinds of sliders, and much more.")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; The Qwt license is LGPL2.1 with some exceptions.
|
|
|
|
|
(license:non-copyleft "http://qwt.sourceforge.net/qwtlicense.html")
|
|
|
|
|
;; textengines/mathml/qwt_mml_document.{cpp,h} is dual LGPL2.1/GPL3 (either).
|
|
|
|
|
license:lgpl2.1 license:gpl3))))
|
2016-10-26 11:11:01 +02:00
|
|
|
|
|
|
|
|
|
(define-public qtwebkit
|
|
|
|
|
(package
|
|
|
|
|
(name "qtwebkit")
|
2020-03-29 11:31:22 +02:00
|
|
|
|
(version "5.212.0-alpha4")
|
2016-10-26 11:11:01 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-07-22 11:38:58 +02:00
|
|
|
|
(uri (string-append "https://github.com/annulen/webkit/releases/download/"
|
2019-11-10 12:40:40 +01:00
|
|
|
|
"qtwebkit-" version "/qtwebkit-" version ".tar.xz"))
|
2016-10-26 11:11:01 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-29 11:31:22 +02:00
|
|
|
|
"1rm9sjkabxna67dl7myx9d9vpdyfxfdhrk9w7b94srkkjbd2d8cw"))
|
2018-07-22 11:38:58 +02:00
|
|
|
|
(patches (search-patches "qtwebkit-pbutils-include.patch"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
2020-03-29 11:31:22 +02:00
|
|
|
|
("python" ,python)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
("ruby" ,ruby)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("icu" ,icu4c)
|
2018-07-22 11:38:58 +02:00
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("libxrender" ,libxrender)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
2018-07-22 11:38:58 +02:00
|
|
|
|
("qtlocation" ,qtlocation)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
2018-07-22 11:38:58 +02:00
|
|
|
|
("qtsensors" ,qtsensors)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
2016-10-26 11:11:01 +02:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcomposite" ,libxcomposite)))
|
|
|
|
|
(arguments
|
2018-07-22 11:38:58 +02:00
|
|
|
|
`(#:tests? #f ; no apparent tests; it might be necessary to set
|
|
|
|
|
; ENABLE_API_TESTS, see CMakeLists.txt
|
2019-02-10 12:10:17 +01:00
|
|
|
|
|
|
|
|
|
;; Parallel builds fail due to a race condition:
|
|
|
|
|
;; <https://bugs.gnu.org/34062>.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
|
2018-07-22 11:38:58 +02:00
|
|
|
|
#:configure-flags (list ;"-DENABLE_API_TESTS=TRUE"
|
|
|
|
|
"-DPORT=Qt"
|
|
|
|
|
"-DUSE_LIBHYPHEN=OFF"
|
2018-11-26 05:30:35 +01:00
|
|
|
|
"-DUSE_SYSTEM_MALLOC=ON"
|
|
|
|
|
;; XXX: relative dir installs to build dir?
|
|
|
|
|
(string-append "-DECM_MKSPECS_INSTALL_DIR="
|
2018-11-26 05:31:29 +01:00
|
|
|
|
%output "/lib/qt5/mkspecs/modules")
|
|
|
|
|
;; Sacrifice a little speed in order to link
|
|
|
|
|
;; libraries and test executables in a
|
|
|
|
|
;; reasonable amount of memory.
|
|
|
|
|
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory"
|
|
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")))
|
2016-10-26 11:11:01 +02:00
|
|
|
|
(home-page "https://www.webkit.org")
|
|
|
|
|
(synopsis "Web browser engine and classes to render and interact with web
|
|
|
|
|
content")
|
|
|
|
|
(description "QtWebKit provides a Web browser engine that makes it easy to
|
|
|
|
|
embed content from the World Wide Web into your Qt application. At the same
|
|
|
|
|
time Web content can be enhanced with native controls.")
|
2019-08-18 15:48:46 +02:00
|
|
|
|
;; Building QtWebKit takes around 13 hours on an AArch64 machine. Give some
|
|
|
|
|
;; room for slower or busy hardware.
|
|
|
|
|
(properties '((timeout . 64800))) ;18 hours
|
2019-09-06 22:58:26 +02:00
|
|
|
|
|
|
|
|
|
;; XXX: This consumes too much RAM to successfully build on AArch64 (e.g.,
|
|
|
|
|
;; SoftIron OverDrive with 8 GiB of RAM), so instead of wasting resources,
|
|
|
|
|
;; disable it on non-Intel platforms.
|
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
|
|
|
|
|
2016-10-26 11:11:01 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2017-01-04 15:53:03 +01:00
|
|
|
|
|
|
|
|
|
(define-public dotherside
|
|
|
|
|
(package
|
|
|
|
|
(name "dotherside")
|
2019-11-13 20:43:34 +01:00
|
|
|
|
(version "0.6.4")
|
2017-01-04 15:53:03 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-13 20:41:37 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/filcuc/DOtherSide")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-04 15:53:03 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-13 20:43:34 +01:00
|
|
|
|
"09fz6v8rp28997f235yaifj8p4vvsyv45knc1iivgdvx7msgcd0m"))))
|
2017-01-04 15:53:03 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
2018-10-23 09:48:44 +02:00
|
|
|
|
(home-page "https://filcuc.github.io/DOtherSide/index.html")
|
2017-01-04 15:53:03 +01:00
|
|
|
|
(synopsis "C language library for creating bindings for the Qt QML language")
|
|
|
|
|
(description
|
|
|
|
|
"DOtherSide is a C language library for creating bindings for the
|
|
|
|
|
QT QML language. The following features are implementable from
|
|
|
|
|
a binding language:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Creating custom QObject
|
|
|
|
|
@item Creating custom QAbstractListModels
|
|
|
|
|
@item Creating custom properties, signals and slots
|
|
|
|
|
@item Creating from QML QObject defined in the binded language
|
|
|
|
|
@item Creating from Singleton QML QObject defined in the binded language
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:lgpl3))) ;version 3 only (+ exception)
|
2019-02-17 10:42:28 +01:00
|
|
|
|
|
|
|
|
|
;; There have been no public releases yet.
|
|
|
|
|
(define-public qtcolorwidgets
|
|
|
|
|
(let ((commit "a95f72e935fe9e046061a1d1c3930cbfbcb533e0")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "qtcolorwidgets")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dkiwlqh2gwhlp78c1fmchj3shl4p9inspcl96ya5aa8mn6kydy8"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; There are no tests
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(home-page "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
|
|
|
|
|
(synopsis "Color management widgets")
|
|
|
|
|
(description "QtColorWidgets provides a Qt color dialog that is more
|
|
|
|
|
user-friendly than the default @code{QColorDialog} and several other
|
|
|
|
|
color-related widgets.")
|
|
|
|
|
;; Includes a license exception for combining with GPL2 code.
|
|
|
|
|
(license license:lgpl3+))))
|
2019-07-06 18:13:50 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-shiboken-2
|
2020-03-15 13:27:53 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "python-shiboken-2")
|
|
|
|
|
(version "5.12.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases"
|
|
|
|
|
"/QtForPython/pyside2/PySide2-" version
|
|
|
|
|
"-src/pyside-setup-everywhere-src-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n45l6xxyxs6cfp2l4rp8qs1c2fyfwyrdxa4qcpwfsqsi51rydsk"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("clang-toolchain" ,clang-toolchain-6)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("python-wrapper" ,python-wrapper)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
;; FIXME: Building tests fails
|
|
|
|
|
#:configure-flags '("-DBUILD_TESTS=off")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'use-shiboken-dir-only
|
|
|
|
|
(lambda _ (chdir "sources/shiboken2") #t))
|
|
|
|
|
(add-before 'configure 'make-files-writable-and-update-timestamps
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The build scripts need to modify some files in
|
|
|
|
|
;; the read-only source directory, and also attempts
|
|
|
|
|
;; to create Zip files which fails because the Zip
|
|
|
|
|
;; format does not support timestamps before 1980.
|
|
|
|
|
(let ((circa-1980 (* 10 366 24 60 60)))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(make-file-writable file)
|
|
|
|
|
(utime file circa-1980 circa-1980))
|
|
|
|
|
(find-files ".")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'set-build-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((llvm (assoc-ref inputs "clang-toolchain")))
|
|
|
|
|
(setenv "CLANG_INSTALL_DIR" llvm)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Shiboken generates bindings for C++ libraries using CPython source code")
|
|
|
|
|
(description
|
|
|
|
|
"Shiboken generates bindings for C++ libraries using CPython source code")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; The main code is GPL3 or LGPL3.
|
|
|
|
|
;; Examples are BSD-3.
|
|
|
|
|
license:gpl3
|
|
|
|
|
license:lgpl3
|
|
|
|
|
license:bsd-3))))
|
2019-09-02 16:27:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-pyside-2
|
2020-03-15 13:27:53 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "python-pyside-2")
|
|
|
|
|
(version (package-version python-shiboken-2))
|
|
|
|
|
(source (package-source python-shiboken-2))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("clang-toolchain" ,clang-toolchain-6)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdatavis3d" ,qtdatavis3d)
|
|
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtquickcontrols" ,qtquickcontrols)
|
|
|
|
|
("qtscript" ,qtscript)
|
|
|
|
|
("qtscxml" ,qtscxml)
|
|
|
|
|
("qtsensors" ,qtsensors)
|
|
|
|
|
("qtspeech" ,qtspeech)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebsockets" ,qtwebsockets)
|
|
|
|
|
("qtx11extras" ,qtx11extras)
|
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmake" ,cmake-minimal)
|
|
|
|
|
("python-shiboken-2" ,python-shiboken-2)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
;; FIXME: Building tests fail.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DBUILD_TESTS=FALSE"
|
|
|
|
|
(string-append "-DPYTHON_EXECUTABLE="
|
|
|
|
|
(assoc-ref %build-inputs "python")
|
|
|
|
|
"/bin/python"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
|
|
|
|
(lambda _ (chdir "sources/pyside2") #t))
|
|
|
|
|
(add-before 'configure 'set-clang-dir
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((clang (assoc-ref inputs "clang-toolchain")))
|
|
|
|
|
(setenv "CLANG_INSTALL_DIR" clang)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
|
(synopsis
|
|
|
|
|
"The Qt for Python product enables the use of Qt5 APIs in Python applications")
|
|
|
|
|
(description
|
|
|
|
|
"The Qt for Python product enables the use of Qt5 APIs in Python
|
2019-09-02 16:27:15 +02:00
|
|
|
|
applications. It lets Python developers utilize the full potential of Qt,
|
|
|
|
|
using the PySide2 module. The PySide2 module provides access to the
|
|
|
|
|
individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also
|
|
|
|
|
comes with the Shiboken2 CPython binding code generator, which can be used to
|
|
|
|
|
generate Python bindings for your C or C++ code.")
|
2020-03-15 13:27:53 +01:00
|
|
|
|
(license (list
|
|
|
|
|
license:lgpl3
|
|
|
|
|
;;They state that:
|
|
|
|
|
;; this file may be used under the terms of the GNU General
|
|
|
|
|
;; Public License version 2.0 or (at your option) the GNU
|
|
|
|
|
;; General Public license version 3 or any later version
|
|
|
|
|
;; approved by the KDE Free Qt Foundation.
|
|
|
|
|
;; Thus, it is currently v2 or v3, but no "+".
|
|
|
|
|
license:gpl3
|
|
|
|
|
license:gpl2))))
|
2019-07-07 03:49:08 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-pyside-2-tools
|
2020-03-15 13:27:53 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "python-pyside-2-tools")
|
|
|
|
|
(version (package-version python-shiboken-2))
|
|
|
|
|
(source (package-source python-shiboken-2))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pyside-2" ,python-pyside-2)
|
|
|
|
|
("python-shiboken-2" ,python-shiboken-2)
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-wrapper)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DBUILD_TESTS=off"
|
|
|
|
|
(string-append "-DPYTHON_EXECUTABLE="
|
|
|
|
|
(assoc-ref %build-inputs "python")
|
|
|
|
|
"/bin/python"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
|
|
|
|
(lambda _ (chdir "sources/pyside2-tools") #t)))))
|
|
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Contains command line tools for PySide2")
|
|
|
|
|
(description
|
|
|
|
|
"Contains lupdate, rcc and uic tools for PySide2")
|
|
|
|
|
(license license:gpl2)))
|
2020-05-13 13:54:20 +02:00
|
|
|
|
|
|
|
|
|
(define-public libqglviewer
|
|
|
|
|
(package
|
|
|
|
|
(name "libqglviewer")
|
|
|
|
|
(version "2.7.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://libqglviewer.com/src/libQGLViewer-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"023w7da1fyn2z69nbkp2rndiv886zahmc5cmira79zswxjfpklp2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke (cons "qmake" make-flags)))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)))
|
|
|
|
|
(home-page "http://libqglviewer.com")
|
|
|
|
|
(synopsis "Qt-based C++ library for the creation of OpenGL 3D viewers")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libQGLViewer} is a C++ library based on Qt that eases the creation
|
|
|
|
|
of OpenGL 3D viewers.
|
|
|
|
|
|
|
|
|
|
It provides some of the typical 3D viewer functionalities, such as the
|
|
|
|
|
possibility to move the camera using the mouse, which lacks in most of the
|
|
|
|
|
other APIs. Other features include mouse manipulated frames, interpolated
|
|
|
|
|
keyFrames, object selection, stereo display, screenshot saving and much more.
|
|
|
|
|
It can be used by OpenGL beginners as well as to create complex applications,
|
|
|
|
|
being fully customizable and easy to extend.")
|
|
|
|
|
;; According to LICENSE, either version 2 or version 3 of the GNU GPL may
|
|
|
|
|
;; be used.
|
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|