2013-10-04 13:10:29 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-24 14:17:33 -05:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2015-01-03 01:12:01 -05:00
|
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2015-04-15 12:13:38 -04:00
|
|
|
|
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
2018-01-25 00:13:40 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* 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/emacs.scm, gnu/packages/enlightenment.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/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.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.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-crypto.scm, gnu/packages/python-web.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: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 11:39:45 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
|
2016-10-14 07:27:23 -04:00
|
|
|
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
2017-07-18 10:36:42 -04:00
|
|
|
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
|
|
|
|
;;; Copyright © 2017 Quiliro <quiliro@fsfla.org>
|
2018-04-16 21:50:33 -04:00
|
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-10 12:54:01 -05:00
|
|
|
|
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2013-10-04 13:10:29 -04: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 14:45:07 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-10-04 13:10:29 -04:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2013-12-14 17:16:46 -05:00
|
|
|
|
#:use-module (guix build utils)
|
2015-09-16 08:24:27 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-10-04 13:10:29 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-07-18 10:39:11 -04:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2015-01-24 14:17:33 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils)
|
2013-10-12 08:48:52 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2015-06-16 11:27:10 -04:00
|
|
|
|
#:use-module (gnu packages cups)
|
|
|
|
|
#:use-module (gnu packages databases)
|
2016-12-01 06:51:20 -05:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2013-10-08 14:49:58 -04: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 06:51:51 -05:00
|
|
|
|
#:use-module (gnu packages flex)
|
2016-06-08 13:21:16 -04:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2014-11-21 17:46:01 -05:00
|
|
|
|
#:use-module (gnu packages gl)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
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 06:51:51 -05:00
|
|
|
|
#:use-module (gnu packages gnuzilla)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
2017-09-04 05:09:00 -04:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2015-07-25 10:02:38 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-10-08 14:49:58 -04: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 08:39:02 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
2017-05-18 02:52:49 -04:00
|
|
|
|
#:use-module (gnu packages maths)
|
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 06:51:51 -05:00
|
|
|
|
#:use-module (gnu packages pciutils)
|
|
|
|
|
#:use-module (gnu packages pcre)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-10-10 08:24:51 -04:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
2014-11-21 17:46:01 -05:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2017-01-05 16:01:45 -05:00
|
|
|
|
#:use-module (gnu packages sdl)
|
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 12:27:24 -04:00
|
|
|
|
#:use-module (gnu packages tls)
|
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 06:51:51 -05:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (gnu packages xml))
|
2013-10-04 13:10:29 -04:00
|
|
|
|
|
2016-12-01 06:51:20 -05:00
|
|
|
|
(define-public grantlee
|
|
|
|
|
(package
|
|
|
|
|
(name "grantlee")
|
|
|
|
|
(version "5.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/steveire/grantlee/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lf9rkv0i0kd7fvpgg5l8jb87zw8dzcwd1liv6hji7g4wlpmfdiq"))))
|
|
|
|
|
(native-inputs
|
2017-09-20 07:04:25 -04:00
|
|
|
|
;; Optional: lcov and cccc, both are for code coverage
|
2016-12-01 06:51:20 -05:00
|
|
|
|
`(("doxygen" ,doxygen)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtscript" ,qtscript)))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-09-20 07:04:25 -04:00
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
|
(lambda _
|
|
|
|
|
;; make Qt render "offscreen", required for tests
|
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
|
#t)))))
|
2016-12-01 06:51:20 -05: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.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(define-public qt
|
|
|
|
|
(package
|
|
|
|
|
(name "qt")
|
2018-01-25 00:13:40 -05:00
|
|
|
|
(version "5.9.4")
|
2017-10-12 12:53:31 -04:00
|
|
|
|
(outputs '("out" "examples"))
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-07-25 10:02:38 -04:00
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"http://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/" version
|
|
|
|
|
"/single/qt-everywhere-opensource-src-"
|
|
|
|
|
version ".tar.xz"))
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(sha256
|
2018-01-25 00:13:40 -05:00
|
|
|
|
(base32
|
|
|
|
|
"1mblh8k04l13nk9fhhrr43h5bcph1gbz94j5y7csx8zvxb5xkb73"))
|
2015-10-04 06:56:45 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2015-10-04 13:08:13 -04:00
|
|
|
|
'(begin
|
|
|
|
|
;; Remove qtwebengine, which relies on a bundled copy of
|
|
|
|
|
;; chromium. Not only does it fail compilation in qt 5.5:
|
|
|
|
|
;; 3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:362:10:
|
|
|
|
|
;; error: cannot convert ‘bool’ to ‘boolean’ in return
|
|
|
|
|
;; it might also pose security problems.
|
|
|
|
|
;; Alternatively, we could use the "-skip qtwebengine"
|
|
|
|
|
;; configuration option.
|
|
|
|
|
(delete-file-recursively "qtwebengine")
|
2017-10-12 12:53:31 -04:00
|
|
|
|
;; The following snippets are copied from their mondular-qt counterparts.
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively (string-append "qtbase/src/3rdparty/" dir)))
|
|
|
|
|
(list "double-conversion" "freetype" "harfbuzz-ng"
|
|
|
|
|
"libpng" "libjpeg" "pcre2" "sqlite" "xcb"
|
|
|
|
|
"xkbcommon" "zlib"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively dir))
|
|
|
|
|
(list "qtimageformats/src/3rdparty"
|
|
|
|
|
"qtmultimedia/examples/multimedia/spectrum/3rdparty"
|
|
|
|
|
"qtwayland/examples"
|
|
|
|
|
"qtcanvas3d/examples/canvas3d/3rdparty"))
|
|
|
|
|
;; Tests depend on this example, which depends on the 3rd party code.
|
|
|
|
|
(substitute* "qtmultimedia/examples/multimedia/multimedia.pro"
|
|
|
|
|
(("spectrum") "#"))))))
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2013-10-10 14:54:25 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mesa" ,mesa)))
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("bluez" ,bluez)
|
2015-06-16 11:27:10 -04:00
|
|
|
|
("cups" ,cups)
|
2017-10-12 12:53:31 -04: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 06:51:51 -05:00
|
|
|
|
("expat" ,expat)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
2015-07-25 10:02:38 -04:00
|
|
|
|
("harfbuzz" ,harfbuzz)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
("icu4c" ,icu4c)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("jasper" ,jasper)
|
|
|
|
|
("libinput" ,libinput-minimal)
|
2013-12-14 17:16:46 -05:00
|
|
|
|
("libjpeg" ,libjpeg)
|
2015-06-16 11:27:10 -04: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 06:51:51 -05:00
|
|
|
|
("libpci" ,pciutils)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
("libpng" ,libpng)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
2013-10-08 14:49:58 -04: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 06:51:51 -05:00
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
2017-10-12 12:53:31 -04: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 06:51:51 -05:00
|
|
|
|
("libxfixes" ,libxfixes)
|
2013-10-08 14:49:58 -04: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 06:51:51 -05:00
|
|
|
|
("libxinerama" ,libxinerama)
|
2013-10-08 14:49:58 -04: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 06:51:51 -05:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
2013-10-08 14:49:58 -04: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 06:51:51 -05:00
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("mtdev" ,mtdev)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
("mysql" ,mysql)
|
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 06:51:51 -05:00
|
|
|
|
("nss" ,nss)
|
2013-10-08 14:49:58 -04:00
|
|
|
|
("openssl" ,openssl)
|
2015-06-16 11:27:10 -04:00
|
|
|
|
("postgresql" ,postgresql)
|
2013-10-10 08:24:51 -04:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("pcre2" ,pcre2)
|
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 06:51:51 -05:00
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("udev" ,eudev)
|
2015-06-16 11:27:10 -04:00
|
|
|
|
("unixodbc" ,unixodbc)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
("wayland" ,wayland)
|
2013-10-08 14:49:58 -04: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)
|
|
|
|
|
("zlib" ,zlib)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 06:01:56 -05:00
|
|
|
|
(native-inputs
|
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 06:51:51 -05:00
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("ruby" ,ruby)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 11:21:21 -05:00
|
|
|
|
("which" ,(@ (gnu packages base) which))))
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(arguments
|
2017-10-12 12:53:31 -04:00
|
|
|
|
`(#:phases
|
2016-07-29 08:34:43 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2016-07-29 13:19:46 -04:00
|
|
|
|
(add-after 'configure 'patch-bin-sh
|
|
|
|
|
(lambda _
|
2017-10-12 12:53:31 -04:00
|
|
|
|
(substitute* '("qtbase/configure"
|
2016-07-29 13:19:46 -04:00
|
|
|
|
"qtbase/mkspecs/features/qt_functions.prf"
|
|
|
|
|
"qtbase/qmake/library/qmakebuiltins.cpp")
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2016-07-29 08:34:43 -04:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2017-10-12 12:53:31 -04:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(examples (assoc-ref outputs "examples")))
|
2016-07-29 08:34:43 -04:00
|
|
|
|
(substitute* '("configure" "qtbase/configure")
|
|
|
|
|
(("/bin/pwd") (which "pwd")))
|
|
|
|
|
(substitute* "qtbase/src/corelib/global/global.pri"
|
|
|
|
|
(("/bin/ls") (which "ls")))
|
|
|
|
|
;; do not pass "--enable-fast-install", which makes the
|
|
|
|
|
;; configure process fail
|
|
|
|
|
(zero? (system*
|
|
|
|
|
"./configure"
|
|
|
|
|
"-verbose"
|
|
|
|
|
"-prefix" out
|
2017-10-12 12:53:31 -04:00
|
|
|
|
"-examplesdir" examples ; 89MiB
|
2016-07-29 08:34:43 -04:00
|
|
|
|
"-opensource"
|
|
|
|
|
"-confirm-license"
|
2017-10-12 12:53:31 -04:00
|
|
|
|
;; Do not build examples; for the time being, we
|
2016-08-09 15:12:19 -04:00
|
|
|
|
;; prefer to save the space and build time.
|
2017-10-12 12:53:31 -04:00
|
|
|
|
"-no-compile-examples"
|
2016-07-29 08:34:43 -04:00
|
|
|
|
;; Most "-system-..." are automatic, but some use
|
|
|
|
|
;; the bundled copy by default.
|
|
|
|
|
"-system-sqlite"
|
|
|
|
|
"-system-harfbuzz"
|
|
|
|
|
;; explicitly link with openssl instead of dlopening it
|
|
|
|
|
"-openssl-linked"
|
|
|
|
|
;; explicitly link with dbus instead of dlopening it
|
|
|
|
|
"-dbus-linked"
|
2017-10-12 12:53:31 -04:00
|
|
|
|
;; don't use the precompiled headers
|
|
|
|
|
"-no-pch"
|
2016-07-29 08:34:43 -04:00
|
|
|
|
;; drop special machine instructions not supported
|
|
|
|
|
;; on all instances of the target
|
|
|
|
|
,@(if (string-prefix? "x86_64"
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'()
|
|
|
|
|
'("-no-sse2"))
|
|
|
|
|
"-no-mips_dsp"
|
|
|
|
|
"-no-mips_dspr2"))))))))
|
2016-10-15 12:17:40 -04:00
|
|
|
|
(home-page "https://www.qt.io/")
|
2013-10-08 14:49:58 -04:00
|
|
|
|
(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 14:45:07 -04:00
|
|
|
|
(license license:lgpl2.1)
|
2014-10-27 20:14:34 -04:00
|
|
|
|
|
|
|
|
|
;; 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))))
|
2013-10-12 08:48:52 -04:00
|
|
|
|
|
|
|
|
|
(define-public qt-4
|
|
|
|
|
(package (inherit qt)
|
2015-06-14 02:40:07 -04:00
|
|
|
|
(version "4.8.7")
|
2013-10-12 08:48:52 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.qt-project.org/official_releases/qt/"
|
|
|
|
|
(string-copy version 0 (string-rindex version #\.))
|
|
|
|
|
"/" version
|
2013-10-23 17:32:24 -04:00
|
|
|
|
"/qt-everywhere-opensource-src-"
|
2013-10-12 08:48:52 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-06-14 02:40:07 -04:00
|
|
|
|
"183fca7n7439nlhxyg1z7aky0izgbyll3iwakw4gwivy16aj5272"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "qt4-ldflags.patch"))
|
2015-10-03 18:51:21 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove webkit module, which is not built.
|
|
|
|
|
'(delete-file-recursively "src/3rdparty/webkit"))))
|
2015-07-25 10:02:38 -04:00
|
|
|
|
(inputs `(,@(alist-delete "harfbuzz"
|
|
|
|
|
(alist-delete "libjpeg" (package-inputs qt)))
|
2014-05-14 08:30:28 -04:00
|
|
|
|
("libjepg" ,libjpeg-8)
|
|
|
|
|
("libsm" ,libsm)))
|
2015-04-15 12:13:38 -04: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 08:48:52 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
2015-06-27 04:17:27 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace
|
2013-10-12 08:48:52 -04:00
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2015-04-15 12:13:38 -04:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
2013-10-12 08:48:52 -04:00
|
|
|
|
(substitute* '("configure")
|
2015-04-15 07:30:25 -04:00
|
|
|
|
(("/bin/pwd") (which "pwd")))
|
|
|
|
|
|
2013-11-11 13:16:03 -05:00
|
|
|
|
(zero? (system*
|
|
|
|
|
"./configure"
|
|
|
|
|
"-verbose"
|
|
|
|
|
"-prefix" out
|
2015-06-27 15:37:50 -04:00
|
|
|
|
;; Note: Don't pass '-docdir' since 'qmake' and
|
|
|
|
|
;; libQtCore would record its value, thereby defeating
|
|
|
|
|
;; the whole point of having a separate output.
|
2015-06-27 13:30:05 -04:00
|
|
|
|
"-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")
|
2015-04-15 12:13:38 -04:00
|
|
|
|
"-demosdir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/demos")
|
|
|
|
|
"-examplesdir" (string-append out "/share/qt-" ,version
|
|
|
|
|
"/examples")
|
2013-11-11 13:16:03 -05:00
|
|
|
|
"-opensource"
|
|
|
|
|
"-confirm-license"
|
2014-11-04 09:41:20 -05:00
|
|
|
|
;; explicitly link with dbus instead of dlopening it
|
|
|
|
|
"-dbus-linked"
|
2015-10-03 18:51:21 -04:00
|
|
|
|
;; Skip the webkit module; it fails to build on armhf
|
|
|
|
|
;; and, apart from that, may pose security risks.
|
|
|
|
|
"-no-webkit"
|
2013-11-11 13:16:03 -05:00
|
|
|
|
;; 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"
|
2013-10-12 08:48:52 -04:00
|
|
|
|
"-no-3dnow"
|
|
|
|
|
"-no-sse"
|
2013-11-11 13:16:03 -05:00
|
|
|
|
"-no-sse2"))
|
|
|
|
|
"-no-sse3"
|
|
|
|
|
"-no-ssse3"
|
|
|
|
|
"-no-sse4.1"
|
|
|
|
|
"-no-sse4.2"
|
2015-07-10 14:52:45 -04:00
|
|
|
|
"-no-avx")))))
|
2015-06-27 15:37:50 -04: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)
|
|
|
|
|
#t))))))))
|
2015-01-24 14:17:33 -05:00
|
|
|
|
|
2016-06-02 14:46:32 -04:00
|
|
|
|
(define-public qtbase
|
|
|
|
|
(package
|
|
|
|
|
(name "qtbase")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-02 14:46:32 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-02 14:46:32 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
2016-06-26 10:47:23 -04:00
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0rny87ypnkkvyp9p76nim77v6np0cdf1dbjfmcilklzphkdlcvpd"))
|
2017-11-02 18:03:24 -04:00
|
|
|
|
;; Use TZDIR to avoid depending on package "tzdata".
|
|
|
|
|
(patches (search-patches "qtbase-use-TZDIR.patch"))
|
2016-06-02 14:46:32 -04: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 01:37:54 -04:00
|
|
|
|
;; corelib uses bundled harfbuzz, md4, md5, sha3
|
2016-06-02 14:46:32 -04:00
|
|
|
|
'(begin
|
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 01:37:54 -04:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively (string-append "src/3rdparty/" dir)))
|
|
|
|
|
(list "double-conversion" "freetype" "harfbuzz-ng"
|
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 14:23:10 -04:00
|
|
|
|
"libpng" "libjpeg" "pcre2" "xcb"
|
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 01:37:54 -04:00
|
|
|
|
"xkbcommon" "zlib"))
|
|
|
|
|
#t))))
|
2016-06-02 14:46:32 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-28 02:17:54 -04:00
|
|
|
|
(propagated-inputs
|
2017-09-03 05:38:57 -04:00
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("which" ,(@ (gnu packages base) which))))
|
2016-06-02 14:46:32 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cups" ,cups)
|
|
|
|
|
("dbus" ,dbus)
|
2017-05-18 02:52:49 -04:00
|
|
|
|
("double-conversion" ,double-conversion)
|
2016-06-26 12:54:59 -04:00
|
|
|
|
("eudev" ,eudev)
|
2016-06-02 14:46:32 -04:00
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
2017-10-09 07:59:20 -04:00
|
|
|
|
("libinput" ,libinput-minimal)
|
2016-06-02 14:46:32 -04:00
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("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)
|
|
|
|
|
("mysql" ,mysql)
|
|
|
|
|
("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 01:37:54 -04:00
|
|
|
|
("pcre2" ,pcre2)
|
2016-06-02 14:46:32 -04:00
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
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 14:23:10 -04:00
|
|
|
|
;("sqlite" ,sqlite)
|
2016-06-02 14:46:32 -04: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)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
2017-09-03 05:38:57 -04:00
|
|
|
|
("ruby" ,ruby)))
|
2016-06-02 14:46:32 -04: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))
|
|
|
|
|
(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 17:54:43 -04: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 14:46:32 -04: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 14:23:10 -04: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"
|
|
|
|
|
;; 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.
|
|
|
|
|
;; System sqlite fails on 5.10+
|
|
|
|
|
;;.obj/qsql_sqlite.o: In function `QSQLiteResultPrivate::initColumns(bool)':
|
|
|
|
|
;;qsql_sqlite.cpp:(.text+0x190c): undefined reference to `sqlite3_column_table_name16'
|
|
|
|
|
;"-system-sqlite"
|
|
|
|
|
"-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 05:38:57 -04:00
|
|
|
|
(add-after 'install 'patch-mkspecs
|
2016-08-14 02:14:11 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2017-09-03 05:38:57 -04:00
|
|
|
|
(archdata (string-append out "/lib/qt5"))
|
|
|
|
|
(mkspecs (string-append archdata "/mkspecs"))
|
2016-08-14 02:14:11 -04:00
|
|
|
|
(qt_config.prf (string-append
|
2017-08-25 10:52:41 -04:00
|
|
|
|
mkspecs "/features/qt_config.prf")))
|
2016-08-14 02:14:11 -04: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 10:52:41 -04:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../include/qt5))")
|
2016-08-14 02:14:11 -04:00
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
2016-08-14 02:14:11 -04:00
|
|
|
|
(("\\$\\$\\[QT_HOST_LIBS\\]")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
2016-08-14 02:14:11 -04:00
|
|
|
|
(("\\$\\$\\[QT_INSTALL_BINS\\]")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../bin))"))
|
2017-09-03 05:38:57 -04: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 18:03:24 -04:00
|
|
|
|
#t)))
|
|
|
|
|
(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))))
|
|
|
|
|
;; X11/locale (compose path)
|
|
|
|
|
(substitute* "src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp"
|
|
|
|
|
;; Don't search in /usr/…/X11/locale, …
|
|
|
|
|
(("^\\s*m_possibleLocations.append\\(QStringLiteral\\(\"/usr/.*/X11/locale\"\\)\\);" line)
|
|
|
|
|
(string-append "// " line))
|
|
|
|
|
;; … but use libx11's path
|
|
|
|
|
(("^\\s*(m_possibleLocations.append\\(QStringLiteral\\()X11_PREFIX \"(/.*/X11/locale\"\\)\\);)" _ a b)
|
|
|
|
|
(string-append a "\"" (assoc-ref inputs "libx11") 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 02:14:11 -04:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "QMAKEPATH")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
(files '("lib/qt5")))
|
2016-08-25 11:20:22 -04:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QML2_IMPORT_PATH")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
(files '("lib/qt5/qml")))
|
2016-08-25 11:20:22 -04:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "QT_PLUGIN_PATH")
|
2017-08-25 10:52:41 -04:00
|
|
|
|
(files '("lib/qt5/plugins")))
|
2016-08-25 11:20:22 -04:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc/xdg")))))
|
2016-06-02 14:46:32 -04: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 14:45:07 -04:00
|
|
|
|
(license (list license:lgpl2.1 license:lgpl3))))
|
2016-06-02 14:46:32 -04:00
|
|
|
|
|
2016-05-20 06:14:50 -04:00
|
|
|
|
(define-public qtsvg
|
|
|
|
|
(package (inherit qtbase)
|
|
|
|
|
(name "qtsvg")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-05-20 06:14:50 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-05-20 06:14:50 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0m0zglp0m5gv75ivma6l3hm8brb0cf44dhbc6lqwfdwacxhgx3jb"))))
|
2016-06-28 02:17:54 -04:00
|
|
|
|
(propagated-inputs `())
|
2016-05-20 06:14:50 -04:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-09-03 05:38:57 -04:00
|
|
|
|
(add-before 'configure 'configure-qmake
|
2016-05-20 06:14:50 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-09-03 05:38:57 -04: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 07:21:17 -04: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 15:14:04 -05:00
|
|
|
|
#t)))
|
2017-09-03 05:38:57 -04: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 14:23:10 -04:00
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools tests")))
|
2017-09-03 05:38:57 -04: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 09:30:44 -04:00
|
|
|
|
(synopsis "Qt module for displaying SVGs")
|
|
|
|
|
(description "The QtSvg module provides classes for displaying the
|
|
|
|
|
contents of SVG files.")))
|
2016-05-20 06:14:50 -04:00
|
|
|
|
|
2016-06-03 11:39:18 -04:00
|
|
|
|
(define-public qtimageformats
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtimageformats")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-03 11:39:18 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-03 11:39:18 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0w0yy7zzln3v7dm7ksjxkzhq8r0a9nwk823wv4f1x7vsa3pnyh2q"))
|
2016-11-06 13:30:25 -05: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 14:23:10 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "src/3rdparty")
|
|
|
|
|
#t))))
|
2016-06-03 11:39:18 -04:00
|
|
|
|
(native-inputs `())
|
|
|
|
|
(inputs
|
2016-12-22 17:14:18 -05:00
|
|
|
|
`(("jasper" ,jasper)
|
|
|
|
|
("libmng" ,libmng)
|
2016-06-03 11:39:18 -04: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 09:30:44 -04: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 11:39:18 -04:00
|
|
|
|
|
2016-06-04 18:06:22 -04:00
|
|
|
|
(define-public qtx11extras
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtx11extras")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-04 18:06:22 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-04 18:06:22 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"13vbx61wcd8pnpgk3j5r665pm03s7jp2s98apvc6fhp1njlr0rhi"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-04 18:06:22 -04: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 09:30:44 -04:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Extras for X11")
|
|
|
|
|
(description "The QtX11Extras module includes the library to access X11
|
|
|
|
|
from within Qt 5.")))
|
2016-06-04 18:06:22 -04:00
|
|
|
|
|
2016-06-04 23:55:24 -04:00
|
|
|
|
(define-public qtxmlpatterns
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtxmlpatterns")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-04 23:55:24 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-04 23:55:24 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"13nj2pa706sy874bqbv7y94ypicr4k09x6n2jyxkw93flb5pi8qr"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2017-01-08 06:35:41 -05: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 03:17:42 -04:00
|
|
|
|
(("xmlpatterns ") "# xmlpatterns"))
|
2017-01-08 06:35:41 -05:00
|
|
|
|
#t))))))
|
2016-06-04 23:55:24 -04:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
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 09:30:44 -04: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-04 23:55:24 -04:00
|
|
|
|
|
2016-06-06 09:30:22 -04:00
|
|
|
|
(define-public qtdeclarative
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtdeclarative")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-06 09:30:22 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 09:30:22 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1h2pbyr7dnak4q96373xpa6gk6rl528rnqima8xnvhdi2y5kgagf"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-06 09:30:22 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
|
|
|
|
(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 09:30:44 -04: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 09:30:22 -04:00
|
|
|
|
|
2016-06-06 12:43:59 -04:00
|
|
|
|
(define-public qtconnectivity
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtconnectivity")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-06 12:43:59 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 12:43:59 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0wqq5q5saf007aphvpn5pvj6l0qp0z7wxvfba6v9iq5ylyqm6bnd"))))
|
2016-06-06 12:43:59 -04: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 09:30:44 -04:00
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(synopsis "Qt Connectivity module")
|
|
|
|
|
(description "The Qt Connectivity modules provides modules for interacting
|
|
|
|
|
with Bluetooth and NFC.")))
|
2016-06-06 12:43:59 -04:00
|
|
|
|
|
2016-06-06 13:05:47 -04:00
|
|
|
|
(define-public qtwebsockets
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebsockets")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-06 13:05:47 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 13:05:47 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1drr6nxxbkwpmz39bhyfmmsqjhy11bj3w1nc3q9dwhpcbf04an3x"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-06 13:05:47 -04: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 09:30:44 -04: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 13:05:47 -04:00
|
|
|
|
|
2016-06-06 13:14:45 -04:00
|
|
|
|
(define-public qtsensors
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtsensors")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-06 13:14:45 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 13:14:45 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1az22rdkpc1m44qb3dyh7cpiprplkvynzjr629ai05i8ngbfdi0g"))))
|
2017-06-22 06:04:33 -04:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2017-11-25 15:16:12 -05:00
|
|
|
|
((#:parallel-tests? _ #f) #f) ; can lead to race condition
|
2017-06-22 06:04:33 -04:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2018-02-10 12:54:01 -05:00
|
|
|
|
(add-after 'unpack 'fix-tests
|
2017-06-22 06:04:33 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/auto/qsensorgestures_gestures/tst_sensorgestures_gestures.cpp"
|
2018-02-10 12:54:01 -05:00
|
|
|
|
(("2000") "5000") ;lengthen test timeout
|
|
|
|
|
(("QTest::newRow(\"twist\") << \"twist\"") "")) ;failing test
|
2017-06-22 06:04:33 -04:00
|
|
|
|
#t))))))
|
2016-06-06 13:14:45 -04: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 09:30:44 -04: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 13:14:45 -04:00
|
|
|
|
|
2016-06-06 14:50:41 -04:00
|
|
|
|
(define-public qtmultimedia
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtmultimedia")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-06 14:50:41 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-06 14:50:41 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0g4x1w251imq58zp1px6yschwj6icsxzwl3fy7pjfbgd27qjhlzg"))
|
2016-11-06 14:06:48 -05: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 15:14:04 -05:00
|
|
|
|
"examples/multimedia/spectrum/3rdparty")
|
|
|
|
|
;; We also prevent the spectrum example from being built.
|
|
|
|
|
(substitute* "examples/multimedia/multimedia.pro"
|
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 14:23:10 -04: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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
2017-09-04 05:09:00 -04: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 14:23:10 -04: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 05:09:00 -04:00
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-06 14:50:41 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2017-09-04 05:09:00 -04: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 09:30:44 -04: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 14:50:41 -04:00
|
|
|
|
|
2016-06-08 13:21:16 -04:00
|
|
|
|
(define-public qtwayland
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwayland")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-08 13:21:16 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-08 13:21:16 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"09s1ckqj0cgjmmi7jylsf039vgzlq7i9rr4swb590fkz427lx0b8"))
|
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 01:37:54 -04: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 14:23:10 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "examples")
|
|
|
|
|
#t))))
|
2017-08-25 10:52:41 -04:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-before 'check 'set-ld-library-path
|
|
|
|
|
;; <https://lists.gnu.org/archive/html/guix-devel/2017-09/msg00019.html>
|
|
|
|
|
;;
|
|
|
|
|
;; Make the uninstalled libQt5WaylandClient.so.5 available to the
|
|
|
|
|
;; wayland platform plugin.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/lib"))
|
|
|
|
|
#t))))))
|
2016-06-08 13:21:16 -04: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 09:30:44 -04:00
|
|
|
|
("wayland" ,wayland)))
|
|
|
|
|
(synopsis "Qt Wayland module")
|
|
|
|
|
(description "The Qt Wayland module provides the QtWayland client and
|
|
|
|
|
compositor libraries.")))
|
2016-06-08 13:21:16 -04:00
|
|
|
|
|
2016-06-09 16:41:39 -04:00
|
|
|
|
(define-public qtserialport
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtserialport")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-09 16:41:39 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-09 16:41:39 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1cbf1jsginp5p3y17cyb6dfhsafxal0bn9pya6aybz0q799zgvl5"))))
|
2016-06-09 16:41:39 -04:00
|
|
|
|
(native-inputs `(("perl" ,perl)))
|
2016-06-26 10:57:51 -04: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 09:30:44 -04:00
|
|
|
|
("eudev" ,eudev)))
|
2017-11-01 11:31:03 -04: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 09:30:44 -04: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 16:41:39 -04:00
|
|
|
|
|
2017-01-05 13:44:27 -05:00
|
|
|
|
(define-public qtserialbus
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtserialbus")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-05 13:44:27 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 13:44:27 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0r3crk7gw0xs6wk1gvw2k8r9s9vam3sfwrji1njhswavii9fbp85"))))
|
2017-01-05 13:44:27 -05: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 09:30:44 -04: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 13:44:27 -05:00
|
|
|
|
|
2016-06-09 16:56:18 -04:00
|
|
|
|
(define-public qtwebchannel
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtwebchannel")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-09 16:56:18 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-09 16:56:18 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"05fa5pwvk24cjp8m6pbw3ma95vnls762crpjdgvygfk0h8xilxmh"))))
|
2016-06-09 16:56:18 -04: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 09:30:44 -04: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 16:56:18 -04:00
|
|
|
|
|
2016-06-10 00:49:43 -04:00
|
|
|
|
(define-public qtlocation
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtlocation")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-10 00:49:43 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-10 00:49:43 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"074cjqhr14mqlsqj9rzagzdcqnayyichp31lq02k05q07wg93xi8"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-10 00:49:43 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
2016-08-16 14:24:24 -04:00
|
|
|
|
("qtquickcontrols" ,qtquickcontrols)
|
2016-06-10 00:49:43 -04: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 01:37:54 -04: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 09:30:44 -04: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 00:49:43 -04:00
|
|
|
|
|
2016-06-10 07:36:30 -04:00
|
|
|
|
(define-public qttools
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qttools")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-10 07:36:30 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-10 07:36:30 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1nb77bfs63nyy0wkhsci9qbqmahncy3sdcrwj4qr1prc4y2cm4wx"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-06-10 07:36:30 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(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 09:30:44 -04: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 07:36:30 -04:00
|
|
|
|
|
2016-06-30 05:22:30 -04:00
|
|
|
|
(define-public qtscript
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtscript")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-06-30 05:22:30 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-06-30 05:22:30 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1ib8a5gsxarbm2j94j5d097ly3ap4snqkx2imz3sl6xk6gknm4i5"))
|
2017-05-18 02:25:35 -04:00
|
|
|
|
(patches (search-patches "qtscript-disable-tests.patch"))))
|
2016-06-30 05:22:30 -04: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 09:30:44 -04: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 05:22:30 -04:00
|
|
|
|
|
2016-08-14 13:54:02 -04:00
|
|
|
|
(define-public qtquickcontrols
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtquickcontrols")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-08-14 13:54:02 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 13:54:02 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"01ziibf4afdhb5b3gfci8maprmviqwhdvma2z1jlq2ck45cpsqi6"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 13:54:02 -04: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 09:30:44 -04: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 13:54:02 -04:00
|
|
|
|
|
2016-08-14 13:57:15 -04:00
|
|
|
|
(define-public qtquickcontrols2
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtquickcontrols2")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-08-14 13:57:15 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 13:57:15 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1hsa8n4dlqpyz9xq2kq1hsxrxsjc7ywzzfhqijylgzzclvlqgb7y"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 13:57:15 -04: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 09:30:44 -04: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 13:57:15 -04:00
|
|
|
|
|
2016-08-14 13:58:17 -04:00
|
|
|
|
(define-public qtgraphicaleffects
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtgraphicaleffects")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2016-08-14 13:58:17 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-08-14 13:58:17 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0xzr4421w7idlgndxnd68wwc2asabycjiskkyl1f8nwqv34lcy3j"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2016-08-14 13:58:17 -04: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 09:30:44 -04: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 13:58:17 -04:00
|
|
|
|
|
2016-12-30 15:57:53 -05:00
|
|
|
|
(define-public qtdeclarative-render2d
|
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 03:17:42 -04:00
|
|
|
|
;; As of Qt-5.8.0 this module has been merged into qtdeclarative
|
2016-12-30 15:57:53 -05:00
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtdeclarative-render2d")
|
|
|
|
|
(version "5.7.1")
|
|
|
|
|
(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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2016-12-30 15:57:53 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zwch9vn17f3bpy300jcfxx6cx9qymk5j7khx0x9k1xqid4166c3"))
|
|
|
|
|
(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 14:23:10 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "tools/opengldummy/3rdparty")
|
|
|
|
|
#t))))
|
2016-12-30 15:57:53 -05:00
|
|
|
|
(native-inputs `())
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
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 03:17:42 -04:00
|
|
|
|
("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 09:30:44 -04:00
|
|
|
|
(synopsis "Qt Declarative Render module")
|
|
|
|
|
(description "The Qt Declarative Render 2D module provides a Raster
|
|
|
|
|
backend for QtQuick scene graph.")
|
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 03:17:42 -04:00
|
|
|
|
(properties `((superseded . ,qtdeclarative)))))
|
2016-12-30 15:57:53 -05:00
|
|
|
|
|
2017-01-05 16:01:45 -05:00
|
|
|
|
(define-public qtgamepad
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtgamepad")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-05 16:01:45 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 16:01:45 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0g52c03gdgz57h7szdxvc5hdy45l7q7m29yfzhwqc57hwdfl98bi"))))
|
2017-01-05 16:01:45 -05: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 09:30:44 -04: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 16:01:45 -05:00
|
|
|
|
|
2017-01-05 16:52:40 -05:00
|
|
|
|
(define-public qtscxml
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtscxml")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-05 16:52:40 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 16:52:40 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"00wb89ris8fyivhz9qpqn72mzpkh6mqdjss82j3q10g3c142072k"))
|
2017-01-05 16:52:40 -05: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 15:14:04 -05:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "tests/3rdparty")
|
|
|
|
|
;; the scion test refers to the bundled 3rd party test code.
|
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
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 14:23:10 -04:00
|
|
|
|
(("scion") "#"))
|
|
|
|
|
#t))))
|
2017-01-05 16:52:40 -05: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 09:30:44 -04: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 16:52:40 -05:00
|
|
|
|
|
2017-01-05 17:24:54 -05:00
|
|
|
|
(define-public qtpurchasing
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtpurchasing")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-05 17:24:54 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-05 17:24:54 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1c92yv2yi38sic06nyr9r6zpq3y4sxnasmj14d3jmg50gc1ncqfs"))))
|
2017-01-05 17:24:54 -05: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 09:30:44 -04: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 17:24:54 -05:00
|
|
|
|
|
2017-01-06 03:00:26 -05:00
|
|
|
|
(define-public qtcanvas3d
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtcanvas3d")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-06 03:00:26 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-06 03:00:26 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1kqcaks6lkz8cp9s3pwrvgrr8381rjzf5fbf2bzshdw7psphxiiz"))
|
2017-01-06 03:00:26 -05: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 14:23:10 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "examples/canvas3d/3rdparty")
|
|
|
|
|
#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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
;; Building the tests depends on the bundled 3rd party javascript files,
|
|
|
|
|
;; and the test phase fails to import QtCanvas3D, causing the phase to
|
|
|
|
|
;; fail, so we skip building them for now.
|
|
|
|
|
((#: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 14:23:10 -04:00
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools"
|
|
|
|
|
(string-append "PREFIX=" out)))))))
|
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 15:14:04 -05:00
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-01-06 03:00:26 -05:00
|
|
|
|
(native-inputs `())
|
|
|
|
|
(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 09:30:44 -04:00
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(synopsis "Qt Canvas 3D module")
|
|
|
|
|
(description "The Qt Canvas 3D module provides a way to make WebGL-like 3D
|
|
|
|
|
drawing calls from Qt Quick JavaScript.")))
|
2017-01-06 03:00:26 -05:00
|
|
|
|
|
2017-01-06 07:56:26 -05:00
|
|
|
|
(define-public qtcharts
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtcharts")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-06 07:56:26 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-06 07:56:26 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"0lg39vd6i0l76spjz6bhb1kkpbk2mgc0hxccj7733xxbxaz14vn4"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-01-06 07:56:26 -05: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 09:30:44 -04: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 02:55:50 -04:00
|
|
|
|
selecting one of the charts themes.")
|
|
|
|
|
(license license:gpl3)))
|
2017-01-06 07:56:26 -05:00
|
|
|
|
|
2017-01-07 10:57:36 -05:00
|
|
|
|
(define-public qtdatavis3d
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtdatavis3d")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-01-07 10:57:36 -05: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-01-07 10:57:36 -05:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1s7gmgh6g3aia74yiqahffrc6n8f4491vb7g3i4i10ilandipg34"))))
|
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 15:14:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2017-01-07 10:57:36 -05: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 09:30:44 -04: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 02:55:50 -04:00
|
|
|
|
customized by using themes or by adding custom items and labels to them.")
|
|
|
|
|
(license license:gpl3)))
|
2017-08-01 14:24:46 -04:00
|
|
|
|
|
|
|
|
|
(define-public qtnetworkauth
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtnetworkauth")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-08-01 14:24:46 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 14:24:46 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1kr8hwjsb8a5cypvqj48vrnkcvm2rcni102dh6i909i70a7hcsym"))))
|
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 02:53:53 -04: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 14:24:46 -04: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 09:30:44 -04: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 14:41:49 -04:00
|
|
|
|
|
|
|
|
|
(define-public qtremoteobjects
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtremoteobjects")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-08-01 14:41:49 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 14:41:49 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1chn1xxhapfwvhrlv4chwfgf2dw8x8kn1lssdmpmg5s420z3pbq9"))))
|
|
|
|
|
(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"
|
|
|
|
|
(("integration") "# integration"))
|
|
|
|
|
#t))))))
|
2017-08-01 14:41:49 -04: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 09:30:44 -04: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 15:00:51 -04:00
|
|
|
|
|
|
|
|
|
(define-public qtspeech
|
|
|
|
|
(package (inherit qtsvg)
|
|
|
|
|
(name "qtspeech")
|
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 14:23:10 -04:00
|
|
|
|
(version "5.11.0")
|
2017-08-01 15:00:51 -04: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 14:23:10 -04:00
|
|
|
|
"/submodules/" name "-everywhere-src-"
|
2017-08-01 15:00:51 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
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 14:23:10 -04:00
|
|
|
|
"1bgfg0akqf1nfzm28n8dhvhj0p1niwxrfs763gj7m0g6vpwjbhd1"))))
|
2017-08-01 15:00:51 -04: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 09:30:44 -04: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 10:57:36 -05:00
|
|
|
|
|
2015-01-24 14:17:33 -05:00
|
|
|
|
(define-public python-sip
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sip")
|
2017-10-19 15:58:00 -04:00
|
|
|
|
(version "4.19.3")
|
2015-01-24 14:17:33 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/pyqt/sip/"
|
2016-06-05 16:08:00 -04:00
|
|
|
|
"sip-" version "/sip-" version ".tar.gz"))
|
2015-01-24 14:17:33 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-19 15:58:00 -04:00
|
|
|
|
"0x2bghbprwl3az1ni3p87i0bq8r99694la93kg65vi0cz12gh3bl"))))
|
2015-01-24 14:17:33 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-wrapper)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
2015-08-11 09:41:35 -04:00
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2015-01-24 14:17:33 -05:00
|
|
|
|
#:phases
|
2016-06-05 16:10:34 -04: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"))
|
|
|
|
|
(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")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "python" "configure.py"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--incdir" include))))))))
|
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/sip/intro")
|
2015-01-24 14:17:33 -05: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 14:45:07 -04:00
|
|
|
|
(license license:gpl3)))
|
2015-01-24 14:17:33 -05:00
|
|
|
|
|
|
|
|
|
(define-public python2-sip
|
|
|
|
|
(package (inherit python-sip)
|
|
|
|
|
(name "python2-sip")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-2)))))
|
2015-01-25 14:07:08 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-pyqt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyqt")
|
2017-10-19 16:12:09 -04:00
|
|
|
|
(version "5.9")
|
2015-01-25 14:07:08 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/pyqt/PyQt5/"
|
2016-06-05 16:12:38 -04:00
|
|
|
|
"PyQt-" version "/PyQt5_gpl-"
|
2015-01-25 14:07:08 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-19 16:12:09 -04:00
|
|
|
|
"15hh4z5vd45dcswjla58q6rrfr6ic7jfz2n7c8lwfb10rycpj3mb"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "pyqt-configure.patch"))))
|
2015-01-25 14:07:08 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2017-02-03 10:59:09 -05:00
|
|
|
|
`(("qtbase" ,qtbase))) ; for qmake
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-sip" ,python-sip)))
|
2015-01-25 14:07:08 -05: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 14:53:15 -05:00
|
|
|
|
`(("python" ,python-wrapper)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtconnectivity" ,qtconnectivity)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtsensors" ,qtsensors)
|
|
|
|
|
("qtserialport" ,qtserialport)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebkit" ,qtwebkit)
|
|
|
|
|
("qtwebsockets" ,qtwebsockets)
|
|
|
|
|
("qtx11extras" ,qtx11extras)
|
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
2015-01-25 14:07:08 -05:00
|
|
|
|
(arguments
|
2015-08-11 09:41:35 -04:00
|
|
|
|
`(#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
2016-06-05 16:14:29 -04: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"))
|
|
|
|
|
(plugins (string-append out "/plugins"))
|
|
|
|
|
(designer (string-append plugins "/designer"))
|
|
|
|
|
(qml (string-append plugins "/PyQt5"))
|
|
|
|
|
(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
|
2016-12-04 17:13:26 -05:00
|
|
|
|
"/site-packages"))
|
|
|
|
|
(stubs (string-append lib "/PyQt5")))
|
2016-06-05 16:14:29 -04:00
|
|
|
|
(zero? (system* "python" "configure.py"
|
|
|
|
|
"--confirm-license"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--designer-plugindir" designer
|
|
|
|
|
"--qml-plugindir" qml
|
2016-12-04 17:13:26 -05:00
|
|
|
|
; 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
|
2016-06-05 16:14:29 -04:00
|
|
|
|
"--sipdir" sip))))))))
|
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
|
2015-01-25 14:07:08 -05: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 14:45:07 -04:00
|
|
|
|
(license license:gpl3)))
|
2015-01-25 14:07:08 -05:00
|
|
|
|
|
|
|
|
|
(define-public python2-pyqt
|
|
|
|
|
(package (inherit python-pyqt)
|
|
|
|
|
(name "python2-pyqt")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-sip" ,python2-sip)
|
2016-06-05 16:12:38 -04:00
|
|
|
|
("qtbase" ,qtbase)))
|
2015-01-25 14:07:08 -05: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 14:53:15 -05:00
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
,@(alist-delete "python" (package-inputs python-pyqt))))))
|
2015-02-16 15:15:24 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-pyqt-4
|
|
|
|
|
(package (inherit python-pyqt)
|
|
|
|
|
(name "python-pyqt")
|
2017-05-19 15:29:51 -04:00
|
|
|
|
(version "4.12")
|
2015-02-16 15:15:24 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/pyqt/PyQt4/"
|
2017-05-19 15:29:51 -04:00
|
|
|
|
"PyQt-" version "/PyQt4_gpl_x11-"
|
2015-02-16 15:15:24 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-19 15:29:51 -04:00
|
|
|
|
"1nw8r88a5g2d550yvklawlvns8gd5slw53yy688kxnsa65aln79w"))))
|
2015-02-16 15:15:24 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-sip" ,python-sip)
|
|
|
|
|
("qt" ,qt-4)))
|
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 14:53:15 -05:00
|
|
|
|
(inputs `(("python" ,python-wrapper)))
|
2015-02-16 15:15:24 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
2015-08-11 09:41:35 -04:00
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2015-02-16 15:15:24 -05:00
|
|
|
|
#:phases
|
2016-12-11 15:10:43 -05: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")))
|
|
|
|
|
(zero? (system* "python" "configure.py"
|
|
|
|
|
"--confirm-license"
|
|
|
|
|
"--bindir" bin
|
|
|
|
|
"--destdir" lib
|
|
|
|
|
"--sipdir" sip))))))))
|
2016-08-25 14:45:07 -04:00
|
|
|
|
(license (list license:gpl2 license:gpl3)))) ; choice of either license
|
2015-02-16 15:15:24 -05:00
|
|
|
|
|
2016-08-23 06:13:59 -04:00
|
|
|
|
(define-public python2-pyqt-4
|
|
|
|
|
(package (inherit python-pyqt-4)
|
2016-12-04 16:32:54 -05:00
|
|
|
|
(name "python2-pyqt")
|
2016-08-23 06:13:59 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-sip" ,python2-sip)
|
|
|
|
|
("qt" ,qt-4)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)))))
|
|
|
|
|
|
2017-07-18 10:36:42 -04:00
|
|
|
|
(define-public qscintilla
|
|
|
|
|
(package
|
|
|
|
|
(name "qscintilla")
|
2018-05-02 21:59:49 -04:00
|
|
|
|
(version "2.10.3")
|
2017-07-18 10:36:42 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/pyqt/QScintilla2/"
|
|
|
|
|
"QScintilla-" version "/QScintilla_gpl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-02 21:59:49 -04:00
|
|
|
|
"1rw1nlwnyzj5pb86cc5kk56qhrvwvrjvjzgrkwh3g7b9wxl7lrfj"))))
|
2017-07-18 10:36:42 -04: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 05:36:42 -04: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 17:44:53 -05:00
|
|
|
|
(invoke "qmake")))))))
|
2017-07-18 10:36:42 -04:00
|
|
|
|
(native-inputs `(("qtbase" ,qtbase)))
|
2018-03-01 18:33:37 -05:00
|
|
|
|
(home-page "https://www.riverbankcomputing.co.uk/software/qscintilla/intro")
|
2017-07-18 10:36:42 -04: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 10:39:10 -04: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
|
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
|
|
|
|
(chdir "Python")
|
2018-01-24 06:35:29 -05:00
|
|
|
|
(apply invoke "python3" "configure.py"
|
|
|
|
|
configure-flags)
|
|
|
|
|
;; Install to the right directory
|
|
|
|
|
(substitute* '("Makefile"
|
|
|
|
|
"Qsci/Makefile")
|
|
|
|
|
(("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+")
|
|
|
|
|
(assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
2017-07-18 10:39:10 -04: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 10:39:11 -04: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")
|
|
|
|
|
directories))))))
|
|
|
|
|
(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 08:24:27 -04:00
|
|
|
|
(define-public qtkeychain
|
|
|
|
|
(package
|
|
|
|
|
(name "qtkeychain")
|
2017-04-26 02:42:13 -04:00
|
|
|
|
(version "0.8.0")
|
2015-09-16 08:24:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/frankosterfeld/qtkeychain/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2017-04-26 02:42:13 -04:00
|
|
|
|
(base32 "0bxi5pfhxdvwk8yxa06lk2d7lcibmfqhahbin82bqf3m341zd4ml"))))
|
2015-09-16 08:24:27 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2016-08-15 15:00:43 -04:00
|
|
|
|
(native-inputs
|
2017-09-19 13:39:51 -04:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
2015-09-16 08:24:27 -04:00
|
|
|
|
(inputs
|
2016-08-15 15:00:43 -04:00
|
|
|
|
`(("qtbase" ,qtbase)))
|
2015-09-16 08:24:27 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests included
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'set-qt-trans-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("\\$\\{qt_translations_dir\\}")
|
2017-04-26 02:42:13 -04:00
|
|
|
|
"${CMAKE_INSTALL_PREFIX}/share/qt/translations"))
|
|
|
|
|
#t)))))
|
2015-09-16 08:24:27 -04: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 14:45:07 -04:00
|
|
|
|
(license license:bsd-3)))
|
2016-10-14 07:27:23 -04:00
|
|
|
|
|
|
|
|
|
(define-public qwt
|
|
|
|
|
(package
|
|
|
|
|
(name "qwt")
|
|
|
|
|
(version "6.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/qwt/qwt/"
|
|
|
|
|
version "/qwt-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0cwp63s03dw351xavb3pzbjlqvx7kj88wv7v4a2b18m9f97d7v7k"))))
|
|
|
|
|
(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 09:19:54 -04: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 07:27:23 -04:00
|
|
|
|
(substitute* '("qwtconfig.pri")
|
2017-09-07 09:19:54 -04: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.*") ""))
|
2016-10-14 07:27:23 -04:00
|
|
|
|
(zero? (system* "qmake")))))
|
2017-09-07 09:19:54 -04:00
|
|
|
|
(add-after 'install 'install-man-pages
|
2016-10-14 07:27:23 -04: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 05:11:01 -04:00
|
|
|
|
|
|
|
|
|
(define-public qtwebkit
|
|
|
|
|
(package
|
|
|
|
|
(name "qtwebkit")
|
gnu: qt: Update to 5.9.1.
* 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.1.
(qtwebkit)[source]: Change to official qt location.
2017-07-04 01:54:37 -04:00
|
|
|
|
(version "5.9.1")
|
2016-10-26 05:11:01 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: qt: Update to 5.9.1.
* 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.1.
(qtwebkit)[source]: Change to official qt location.
2017-07-04 01:54:37 -04:00
|
|
|
|
(uri (string-append "https://download.qt.io/official_releases/qt/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/submodules/" name "-opensource-src-"
|
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 03:17:42 -04:00
|
|
|
|
version ".tar.xz"))
|
2016-10-26 05:11:01 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: qt: Update to 5.9.1.
* 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.1.
(qtwebkit)[source]: Change to official qt location.
2017-07-04 01:54:37 -04:00
|
|
|
|
"1ksjn1vjbfhdm4y4rg08ag4krk87ahp7qcdcpwll42l0rnz61998"))))
|
2016-10-26 05:11:01 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("python" ,python-2.7)
|
|
|
|
|
("ruby" ,ruby)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("icu" ,icu4c)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
2018-03-16 11:50:14 -04:00
|
|
|
|
("libxrender" ,libxrender)
|
2016-10-26 05:11:01 -04:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcomposite" ,libxcomposite)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-09-02 17:20:15 -04:00
|
|
|
|
(add-before 'configure 'fix-qmlwebkit-plugins-rpath
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Source/WebKit/qt/declarative/experimental/experimental.pri"
|
|
|
|
|
(("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
|
|
|
|
|
"RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../../lib"))
|
|
|
|
|
(substitute* "Source/WebKit/qt/declarative/public.pri"
|
|
|
|
|
(("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
|
|
|
|
|
"RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../lib"))
|
|
|
|
|
#t))
|
2016-10-26 05:11:01 -04:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "QMAKEPATH"
|
|
|
|
|
(string-append (getcwd) "/Tools/qmake:"
|
|
|
|
|
(getenv "QMAKEPATH")))
|
|
|
|
|
(system* "qmake"))))
|
|
|
|
|
;; prevent webkit from trying to install into the qtbase store directory,
|
|
|
|
|
;; and replace references to the build directory in linker options:
|
|
|
|
|
(add-before 'build 'patch-installpaths
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(qtbase (assoc-ref inputs "qtbase"))
|
|
|
|
|
(builddir (getcwd))
|
|
|
|
|
(linkbuild (string-append "-L" builddir))
|
|
|
|
|
(linkout (string-append "-L" out))
|
|
|
|
|
(makefiles
|
|
|
|
|
(map-in-order
|
|
|
|
|
(lambda (i)
|
|
|
|
|
(let* ((in (car i))
|
|
|
|
|
(mf (string-append (dirname in) "/"
|
|
|
|
|
(cdr i))))
|
|
|
|
|
;; by default, these Makefiles are
|
|
|
|
|
;; generated during install, but we need
|
|
|
|
|
;; to generate them now
|
|
|
|
|
(system* "qmake" in "-o" mf)
|
|
|
|
|
mf))
|
|
|
|
|
'(("Source/api.pri" . "Makefile.api")
|
|
|
|
|
("Source/widgetsapi.pri"
|
|
|
|
|
. "Makefile.widgetsapi")
|
|
|
|
|
("Source/WebKit2/WebProcess.pro"
|
|
|
|
|
. "Makefile.WebProcess")
|
|
|
|
|
("Source/WebKit2/PluginProcess.pro"
|
|
|
|
|
. "Makefile.PluginProcess")
|
|
|
|
|
("Source/WebKit/qt/declarative/public.pri"
|
|
|
|
|
. "Makefile.declarative.public")
|
|
|
|
|
("Source/WebKit/qt/declarative/experimental/experimental.pri"
|
|
|
|
|
. "Makefile.declarative.experimental")
|
|
|
|
|
("Source/WebKit/qt/examples/platformplugin/platformplugin.pro"
|
|
|
|
|
. "Makefile")))))
|
|
|
|
|
;; Order of qmake calls and substitutions matters here.
|
|
|
|
|
(system* "qmake" "-prl" "Source/widgetsapi.pri"
|
|
|
|
|
"-o" "Source/Makefile")
|
|
|
|
|
(substitute* (find-files "lib" "libQt5.*\\.prl")
|
|
|
|
|
((linkbuild) linkout))
|
|
|
|
|
(substitute* (find-files "lib"
|
|
|
|
|
"libQt5WebKit.*\\.la")
|
|
|
|
|
(("libdir='.*'")
|
|
|
|
|
(string-append "libdir='" out "/lib'"))
|
|
|
|
|
((linkbuild) linkout))
|
|
|
|
|
(substitute* (find-files "lib/pkgconfig"
|
|
|
|
|
"Qt5WebKit.*\\.pc")
|
|
|
|
|
(((string-append "prefix=" qtbase))
|
|
|
|
|
(string-append "prefix=" out))
|
|
|
|
|
((linkbuild) linkout))
|
|
|
|
|
;; Makefiles must be modified after .prl/.la/.pc
|
|
|
|
|
;; files, lest they get rebuilt:
|
|
|
|
|
(substitute* makefiles
|
|
|
|
|
(((string-append "\\$\\(INSTALL_ROOT\\)" qtbase))
|
|
|
|
|
out )
|
|
|
|
|
(((string-append "-Wl,-rpath," builddir))
|
|
|
|
|
(string-append "-Wl,-rpath," out)))))))))
|
|
|
|
|
(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.")
|
|
|
|
|
|
|
|
|
|
(license license:lgpl2.1+)))
|
2017-01-04 09:53:03 -05:00
|
|
|
|
|
|
|
|
|
(define-public dotherside
|
|
|
|
|
(package
|
|
|
|
|
(name "dotherside")
|
2017-12-15 06:59:06 -05:00
|
|
|
|
(version "0.6.3")
|
2017-01-04 09:53:03 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/filcuc/DOtherSide/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-15 06:59:06 -05:00
|
|
|
|
"0azq7qlsrfdwbd6qsi7d3c1knn42qw0r47g43xf7clwbinapswpz"))))
|
2017-01-04 09:53:03 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://github.com/frankosterfeld/qtkeychain")
|
|
|
|
|
(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)
|