2013-10-04 13:10:29 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
gnu: qt@5: Update to 5.15.8.
* gnu/packages/qt.scm (%qt-version): New variable.
(qtbase-5, qt3d-5, qtsvg-5, qtimageformats, qtx11extras, qtxmlpatterns,
qtdeclarative-5, qtconnectivity, qtwebsockets-5, qtsensors, qtmultimedia-5,
qtwayland-5, qtserialport, qtserialbus, qtwebchannel-5, qtwebglplugin,
qtwebview, qtlocation, qttools-5, qtscript, qtquickcontrols-5,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcharts,
qtdatavis3d, qtnetworkauth-5, qtremoteobjects, qtspeech, qtwebengine,
python-pyqt, python-pyqtwebengine, python-shiboken-2):
Update to 5.15.8 by using the new variable.
2023-02-28 05:14:15 -05:00
|
|
|
;;; Copyright © 2013, 2014, 2015, 2023 Andreas Enge <andreas@enge.fr>
|
2015-01-03 01:12:01 -05:00
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2023-04-19 17:21:46 -04:00
|
|
|
;;; Copyright © 2015, 2018, 2019, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
2019-01-02 09:04:17 -05:00
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 07:05:45 -04:00
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2016-10-14 07:27:23 -04:00
|
|
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
2023-04-08 17:50:31 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2019, 2023 Ricardo Wurmus <rekado@elephly.net>
|
2017-07-18 10:36:42 -04:00
|
|
|
;;; Copyright © 2017 Quiliro <quiliro@fsfla.org>
|
2021-04-24 06:56:38 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2022-01-15 16:50:36 -05:00
|
|
|
;;; Copyright © 2018, 2020, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-05-30 13:37:25 -04:00
|
|
|
;;; Copyright © 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2018-11-25 23:30:35 -05:00
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
2022-11-27 22:59:35 -05:00
|
|
|
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
2019-07-06 12:13:50 -04:00
|
|
|
;;; Copyright © 2018 John Soo <jsoo1@asu.edu>
|
2020-01-01 11:03:52 -05:00
|
|
|
;;; Copyright © 2020 Mike Rosset <mike.rosset@gmail.com>
|
2020-01-13 06:39:45 -05:00
|
|
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
2020-05-13 07:54:20 -04:00
|
|
|
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
gnu: Qt: Update to 5.14.2.
* gnu/packages/qt.scm (qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtserialport, qtserialbus, qtwebchannel,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml,
qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtspeech, qtwebengine): Update to 5.14.2.
(qtcanvas3d): Remove variable. Upstream deprecated it.
(qtbase)[source](patches): Remove qtbase-QTBUG-81715.patch.
[arguments]: Drop X11lib substitution: patched dir no longer exists.
(qtwayland)[arguments]: Disable two tests, and add phase to prevent fatal DBus
warnings.
(qtwebglplugin)[inputs]: Add ZLIB.
(qtremoteobjects): Disable some tests that fail due to missing network.
(qtdeclarative)[native-inputs]: Add VULKAN-HEADERS.
(qtwebengine)[source](snippet): Adjust list of preserved files.
[inputs]: Add VULKAN-HEADERS.
* gnu/packages/patches/qtbase-QTBUG-81715.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2020-04-22 18:21:31 -04:00
|
|
|
;;; Copyright © 2020 TomZ <tomz@freedommail.ch>
|
2020-05-10 09:49:20 -04:00
|
|
|
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
2020-07-31 04:15:08 -04:00
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2023-03-06 22:42:42 -05:00
|
|
|
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2022-02-01 02:14:24 -05:00
|
|
|
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
|
2023-04-17 09:16:56 -04:00
|
|
|
;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant <glv@posteo.net>
|
2021-01-20 13:23:17 -05:00
|
|
|
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
2022-02-21 08:32:28 -05:00
|
|
|
;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
2022-08-24 04:50:14 -04:00
|
|
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
2022-03-04 19:46:47 -05:00
|
|
|
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
2022-11-24 01:17:48 -05:00
|
|
|
;;; Copyright © 2022 Yash Tiwari <yasht@mailbox.org>
|
2023-02-07 21:30:06 -05:00
|
|
|
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2023-07-21 07:54:46 -04:00
|
|
|
;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
|
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)
|
2019-01-02 09:04:17 -05:00
|
|
|
#:use-module (guix git-download)
|
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)
|
2022-08-17 19:53:40 -04:00
|
|
|
#:use-module (guix build-system meson)
|
2017-07-18 10:39:11 -04:00
|
|
|
#:use-module (guix build-system trivial)
|
2020-01-14 06:06:36 -05:00
|
|
|
#:use-module (guix build-system python)
|
2023-03-30 05:50:13 -04:00
|
|
|
#:use-module (guix build-system pyproject)
|
2021-01-03 19:08:43 -05:00
|
|
|
#:use-module (guix build-system qt)
|
2021-09-11 04:54:22 -04:00
|
|
|
#:use-module (guix gexp)
|
2015-01-24 14:17:33 -05:00
|
|
|
#:use-module (guix packages)
|
2019-10-24 14:28:26 -04:00
|
|
|
#:use-module (guix deprecation)
|
2023-09-12 10:14:06 -04:00
|
|
|
#:use-module (guix search-paths)
|
2015-01-24 14:17:33 -05:00
|
|
|
#:use-module (guix utils)
|
2013-10-12 08:48:52 -04:00
|
|
|
#:use-module (gnu packages)
|
2022-07-17 00:35:59 -04:00
|
|
|
#:use-module (gnu packages bash)
|
2019-07-06 12:13:50 -04:00
|
|
|
#:use-module (gnu packages base)
|
2013-10-08 14:49:58 -04:00
|
|
|
#:use-module (gnu packages bison)
|
2022-08-17 19:53:40 -04:00
|
|
|
#:use-module (gnu packages check)
|
2019-07-06 12:13:50 -04:00
|
|
|
#:use-module (gnu packages cmake)
|
2013-10-08 14:49:58 -04:00
|
|
|
#:use-module (gnu packages compression)
|
2022-11-08 15:23:04 -05:00
|
|
|
#:use-module (gnu packages cpp)
|
2015-06-16 11:27:10 -04:00
|
|
|
#:use-module (gnu packages cups)
|
2020-01-03 13:32:52 -05:00
|
|
|
#:use-module (gnu packages curl)
|
2015-06-16 11:27:10 -04:00
|
|
|
#:use-module (gnu packages databases)
|
2016-12-01 06:51:20 -05:00
|
|
|
#:use-module (gnu packages documentation)
|
2022-11-08 15:23:04 -05:00
|
|
|
#:use-module (gnu packages elf)
|
2020-07-27 05:59:14 -04:00
|
|
|
#:use-module (gnu packages enchant)
|
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)
|
2019-07-16 11:11:03 -04:00
|
|
|
#:use-module (gnu packages gcc)
|
2022-11-08 15:23:04 -05:00
|
|
|
#:use-module (gnu packages gdb)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages ghostscript)
|
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)
|
2021-12-26 02:20:06 -05:00
|
|
|
#:use-module (gnu packages gnome)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages gnupg)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 06:51:51 -05:00
|
|
|
#:use-module (gnu packages gperf)
|
2021-01-01 09:17:06 -05:00
|
|
|
#:use-module (gnu packages graphics)
|
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)
|
2021-01-03 19:08:43 -05:00
|
|
|
#:use-module (gnu packages kde-frameworks)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages libevent)
|
2013-10-08 14:49:58 -04:00
|
|
|
#:use-module (gnu packages linux)
|
2019-07-06 12:13:50 -04:00
|
|
|
#:use-module (gnu packages llvm)
|
2017-05-18 02:52:49 -04:00
|
|
|
#:use-module (gnu packages maths)
|
2022-07-17 00:35:59 -04:00
|
|
|
#:use-module (gnu packages markup)
|
2020-08-10 16:37:26 -04:00
|
|
|
#:use-module (gnu packages networking)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages ninja)
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
#:use-module (gnu packages node)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 09:14:57 -04:00
|
|
|
#:use-module (gnu packages nss)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 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)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages protobuf)
|
2013-10-08 14:49:58 -04:00
|
|
|
#:use-module (gnu packages python)
|
2021-02-22 05:15:21 -05:00
|
|
|
#:use-module (gnu packages python-build)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2022-07-18 23:13:46 -04:00
|
|
|
#:use-module (gnu packages python-web)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages regex)
|
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)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
#:use-module (gnu packages sqlite)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages telephony)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 12:27:24 -04:00
|
|
|
#:use-module (gnu packages tls)
|
2020-01-03 13:32:52 -05:00
|
|
|
#:use-module (gnu packages valgrind)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages video)
|
2018-10-21 02:05:13 -04:00
|
|
|
#:use-module (gnu packages vulkan)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 06:51:51 -05:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2020-01-01 11:03:52 -05:00
|
|
|
#:use-module (gnu packages xiph)
|
gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
pcre, sqlite, eudev to 'inputs'.
Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 06:51:51 -05:00
|
|
|
#:use-module (gnu packages xorg)
|
2018-10-21 02:05:13 -04:00
|
|
|
#:use-module (gnu packages xml)
|
2023-08-09 14:03:01 -04:00
|
|
|
#:use-module (ice-9 match)
|
2018-10-21 02:05:13 -04:00
|
|
|
#:use-module (srfi srfi-1))
|
2013-10-04 13:10:29 -04:00
|
|
|
|
2023-07-29 23:30:59 -04:00
|
|
|
(define-public qcoro-qt5
|
|
|
|
(package
|
|
|
|
(name "qcoro-qt5")
|
|
|
|
(version "0.9.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/danvratil/qcoro")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0pk5ybk6zv7m0wnkl6m3m8sjybmfk6wcn22mmgj942hrc3yrdzci"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:configure-flags
|
|
|
|
#~(list "-DUSE_QT_VERSION=5")))
|
|
|
|
(native-inputs (list dbus)) ;for tests
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5))
|
|
|
|
(home-page "https://qcoro.dvratil.cz/")
|
|
|
|
(synopsis "C++ Coroutine Library for Qt5")
|
|
|
|
(description "QCoro is a C++ library that provide set of tools to make use
|
|
|
|
of C++20 coroutines in connection with certain asynchronous Qt actions.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2021-02-26 16:16:02 -05:00
|
|
|
(define-public qite
|
|
|
|
(let ((commit "75fb3b6bbd5c6a5a8fc35e08a6efbfb588ed546a")
|
|
|
|
(revision "74"))
|
|
|
|
(package
|
|
|
|
(name "qite")
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://github.com/Ri0n/qite")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0jmmgy9pvk9hwwph1nwy7hxhczy8drhl4ymhnjjn6yx7bckssvsq"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
(lambda _
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(chdir "libqite"))))))
|
2021-02-26 16:16:02 -05:00
|
|
|
(inputs
|
2022-07-17 19:00:48 -04:00
|
|
|
(list qtbase-5 qtmultimedia-5))
|
2021-02-26 16:16:02 -05:00
|
|
|
(home-page "https://github.com/Ri0n/qite/")
|
|
|
|
(synopsis "Qt Interactive Text Elements")
|
2021-04-21 11:05:11 -04:00
|
|
|
(description "Qite manages interactive elements on QTextEdit.")
|
2021-02-26 16:16:02 -05:00
|
|
|
(license license:asl2.0))))
|
|
|
|
|
2021-01-05 17:50:16 -05:00
|
|
|
(define-public qt5ct
|
|
|
|
(package
|
|
|
|
(name "qt5ct")
|
2022-02-12 16:07:40 -05:00
|
|
|
(version "1.5")
|
2021-01-05 17:50:16 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "mirror://sourceforge/qt5ct/qt5ct-" version ".tar.bz2"))
|
|
|
|
(sha256
|
2022-02-12 16:07:40 -05:00
|
|
|
(base32 "14742vs32m98nbfb5mad0i8ciff5f45gfcb5v03p4hh2dvhhqgfn"))))
|
2022-08-02 22:00:02 -04:00
|
|
|
(build-system qt-build-system)
|
2021-01-05 17:50:16 -05:00
|
|
|
(arguments
|
2022-08-02 22:00:02 -04:00
|
|
|
(list
|
|
|
|
#:tests? #f ; No target
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("src/qt5ct-qtplugin/CMakeLists.txt"
|
|
|
|
"src/qt5ct-style/CMakeLists.txt")
|
|
|
|
(("\\$\\{PLUGINDIR\\}")
|
|
|
|
(string-append #$output "/lib/qt5/plugins"))))))))
|
2021-01-05 17:50:16 -05:00
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list qttools-5))
|
2021-01-05 17:50:16 -05:00
|
|
|
(inputs
|
2022-08-02 22:00:02 -04:00
|
|
|
(list qtsvg-5))
|
2021-01-05 17:50:16 -05:00
|
|
|
(synopsis "Qt5 Configuration Tool")
|
|
|
|
(description "Qt5CT is a program that allows users to configure Qt5
|
|
|
|
settings (such as icons, themes, and fonts) in desktop environments or
|
|
|
|
window managers, that don't provide Qt integration by themselves.")
|
|
|
|
(home-page "https://qt5ct.sourceforge.io/")
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
2022-11-24 01:17:48 -05:00
|
|
|
(define-public kvantum
|
|
|
|
(package
|
|
|
|
(name "kvantum")
|
|
|
|
(version "1.0.7")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/tsujan/Kvantum/releases/download/V"
|
|
|
|
version "/Kvantum-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0zwxswbgd3wc7al3fhrl5qc0fmmb6mkygywjh1spbqpl7s8jw5s3"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
(lambda _
|
|
|
|
(chdir "Kvantum")))
|
|
|
|
(add-after 'chdir 'patch-style-dir
|
|
|
|
(lambda _
|
|
|
|
(substitute* "style/CMakeLists.txt"
|
|
|
|
(("\\$\\{KVANTUM_STYLE_DIR\\}")
|
|
|
|
(string-append #$output
|
|
|
|
"/lib/qt5/plugins/styles"))))))))
|
|
|
|
(native-inputs (list qttools-5))
|
|
|
|
(inputs (list
|
|
|
|
kwindowsystem
|
|
|
|
libx11
|
|
|
|
libxext
|
|
|
|
qtbase-5
|
|
|
|
qtsvg-5
|
|
|
|
qtx11extras))
|
|
|
|
(synopsis "SVG-based theme engine for Qt")
|
|
|
|
(description
|
|
|
|
"Kvantum is an SVG-based theme engine for Qt,
|
|
|
|
tuned to KDE and LXQt, with an emphasis on elegance, usability and
|
|
|
|
practicality.")
|
|
|
|
(home-page "https://github.com/tsujan/Kvantum")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2021-01-03 19:08:43 -05:00
|
|
|
(define-public materialdecoration
|
2021-02-15 11:19:32 -05:00
|
|
|
(let ((commit "6a5de23f2e5162fbee39d16f938473ff970a2ec0")
|
|
|
|
(revision "9"))
|
|
|
|
(package
|
|
|
|
(name "materialdecoration")
|
|
|
|
(version
|
|
|
|
(git-version "1.1.0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://github.com/lirios/materialdecoration.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name
|
|
|
|
(git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1zdrcb39fhhmn76w8anv1dnspz26pdl6izmj1mlm02aza4y8ffp4"))
|
|
|
|
(modules '((guix build utils)
|
|
|
|
(ice-9 ftw)
|
|
|
|
(srfi srfi-1)))
|
|
|
|
(snippet
|
|
|
|
`(begin
|
|
|
|
(delete-file-recursively "cmake/3rdparty")))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; No target
|
|
|
|
#:configure-flags
|
2021-09-11 04:54:22 -04:00
|
|
|
,#~(list
|
|
|
|
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
|
|
|
#$(this-package-input "qtbase")
|
|
|
|
"/include/qt5/QtXkbCommonSupport/"
|
|
|
|
#$(package-version qtbase-5)))))
|
2021-02-15 11:19:32 -05:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list cmake-shared extra-cmake-modules pkg-config))
|
2021-02-15 11:19:32 -05:00
|
|
|
(inputs
|
2022-09-28 05:14:35 -04:00
|
|
|
(list qtbase-5
|
|
|
|
qtwayland-5
|
|
|
|
wayland
|
|
|
|
libxkbcommon))
|
2021-02-15 11:19:32 -05:00
|
|
|
(synopsis "Material Decoration for Qt")
|
|
|
|
(description "MaterialDecoration is a client-side decoration for Qt
|
2021-01-03 19:08:43 -05:00
|
|
|
applications on Wayland.")
|
2021-02-15 11:19:32 -05:00
|
|
|
(home-page "https://github.com/lirios/materialdecoration")
|
|
|
|
(license license:lgpl3+))))
|
2021-01-03 19:08:43 -05:00
|
|
|
|
2016-12-01 06:51:20 -05:00
|
|
|
(define-public grantlee
|
|
|
|
(package
|
|
|
|
(name "grantlee")
|
2023-07-14 01:36:12 -04:00
|
|
|
(version "5.3.1")
|
2016-12-01 06:51:20 -05:00
|
|
|
(source
|
|
|
|
(origin
|
2019-01-27 07:36:42 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/steveire/grantlee")
|
2019-01-27 07:36:42 -05:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-01 06:51:20 -05:00
|
|
|
(sha256
|
2023-08-08 09:54:54 -04:00
|
|
|
(base32 "1ipnkdi8wgv519mvwa5zxlz20wipbypyfixjv2qdfd9vl1pznwvs"))
|
|
|
|
(patches (search-patches "grantlee-fix-i586-precision.patch"))))
|
2016-12-01 06:51:20 -05:00
|
|
|
(native-inputs
|
2017-09-20 07:04:25 -04:00
|
|
|
;; Optional: lcov and cccc, both are for code coverage
|
2021-12-13 11:18:24 -05:00
|
|
|
(list doxygen))
|
2016-12-01 06:51:20 -05:00
|
|
|
(inputs
|
2022-07-17 21:03:18 -04:00
|
|
|
(list qtbase-5 qtdeclarative-5 qtscript))
|
2016-12-01 06:51:20 -05:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2023-07-14 01:37:06 -04:00
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
(lambda _
|
|
|
|
;; make Qt render "offscreen", required for tests
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
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.")
|
2020-06-03 17:35:27 -04:00
|
|
|
(license license:lgpl2.1+)))
|
2016-12-01 06:51:20 -05:00
|
|
|
|
2023-08-09 14:03:01 -04:00
|
|
|
(define (qt-url component version)
|
|
|
|
"Return a mirror URL for the Qt5 COMPONENT at VERSION."
|
gnu: qt5: Add source code URLs of mirrors.
* gnu/packages/qt.scm (qt5-urls): New procedure.
(qtbase, qtsvg, qtimageformats, qtx11extras)
(qtxmlpatterns, qtdeclarative, qtconnectivity)
(qtwebsockets, qtsensors, qtmultimedia, qtwayland)
(qtserialport, qtserialbus, qtwebchannel, qtwebglplugin)
(qtwebview, qttools, qtscript, qtquickcontrols)
(qtquickcontrols2, qtgraphicaleffects, qtgamepad)
(qtscxml, qtpurchasing, qtcharts, qtdatavis3d)
(qtnetworkauth, qtremoteobjects, qtspeech)
(qtwebengine): Use it.
2021-01-24 09:44:06 -05:00
|
|
|
;; We can't use a mirror:// scheme because these URLs are not exact copies:
|
|
|
|
;; the layout differs between them.
|
2023-08-09 14:03:01 -04:00
|
|
|
(let ((x (match (version-major version)
|
|
|
|
("5" "-everywhere-opensource-src-")
|
|
|
|
;; Version 6 and later dropped 'opensource' from the archive
|
|
|
|
;; names.
|
|
|
|
(_ "-everywhere-src-"))))
|
|
|
|
(string-append "mirror://qt/qt/"
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
"/submodules/" component x version ".tar.xz")))
|
gnu: qt5: Add source code URLs of mirrors.
* gnu/packages/qt.scm (qt5-urls): New procedure.
(qtbase, qtsvg, qtimageformats, qtx11extras)
(qtxmlpatterns, qtdeclarative, qtconnectivity)
(qtwebsockets, qtsensors, qtmultimedia, qtwayland)
(qtserialport, qtserialbus, qtwebchannel, qtwebglplugin)
(qtwebview, qttools, qtscript, qtquickcontrols)
(qtquickcontrols2, qtgraphicaleffects, qtgamepad)
(qtscxml, qtpurchasing, qtcharts, qtdatavis3d)
(qtnetworkauth, qtremoteobjects, qtspeech)
(qtwebengine): Use it.
2021-01-24 09:44:06 -05:00
|
|
|
|
2021-04-09 21:53:32 -04:00
|
|
|
(define-public qtbase-5
|
2016-06-02 14:46:32 -04:00
|
|
|
(package
|
|
|
|
(name "qtbase")
|
2023-08-15 16:20:02 -04:00
|
|
|
(version "5.15.10")
|
2016-06-02 14:46:32 -04:00
|
|
|
(source (origin
|
2021-06-11 23:03:34 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2021-06-11 23:03:34 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:02 -04:00
|
|
|
"1fcg3kx5akvj0kqxd99h5lv3kv4pw2cj0makmpvhpw90inqnrl60"))
|
2021-06-11 23:03:34 -04:00
|
|
|
;; Use TZDIR to avoid depending on package "tzdata".
|
2023-09-12 10:14:32 -04:00
|
|
|
(patches (search-patches "qtbase-5-use-TZDIR.patch"
|
2021-06-11 23:03:34 -04:00
|
|
|
"qtbase-moc-ignore-gcc-macro.patch"
|
|
|
|
"qtbase-absolute-runpath.patch"))
|
|
|
|
(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
|
2021-06-11 23:03:34 -04:00
|
|
|
'(begin
|
|
|
|
(with-directory-excursion "src/3rdparty"
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
(list "double-conversion" "freetype" "harfbuzz-ng"
|
|
|
|
"libpng" "libjpeg" "pcre2" "sqlite" "xcb"
|
|
|
|
"zlib")))))))
|
2016-06-02 14:46:32 -04:00
|
|
|
(build-system gnu-build-system)
|
2020-07-25 17:05:33 -04:00
|
|
|
(outputs '("out" "debug"))
|
2016-06-28 02:17:54 -04:00
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list mesa
|
|
|
|
;; Use which the package, not the function
|
|
|
|
(@ (gnu packages base) which)))
|
2016-06-02 14:46:32 -04:00
|
|
|
(inputs
|
2023-03-27 15:11:38 -04:00
|
|
|
(list alsa-lib
|
|
|
|
cups
|
|
|
|
dbus
|
|
|
|
double-conversion
|
|
|
|
eudev
|
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
glib
|
2023-08-22 14:53:50 -04:00
|
|
|
gtk+ ;for GTK theme support
|
2023-03-27 15:11:38 -04:00
|
|
|
harfbuzz
|
|
|
|
icu4c
|
|
|
|
libinput-minimal
|
|
|
|
libjpeg-turbo
|
|
|
|
libmng
|
|
|
|
libpng
|
|
|
|
libx11
|
|
|
|
libxcomposite
|
|
|
|
libxcursor
|
|
|
|
libxfixes
|
|
|
|
libxi
|
|
|
|
libxinerama
|
|
|
|
libxkbcommon
|
|
|
|
libxml2
|
|
|
|
libxrandr
|
|
|
|
libxrender
|
|
|
|
libxslt
|
|
|
|
libxtst
|
|
|
|
mtdev
|
|
|
|
`(,mariadb "dev")
|
|
|
|
nss
|
|
|
|
openssl
|
|
|
|
pcre2
|
|
|
|
postgresql
|
|
|
|
pulseaudio
|
|
|
|
sqlite
|
|
|
|
unixodbc
|
|
|
|
xcb-util
|
|
|
|
xcb-util-image
|
|
|
|
xcb-util-keysyms
|
|
|
|
xcb-util-renderutil
|
|
|
|
xcb-util-wm
|
|
|
|
xdg-utils
|
|
|
|
zlib))
|
2016-06-02 14:46:32 -04:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list bison
|
|
|
|
flex
|
|
|
|
gperf
|
|
|
|
perl
|
|
|
|
pkg-config
|
|
|
|
python
|
|
|
|
vulkan-headers
|
2023-06-16 19:24:34 -04:00
|
|
|
ruby-2.7))
|
2016-06-02 14:46:32 -04:00
|
|
|
(arguments
|
2023-08-22 14:53:50 -04:00
|
|
|
`(#:disallowed-references ,(list python)
|
|
|
|
#:configure-flags
|
2021-06-11 23:03:34 -04:00
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
(list "-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"
|
|
|
|
|
|
|
|
;; Later stripped into the :debug output.
|
|
|
|
"-force-debug-info"
|
|
|
|
|
|
|
|
;; These features require higher versions of Linux than the
|
|
|
|
;; minimum version of the glibc. See
|
|
|
|
;; src/corelib/global/minimum-linux_p.h. By disabling these
|
|
|
|
;; features Qt5 applications can be used on the oldest
|
|
|
|
;; kernels that the glibc supports, including the RHEL6
|
|
|
|
;; (2.6.32) and RHEL7 (3.10) kernels.
|
|
|
|
"-no-feature-getentropy" ; requires Linux 3.17
|
|
|
|
"-no-feature-renameat2" ; requires Linux 3.16
|
|
|
|
|
|
|
|
;; 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"
|
|
|
|
"-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"))
|
|
|
|
#:phases
|
2016-06-02 14:46:32 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'configure 'patch-bin-sh
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("config.status"
|
|
|
|
"configure"
|
|
|
|
"mkspecs/features/qt_functions.prf"
|
|
|
|
"qmake/library/qmakebuiltins.cpp")
|
2021-06-11 23:03:34 -04:00
|
|
|
(("/bin/sh") (which "sh")))))
|
2020-01-13 06:39:45 -05:00
|
|
|
(add-after 'configure 'patch-xdg-open
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("src/platformsupport/services/genericunix/qgenericunixservices.cpp")
|
2021-06-11 23:03:34 -04:00
|
|
|
(("^.*const char \\*browsers.*$" all)
|
|
|
|
(string-append "*browser = QStringLiteral(\""
|
|
|
|
(which "xdg-open")
|
|
|
|
"\"); return true; \n" all)))))
|
2016-06-02 14:46:32 -04:00
|
|
|
(replace 'configure
|
2021-06-11 23:03:34 -04:00
|
|
|
;; Overridden to not pass "--enable-fast-install", which makes the
|
|
|
|
;; configure process fail.
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
2016-06-02 14:46:32 -04:00
|
|
|
(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") ""))
|
2021-06-11 23:03:34 -04:00
|
|
|
(format #t "build directory: ~s~%" (getcwd))
|
|
|
|
(format #t "configure flags: ~s~%" configure-flags)
|
|
|
|
(apply invoke "./configure" configure-flags))))
|
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)
|
2021-06-11 23:03:34 -04:00
|
|
|
(("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)))))
|
2019-11-27 13:09:58 -05:00
|
|
|
(add-after 'patch-mkspecs 'patch-prl-files
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
;; Insert absolute references to the qtbase libraries because
|
|
|
|
;; QT_INSTALL_LIBS does not always resolve correctly, depending
|
|
|
|
;; on context. See <https://bugs.gnu.org/38405>
|
|
|
|
(substitute* (find-files (string-append out "/lib") "\\.prl$")
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
2021-06-11 23:03:34 -04:00
|
|
|
(string-append out "/lib"))))))
|
2017-11-02 18:03:24 -04:00
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
;; Use the absolute paths for dynamically loaded libs, otherwise
|
|
|
|
;; the lib will be searched in LD_LIBRARY_PATH which typically is
|
|
|
|
;; not set in guix.
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
;; libresolve
|
|
|
|
(let ((glibc (assoc-ref inputs ,(if (%current-target-system)
|
|
|
|
"cross-libc" "libc"))))
|
|
|
|
(substitute* '("src/network/kernel/qdnslookup_unix.cpp"
|
|
|
|
"src/network/kernel/qhostinfo_unix.cpp")
|
|
|
|
(("^\\s*(lib.setFileName\\(QLatin1String\\(\")(resolv\"\\)\\);)" _ a b)
|
2021-06-11 23:03:34 -04:00
|
|
|
(string-append a glibc "/lib/lib" b))))
|
2017-11-02 18:03:24 -04:00
|
|
|
;; 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)
|
2023-08-22 14:53:50 -04:00
|
|
|
(string-append a (assoc-ref inputs "libxcursor") "/lib/lib" b)))))
|
|
|
|
(add-after 'install 'do-not-capture-python
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; For some reason, patching the file after the
|
|
|
|
;; patch-source-shebangs phase doesn't work for Qt 5.
|
|
|
|
(substitute*
|
|
|
|
(search-input-file
|
|
|
|
outputs "lib/qt5/mkspecs/features/uikit/devices.py")
|
|
|
|
(((which "python3"))
|
|
|
|
"/usr/bin/env python3")))))))
|
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
|
|
|
|
2021-04-09 21:52:51 -04:00
|
|
|
(define-public qtbase
|
2023-08-11 21:21:58 -04:00
|
|
|
(package
|
|
|
|
(inherit qtbase-5)
|
2021-04-09 21:52:51 -04:00
|
|
|
(name "qtbase")
|
2023-08-11 21:21:58 -04:00
|
|
|
(version "6.5.2")
|
2021-04-09 21:52:51 -04:00
|
|
|
(source (origin
|
|
|
|
(inherit (package-source qtbase-5))
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2021-04-09 21:52:51 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 21:21:58 -04:00
|
|
|
"0s8jwzdcv97dfy8n3jjm8zzvllv380l73mwdva7rs2nqnhlwgd1x"))
|
2021-04-09 21:52:51 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; corelib uses bundled harfbuzz, md4, md5, sha3
|
|
|
|
'(with-directory-excursion "src/3rdparty"
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
;; The bundled pcre2 copy is kept, as its headers
|
|
|
|
;; are required by some internal bootstrap target
|
|
|
|
;; used for the tools.
|
|
|
|
(list "double-conversion" "freetype" "harfbuzz-ng"
|
2023-08-07 16:42:24 -04:00
|
|
|
"libpng" "libjpeg" "sqlite" "xcb" "zlib"))))
|
|
|
|
(patches (search-patches "qtbase-use-TZDIR.patch"
|
|
|
|
"qtbase-moc-ignore-gcc-macro.patch"
|
|
|
|
"qtbase-absolute-runpath.patch"
|
|
|
|
"qtbase-qmake-use-libname.patch"))))
|
2021-04-09 21:52:51 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments qtbase-5)
|
|
|
|
((#:configure-flags _ ''())
|
|
|
|
`(let ((out (assoc-ref %outputs "out")))
|
2023-03-06 22:42:42 -05:00
|
|
|
(list "-DQT_BUILD_TESTS=ON"
|
2021-04-09 21:52:51 -04:00
|
|
|
(string-append "-DINSTALL_ARCHDATADIR=" out "/lib/qt6")
|
|
|
|
(string-append "-DINSTALL_DATADIR=" out "/share/qt6")
|
|
|
|
(string-append "-DINSTALL_DOCDIR=" out "/share/doc/qt6")
|
|
|
|
(string-append "-DINSTALL_MKSPECSDIR=" out "/lib/qt6/mkspecs")
|
|
|
|
(string-append "-DINSTALL_EXAMPLESDIR=" out
|
|
|
|
"/share/doc/qt6/examples")
|
|
|
|
(string-append "-DINSTALL_INCLUDEDIR=" out "/include/qt6")
|
2023-08-07 16:46:17 -04:00
|
|
|
|
|
|
|
;; Do not embed an absolute reference to compilers, to reduce
|
|
|
|
;; the closure size.
|
|
|
|
"-DQT_EMBED_TOOLCHAIN_COMPILER=OFF"
|
|
|
|
|
2021-04-09 21:52:51 -04:00
|
|
|
;; Link with DBus and OpenSSL so they don't get dlopen'ed.
|
|
|
|
"-DINPUT_dbus=linked"
|
|
|
|
"-DINPUT_openssl=linked"
|
|
|
|
;; These features require higher versions of Linux than the
|
|
|
|
;; minimum version of the glibc. See
|
|
|
|
;; src/corelib/global/minimum-linux_p.h. By disabling these
|
|
|
|
;; features Qt applications can be used on the oldest kernels
|
|
|
|
;; that the glibc supports, including the RHEL6 (2.6.32) and
|
|
|
|
;; RHEL7 (3.10) kernels.
|
|
|
|
"-DFEATURE_getentropy=OFF" ; requires Linux 3.17
|
|
|
|
"-DFEATURE_renameat2=OFF" ; requires Linux 3.16
|
|
|
|
;; Most system libraries are used by default, except in some
|
|
|
|
;; cases such as for those below.
|
|
|
|
"-DFEATURE_system_pcre2=ON"
|
|
|
|
"-DFEATURE_system_sqlite=ON"
|
2022-07-17 00:35:59 -04:00
|
|
|
"-DFEATURE_system_xcb_xinput=ON"
|
2021-04-09 21:52:51 -04:00
|
|
|
;; Don't use the precompiled headers.
|
|
|
|
"-DBUILD_WITH_PCH=OFF"
|
|
|
|
;; Drop special machine instructions that do not have runtime
|
|
|
|
;; detection.
|
|
|
|
,@(if (string-prefix? "x86_64"
|
|
|
|
(or (%current-target-system)
|
|
|
|
(%current-system)))
|
|
|
|
'() ;implicitly enabled
|
|
|
|
'("-DFEATURE_sse2=OFF"
|
|
|
|
"-DFEATURE_sse3=OFF"
|
|
|
|
"-DFEATURE_ssse3=OFF"
|
|
|
|
"-DFEATURE_sse4_1=OFF"
|
|
|
|
"-DFEATURE_sse4_2=OFF"))
|
|
|
|
"-DFEATURE_mips_dsp=OFF"
|
|
|
|
"-DFEATURE_mips_dspr2=OFF")))
|
|
|
|
((#:phases phases)
|
2022-07-17 00:35:59 -04:00
|
|
|
#~(modify-phases #$phases
|
2022-07-17 18:52:17 -04:00
|
|
|
(add-after 'unpack 'honor-CMAKE_PREFIX_PATH
|
|
|
|
(lambda _
|
|
|
|
;; The configuration files for other Qt 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(\\.in)?$")
|
|
|
|
(("\\bNO_DEFAULT_PATH\\b") ""))
|
|
|
|
;; Because Qt goes against the grain of CMake and set
|
|
|
|
;; NO_DEFAULT_PATH, it needs to invent yet another variable
|
|
|
|
;; to do what CMAKE_PREFIX_PATH could have done:
|
|
|
|
;; QT_ADDITIONAL_PACKAGES_PREFIX_PATH. Since we patch out
|
|
|
|
;; the NO_DEFAULT_PATH, we can set the default value of
|
|
|
|
;; QT_ADDITIONAL_PACKAGES_PREFIX_PATH to that of
|
|
|
|
;; CMAKE_PREFIX_PATH to ensure tools such as
|
|
|
|
;; 'qmlimportscanner' from qtdeclarative work out of the
|
|
|
|
;; box.
|
|
|
|
(substitute* "cmake/QtConfig.cmake.in"
|
|
|
|
(("(set\\(QT_ADDITIONAL_PACKAGES_PREFIX_PATH )\"\"" _ head)
|
|
|
|
(string-append head "\"$ENV{CMAKE_PREFIX_PATH}\"")))))
|
2022-07-17 00:35:59 -04:00
|
|
|
(delete 'patch-bin-sh)
|
|
|
|
(delete 'patch-xdg-open)
|
|
|
|
(add-after 'patch-paths 'patch-more-paths
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2022-07-17 12:13:12 -04:00
|
|
|
(substitute* (find-files "bin" "\\.in$")
|
|
|
|
(("/bin/pwd")
|
2023-02-07 23:02:17 -05:00
|
|
|
(search-input-file inputs "bin/pwd"))
|
|
|
|
;; Do not keep a reference to cmake-minimal; it is looked
|
|
|
|
;; from PATH anyway.
|
|
|
|
(("original_cmake_path=\"@CMAKE_COMMAND@\"")
|
|
|
|
"original_cmake_path=\"\""))
|
2022-07-17 00:35:59 -04:00
|
|
|
(substitute* "src/gui/platform/unix/qgenericunixservices.cpp"
|
|
|
|
(("\"xdg-open\"")
|
|
|
|
(format #f "~s" (search-input-file inputs "bin/xdg-open"))))
|
|
|
|
(substitute* '("mkspecs/features/qt_functions.prf"
|
|
|
|
"qmake/library/qmakebuiltins.cpp")
|
|
|
|
(("/bin/sh")
|
|
|
|
(search-input-file inputs "bin/bash")))
|
|
|
|
(substitute* "src/corelib/CMakeLists.txt"
|
|
|
|
(("/bin/ls")
|
|
|
|
(search-input-file inputs "bin/ls")))))
|
2023-08-22 14:53:50 -04:00
|
|
|
(delete 'do-not-capture-python) ;move after patch-source-shebangs
|
2023-02-08 08:46:50 -05:00
|
|
|
(add-after 'patch-source-shebangs 'do-not-capture-python
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("mkspecs/features/uikit/devices.py"
|
2023-08-22 14:53:50 -04:00
|
|
|
"util/testrunner/qt-testrunner.py"
|
|
|
|
"util/testrunner/sanitizer-testrunner.py")
|
2023-02-08 08:46:50 -05:00
|
|
|
(((which "python3"))
|
|
|
|
"/usr/bin/env python3"))))
|
2022-07-17 00:35:59 -04:00
|
|
|
(replace 'configure
|
|
|
|
(assoc-ref %standard-phases 'configure))
|
2022-07-25 15:51:56 -04:00
|
|
|
(delete 'check) ;move after patch-prl-files
|
|
|
|
(add-after 'patch-prl-files 'check
|
2023-09-12 10:14:32 -04:00
|
|
|
(lambda* (#:key tests? parallel-tests?
|
|
|
|
native-inputs inputs #:allow-other-keys)
|
2022-07-25 15:51:56 -04:00
|
|
|
(when tests?
|
|
|
|
;; The tests expect to find the modules provided by this
|
|
|
|
;; package; extend the environment variables needed to do so.
|
|
|
|
(setenv "CMAKE_PREFIX_PATH"
|
|
|
|
(string-append #$output
|
|
|
|
":" (getenv "CMAKE_PREFIX_PATH")))
|
|
|
|
(setenv "QMAKEPATH" (string-append #$output "/lib/qt6"))
|
2023-08-07 16:42:24 -04:00
|
|
|
;; It is necessary to augment LIBRARY_PATH with that of the
|
|
|
|
;; freshly installed qtbase because of the
|
|
|
|
;; 'qtbase-qmake-use-libname.patch' patch.
|
|
|
|
(setenv "LIBRARY_PATH" (string-append #$output "/lib:"
|
|
|
|
(getenv "LIBRARY_PATH")))
|
2022-07-25 15:51:56 -04:00
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml"))
|
|
|
|
(setenv "QT_PLUGIN_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/plugins"))
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
;; Skip tests known to fail on GNU/Linux, in a CI context or
|
|
|
|
;; due to bitness (see: https://code.qt.io/cgit/qt/qtbase.git
|
|
|
|
;; /tree/src/testlib/qtestblacklist.cpp).
|
|
|
|
(setenv "QTEST_ENVIRONMENT" "linux ci 32bit")
|
|
|
|
(setenv "HOME" "/tmp") ;some tests require a writable HOME
|
2023-09-12 10:14:32 -04:00
|
|
|
|
|
|
|
;; Note: the search path specified for TZDIR is only
|
|
|
|
;; effective for users of the package, not while it's being
|
|
|
|
;; built.
|
|
|
|
(setenv "TZDIR" (search-input-directory
|
|
|
|
(or native-inputs inputs) "share/zoneinfo"))
|
|
|
|
|
|
|
|
;; This is to avoid QTimeZone::systemTimeZone() returning
|
|
|
|
;; invalid QDate objects due to missing /etc/timezone or
|
|
|
|
;; /etc/localtime.
|
|
|
|
(setenv "TZ" "Etc/UTC")
|
|
|
|
|
2022-07-25 15:51:56 -04:00
|
|
|
(invoke
|
|
|
|
"xvfb-run" "ctest" "--output-on-failure"
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
"1")
|
|
|
|
"-E" ;disable problematic tests
|
|
|
|
(string-append
|
|
|
|
"("
|
|
|
|
(string-join
|
2023-09-16 23:18:37 -04:00
|
|
|
(append
|
|
|
|
(list
|
|
|
|
;; The 'tst_moc' test fails with "'fi.exists()' returned FALSE".
|
|
|
|
"tst_moc"
|
2023-08-11 21:21:58 -04:00
|
|
|
|
2023-09-16 23:18:37 -04:00
|
|
|
;; The qgraphicsview and qopenglwidget tests fail with a
|
|
|
|
;; segfault for unknown reasons (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-116018).
|
|
|
|
"tst_qgraphicsview"
|
|
|
|
"tst_qopenglwidget"
|
2023-08-11 21:21:58 -04:00
|
|
|
|
2023-09-16 23:18:37 -04:00
|
|
|
;; The 'test_rcc' test fails on a comparison:
|
|
|
|
;; <<<<<< actual
|
|
|
|
;; 0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xe8,
|
|
|
|
;; ======
|
|
|
|
;; 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
|
|
|
|
;; >>>>>> expected
|
|
|
|
"tst_rcc"
|
|
|
|
;; The 'tst_qtemporarydir' and 'tst_qtemporaryfile'
|
|
|
|
;; tests depend on '/home' not being writable.
|
|
|
|
"tst_qtemporarydir"
|
|
|
|
"tst_qtemporaryfile"
|
|
|
|
;; The 'tst_qdir' compares two directories which are
|
|
|
|
;; unexpectedly different when inside the build
|
|
|
|
;; container.
|
|
|
|
"tst_qdir"
|
|
|
|
;; This checks the last modified time of '/', and fails
|
|
|
|
;; because Epoch 0 is considered to be invalid.
|
|
|
|
"tst_qresourceengine"
|
|
|
|
;; The 'tst_qfilesystemwatcher' installs a watcher on
|
|
|
|
;; '/home', which doesn't exist in the build container.
|
|
|
|
"tst_qfilesystemwatcher"
|
|
|
|
;; Not all of the tested formats are supported by our
|
|
|
|
;; build of openssl; 871 passed, 122 failed.
|
|
|
|
"tst_qsslkey"
|
|
|
|
;; The 'mockplugins' test fail following error: "Unknown
|
|
|
|
;; platform linux-g++", and the other plugin tests
|
|
|
|
;; depend on it.
|
|
|
|
"mockplugins"
|
|
|
|
"test_plugin_flavor.*"
|
|
|
|
;; The 'test_import_plugins' fails with "Could NOT find
|
|
|
|
;; Qt6MockPlugins1".
|
|
|
|
"test_import_plugins"
|
|
|
|
;; The tst_QObjectRace::destroyRace is flaky (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-103489).
|
|
|
|
"tst_qobjectrace"
|
|
|
|
;; The 'tst_QSettings::fromFile' assumes the data
|
|
|
|
;; location to be relative to the root directory and
|
|
|
|
;; fails.
|
|
|
|
"tst_qsettings"
|
|
|
|
;; The 'tst_qaddpreroutine',
|
|
|
|
;; 'test_generating_cpp_exports' and
|
|
|
|
;; 'test_static_resources' tests fail with: "Unknown
|
|
|
|
;; platform linux-g++.
|
|
|
|
"tst_qaddpreroutine"
|
|
|
|
"test_generating_cpp_exports"
|
|
|
|
"test_static_resources"
|
|
|
|
;; The 'tst_qfile' fails since there is no /home in the
|
|
|
|
;; build container.
|
|
|
|
"tst_qfile"
|
|
|
|
;; The 'tst_QGlyphRun::mixedScripts' test fails with:
|
|
|
|
;; Actual (glyphRuns.size()): 1
|
|
|
|
;; Expected (2) : 2
|
|
|
|
"tst_qglyphrun"
|
|
|
|
;; The 'tst_qx11info' test fails with "Internal error:
|
|
|
|
;; QPA plugin doesn't implement generatePeekerId",
|
|
|
|
;; likely requires a real display.
|
|
|
|
"tst_qx11info"
|
|
|
|
|
|
|
|
;; The 'tst_qgraphicswidget' test fails because "This
|
|
|
|
;; plugin does not support propagateSizeHints".
|
|
|
|
"tst_qgraphicswidget"
|
|
|
|
;; The 'tst_qdnslookup' test requires networking.
|
|
|
|
"tst_qdnslookup"
|
|
|
|
;; The 'tst_qcompleter' and 'tst_QFiledialog::completer'
|
|
|
|
;; attempt to complete paths they assume exist, such as
|
|
|
|
;; "/home", "/etc" or "/root" and fail.
|
|
|
|
"tst_qcompleter"
|
|
|
|
"tst_qfiledialog"
|
|
|
|
;; This test is susceptible to the 600 ms timeout used:
|
|
|
|
"tst_qpauseanimation")
|
|
|
|
#$@(if (target-ppc64le?)
|
|
|
|
#~((list
|
|
|
|
;; The 'tst_QPainter::fpe_radialGradients'
|
|
|
|
;; test fails with a 'Floating point
|
|
|
|
;; exception' error on powerpc64le (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-117113).
|
|
|
|
"tst_qpainter"
|
|
|
|
|
|
|
|
;; The 'startStopStartStopBuffers' test fails
|
|
|
|
;; on the powerpc64le architecture (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-80953).
|
|
|
|
"tst_qprocess"
|
|
|
|
|
|
|
|
;; The 'tst_QSqlThread::readWriteThreading'
|
|
|
|
;; test may fail with an sqlite related error,
|
|
|
|
;; "'Unable to fetch row' || 'database is
|
|
|
|
;; locked'" (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-117114).
|
|
|
|
"tst_qsqlthread"))
|
|
|
|
#~())) "|") ")")))))
|
2022-07-17 00:35:59 -04:00
|
|
|
(replace 'patch-mkspecs
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((archdata (search-input-directory outputs "lib/qt6"))
|
|
|
|
(mkspecs (search-input-directory outputs
|
|
|
|
"lib/qt6/mkspecs"))
|
|
|
|
(qt_config.prf
|
|
|
|
(search-input-file
|
|
|
|
outputs "lib/qt6/mkspecs/features/qt_config.prf"))
|
|
|
|
(qt_functions.prf
|
|
|
|
(search-input-file
|
|
|
|
outputs "lib/qt6/mkspecs/features/qt_functions.prf")))
|
|
|
|
;; 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\\]")
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../include/qt6))")
|
|
|
|
(("\\$\\$\\[QT_INSTALL_LIBS\\]")
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
|
|
|
(("\\$\\$\\[QT_HOST_LIBS\\]")
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../lib))")
|
|
|
|
(("\\$\\$\\[QT_INSTALL_BINS\\]")
|
|
|
|
"$$clean_path($$replace(dir, mkspecs/modules, ../../bin))"))
|
2021-04-09 21:52:51 -04:00
|
|
|
|
2022-07-17 00:35:59 -04:00
|
|
|
;; Searches Qt tools in the current PATH instead of QT_HOST_BINS.
|
|
|
|
(substitute* qt_functions.prf
|
|
|
|
(("cmd = \\$\\$\\[QT_HOST_BINS\\]/\\$\\$2")
|
|
|
|
"cmd = $$system(which $${2}.pl 2>/dev/null || which $${2})"))
|
2021-04-09 21:52:51 -04:00
|
|
|
|
2022-07-17 00:35:59 -04:00
|
|
|
;; Resolve qmake spec files within qtbase by absolute paths.
|
|
|
|
(substitute*
|
|
|
|
(map (lambda (file)
|
|
|
|
(search-input-file
|
|
|
|
outputs
|
|
|
|
(string-append "lib/qt6/mkspecs/features/" file)))
|
2023-08-11 21:21:58 -04:00
|
|
|
'("device_config.prf" "moc.prf" "qt_config.prf"))
|
2022-07-17 00:35:59 -04:00
|
|
|
(("\\$\\$\\[QT_HOST_DATA/get\\]") archdata)
|
|
|
|
(("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)))))))))
|
2021-04-09 21:52:51 -04:00
|
|
|
(native-inputs
|
2022-07-17 00:35:59 -04:00
|
|
|
(modify-inputs (package-native-inputs qtbase-5)
|
2023-09-12 10:14:32 -04:00
|
|
|
(prepend tzdata-for-tests
|
|
|
|
wayland-protocols
|
2022-07-25 15:51:56 -04:00
|
|
|
xvfb-run)))
|
2022-07-17 00:35:59 -04:00
|
|
|
(inputs
|
|
|
|
(modify-inputs (package-inputs qtbase-5)
|
2023-08-11 21:21:58 -04:00
|
|
|
(prepend at-spi2-core
|
|
|
|
bash-minimal
|
|
|
|
coreutils-minimal
|
|
|
|
md4c
|
|
|
|
libice
|
|
|
|
libsm
|
|
|
|
libxcb
|
|
|
|
libxext
|
2023-08-13 00:18:19 -04:00
|
|
|
xcb-util-cursor
|
|
|
|
`(,zstd "lib"))))
|
2021-04-09 21:52:51 -04:00
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "QMAKEPATH")
|
|
|
|
(files '("lib/qt6")))
|
|
|
|
(search-path-specification
|
|
|
|
(variable "QML2_IMPORT_PATH")
|
|
|
|
(files '("lib/qt6/qml")))
|
|
|
|
(search-path-specification
|
|
|
|
(variable "QT_PLUGIN_PATH")
|
|
|
|
(files '("lib/qt6/plugins")))
|
2023-09-12 10:14:06 -04:00
|
|
|
$TZDIR
|
2021-04-09 21:52:51 -04:00
|
|
|
(search-path-specification
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
(files '("share")))
|
|
|
|
(search-path-specification
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
(files '("etc/xdg")))))))
|
2019-10-24 14:28:26 -04:00
|
|
|
|
2022-09-25 04:17:37 -04:00
|
|
|
(define-public qt3d-5
|
|
|
|
(package
|
|
|
|
(inherit qtbase-5)
|
|
|
|
(name "qt3d")
|
2023-08-15 16:20:02 -04:00
|
|
|
(version "5.15.10")
|
2022-09-25 04:17:37 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-09-25 04:17:37 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:02 -04:00
|
|
|
"0pwcjm0xxa4f3sg634bv2n61jmn852yr0y6qjvyp8dcvic90cp12"))))
|
2022-09-25 04:17:37 -04:00
|
|
|
(propagated-inputs `())
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list mesa qtbase-5 vulkan-headers zlib))
|
|
|
|
(arguments
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'configure-qmake
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((tmpdir (string-append (getenv "TMPDIR")))
|
|
|
|
(qmake (string-append tmpdir "/qmake"))
|
|
|
|
(qt.conf (string-append tmpdir "/qt.conf")))
|
|
|
|
(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
|
|
|
|
|
|
|
|
[EffectiveSourcePaths]
|
|
|
|
HostPrefix=~a
|
|
|
|
HostData=lib/qt5"
|
|
|
|
#$output #$output #$(this-package-input
|
|
|
|
"qtbase")))))))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(invoke "qmake"
|
|
|
|
"QT_BUILD_PARTS = libs tools tests")))
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
|
|
|
(synopsis "Qt module for 3D")
|
|
|
|
(description "The Qt3d module provides classes for displaying 3D.")))
|
|
|
|
|
2022-07-18 23:54:41 -04:00
|
|
|
(define-public qt5compat
|
|
|
|
(package
|
|
|
|
(name "qt5compat")
|
2023-08-11 18:00:20 -04:00
|
|
|
(version "6.5.2")
|
2022-07-18 23:54:41 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-18 23:54:41 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:20 -04:00
|
|
|
"1i4izabbmf1dayzlj1miz7hsm4cy0qb7i72pwyl2fp05w8pf9axr"))))
|
2022-07-18 23:54:41 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append #$output "/tests")))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list icu4c libxkbcommon qtbase qtdeclarative qtshadertools))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "Legacy Qt 5 APIs ported to Qt 6")
|
|
|
|
(description "The @code{qt5compat} package includes application
|
|
|
|
programming interfaces (APIs) from Qt 5 that were ported to Qt 6, to ease
|
|
|
|
migration. It provides for example the @code{GraphicalEffects} module that
|
|
|
|
came with the @{qtgraphicaleffects} Qt 5 package.")
|
|
|
|
(license (list license:gpl2+ license:lgpl3+)))) ;dual licensed
|
|
|
|
|
2022-07-17 01:11:46 -04:00
|
|
|
(define-public qtsvg-5
|
2022-07-17 01:29:54 -04:00
|
|
|
(package
|
|
|
|
(inherit qtbase-5)
|
2016-05-20 06:14:50 -04:00
|
|
|
(name "qtsvg")
|
2023-08-15 16:20:02 -04:00
|
|
|
(version "5.15.10")
|
2016-05-20 06:14:50 -04:00
|
|
|
(source (origin
|
2022-07-17 01:29:54 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-17 01:29:54 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:02 -04:00
|
|
|
"1s2a00vqq0njwmd34pas7gmmlb9cjjq5dra1s1wpfxlabf1y64yg"))))
|
2016-06-28 02:17:54 -04:00
|
|
|
(propagated-inputs `())
|
2021-12-13 11:18:24 -05:00
|
|
|
(native-inputs (list perl))
|
2016-05-20 06:14:50 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list mesa qtbase-5 zlib))
|
2016-05-20 06:14:50 -04:00
|
|
|
(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
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
" out out qtbase))))))
|
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
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
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
|
|
|
|
2022-07-17 11:21:16 -04:00
|
|
|
(define-public qtsvg
|
|
|
|
(package
|
|
|
|
(name "qtsvg")
|
2023-08-11 18:00:20 -04:00
|
|
|
(version "6.5.2")
|
2022-07-17 11:21:16 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-17 11:21:16 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:20 -04:00
|
|
|
"18v337lfk8krg0hff5jx6fi7gn6x3djn03x3psrhlbmgjc8crd28"))))
|
2022-07-17 11:21:16 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt render "offscreen", required for tests.
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")))
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively (string-append #$output "/tests")))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list libxkbcommon mesa qtbase zlib))
|
|
|
|
(synopsis "Qt module for displaying SVGs")
|
|
|
|
(description "The QtSvg module provides classes for displaying the
|
|
|
|
contents of SVG files.")
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2023-08-13 10:08:31 -04:00
|
|
|
(define-public qtimageformats-5
|
2023-08-13 10:27:51 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-03 11:39:18 -04:00
|
|
|
(name "qtimageformats")
|
2023-08-15 16:20:03 -04:00
|
|
|
(version "5.15.10")
|
2016-06-03 11:39:18 -04:00
|
|
|
(source (origin
|
2023-08-13 10:27:51 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (qt-url name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:03 -04:00
|
|
|
"1cniah8v8y514i68bmwgfi3xn3hzgpywcdnzrv789mk7qi48l92g"))
|
2023-08-13 10:27:51 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "src/3rdparty")))))
|
2016-06-03 11:39:18 -04:00
|
|
|
(native-inputs `())
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list jasper
|
|
|
|
libmng
|
|
|
|
libtiff
|
|
|
|
libwebp
|
|
|
|
mesa
|
|
|
|
qtbase-5
|
|
|
|
zlib))
|
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 "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
|
|
|
|
2023-08-13 10:28:16 -04:00
|
|
|
(define-public qtimageformats
|
|
|
|
(package
|
|
|
|
(name "qtimageformats")
|
|
|
|
(version "6.5.2")
|
|
|
|
(source (origin
|
|
|
|
(inherit (package-source qtimageformats-5))
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (qt-url name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0hv7mkn72126rkhy5gmjmbvzy7v17mkk3q2pkmzy99f64j4w1q5a"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt render "offscreen", required for tests.
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
|
|
|
(inputs
|
|
|
|
(list jasper
|
|
|
|
libmng
|
|
|
|
libtiff
|
|
|
|
libwebp
|
|
|
|
mesa
|
|
|
|
qtbase
|
|
|
|
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.")
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2016-06-04 18:06:22 -04:00
|
|
|
(define-public qtx11extras
|
2022-07-17 01:11:46 -04:00
|
|
|
(package (inherit qtsvg-5)
|
2016-06-04 18:06:22 -04:00
|
|
|
(name "qtx11extras")
|
2023-08-15 16:20:03 -04:00
|
|
|
(version "5.15.10")
|
2016-06-04 18:06:22 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2016-06-04 18:06:22 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:03 -04:00
|
|
|
"1x489lw3nx28p9cggdrr9n0l49w9y1mcpni9x91sic6wpyfx3p6p"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
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
|
2021-12-13 11:18:24 -05:00
|
|
|
(native-inputs (list perl))
|
2016-06-04 18:06:22 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list mesa qtbase-5))
|
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 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
|
|
|
|
2023-02-07 21:30:06 -05:00
|
|
|
(define-public qxlsx
|
|
|
|
(package
|
|
|
|
(name "qxlsx")
|
2023-07-15 20:00:02 -04:00
|
|
|
(version "1.4.6")
|
2023-02-07 21:30:06 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/QtExcel/QXlsx")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2023-07-15 20:00:07 -04:00
|
|
|
(base32 "0xbpajvwkv09h2fang200nsanv5gl1alsdd725gh9cgq4szng6gj"))
|
|
|
|
(patches (search-patches "qxlsx-fix-include-directory.patch"))))
|
2023-02-07 21:30:06 -05:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "../source/QXlsx"
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" #$output))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(with-directory-excursion "../source/TestExcel"
|
|
|
|
(invoke "qmake")
|
|
|
|
(invoke "make" "-j" (number->string (parallel-job-count)))
|
|
|
|
(invoke "./TestExcel"))))))))
|
|
|
|
(inputs
|
2023-02-27 19:12:28 -05:00
|
|
|
(list libxkbcommon qtbase vulkan-headers))
|
2023-02-07 21:30:06 -05:00
|
|
|
(home-page "https://qtexcel.github.io/QXlsx/")
|
|
|
|
(synopsis "C++ library to read/write Excel XLSX files using Qt")
|
|
|
|
(description
|
|
|
|
"QXlsx is a successor of QtXlsx and providies a functionality to work with Excel
|
|
|
|
XLSX document format.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2023-02-27 19:12:29 -05:00
|
|
|
(define-public qxlsx-qt5
|
|
|
|
(package/inherit qxlsx
|
|
|
|
(name "qxlsx-qt5")
|
|
|
|
(inputs
|
|
|
|
(list qtbase-5))
|
|
|
|
(synopsis "Qt5 build for the qxlsx library.")))
|
|
|
|
|
2016-06-04 23:55:24 -04:00
|
|
|
(define-public qtxmlpatterns
|
2022-07-17 01:11:46 -04:00
|
|
|
(package (inherit qtsvg-5)
|
2016-06-04 23:55:24 -04:00
|
|
|
(name "qtxmlpatterns")
|
2023-08-15 16:20:03 -04:00
|
|
|
(version "5.15.10")
|
2016-06-04 23:55:24 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2016-06-04 23:55:24 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:03 -04:00
|
|
|
"03fss4lssi48d8gdj8inkj4qgmyzxbn7r4bm58ckbh5vl9rpamq3"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
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-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
(("xmlpatterns ") "# xmlpatterns"))))
|
|
|
|
(add-after 'unpack 'skip-qquickxmllistmodel-test
|
|
|
|
(lambda _ (substitute* "tests/auto/auto.pro"
|
|
|
|
((".*qquickxmllistmodel.*") ""))))))))
|
2022-07-17 21:03:18 -04:00
|
|
|
(native-inputs (list perl qtdeclarative-5))
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list qtbase-5))
|
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 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
|
|
|
|
2022-07-17 21:03:18 -04:00
|
|
|
(define-public qtdeclarative-5
|
2023-03-27 15:27:09 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-06 09:30:22 -04:00
|
|
|
(name "qtdeclarative")
|
2023-08-15 16:20:03 -04:00
|
|
|
(version "5.15.10")
|
2016-06-06 09:30:22 -04:00
|
|
|
(source (origin
|
2023-03-27 15:27:09 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 15:27:09 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:03 -04:00
|
|
|
"1x1xsdlxwpdxzrapk5q0adjwh48c6awd8nj4j51ig6y49hy4r6r3"))
|
2023-08-11 15:26:14 -04:00
|
|
|
(patches (search-patches "qtdeclarative-5-disable-qmlcache.patch"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2020-05-10 09:49:20 -04:00
|
|
|
((#:tests? _ #f) #f) ;TODO: Enable the tests
|
|
|
|
((#:phases phases)
|
2023-03-27 15:27:09 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'build 'fix-qt5core-install-prefix
|
|
|
|
(lambda _
|
|
|
|
;; The Qt5Core install prefix is set to qtbase, but qmlcachegen
|
|
|
|
;; is provided by qtdeclarative-5.
|
|
|
|
(substitute*
|
|
|
|
"lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
|
|
|
|
(("\\$\\{_qt5Core_install_prefix\\}") #$output))))
|
|
|
|
(add-after 'unpack 'fix-linking-riscv64
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/qml/qml.pro"
|
|
|
|
(("DEFINES \\+= QT_NO_FOREACH")
|
|
|
|
(string-append
|
|
|
|
"isEqual(QT_ARCH, \"riscv64\"): QMAKE_LIBS += -latomic\n\n"
|
|
|
|
"DEFINES += QT_NO_FOREACH")))))))))
|
2016-06-06 09:30:22 -04:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list perl
|
|
|
|
pkg-config
|
|
|
|
python
|
|
|
|
python-wrapper
|
2022-07-17 01:11:46 -04:00
|
|
|
qtsvg-5
|
2021-12-13 11:18:24 -05:00
|
|
|
vulkan-headers))
|
2016-06-06 09:30:22 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list mesa qtbase-5))
|
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 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
|
|
|
|
2022-07-17 21:21:43 -04:00
|
|
|
(define-public qtdeclarative
|
|
|
|
(package
|
|
|
|
(name "qtdeclarative")
|
2023-08-11 18:00:20 -04:00
|
|
|
(version "6.5.2")
|
2022-07-17 21:21:43 -04:00
|
|
|
;; TODO: Package 'masm' and unbundle from sources.
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-17 21:21:43 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:20 -04:00
|
|
|
"06c7xfqn2a5s2m8j1bcvx3pyjqg1rgqkjvp49737gb4z9vjiz8gk"))
|
2023-08-11 15:26:14 -04:00
|
|
|
(patches (search-patches "qtdeclarative-disable-qmlcache.patch"))))
|
2023-08-22 22:06:12 -04:00
|
|
|
(outputs '("out" "debug"))
|
2022-07-17 21:21:43 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
2023-03-06 23:00:38 -05:00
|
|
|
;; The build takes 12 minutes on a Ryzen 3900X when building with Ninja,
|
|
|
|
;; compared to 24 minutes with Make.
|
|
|
|
#:configure-flags #~(list "-GNinja"
|
2022-07-17 21:21:43 -04:00
|
|
|
"-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'honor-cmake-install-rpath
|
|
|
|
;; The build system goes out of its way to compute a runpath it
|
|
|
|
;; thinks makes more sense, and fails. Revert to the default
|
|
|
|
;; behavior, which is to honor CMAKE_INSTALL_RPATH.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/qml/Qt6QmlMacros.cmake"
|
|
|
|
(("set_target_properties.*PROPERTIES.*INSTALL_RPATH.*" all)
|
|
|
|
(string-append "# " all)))))
|
|
|
|
(add-after 'unpack 'patch-qlibraryinfo-paths
|
|
|
|
(lambda _
|
|
|
|
;; The QLibraryInfo paths are hard-coded to point to the qtbase
|
|
|
|
;; installation, but all the tools used in the test suite come
|
|
|
|
;; from this package.
|
|
|
|
(substitute* (find-files "tests" "\\.cpp$")
|
|
|
|
(("QLibraryInfo::path\\(QLibraryInfo::BinariesPath)")
|
|
|
|
(string-append "QStringLiteral(\"" #$output "/bin\")"))
|
|
|
|
(("QLibraryInfo::path\\(QLibraryInfo::LibraryExecutablesPath)")
|
|
|
|
(string-append "QStringLiteral(\"" #$output
|
|
|
|
"/lib/qt6/libexec\")"))
|
|
|
|
(("QLibraryInfo::path\\(QLibraryInfo::QmlImportsPath)")
|
|
|
|
(string-append "QStringLiteral(\"" #$output
|
|
|
|
"/lib/qt6/qml\")")))))
|
|
|
|
(replace 'build
|
|
|
|
(lambda* (#:key parallel-build? #:allow-other-keys)
|
|
|
|
(apply invoke "cmake" "--build" "."
|
|
|
|
(if parallel-build?
|
|
|
|
`("--parallel" ,(number->string (parallel-job-count)))
|
|
|
|
'()))))
|
|
|
|
(delete 'check) ;move after the install phase
|
|
|
|
(replace 'install
|
|
|
|
(lambda _
|
|
|
|
(invoke "cmake" "--install" ".")))
|
|
|
|
(add-after 'install 'check
|
|
|
|
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
;; The tests expect to find the modules provided by this
|
|
|
|
;; package; extend the environment variables needed to do so.
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml"))
|
|
|
|
(setenv "QT_PLUGIN_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/plugins:"
|
|
|
|
(getenv "QT_PLUGIN_PATH")))
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
;; Skip tests known to fail on GNU/Linux, in a CI context or
|
|
|
|
;; due to bitness (see: https://code.qt.io/cgit/qt/qtbase.git
|
|
|
|
;; /tree/src/testlib/qtestblacklist.cpp).
|
|
|
|
(setenv "QTEST_ENVIRONMENT" "linux ci 32bit")
|
|
|
|
(setenv "HOME" "/tmp") ;a few tests require a writable HOME
|
|
|
|
(invoke
|
|
|
|
"ctest" "--output-on-failure"
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
"1")
|
|
|
|
"-E" ;exclude some tests by regex
|
|
|
|
(string-append
|
|
|
|
"("
|
|
|
|
(string-join
|
|
|
|
(list
|
|
|
|
;; This test is marked as flaky upstream (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-101488).
|
|
|
|
"tst_qquickfiledialogimpl"
|
|
|
|
;; These tests all fail because 'test_overlappingHandles'
|
|
|
|
;; (see: https://bugreports.qt.io/browse/QTBUG-95750).
|
|
|
|
"tst_basic"
|
|
|
|
"tst_fusion"
|
|
|
|
"tst_imagine"
|
|
|
|
"tst_material"
|
|
|
|
"tst_universal"
|
|
|
|
;; Fails due to using the wrong lib/qt6/qml prefix:
|
|
|
|
;; "Warning: Failed to find the following builtins:
|
|
|
|
;; builtins.qmltypes, jsroot.qmltypes (so will use
|
|
|
|
;; qrc). Import paths used:
|
|
|
|
;; /gnu/store/...-qtbase-6.3.1/lib/qt6/qml"
|
|
|
|
"tst_qmltc_qprocess"
|
2023-02-08 20:31:11 -05:00
|
|
|
;; This one also causes non-determinstic failures (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-101488).
|
|
|
|
"tst_qquickfolderdialogimpl"
|
2022-07-17 21:21:43 -04:00
|
|
|
;; These test fail when running qmlimportscanner; perhaps
|
|
|
|
;; an extra CMAKE_PREFIX_PATH location is missing to
|
|
|
|
;; correctly locate the imports.
|
|
|
|
"empty_qmldir"
|
|
|
|
"qtquickcompiler"
|
|
|
|
"cmake_tooling_imports"
|
|
|
|
;; This test seems to hangs for a long time, possibly
|
|
|
|
;; waiting for a killed process, which becomes a zombie in
|
|
|
|
;; the build container (perhaps solved after
|
|
|
|
;; fixing/applying #30948).
|
2023-08-11 18:00:20 -04:00
|
|
|
"tst_qqmlpreview"
|
|
|
|
|
|
|
|
;; These tests fail starting with 6.5.2 (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-116019). They
|
|
|
|
;; appear to fail because of attempting to load QML from
|
|
|
|
;; elsewhere than from QML2_IMPORT_PATH.
|
|
|
|
"cmake_test_common_import_path"
|
|
|
|
"tst_qqmlcomponent"
|
|
|
|
"tst_qmllint"
|
|
|
|
"tst_qmldomitem"
|
|
|
|
"tst_dom_all"
|
|
|
|
"tst_qmlls"
|
|
|
|
"tst_qmllscompletions"
|
|
|
|
) "|")
|
2022-07-17 21:21:43 -04:00
|
|
|
")")))))
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively (string-append #$output "/tests")))))))
|
|
|
|
(native-inputs
|
|
|
|
(list ninja
|
|
|
|
perl
|
|
|
|
pkg-config
|
|
|
|
python
|
|
|
|
qtshadertools
|
|
|
|
vulkan-headers))
|
|
|
|
(inputs
|
2023-08-11 18:00:20 -04:00
|
|
|
(list at-spi2-core
|
|
|
|
libxkbcommon
|
2022-07-17 21:21:43 -04:00
|
|
|
mesa
|
2023-08-11 18:00:20 -04:00
|
|
|
qtbase
|
|
|
|
qtimageformats
|
|
|
|
qtlanguageserver
|
|
|
|
qtsvg))
|
2022-07-17 21:21:43 -04:00
|
|
|
(home-page (package-home-page 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++.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2016-06-06 12:43:59 -04:00
|
|
|
(define-public qtconnectivity
|
2023-03-27 16:09:48 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-06 12:43:59 -04:00
|
|
|
(name "qtconnectivity")
|
2023-08-15 16:20:04 -04:00
|
|
|
(version "5.15.10")
|
2016-06-06 12:43:59 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:48 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:48 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:04 -04:00
|
|
|
"1sdrw67djfr8qi5wx3qhg8asq2c6f3v3mal3sms7dp7a2l1irnrz"))))
|
2016-06-06 12:43:59 -04:00
|
|
|
(native-inputs
|
2022-07-17 21:03:18 -04:00
|
|
|
(list perl pkg-config qtdeclarative-5))
|
2016-06-06 12:43:59 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list bluez qtbase-5))
|
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 Connectivity module")
|
|
|
|
(description "The Qt Connectivity modules provides modules for interacting
|
|
|
|
with Bluetooth and NFC.")))
|
2016-06-06 12:43:59 -04:00
|
|
|
|
2022-07-18 00:06:03 -04:00
|
|
|
(define-public qtwebsockets-5
|
2022-07-17 01:11:46 -04:00
|
|
|
(package (inherit qtsvg-5)
|
2016-06-06 13:05:47 -04:00
|
|
|
(name "qtwebsockets")
|
2023-08-15 16:20:04 -04:00
|
|
|
(version "5.15.10")
|
2016-06-06 13:05:47 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2016-06-06 13:05:47 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:04 -04:00
|
|
|
"12nryr99cixwxc1mnb12sys7bp4xnm39nzq1mf2lajswkvdn559b"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
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
|
2016-06-06 13:05:47 -04:00
|
|
|
(native-inputs
|
2022-07-17 21:03:18 -04:00
|
|
|
(list perl qtdeclarative-5))
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list qtbase-5))
|
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 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
|
|
|
|
2022-07-18 07:46:04 -04:00
|
|
|
(define-public qtwebsockets
|
|
|
|
(package
|
|
|
|
(name "qtwebsockets")
|
2023-08-11 18:00:21 -04:00
|
|
|
(version "6.5.2")
|
2022-07-18 07:46:04 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-18 07:46:04 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:21 -04:00
|
|
|
"0xjwifxj2ssshys6f6kjr6ri2vq1wfshxky6mcscjm7vvyqdfjr0"))))
|
2022-07-18 07:46:04 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(delete 'check) ;move after install
|
|
|
|
(add-after 'install 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml:"
|
|
|
|
(getenv "QML2_IMPORT_PATH")))))
|
|
|
|
(add-after 'prepare-for-tests 'check
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(add-after 'check 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append #$output "/tests")))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list qtbase qtdeclarative))
|
|
|
|
(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.")
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2016-06-06 13:14:45 -04:00
|
|
|
(define-public qtsensors
|
2023-03-27 16:09:49 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-06 13:14:45 -04:00
|
|
|
(name "qtsensors")
|
2023-08-15 16:20:04 -04:00
|
|
|
(version "5.15.10")
|
2016-06-06 13:14:45 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:49 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:49 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:04 -04:00
|
|
|
"00gzb7xcifi3ib5adi7s6h5wvc6v4f48nwb4g1pm0zq9sv22lg6d"))))
|
2017-06-22 06:04:33 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:49 -04: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 _
|
2023-08-15 16:54:19 -04:00
|
|
|
(substitute* "tests/auto/qsensorgestures_gestures\
|
|
|
|
/tst_sensorgestures_gestures.cpp"
|
2023-03-27 16:09:49 -04:00
|
|
|
(("2000") "5000") ;lengthen test timeout
|
2023-08-15 16:54:19 -04:00
|
|
|
;; This test fails.
|
|
|
|
(("QTest::newRow(\"twist\") << \"twist\"") ""))))))))
|
2016-06-06 13:14:45 -04:00
|
|
|
(native-inputs
|
2022-07-17 21:03:18 -04:00
|
|
|
(list perl qtdeclarative-5))
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list qtbase-5))
|
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 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
|
|
|
|
2022-07-17 19:00:48 -04:00
|
|
|
(define-public qtmultimedia-5
|
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-06 14:50:41 -04:00
|
|
|
(name "qtmultimedia")
|
2023-08-15 16:20:05 -04:00
|
|
|
(version "5.15.10")
|
2016-06-06 14:50:41 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:49 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:49 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:05 -04:00
|
|
|
"1di99ysjrgklx2jpsl0g0lqr9jh4l4p4a3hpi452qny6isyy01hi"))
|
2023-03-27 16:09:49 -04: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")
|
2023-03-27 16:09:49 -04:00
|
|
|
;; We also prevent the spectrum example from being built.
|
|
|
|
(substitute* "examples/multimedia/multimedia.pro"
|
|
|
|
(("spectrum") "#"))))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
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"
|
2023-08-15 16:55:56 -04:00
|
|
|
(string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath,"
|
|
|
|
out "/lib -Wl,-rpath,")
|
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
|
|
|
(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
|
2022-07-17 21:03:18 -04:00
|
|
|
(list perl pkg-config python qtdeclarative-5))
|
2016-06-06 14:50:41 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list alsa-lib
|
|
|
|
mesa
|
|
|
|
pulseaudio
|
|
|
|
qtbase-5
|
|
|
|
;; Gstreamer is needed for the mediaplayer plugin
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base))
|
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 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
|
|
|
|
2022-07-17 20:39:53 -04:00
|
|
|
(define-public qtshadertools
|
|
|
|
(package
|
|
|
|
(name "qtshadertools")
|
2023-08-11 18:00:21 -04:00
|
|
|
(version "6.5.2")
|
2022-07-17 20:39:53 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-17 20:39:53 -04:00
|
|
|
;; Note: the source bundles *patched* glslang and SPIRV-Cross
|
|
|
|
;; sources.
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:21 -04:00
|
|
|
"0g8aziqhds2fkx11y4p2akmyn2p1qqf2fjxv72f9pibnhpdv0gya"))))
|
2022-07-17 20:39:53 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list glslang libxkbcommon qtbase))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "Shader pipeline API and and tools for Qt")
|
|
|
|
(description "The @code{qtshadertools} module provides APIs and tools
|
|
|
|
supporting shader pipeline functionality as offered in Qt Quick to operate on
|
|
|
|
Vulkan, OpenGL and other main graphic APIs.")
|
2022-09-13 10:36:50 -04:00
|
|
|
(license (package-license qtbase))))
|
2022-07-17 20:39:53 -04:00
|
|
|
|
2022-07-17 20:50:16 -04:00
|
|
|
(define-public qtmultimedia
|
|
|
|
(package
|
|
|
|
(name "qtmultimedia")
|
2023-08-11 18:00:21 -04:00
|
|
|
(version "6.5.2")
|
2022-07-17 20:50:16 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-17 20:50:16 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:21 -04:00
|
|
|
"0xc9k4mlncscxqbp8q46yjd89k4jb8j0ggbi5ad874lycym013wl"))
|
2022-07-17 20:50:16 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively
|
|
|
|
"examples/multimedia/spectrum/3rdparty")
|
|
|
|
;; We also prevent the spectrum example from being built.
|
|
|
|
(substitute* "examples/multimedia/multimedia.pro"
|
|
|
|
(("spectrum") "#"))))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON"
|
|
|
|
"-DQT_FEATURE_pulseaudio=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'disable-integration-tests
|
|
|
|
(lambda _
|
|
|
|
;; XXX: The tst_qaudiodecoderbackend, tst_qaudiodevice,
|
|
|
|
;; tst_qaudiosource, tst_qmediaplayerbackend and
|
|
|
|
;; tst_qcamerabackend tests fail, presumably because they
|
|
|
|
;; require a functional pulseaudio daemon (which requires a dbus
|
|
|
|
;; session bus, which requires an X11 server, and then is still
|
|
|
|
;; unhappy).
|
|
|
|
(substitute* "tests/auto/CMakeLists.txt"
|
|
|
|
(("add_subdirectory\\(integration)") ""))))
|
|
|
|
(add-before 'check 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")))
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively (string-append #$output "/tests")))))))
|
|
|
|
(native-inputs
|
|
|
|
(list perl
|
|
|
|
pkg-config
|
|
|
|
qtshadertools
|
|
|
|
vulkan-headers))
|
|
|
|
(inputs
|
|
|
|
(list alsa-lib
|
|
|
|
glib
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base ;gstreamer-gl
|
|
|
|
gst-plugins-good ;camera support, additional plugins
|
|
|
|
gst-libav ;ffmpeg plugin
|
|
|
|
libxkbcommon
|
|
|
|
mesa
|
|
|
|
qtbase
|
|
|
|
qtdeclarative
|
|
|
|
pulseaudio))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(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.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2022-09-29 09:53:35 -04:00
|
|
|
(define-public qtwayland-5
|
2023-03-27 16:09:50 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-08 13:21:16 -04:00
|
|
|
(name "qtwayland")
|
2023-08-15 16:20:05 -04:00
|
|
|
(version "5.15.10")
|
2016-06-08 13:21:16 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:50 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-08-15 16:20:05 -04:00
|
|
|
(patches (search-patches "qtwayland-dont-recreate-callbacks.patch"
|
2023-03-27 16:09:50 -04:00
|
|
|
"qtwayland-cleanup-callbacks.patch"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:05 -04:00
|
|
|
"1w9nclz1lfg5haq3m6ihils0kl2n1pqagdyh71ry1m281w8gvly8"))))
|
2017-08-25 10:52:41 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2017-08-25 10:52:41 -04:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:50 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: tst_seatv4::animatedCursor() fails for no good
|
|
|
|
;; reason and breaks these two tests.
|
|
|
|
(substitute* "tests/auto/client/seatv4/tst_seatv4.cpp"
|
|
|
|
(((string-append "QVERIFY\\(!cursorSurface\\(\\)->"
|
|
|
|
"m_waitingFrameCallbacks\\.empty\\(\\)\\);"))
|
|
|
|
"")
|
|
|
|
(("QTRY_COMPARE\\(bufferSpy\\.count\\(\\), 1\\);")
|
2023-09-17 13:35:16 -04:00
|
|
|
""))
|
|
|
|
#$@(if (target-aarch64?)
|
|
|
|
;; The tst_surface::createSubsurface test fails on
|
|
|
|
;; aarch64 (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTBUG-117112).
|
|
|
|
#~((substitute* "tests/auto/client/client.pro"
|
|
|
|
((".*surface.*") "")))
|
|
|
|
#~())))
|
2023-03-27 16:09:50 -04:00
|
|
|
(add-before 'check 'set-test-environment
|
|
|
|
(lambda _
|
|
|
|
;; Do not fail just because /etc/machine-id is missing.
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")))))))
|
|
|
|
(native-inputs (list glib perl pkg-config qtdeclarative-5))
|
2016-06-08 13:21:16 -04:00
|
|
|
(inputs
|
2022-08-10 13:44:17 -04:00
|
|
|
(list fontconfig
|
|
|
|
freetype
|
|
|
|
libx11
|
|
|
|
libxcomposite
|
|
|
|
libxext
|
|
|
|
libxkbcommon
|
|
|
|
libxrender
|
|
|
|
mesa
|
|
|
|
mtdev
|
|
|
|
qtbase-5
|
|
|
|
vulkan-headers
|
|
|
|
wayland))
|
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 Wayland module")
|
|
|
|
(description "The Qt Wayland module provides the QtWayland client and
|
|
|
|
compositor libraries.")))
|
2016-06-08 13:21:16 -04:00
|
|
|
|
2022-09-29 09:53:55 -04:00
|
|
|
(define-public qtwayland
|
|
|
|
(package
|
|
|
|
(name "qtwayland")
|
2023-08-11 18:00:21 -04:00
|
|
|
(version "6.5.2")
|
2022-09-29 09:53:55 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-09-29 09:53:55 -04:00
|
|
|
(sha256
|
2023-08-11 18:00:21 -04:00
|
|
|
(base32 "16iwar19sgjvxgmbr6hmd3hsxp6ahdjwl1lra2wapl3zzf3bw81h"))))
|
2022-09-29 09:53:55 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: tst_seatv4::animatedCursor() fails here.
|
|
|
|
;; See also: <https://bugreports.qt.io/browse/QTBUG-78317>
|
|
|
|
(substitute* "tests/auto/client/seatv4/tst_seatv4.cpp"
|
|
|
|
(((string-append
|
|
|
|
"QVERIFY\\(!cursorSurface\\(\\)->"
|
|
|
|
"m_waitingFrameCallbacks\\.empty\\(\\)\\);")) "")
|
2023-08-25 02:18:07 -04:00
|
|
|
(("QTRY_COMPARE\\(bufferSpy\\.size\\(\\), 1\\);") ""))))
|
2022-09-29 09:53:55 -04:00
|
|
|
(add-before 'check 'set-test-environment
|
|
|
|
(lambda _
|
|
|
|
;; Do not fail just because /etc/machine-id is missing.
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
;; Make Qt render "offscreen", required for tests.
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
|
|
|
(native-inputs (list glib perl pkg-config qtdeclarative))
|
|
|
|
(inputs
|
|
|
|
(list fontconfig
|
|
|
|
freetype
|
|
|
|
libx11
|
|
|
|
libxcomposite
|
|
|
|
libxext
|
|
|
|
libxkbcommon
|
|
|
|
libxrender
|
|
|
|
mesa
|
|
|
|
mtdev
|
|
|
|
qtbase
|
|
|
|
vulkan-headers
|
|
|
|
wayland))
|
|
|
|
(synopsis "Qt Wayland module")
|
|
|
|
(description "The Qt Wayland module provides the QtWayland client and
|
|
|
|
compositor libraries.")
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2016-06-09 16:41:39 -04:00
|
|
|
(define-public qtserialport
|
2023-03-27 16:09:50 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-09 16:41:39 -04:00
|
|
|
(name "qtserialport")
|
2023-08-15 16:20:05 -04:00
|
|
|
(version "5.15.10")
|
2016-06-09 16:41:39 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:50 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:50 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:05 -04:00
|
|
|
"1zk8y20bqibpvsxi1mqg1ry37xq55yw3m0isij4j9pc58lm4wvzw"))))
|
2021-12-13 11:18:24 -05:00
|
|
|
(native-inputs (list perl))
|
2023-03-27 16:09:50 -04:00
|
|
|
(inputs (list qtbase-5 eudev))
|
2017-11-01 11:31:03 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2017-11-01 11:31:03 -04:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:50 -04:00
|
|
|
#~(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.
|
|
|
|
(("setFileNameAndVersion\\(QStringLiteral\\(\"udev\")")
|
|
|
|
(format #f "setFileNameAndVersion(QStringLiteral(~s))"
|
|
|
|
(string-append #$(this-package-input "eudev")
|
|
|
|
"/lib/libudev"))))))))))
|
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
|
2023-03-27 16:09:50 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-05 13:44:27 -05:00
|
|
|
(name "qtserialbus")
|
2023-08-15 16:20:05 -04:00
|
|
|
(version "5.15.10")
|
2017-01-05 13:44:27 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:50 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:50 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:05 -04:00
|
|
|
"1i7zc5nlp9by0sr6qlls89zqm84sdxl1h4mr30dbxwsvvrqkmhf9"))))
|
2020-08-10 16:37:26 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2020-08-10 16:37:26 -04:00
|
|
|
((#:phases phases '%standard-phases)
|
2023-03-27 16:09:50 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'unpack 'patch-libsocketcan-reference
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "src/plugins/canbus/socketcan/libsocketcan.cpp"
|
|
|
|
(("QStringLiteral\\(\"socketcan\"\\)")
|
|
|
|
(format #f "QStringLiteral(~s)"
|
|
|
|
(search-input-file inputs
|
|
|
|
"lib/libsocketcan.so"))))))))))
|
|
|
|
(inputs (list libsocketcan qtbase-5 qtserialport))
|
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 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
|
|
|
|
2022-07-18 00:02:58 -04:00
|
|
|
(define-public qtwebchannel-5
|
2022-07-17 01:11:46 -04:00
|
|
|
(package (inherit qtsvg-5)
|
2016-06-09 16:56:18 -04:00
|
|
|
(name "qtwebchannel")
|
2023-08-15 16:20:06 -04:00
|
|
|
(version "5.15.10")
|
2016-06-09 16:56:18 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2016-06-09 16:56:18 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:06 -04:00
|
|
|
"1rgziqprq0xvd57jfvd7ddkcddj3645ldn3xbq3n6w058bw04mz2"))))
|
2023-03-27 16:09:51 -04:00
|
|
|
(native-inputs (list perl qtdeclarative-5 qtwebsockets-5))
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list qtbase-5))
|
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 "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
|
|
|
|
2022-07-18 07:49:35 -04:00
|
|
|
(define-public qtwebchannel
|
|
|
|
(package
|
|
|
|
(name "qtwebchannel")
|
2023-08-11 18:00:22 -04:00
|
|
|
(version "6.5.2")
|
2022-07-18 07:49:35 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-18 07:49:35 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:22 -04:00
|
|
|
"0qwfnwva7v5f2g5is17yy66mnmc9c1yf9aagaw5qanskdvxdk261"))))
|
2022-07-18 07:49:35 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(delete 'check) ;move after install
|
|
|
|
(add-after 'install 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml:"
|
|
|
|
(getenv "QML2_IMPORT_PATH")))))
|
|
|
|
(add-after 'prepare-for-tests 'check
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(add-after 'check 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append #$output "/tests")))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list qtbase qtdeclarative qtwebsockets))
|
|
|
|
(home-page (package-home-page 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).")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2018-05-30 17:47:20 -04:00
|
|
|
(define-public qtwebglplugin
|
2023-03-27 16:09:51 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2018-05-30 17:47:20 -04:00
|
|
|
(name "qtwebglplugin")
|
2023-08-15 16:20:06 -04:00
|
|
|
(version "5.15.10")
|
2018-05-30 17:47:20 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:51 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:51 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:06 -04:00
|
|
|
"12kcvq5y5rpivxrn0p43gdkk3yysdi7bk904jgd3wk67gl0bda8r"))))
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 04:10:25 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 04:10:25 -04:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:51 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'unpack 'disable-network-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/plugins/platforms/platforms.pro"
|
|
|
|
(("webgl") "# webgl"))))))))
|
2018-05-30 17:47:20 -04:00
|
|
|
(native-inputs '())
|
2023-03-27 16:09:51 -04:00
|
|
|
(inputs (list mesa qtbase-5 qtdeclarative-5 qtwebsockets-5 zlib))
|
2022-11-01 19:55:41 -04:00
|
|
|
(synopsis "QPA plugin for running applications via a browser using
|
2018-05-30 17:47:20 -04:00
|
|
|
streamed WebGL commands")
|
2023-08-15 16:20:06 -04:00
|
|
|
(description "Qt back end that uses WebGL for rendering. It allows Qt
|
2018-05-30 17:47:20 -04:00
|
|
|
applications (with some limitations) to run in a web browser that supports
|
|
|
|
WebGL. WebGL is a JavaScript API for rendering 2D and 3D graphics within any
|
|
|
|
compatible web browser without the use of plug-ins. The API is similar to
|
|
|
|
OpenGL ES 2.0 and can be used in HTML5 canvas elements")))
|
|
|
|
|
2018-05-30 13:37:25 -04:00
|
|
|
(define-public qtwebview
|
2023-03-27 16:09:51 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2018-05-30 13:37:25 -04:00
|
|
|
(name "qtwebview")
|
2023-08-15 16:20:06 -04:00
|
|
|
(version "5.15.10")
|
2018-05-30 13:37:25 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:51 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:51 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:06 -04:00
|
|
|
"00446917v1djh18lqsk1q5bhgfsfyz06q4zvna96xalwvl3ccn14"))))
|
2023-03-27 16:09:51 -04:00
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
2018-05-30 13:37:25 -04:00
|
|
|
(synopsis "Display web content in a QML application")
|
|
|
|
(description "Qt WebView provides a way to display web content in a QML
|
|
|
|
application without necessarily including a full web browser stack by using
|
|
|
|
native APIs where it makes sense.")))
|
|
|
|
|
2023-08-13 10:39:15 -04:00
|
|
|
(define-public qtlanguageserver
|
|
|
|
(package
|
|
|
|
(name "qtlanguageserver")
|
|
|
|
(version "6.5.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (qt-url name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"196iicwpqca2ydpca41qs6aqxxq8ycknw6lm2v00h1w3m86frdbk"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append #$output "/tests")))))))
|
|
|
|
(inputs (list qtbase))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "Implementation of the Language Server Protocol for Qt")
|
|
|
|
(description "This package provides an implementation of the Language
|
|
|
|
Server Protocol (LSP) for Qt.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2016-06-10 00:49:43 -04:00
|
|
|
(define-public qtlocation
|
2023-03-27 16:09:51 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-10 00:49:43 -04:00
|
|
|
(name "qtlocation")
|
2023-08-15 16:20:06 -04:00
|
|
|
(version "5.15.10")
|
2016-06-10 00:49:43 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:51 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:51 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:06 -04:00
|
|
|
"0cvcpf0grwqnk6jxhrwm9xxm3dyc6lqvmb1np7fvkhkzjimx45l8"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:51 -04:00
|
|
|
((#:tests? _ #f) #f) ; TODO: Enable the tests
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:51 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
(lambda _
|
|
|
|
(setenv "HOME" "/tmp")))))))
|
|
|
|
(native-inputs (list perl qtdeclarative-5 qtquickcontrols-5 qtserialport))
|
|
|
|
(inputs (list icu4c openssl qtbase-5 zlib))
|
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 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
|
|
|
|
2022-08-01 17:00:17 -04:00
|
|
|
(define-public qtlottie
|
|
|
|
(package
|
|
|
|
(name "qtlottie")
|
2023-08-11 18:00:22 -04:00
|
|
|
(version "6.5.2")
|
2022-08-01 17:00:17 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-08-01 17:00:17 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:22 -04:00
|
|
|
"16z8fhaa40ig0cggb689zf8j3cid6fk6pmh91b8342ymy1fdqfh0"))))
|
2022-08-01 17:00:17 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(delete 'check) ;move after install
|
|
|
|
(add-after 'install 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml:"
|
|
|
|
(getenv "QML2_IMPORT_PATH"))))))))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list libxkbcommon qtbase qtdeclarative))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "QML API for rendering Bodymovin graphics and animations")
|
|
|
|
(description "Qt Lottie Animation provides a QML API for rendering
|
|
|
|
graphics and animations that are exported in JSON format by the Bodymovin
|
|
|
|
plugin for Adobe After Effects.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2022-07-19 16:52:05 -04:00
|
|
|
(define-public qttools-5
|
2023-03-27 16:09:52 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-10 07:36:30 -04:00
|
|
|
(name "qttools")
|
2023-08-15 16:20:07 -04:00
|
|
|
(version "5.15.10")
|
2016-06-10 07:36:30 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:52 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:52 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:07 -04:00
|
|
|
"1bkx2sc5hyldarc7w76ymv7dlcna3ib9r2kp67jdqcf856bnrx36"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:52 -04:00
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
|
|
|
(native-inputs (list perl qtdeclarative-5 vulkan-headers))
|
|
|
|
(inputs (list mesa qtbase-5))
|
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 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
|
|
|
|
2022-07-19 16:54:06 -04:00
|
|
|
(define-public qttools
|
|
|
|
(package
|
|
|
|
(name "qttools")
|
2023-08-11 18:00:22 -04:00
|
|
|
(version "6.5.2")
|
2022-07-19 16:54:06 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-19 16:54:06 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:22 -04:00
|
|
|
"0ha3v488vnm4pgdpyjgf859sak0z2fwmbgcyivcd93qxflign7sm"))))
|
2022-07-19 16:54:06 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
;; The build system attempts to fetch online resources and fails when
|
|
|
|
;; building the test suite.
|
2022-11-10 12:40:38 -05:00
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=OFF")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'sanity-check
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; This validation exists to validate that the dynamic
|
|
|
|
;; library for Clang works as intended; there was
|
|
|
|
;; originally problems due to left-overs patching the
|
|
|
|
;; value of BUILD_SHARED_LIBS in CLANG-FROM-LLVM that
|
|
|
|
;; would cause the following error: "CommandLine Error:
|
|
|
|
;; Option 'filter' registered more than once!"
|
|
|
|
(invoke/quiet (search-input-file outputs "bin/qdoc")
|
|
|
|
"--help"))))))
|
2022-07-19 16:54:06 -04:00
|
|
|
(native-inputs (list perl qtdeclarative vulkan-headers))
|
2022-11-10 12:40:38 -05:00
|
|
|
;; Use clang-15, which is built using as a single shared library, which is
|
|
|
|
;; what the build system of qttools expects.
|
|
|
|
(inputs (list clang-15 libxkbcommon mesa qtbase))
|
2022-07-19 16:54:06 -04:00
|
|
|
(home-page (package-home-page 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.")
|
|
|
|
;; GPL 3 only with Qt GPL exception 1.0 (see:
|
|
|
|
;; LICENSES/Qt-GPL-exception-1.0.txt).
|
|
|
|
(license (list license:gpl3))))
|
|
|
|
|
2022-11-08 20:56:04 -05:00
|
|
|
(define-public qttranslations
|
|
|
|
(package
|
|
|
|
(name "qttranslations")
|
2023-08-11 18:00:22 -04:00
|
|
|
(version "6.5.2")
|
2022-11-08 20:56:04 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-11-08 20:56:04 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:22 -04:00
|
|
|
"1sxy2ljn5ajvn4yjb8fx86l56viyvqh5r9hf5x67azkmgrilaz1k"))))
|
2022-11-08 20:56:04 -05:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments (list #:tests? #f))
|
|
|
|
(native-inputs (list qtbase qttools))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "Qt translation catalogs")
|
|
|
|
(description "This package contains the translations for Qt contributed by
|
|
|
|
the Qt community.")
|
|
|
|
;; GPL 3 only with Qt GPL exception 1.0 (see:
|
|
|
|
;; LICENSES/Qt-GPL-exception-1.0.txt).
|
|
|
|
(license (list license:gpl3))))
|
|
|
|
|
2016-06-30 05:22:30 -04:00
|
|
|
(define-public qtscript
|
2023-03-27 16:09:52 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-06-30 05:22:30 -04:00
|
|
|
(name "qtscript")
|
2023-08-15 16:20:07 -04:00
|
|
|
(version "5.15.10")
|
2016-06-30 05:22:30 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:52 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:52 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:07 -04:00
|
|
|
"0fvhjsn41f6gx7bmvifxl61fdk6mg9lc6wgnwsfz2kyx0r2wsbb4"))
|
2023-03-27 16:09:52 -04:00
|
|
|
(patches (search-patches "qtscript-disable-tests.patch"))))
|
|
|
|
(native-inputs (list perl qttools-5))
|
|
|
|
(inputs (list qtbase-5))
|
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 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
|
|
|
|
2022-07-17 23:47:28 -04:00
|
|
|
(define-public qtquickcontrols-5
|
2023-03-27 16:09:52 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-08-14 13:54:02 -04:00
|
|
|
(name "qtquickcontrols")
|
2023-08-15 16:20:07 -04:00
|
|
|
(version "5.15.10")
|
2016-08-14 13:54:02 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:52 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:52 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:07 -04:00
|
|
|
"1szgm7d8d2lllq19iyf4ggif933bprgsgmp4wzyg0mwq21rnwsm0"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:52 -04:00
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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
|
|
|
|
2022-07-17 23:49:07 -04:00
|
|
|
(define-public qtquickcontrols2-5
|
2023-03-27 16:09:52 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-08-14 13:57:15 -04:00
|
|
|
(name "qtquickcontrols2")
|
2023-08-15 16:20:08 -04:00
|
|
|
(version "5.15.10")
|
2016-08-14 13:57:15 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:52 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:52 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:08 -04:00
|
|
|
"13pw0ah7ydkl27pvqwdjw8rc3cxgag7jr0a12g1iw0z9zs94r5cp"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:52 -04:00
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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
|
2023-03-27 16:09:53 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2016-08-14 13:58:17 -04:00
|
|
|
(name "qtgraphicaleffects")
|
2023-08-15 16:20:08 -04:00
|
|
|
(version "5.15.10")
|
2016-08-14 13:58:17 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:53 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:53 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:08 -04:00
|
|
|
"01f0glgc74595llfdfmapc3hqw3lqj8lcdmabm0mmnplnabb2b5b"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2023-03-27 16:09:53 -04:00
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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
|
|
|
|
2017-01-05 16:01:45 -05:00
|
|
|
(define-public qtgamepad
|
2023-03-27 16:09:53 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-05 16:01:45 -05:00
|
|
|
(name "qtgamepad")
|
2023-08-15 16:20:08 -04:00
|
|
|
(version "5.15.10")
|
2017-01-05 16:01:45 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:53 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:53 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:08 -04:00
|
|
|
"0xkaib238x1lj6agf4gywgy69826zpxqlda361wlchwasyrbw238"))))
|
2023-03-27 16:09:53 -04:00
|
|
|
(native-inputs (list perl pkg-config))
|
2017-01-05 16:01:45 -05:00
|
|
|
(inputs
|
2022-09-28 07:30:00 -04:00
|
|
|
(list fontconfig
|
|
|
|
freetype
|
|
|
|
libxrender
|
|
|
|
sdl2
|
|
|
|
qtbase-5
|
|
|
|
qtdeclarative-5))
|
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 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
|
2023-03-27 16:09:53 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-05 16:52:40 -05:00
|
|
|
(name "qtscxml")
|
2023-08-15 16:20:08 -04:00
|
|
|
(version "5.15.10")
|
2017-01-05 16:52:40 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:53 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:53 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:08 -04:00
|
|
|
"10lxvdxdkxr2vldhqdp4bk38r7q9j0jy54lrqw9whnyj3y5wgzzi"))
|
2023-03-27 16:09:53 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "tests/3rdparty")
|
|
|
|
;; the scion test refers to the bundled 3rd party test code.
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
|
|
|
(("scion") "#"))))))
|
|
|
|
(arguments (substitute-keyword-arguments (package-arguments qtsvg-5)
|
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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
|
|
|
|
2022-07-19 17:34:45 -04:00
|
|
|
(define-public qtpositioning
|
|
|
|
(package
|
|
|
|
(name "qtpositioning")
|
2023-08-11 18:00:23 -04:00
|
|
|
(version "6.5.2")
|
2022-07-19 17:34:45 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-19 17:34:45 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:23 -04:00
|
|
|
"1yhlfs8izc054qv1krf5qv6zzjlvmz013h74fwamn74dfh1kyjbh"))))
|
2022-07-19 17:34:45 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'delete-installed-tests
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append #$output "/tests")))))))
|
|
|
|
(inputs (list perl qtbase))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "QML and C++ positioning information API")
|
|
|
|
(description "The Qt Positioning API provides positioning information via
|
|
|
|
QML and C++ interfaces. The Qt Positioning API lets you to determine a
|
|
|
|
position by using a variety of possible sources, including satellite, wifi, or
|
|
|
|
text files. That information can then be used to, for example, determine a
|
|
|
|
position on a map. In addition, you can use to the API to retrieve satellite
|
|
|
|
information and perform area based monitoring.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2017-01-05 17:24:54 -05:00
|
|
|
(define-public qtpurchasing
|
2023-03-27 16:09:53 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-05 17:24:54 -05:00
|
|
|
(name "qtpurchasing")
|
2023-08-15 16:20:09 -04:00
|
|
|
(version "5.15.10")
|
2017-01-05 17:24:54 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:53 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:53 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:09 -04:00
|
|
|
"0gzxzcr9x45nd90481hdbj5shvaax00qjr1kx3lkcp13187pyacb"))))
|
2023-03-27 16:09:53 -04:00
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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 07:56:26 -05:00
|
|
|
(define-public qtcharts
|
2023-03-27 16:09:54 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-06 07:56:26 -05:00
|
|
|
(name "qtcharts")
|
2023-08-15 16:20:09 -04:00
|
|
|
(version "5.15.10")
|
2017-01-06 07:56:26 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:54 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:54 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:09 -04:00
|
|
|
"0ax1qab1ibibk2bbwmlmsni7j4y821jzvcvrr63iz6pcw94vwx6h"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:54 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'unpack 'remove-failing-test
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/auto/auto.pro"
|
|
|
|
(("qml") "# qml")
|
|
|
|
(("qml-qtquicktest") "# qml-qtquicktest"))))))))
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 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
|
2023-08-15 16:20:09 -04:00
|
|
|
easily integrated to modern user interfaces. Qt Charts can be used as
|
|
|
|
QWidgets, QGraphicsWidget, or QML types. Users can easily create impressive
|
|
|
|
graphs by selecting one of the charts themes.")
|
2017-10-10 02:55:50 -04:00
|
|
|
(license license:gpl3)))
|
2017-01-06 07:56:26 -05:00
|
|
|
|
2017-01-07 10:57:36 -05:00
|
|
|
(define-public qtdatavis3d
|
2023-03-27 16:09:54 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-01-07 10:57:36 -05:00
|
|
|
(name "qtdatavis3d")
|
2023-08-15 16:20:09 -04:00
|
|
|
(version "5.15.10")
|
2017-01-07 10:57:36 -05:00
|
|
|
(source (origin
|
2023-03-27 16:09:54 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:54 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:09 -04:00
|
|
|
"1lhy6l0hlm8mc21k7bwzkgnj6nn6x1f0h2imk8wqjjcvb5g605g5"))))
|
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
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
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
|
2023-03-27 16:09:54 -04:00
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
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 Data Visualization module")
|
|
|
|
(description "The Qt Data Visualization module provides a way to visualize
|
2023-08-15 16:20:09 -04:00
|
|
|
data in 3D as bar, scatter, and surface graphs. It is especially useful for
|
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
|
|
|
visualizing depth maps and large quantities of rapidly changing data, such as
|
2023-08-15 16:20:09 -04:00
|
|
|
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
|
|
|
|
2022-07-19 20:23:12 -04:00
|
|
|
(define-public qtnetworkauth-5
|
2022-07-17 01:11:46 -04:00
|
|
|
(package (inherit qtsvg-5)
|
2017-08-01 14:24:46 -04:00
|
|
|
(name "qtnetworkauth")
|
2023-08-15 16:20:10 -04:00
|
|
|
(version "5.15.10")
|
2017-08-01 14:24:46 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2017-08-01 14:24:46 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:10 -04:00
|
|
|
"0qf9dqh7rlbyi3fl7610zb86yqxwaq5m3zvwp2c8w1sa0m8jcili"))))
|
2023-03-27 16:09:54 -04:00
|
|
|
(inputs (list qtbase-5))
|
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 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
|
|
|
|
2022-07-19 20:30:07 -04:00
|
|
|
(define-public qtnetworkauth
|
|
|
|
(package
|
|
|
|
(name "qtnetworkauth")
|
2023-08-11 18:00:23 -04:00
|
|
|
(version "6.5.2")
|
2022-07-19 20:30:07 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-19 20:30:07 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:23 -04:00
|
|
|
"0g18kh3zhcfi9ni8cqbbjdc1l6jf99ijv5shcl42jk6219b4pk2f"))))
|
2022-07-19 20:30:07 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments (list #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")))
|
|
|
|
(native-inputs (list perl))
|
|
|
|
(inputs (list qtbase))
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(synopsis "Qt Network Authorization module")
|
|
|
|
(description "The Qt Network Authorization module provides an
|
|
|
|
implementation of OAuth and OAuth2 authenticathon methods for Qt.")
|
|
|
|
(license (package-license qtbase))))
|
|
|
|
|
2017-08-01 14:41:49 -04:00
|
|
|
(define-public qtremoteobjects
|
2023-03-27 16:09:55 -04:00
|
|
|
(package
|
2017-08-01 14:41:49 -04:00
|
|
|
(name "qtremoteobjects")
|
2023-08-11 18:00:23 -04:00
|
|
|
(version "6.5.2")
|
2017-08-01 14:41:49 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:55 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:55 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:23 -04:00
|
|
|
"0k29sk02n54vj1w6vh6xycsjpyfqlijc13fnxh1q7wpgg4gizx60"))))
|
2023-03-27 16:09:55 -04:00
|
|
|
(build-system cmake-build-system)
|
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
|
|
|
(arguments
|
2023-03-27 16:09:55 -04:00
|
|
|
(list
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt render "offscreen", required for tests.
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")))
|
|
|
|
(delete 'check) ;move after the install phase
|
|
|
|
(add-after 'install 'check
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(add-before 'check 'prepare-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append #$output "/lib/qt6/qml:"
|
|
|
|
(getenv "QML2_IMPORT_PATH"))))))))
|
|
|
|
(native-inputs (list perl vulkan-headers))
|
|
|
|
(inputs (list libxkbcommon qtbase 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 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
|
2023-03-27 16:09:55 -04:00
|
|
|
processes or computers.")
|
|
|
|
(home-page (package-home-page qtbase))
|
|
|
|
(license (package-license qtbase))))
|
2017-08-01 15:00:51 -04:00
|
|
|
|
|
|
|
(define-public qtspeech
|
2023-03-27 16:09:55 -04:00
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
2017-08-01 15:00:51 -04:00
|
|
|
(name "qtspeech")
|
2023-08-15 16:20:10 -04:00
|
|
|
(version "5.15.10")
|
2017-08-01 15:00:51 -04:00
|
|
|
(source (origin
|
2023-03-27 16:09:55 -04:00
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2023-03-27 16:09:55 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-15 16:20:10 -04:00
|
|
|
"1qscnqxnm9yvfa0i6xnz04xrhlxf08v3xkas8ng790camr34pwwa"))))
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 04:10:25 -04:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-04 04:10:25 -04:00
|
|
|
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
2023-03-27 16:09:55 -04:00
|
|
|
(inputs (list qtbase-5))
|
|
|
|
(native-inputs (list perl qtdeclarative-5 qtmultimedia-5 qtxmlpatterns))
|
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 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
|
|
|
|
2023-07-21 07:54:46 -04:00
|
|
|
(define-public qtvirtualkeyboard-5
|
|
|
|
(package
|
|
|
|
(inherit qtsvg-5)
|
|
|
|
(name "qtvirtualkeyboard")
|
2023-08-21 12:49:36 -04:00
|
|
|
(version "5.15.10")
|
2023-07-21 07:54:46 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-21 12:49:36 -04:00
|
|
|
(uri (qt-url name version))
|
2023-07-21 07:54:46 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-21 12:49:36 -04:00
|
|
|
"1a1xnk1kmq1k8r1rsa29fq7m3vy2f0fqhy8k46q3ssn32skzlwa5"))))
|
2023-07-21 07:54:46 -04:00
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
|
|
|
((#:tests? _ #f) #f) ; TODO: pass 2 fail test
|
|
|
|
((#:phases phases)
|
|
|
|
`(modify-phases ,phases
|
|
|
|
(add-before 'check 'set-display
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt render "offscreen", required for tests.
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
(system "Xvfb +extension GLX :1 &")))
|
|
|
|
(delete 'check) ;move after the install phase
|
|
|
|
(add-after 'install 'check
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(add-before 'check 'prepare-for-tests
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(setenv "QML2_IMPORT_PATH"
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
"/lib/qt5/qml:"
|
2023-08-21 12:49:36 -04:00
|
|
|
(getenv "QML2_IMPORT_PATH")))))))))
|
2023-07-21 07:54:46 -04:00
|
|
|
(native-inputs (list perl xorg-server-for-tests))
|
|
|
|
(inputs (list qtbase-5 qtdeclarative-5))
|
2023-08-21 12:49:36 -04:00
|
|
|
(propagated-inputs (list qtquickcontrols-5 qtsvg-5))
|
2023-07-21 07:54:46 -04:00
|
|
|
(synopsis "QtQuick virtual keyboard")
|
|
|
|
(description "The Qt Speech module provides a virtual keyboard framework
|
|
|
|
that consists of a C++ backend supporting custom input methods as well as a UI
|
|
|
|
frontend implemented in QML.")))
|
|
|
|
|
2020-07-27 05:57:59 -04:00
|
|
|
(define-public qtspell
|
|
|
|
(package
|
|
|
|
(name "qtspell")
|
2022-01-15 16:50:36 -05:00
|
|
|
(version "1.0.1")
|
2020-07-27 05:57:59 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
(url "https://github.com/manisandro/qtspell")
|
2020-07-27 05:57:59 -04:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2022-01-15 16:50:36 -05:00
|
|
|
(base32 "19ff6jzm699wrxrk57w3d4kl9qxgdipdikpwls9n4aqv4mw7g969"))))
|
2020-07-27 05:57:59 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ;no test
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list pkg-config qttools-5))
|
2020-07-27 05:57:59 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list enchant qtbase-5))
|
2020-07-27 05:57:59 -04:00
|
|
|
(home-page "https://github.com/manisandro/qtspell")
|
|
|
|
(synopsis "Spell checking for Qt text widgets")
|
|
|
|
(description
|
|
|
|
"QtSpell adds spell-checking functionality to Qt's text widgets,
|
|
|
|
using the Enchant spell-checking library.")
|
|
|
|
;; COPYING file specify GPL3, but source code files all refer to GPL2+.
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2022-11-27 22:59:35 -05:00
|
|
|
(define remove-third-party-files
|
|
|
|
#~(begin
|
|
|
|
(define preserved-club
|
|
|
|
;; Prefix exceptions with ./ for comparison with ftw.
|
2022-11-27 23:02:05 -05:00
|
|
|
(map (cut string-append "./" <>)
|
2022-11-27 22:59:35 -05:00
|
|
|
preserved-third-party-files))
|
|
|
|
(define protected (make-regexp "\\.(gn|gyp)i?$"))
|
|
|
|
(define (empty? dir)
|
|
|
|
(equal? (scandir dir) '("." "..")))
|
|
|
|
(define (third-party? file)
|
|
|
|
(string-contains file "/third_party/"))
|
|
|
|
(define (useless? file)
|
|
|
|
(any (cute string-suffix? <> file)
|
|
|
|
'(".zip" ".so" ".dll" ".exe" ".jar")))
|
|
|
|
(define (parents child)
|
|
|
|
;; Return all parent directories of CHILD up to and including
|
|
|
|
;; the closest "third_party".
|
2022-11-27 23:02:05 -05:00
|
|
|
(let loop ((parent (dirname child))
|
|
|
|
(parents '()))
|
|
|
|
(if (string=? "third_party" (basename parent))
|
|
|
|
(cons parent parents)
|
|
|
|
(loop (dirname parent)
|
|
|
|
(cons parent parents)))))
|
2022-11-27 22:59:35 -05:00
|
|
|
(define (remove-loudly file)
|
|
|
|
(format #t "deleting ~a...~%" file)
|
|
|
|
(force-output)
|
|
|
|
(delete-file file))
|
|
|
|
(define (delete-unwanted-files child stat flag base level)
|
|
|
|
(match flag
|
|
|
|
((or 'regular 'symlink 'stale-symlink)
|
|
|
|
(when (third-party? child)
|
|
|
|
(unless (or (member child preserved-club)
|
|
|
|
(any (cute member <> preserved-club)
|
|
|
|
(parents child))
|
|
|
|
(regexp-exec protected child))
|
|
|
|
(remove-loudly child)))
|
|
|
|
(when (and (useless? child) (file-exists? child))
|
|
|
|
(remove-loudly child))
|
|
|
|
#t)
|
|
|
|
('directory-processed
|
|
|
|
(when (empty? child)
|
|
|
|
(rmdir child))
|
|
|
|
#t)
|
|
|
|
(_ #t)))
|
|
|
|
|
|
|
|
(nftw "." delete-unwanted-files 'depth 'physical)
|
|
|
|
|
|
|
|
;; Assert that each preserved item is present to catch
|
|
|
|
;; removals.
|
|
|
|
(for-each (lambda (third-party)
|
|
|
|
(unless (file-exists? third-party)
|
|
|
|
(error (format #f "~s does not exist!~%"
|
|
|
|
third-party))))
|
|
|
|
preserved-club)))
|
|
|
|
|
2022-07-18 07:57:16 -04:00
|
|
|
(define-public qtwebengine-5
|
2020-01-01 11:03:52 -05:00
|
|
|
(package
|
2022-07-17 01:11:46 -04:00
|
|
|
(inherit qtsvg-5)
|
2020-01-01 11:03:52 -05:00
|
|
|
(name "qtwebengine")
|
2023-08-15 16:20:10 -04:00
|
|
|
(version "5.15.10")
|
2020-01-03 13:32:52 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2020-01-03 13:32:52 -05:00
|
|
|
(sha256
|
gnu: Qt: Update to 5.12.7 [fixes CVE-2020-0569, CVE-2020-0570].
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.12.7.
2020-02-01 08:40:52 -05:00
|
|
|
(base32
|
2023-08-15 16:20:10 -04:00
|
|
|
"1rz6vbmr1aydmixayazmpsy7v2naq25l72q1gmvrhf9yf69584q8"))
|
2020-01-03 13:32:52 -05:00
|
|
|
(modules '((ice-9 ftw)
|
|
|
|
(ice-9 match)
|
|
|
|
(srfi srfi-1)
|
|
|
|
(srfi srfi-26)
|
|
|
|
(guix build utils)))
|
|
|
|
(snippet
|
2022-11-27 22:59:35 -05:00
|
|
|
#~(begin
|
2023-03-27 16:09:55 -04:00
|
|
|
(let ((preserved-third-party-files
|
|
|
|
'("base/third_party/double_conversion"
|
|
|
|
"base/third_party/cityhash"
|
|
|
|
"base/third_party/cityhash_v103"
|
|
|
|
"base/third_party/dynamic_annotations"
|
|
|
|
"base/third_party/icu"
|
|
|
|
"base/third_party/libevent"
|
|
|
|
"base/third_party/nspr"
|
|
|
|
"base/third_party/superfasthash"
|
|
|
|
"base/third_party/symbolize"
|
|
|
|
"base/third_party/xdg_mime"
|
|
|
|
"base/third_party/xdg_user_dirs"
|
|
|
|
"net/third_party/mozilla_security_manager"
|
|
|
|
"net/third_party/nss"
|
|
|
|
"net/third_party/quiche"
|
|
|
|
"net/third_party/uri_template"
|
|
|
|
"third_party/abseil-cpp"
|
|
|
|
"third_party/angle"
|
|
|
|
"third_party/angle/src/common/third_party/base"
|
|
|
|
"third_party/angle/src/common/third_party/smhasher"
|
|
|
|
"third_party/angle/src/common/third_party/xxhash"
|
|
|
|
"third_party/angle/src/third_party/compiler"
|
|
|
|
"third_party/axe-core"
|
|
|
|
"third_party/blink"
|
|
|
|
"third_party/boringssl"
|
|
|
|
"third_party/boringssl/src/third_party/fiat"
|
|
|
|
"third_party/breakpad"
|
|
|
|
"third_party/brotli"
|
|
|
|
"third_party/catapult/common/py_vulcanize/py_vulcanize"
|
|
|
|
"third_party/catapult/common/py_vulcanize/third_party"
|
|
|
|
"third_party/catapult/third_party/beautifulsoup4"
|
|
|
|
"third_party/catapult/third_party/html5lib-python"
|
|
|
|
"third_party/catapult/third_party/polymer/components"
|
|
|
|
"third_party/catapult/tracing"
|
|
|
|
"third_party/catapult/tracing/third_party"
|
|
|
|
"third_party/ced"
|
|
|
|
"third_party/cld_3"
|
|
|
|
"third_party/closure_compiler"
|
|
|
|
"third_party/crashpad"
|
|
|
|
"third_party/crashpad/crashpad/third_party/lss"
|
|
|
|
"third_party/crashpad/crashpad/third_party/zlib"
|
|
|
|
"third_party/crc32c"
|
|
|
|
"third_party/dav1d"
|
|
|
|
"third_party/dawn"
|
|
|
|
"third_party/devtools-frontend"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party"
|
|
|
|
"third_party/devtools-frontend/src/third_party/typescript"
|
|
|
|
"third_party/emoji-segmenter"
|
|
|
|
"third_party/ffmpeg"
|
|
|
|
"third_party/googletest"
|
|
|
|
"third_party/harfbuzz-ng/utils"
|
|
|
|
"third_party/hunspell"
|
|
|
|
"third_party/iccjpeg"
|
|
|
|
"third_party/icu"
|
|
|
|
"third_party/inspector_protocol"
|
|
|
|
"third_party/jinja2"
|
|
|
|
"third_party/jsoncpp"
|
|
|
|
"third_party/jstemplate"
|
|
|
|
"third_party/khronos"
|
|
|
|
"third_party/leveldatabase"
|
|
|
|
"third_party/libaddressinput"
|
|
|
|
"third_party/libavif"
|
|
|
|
"third_party/libgifcodec"
|
|
|
|
"third_party/libjingle_xmpp"
|
|
|
|
"third_party/libjpeg_turbo"
|
|
|
|
"third_party/libpng"
|
|
|
|
"third_party/libsrtp"
|
|
|
|
"third_party/libsync"
|
|
|
|
"third_party/libudev"
|
|
|
|
"third_party/libvpx"
|
|
|
|
"third_party/libwebm"
|
|
|
|
"third_party/libwebp"
|
|
|
|
"third_party/libxml"
|
|
|
|
"third_party/libxslt"
|
|
|
|
"third_party/libyuv"
|
|
|
|
"third_party/lottie"
|
|
|
|
"third_party/lss"
|
|
|
|
"third_party/mako"
|
|
|
|
"third_party/markupsafe"
|
|
|
|
"third_party/mesa_headers"
|
|
|
|
"third_party/metrics_proto"
|
|
|
|
"third_party/modp_b64"
|
|
|
|
"third_party/nasm"
|
|
|
|
"third_party/node"
|
|
|
|
"third_party/one_euro_filter"
|
2023-08-15 16:20:10 -04:00
|
|
|
"third_party/openh264"
|
2023-03-27 16:09:55 -04:00
|
|
|
"third_party/opus"
|
|
|
|
"third_party/ots"
|
|
|
|
"third_party/pdfium"
|
|
|
|
"third_party/pdfium/third_party/agg23"
|
|
|
|
"third_party/pdfium/third_party/base"
|
|
|
|
"third_party/pdfium/third_party/freetype"
|
|
|
|
"third_party/pdfium/third_party/lcms"
|
|
|
|
"third_party/pdfium/third_party/libopenjpeg20"
|
|
|
|
"third_party/pdfium/third_party/skia_shared"
|
|
|
|
"third_party/perfetto"
|
|
|
|
"third_party/pffft"
|
|
|
|
"third_party/ply"
|
|
|
|
"third_party/polymer"
|
|
|
|
"third_party/protobuf"
|
|
|
|
"third_party/protobuf/third_party/six"
|
|
|
|
"third_party/pyjson5"
|
|
|
|
"third_party/re2"
|
|
|
|
"third_party/rnnoise"
|
|
|
|
"third_party/skia"
|
|
|
|
"third_party/skia/include/third_party/skcms/skcms.h"
|
|
|
|
"third_party/skia/include/third_party/vulkan"
|
|
|
|
"third_party/skia/third_party/skcms"
|
|
|
|
"third_party/smhasher"
|
|
|
|
"third_party/snappy"
|
|
|
|
"third_party/sqlite"
|
|
|
|
"third_party/usb_ids"
|
|
|
|
"third_party/usrsctp"
|
|
|
|
"third_party/vulkan_memory_allocator"
|
|
|
|
"third_party/web-animations-js"
|
|
|
|
"third_party/webrtc"
|
|
|
|
"third_party/webrtc/common_audio/third_party/ooura/fft_size_128"
|
|
|
|
"third_party/webrtc/common_audio/third_party/ooura/fft_size_256"
|
|
|
|
"third_party/webrtc/common_audio/third_party/spl_sqrt_floor"
|
|
|
|
"third_party/webrtc/modules/third_party/fft"
|
|
|
|
"third_party/webrtc/modules/third_party/g711"
|
|
|
|
"third_party/webrtc/modules/third_party/g722"
|
|
|
|
"third_party/webrtc/rtc_base/third_party/base64"
|
|
|
|
"third_party/webrtc/rtc_base/third_party/sigslot"
|
|
|
|
"third_party/webrtc_overrides"
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_common.h"
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_version.h"
|
|
|
|
"third_party/woff2"
|
|
|
|
"third_party/xcbproto"
|
|
|
|
"third_party/zlib"
|
|
|
|
"url/third_party/mozilla"
|
|
|
|
"v8/src/third_party/utf8-decoder"
|
|
|
|
"v8/src/third_party/valgrind"
|
|
|
|
"v8/src/third_party/siphash"
|
|
|
|
"v8/third_party/v8/builtins"
|
|
|
|
"v8/third_party/inspector_protocol")))
|
|
|
|
|
|
|
|
(with-directory-excursion "src/3rdparty"
|
|
|
|
;; TODO: Try removing "gn" too for future versions of qtwebengine-5.
|
|
|
|
(delete-file-recursively "ninja")
|
|
|
|
|
|
|
|
(with-directory-excursion "chromium"
|
|
|
|
;; Delete bundled software and binaries that were not explicitly
|
|
|
|
;; preserved above.
|
|
|
|
#$remove-third-party-files
|
|
|
|
|
|
|
|
;; Use relative header locations instead of hard coded ones.
|
|
|
|
(substitute*
|
|
|
|
"base/third_party/dynamic_annotations/dynamic_annotations.c"
|
|
|
|
(("base/third_party/valgrind") "valgrind"))
|
|
|
|
(substitute* '("third_party/breakpad/breakpad/src/common\
|
|
|
|
/linux/http_upload.cc"
|
|
|
|
"third_party/breakpad/breakpad/src/common/\
|
|
|
|
linux/libcurl_wrapper.h")
|
|
|
|
(("third_party/curl") "curl"))
|
|
|
|
(substitute*
|
|
|
|
'("components/viz/common/gpu/vulkan_context_provider.h"
|
|
|
|
"components/viz/common/resources/resource_format_utils.h"
|
|
|
|
"gpu/config/gpu_info_collector_win.cc"
|
|
|
|
"gpu/config/gpu_util.cc"
|
|
|
|
"gpu/config/vulkan_info.h")
|
|
|
|
(("third_party/vulkan_headers/include/")
|
|
|
|
""))
|
|
|
|
|
|
|
|
;; Replace Google Analytics bundle with an empty file and hope
|
|
|
|
;; no one notices.
|
|
|
|
(mkdir-p "third_party/analytics")
|
|
|
|
(call-with-output-file
|
|
|
|
"third_party/analytics/google-analytics-bundle.js"
|
|
|
|
(lambda (port)
|
|
|
|
(const #t)))))
|
|
|
|
;; Do not enable support for loading the Widevine DRM plugin.
|
|
|
|
(substitute* "src/buildtools/config/common.pri"
|
|
|
|
(("enable_widevine=true")
|
|
|
|
"enable_widevine=false")))))))
|
2020-01-01 11:03:52 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
2022-05-14 02:18:11 -04:00
|
|
|
(list bison
|
|
|
|
flex
|
|
|
|
gperf
|
|
|
|
ninja
|
gnu: qt-5: Update to 5.15.4.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtconnectivity, qtwebsockets, qtsensors, qtmultimedia,
qtwayland, qtserialport, qtserialbus, qtwebchannel, qtwebglplugin,
qtwebview, qtlocation, qttools, qtscript, qtquickcontrols,
qtquickcontrols2, qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing,
qtcharts, qtdatavis3d, qtnetworkauth, qtremoteobjects, qtspeech,
qtwebengine): Update to 5.15.4.
(qt5-urls): Adjust to new upstream URI names.
(qtsvg, qtxmlpatterns, qtdeclarative, qtsensors, qtwayland, qtserialport,
qtwebglplugin, qtscxml, qtremoteobjects)[arguments]: Remove trailing #t
from phases.
(qtimageformats, qtmultimedia)[source]: Remove #t from snippet.
(qtimageformats)[arguments]: Remove field.
(qtxmlpatterns)[arguments]: Enable tests. Add phase to skip another test.
(qtlocation)[source]: Use qt5-urls format.
[arguments]: Add phase in preparation to run the tests.
(qtcharts)[arguments]: Don't disable the tests. Add a phase to skip some
failing tests.
(qtnetworkauth)[arguments]: Remove field.
(qtwebengine)[source]: Adjust the preserved-third-party-files and the
substitutions due to changes in the sources.
[native-inputs]: Add node.
2022-05-31 12:46:20 -04:00
|
|
|
node
|
2022-05-14 02:18:11 -04:00
|
|
|
perl
|
|
|
|
pkg-config
|
|
|
|
python2-six
|
|
|
|
python-2
|
2023-06-17 05:40:00 -04:00
|
|
|
ruby-2.7))
|
2020-01-01 11:03:52 -05:00
|
|
|
(inputs
|
2022-05-14 02:18:11 -04:00
|
|
|
(list alsa-lib
|
gnu: Replace all uses of atk by at-spi2-core.
* gnu/packages/animation.scm (gnash)
* gnu/packages/chromium.scm (ungoogled-chromium)
* gnu/packages/crates-gtk.scm (rust-atk-sys-0.14,
rust-atk-sys-0.10, rust-atk-0.14, rust-gtk-0.14)
* gnu/packages/gimp.scm (gimp)
* gnu/packages/gnome.scm (evince, glade3, clutter, totem, rhythmbox, mutter, ghex):
* gnu/packages/graphviz.scm (xdot)
* gnu/packages/gtk.scm (gtk+-2, gtk+, guile-gnome, atkmm)
* gnu/packages/mate.scm (mate-applets, atril, mate-control-center, mate-calc,
mate-utils, eom, pluma)
* gnu/packages/messaging.scm (dino)
* gnu/packages/qt.scm (qtwebengine-5)
* gnu/packages/rust-apps.scm (alfis)
* gnu/packages/vim.scm (vim-full)
* gnu/packages/vnc.scm (remmina)
* gnu/packages/web.scm (castor): Replace atk by at-spi2-core.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-30 17:48:13 -04:00
|
|
|
at-spi2-core
|
2022-05-14 02:18:11 -04:00
|
|
|
cups-minimal
|
|
|
|
curl
|
|
|
|
dbus
|
gnu: ffmpeg: Promote version 5 to the default.
* gnu/packages/video.scm (ffmpeg): Alias to FFMPEG-5.
(mlt-6)[inpust]: Replace "ffmpeg" with FFMPEG-4.
(transcode, libquicktime, ffmpegthumbnailer, mplayer, obs,
simplescreenrecorder, handbrake, ffms2, libopenshot, wlstream)[inputs]: Change
from FFMPEG to FFMPEG-4.
* gnu/packages/arcan.scm (arcan)[inputs]: Likewise.
* gnu/packages/astronomy.scm (stackistry, libskry)[inputs]: Likewise.
* gnu/packages/audio.scm (aubio, bs1770gain)[inputs]: Likewise.
* gnu/packages/education.scm (openboard)[inputs]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu, retroarch, pcsxr, ppsspp)[inputs]:
Likewise.
* gnu/packages/game-development.scm (warsow-qfusion)[inputs]: Likewise.
* gnu/packages/games.scm (oshu, hedgewars)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/graphics.scm (openscenegraph)[inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv, paraview-5.9)[inputs]: Likewise.
* gnu/packages/julia-jll.scm (julia-ffmpeg-jll)[inputs]: Likewise.
* gnu/packages/kde-multimedia.scm (kid3)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/linphone.scm (mediastreamer2)[inputs]: Likewise.
* gnu/packages/linux.scm (pipewire)[inputs]: Likewise.
(pipewire-0.3)[inputs]: Replace "ffmpeg" with FFMPEG.
* gnu/packages/mp3.scm (chromaprint)[inputs]: Change from FFMPEG to FFMPEG-4.
* gnu/packages/music.scm (musikcube)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/qt.scm (qtwebengine-5)[inputs]: Likewise.
2022-12-12 08:27:05 -05:00
|
|
|
ffmpeg-4
|
2022-05-14 02:18:11 -04:00
|
|
|
fontconfig
|
|
|
|
harfbuzz
|
|
|
|
icu4c
|
|
|
|
jsoncpp
|
|
|
|
lcms
|
|
|
|
libcap
|
|
|
|
libevent
|
|
|
|
libgcrypt
|
|
|
|
libjpeg-turbo
|
|
|
|
libvpx
|
|
|
|
libwebp
|
|
|
|
libx11
|
|
|
|
libxcb
|
|
|
|
libxcomposite
|
|
|
|
libxcursor
|
gnu: qt-5: Update to 5.15.5.
* gnu/packages/qt.scm (qtbase-5, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgraphicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech, qtwebengine): Update to 5.15.5.
(qtscxml)[arguments]: Skip tests.
(qtwebengine)[inputs]: Add libxkbfile.
2022-06-28 05:40:54 -04:00
|
|
|
libxkbfile
|
2022-05-14 02:18:11 -04:00
|
|
|
libxi
|
|
|
|
libxkbcommon
|
|
|
|
;; FIXME: libxml2 needs to built with icu support though it links to
|
|
|
|
;; libxml2 configure summary still states "Checking for compatible
|
|
|
|
;; system libxml2... no"
|
|
|
|
libxml2
|
|
|
|
openh264
|
|
|
|
libxrandr
|
|
|
|
libxrender
|
|
|
|
libxslt
|
|
|
|
libxtst
|
|
|
|
mesa
|
|
|
|
minizip
|
|
|
|
nss
|
|
|
|
opus
|
|
|
|
pciutils
|
|
|
|
protobuf
|
|
|
|
pulseaudio
|
2022-07-17 19:00:48 -04:00
|
|
|
qtmultimedia-5
|
2022-05-14 02:18:11 -04:00
|
|
|
re2
|
|
|
|
snappy
|
|
|
|
eudev
|
|
|
|
valgrind
|
|
|
|
vulkan-headers
|
|
|
|
xcb-util))
|
2022-11-27 13:26:18 -05:00
|
|
|
(propagated-inputs
|
|
|
|
;; Required by Qt5WebEngineCoreConfig.cmake.
|
|
|
|
(list qtbase-5 qtdeclarative-5 qtwebchannel-5))
|
2020-01-01 11:03:52 -05:00
|
|
|
(arguments
|
2022-07-17 01:11:46 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments qtsvg-5)
|
2021-05-30 08:39:15 -04:00
|
|
|
((#:modules modules '())
|
|
|
|
`((guix build gnu-build-system)
|
|
|
|
(guix build utils)
|
|
|
|
(ice-9 textual-ports)))
|
2020-01-01 11:03:52 -05:00
|
|
|
((#:phases phases)
|
2023-03-27 16:09:55 -04:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-before 'configure 'substitute-source
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(with-atomic-file-replacement
|
|
|
|
"src/buildtools/config/linux.pri"
|
|
|
|
(lambda (in out)
|
|
|
|
(display (get-string-all in) out)
|
|
|
|
(display "\ngn_args += use_system_openh264=true\n" out)
|
|
|
|
(display "\ngn_args += link_pulseaudio = true\n" out)))
|
|
|
|
;; Qtwebengine is not installed into the same prefix as
|
|
|
|
;; qtbase. Some qtbase QTLibraryInfo constants will not
|
|
|
|
;; work. Replace with the full path to the qtwebengine-5
|
|
|
|
;; translations and locales in the store.
|
|
|
|
(substitute* "src/core/web_engine_library_info.cpp"
|
|
|
|
(("QLibraryInfo::location\\(QLibraryInfo::TranslationsPath\\)")
|
|
|
|
(string-append "QLatin1String(\"" #$output
|
|
|
|
"/share/qt5/translations\")"))
|
|
|
|
(("QLibraryInfo::location\\(QLibraryInfo::DataPath\\)")
|
|
|
|
(string-append "QLatin1String(\"" #$output
|
|
|
|
"/share/qt5\")")))
|
|
|
|
;; Substitute full dynamic library path for nss.
|
|
|
|
(substitute* "src/3rdparty/chromium/crypto/nss_util.cc"
|
|
|
|
(("libnssckbi.so")
|
|
|
|
(search-input-file inputs "lib/nss/libnssckbi.so")))
|
|
|
|
;; Substitute full dynamic library path for udev.
|
|
|
|
(substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc"
|
|
|
|
(("libudev.so.1")
|
|
|
|
(search-input-file inputs "lib/libudev.so.1")))))
|
|
|
|
(add-before 'configure 'set-env
|
|
|
|
(lambda _
|
|
|
|
;; Avoids potential race conditions.
|
|
|
|
(setenv "PYTHONDONTWRITEBYTECODE" "1")
|
|
|
|
(setenv "NINJAFLAGS"
|
|
|
|
(string-append "-k1" ;less verbose build output
|
|
|
|
;; Respect the '--cores' option of 'guix build'.
|
|
|
|
" -j" (number->string (parallel-job-count))))))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
;; Valid QT_BUILD_PARTS variables are:
|
|
|
|
;; libs tools tests examples demos docs translations
|
|
|
|
(invoke "qmake" "QT_BUILD_PARTS = libs tools" "--"
|
|
|
|
"--webengine-printing-and-pdf=no"
|
|
|
|
"--webengine-ffmpeg=system"
|
2022-07-18 07:57:16 -04:00
|
|
|
;; FIXME: Building qtwebengine-5 5.12.2 with
|
2021-09-08 04:52:04 -04:00
|
|
|
;; icu4c >= 68 fails.
|
|
|
|
;;"--webengine-icu=system"
|
2023-03-27 16:09:55 -04:00
|
|
|
"--webengine-pepper-plugins=no"
|
|
|
|
"-webengine-proprietary-codecs")))))
|
2020-01-01 11:03:52 -05:00
|
|
|
;; Tests are disabled due to "Could not find QtWebEngineProcess error"
|
|
|
|
;; It's possible this can be fixed by setting QTWEBENGINEPROCESS_PATH
|
|
|
|
;; before running tests.
|
|
|
|
((#:tests? _ #f) #f)))
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(file-type 'regular)
|
|
|
|
(separator #f)
|
|
|
|
(variable "QTWEBENGINEPROCESS_PATH")
|
|
|
|
(files '("lib/qt5/libexec/QtWebEngineProcess")))))
|
|
|
|
(home-page "https://wiki.qt.io/QtWebEngine")
|
|
|
|
(synopsis "Qt WebEngine module")
|
|
|
|
(description "The Qt5WebEngine module provides support for web applications
|
|
|
|
using the Chromium browser project. The Chromium source code has Google services
|
|
|
|
and binaries removed, and adds modular support for using system libraries.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2022-07-18 23:13:46 -04:00
|
|
|
(define-public qtwebengine
|
|
|
|
(package
|
|
|
|
(name "qtwebengine")
|
2023-08-11 18:00:24 -04:00
|
|
|
(version "6.5.2")
|
2022-07-18 23:13:46 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-08-09 14:03:01 -04:00
|
|
|
(uri (qt-url name version))
|
2022-07-18 23:13:46 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-11 18:00:24 -04:00
|
|
|
"17qxf3asyxq6kcqqvml170n7rnzih3nr4srp9r5v80pmas5l7jg7"))
|
2022-07-18 23:13:46 -04:00
|
|
|
(modules '((ice-9 ftw)
|
|
|
|
(ice-9 match)
|
|
|
|
(srfi srfi-1)
|
|
|
|
(srfi srfi-26)
|
|
|
|
(guix build utils)))
|
|
|
|
(snippet
|
2022-11-27 22:59:35 -05:00
|
|
|
#~(begin
|
2023-08-11 18:00:24 -04:00
|
|
|
;; Note: Anything under a 'third_party/' directory that needs to
|
|
|
|
;; be preserved must be explicitly added below, otherwise it gets
|
|
|
|
;; removed by the 'remove-third-party-files' code snippet included
|
|
|
|
;; below. It is useful to refer to the list used by
|
|
|
|
;; ungoogled-chromium when upgrading, but not all of the items
|
|
|
|
;; present in it will need to be reported here, as Qt already
|
|
|
|
;; removes components its build doesn't use.
|
|
|
|
(let ((preserved-third-party-files
|
2022-07-18 23:13:46 -04:00
|
|
|
'("base/third_party/double_conversion"
|
|
|
|
"base/third_party/cityhash"
|
|
|
|
"base/third_party/cityhash_v103"
|
|
|
|
"base/third_party/dynamic_annotations"
|
|
|
|
"base/third_party/icu"
|
|
|
|
"base/third_party/nspr"
|
|
|
|
"base/third_party/superfasthash"
|
|
|
|
"base/third_party/symbolize"
|
|
|
|
"base/third_party/xdg_mime"
|
|
|
|
"base/third_party/xdg_user_dirs"
|
|
|
|
"net/third_party/mozilla_security_manager"
|
|
|
|
"net/third_party/nss"
|
|
|
|
"net/third_party/quiche"
|
|
|
|
"net/third_party/uri_template"
|
|
|
|
"third_party/abseil-cpp"
|
|
|
|
"third_party/angle"
|
|
|
|
"third_party/angle/src/common/third_party/base"
|
|
|
|
"third_party/angle/src/common/third_party/smhasher"
|
|
|
|
"third_party/angle/src/common/third_party/xxhash"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/angle/src/third_party/libXNVCtrl" ;Expat
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/angle/src/third_party/trace_event"
|
|
|
|
"third_party/angle/src/third_party/volk"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/axe-core"
|
|
|
|
"third_party/blink"
|
|
|
|
"third_party/boringssl"
|
|
|
|
"third_party/boringssl/src/third_party/fiat"
|
|
|
|
"third_party/breakpad"
|
|
|
|
"third_party/brotli"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/catapult"
|
|
|
|
"third_party/catapult/common/py_vulcanize/third_party/rcssmin"
|
|
|
|
"third_party/catapult/common/py_vulcanize/third_party/rjsmin"
|
|
|
|
"third_party/catapult/third_party/polymer"
|
|
|
|
"third_party/catapult/tracing/third_party/d3/d3.min.js"
|
|
|
|
"third_party/catapult/tracing/third_party/gl-matrix/dist/gl-matrix-min.js"
|
|
|
|
"third_party/catapult/tracing/third_party/jpeg-js/jpeg-js-decoder.js"
|
|
|
|
"third_party/catapult/tracing/third_party/jszip/jszip.min.js"
|
|
|
|
"third_party/catapult/tracing/third_party/mannwhitneyu/mannwhitneyu.js"
|
|
|
|
"third_party/catapult/tracing/third_party/oboe/dist"
|
|
|
|
"third_party/catapult/tracing/third_party/pako/pako.min.js"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/ced"
|
|
|
|
"third_party/cld_3"
|
|
|
|
"third_party/closure_compiler"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/cpuinfo" ;BSD-2
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/crashpad"
|
|
|
|
"third_party/crashpad/crashpad/third_party/lss"
|
|
|
|
"third_party/crashpad/crashpad/third_party/zlib"
|
|
|
|
"third_party/crc32c"
|
|
|
|
"third_party/dav1d"
|
|
|
|
"third_party/dawn"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/dawn/third_party/gn/webgpu-cts"
|
|
|
|
"third_party/dawn/third_party/khronos"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/devtools-frontend"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/i18n"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/acorn"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/acorn-loose"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/\
|
|
|
|
additional_readme_paths.json"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/axe-core"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/chromium"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/codemirror"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/codemirror.next"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/diff"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/i18n"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/intl-messageformat"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/lighthouse"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/lit-html"
|
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/marked"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/puppeteer"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/devtools-frontend/src/front_end/third_party/wasmparser"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/devtools-frontend/src/third_party/typescript"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/distributed_point_functions"
|
|
|
|
"third_party/dom_distiller_js"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/emoji-segmenter"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/fdlibm"
|
2022-12-01 11:16:50 -05:00
|
|
|
"third_party/ffmpeg/libavcodec/avcodec.h"
|
|
|
|
"third_party/ffmpeg/libavcodec/packet.h"
|
|
|
|
"third_party/ffmpeg/libavformat/avformat.h"
|
|
|
|
"third_party/ffmpeg/libavformat/avio.h"
|
|
|
|
"third_party/ffmpeg/libavutil/avutil.h"
|
|
|
|
"third_party/ffmpeg/libavutil/imgutils.h"
|
|
|
|
"third_party/ffmpeg/libavutil/log.h"
|
|
|
|
"third_party/ffmpeg/libavutil/mathematics.h"
|
|
|
|
"third_party/ffmpeg/libavutil/opt.h"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/fft2d"
|
|
|
|
"third_party/flatbuffers"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/freetype"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/gemmlowp" ;ASL2.0
|
|
|
|
"third_party/google_input_tools" ;ASL2.0
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/googletest"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/harfbuzz-ng"
|
|
|
|
"third_party/highway"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/hunspell"
|
|
|
|
"third_party/iccjpeg"
|
2022-12-01 11:16:50 -05:00
|
|
|
"third_party/icu" ;TODO: make pdfium use system version
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/inspector_protocol"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/ipcz" ;BSD-3
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/jinja2"
|
|
|
|
"third_party/jsoncpp"
|
|
|
|
"third_party/jstemplate"
|
|
|
|
"third_party/khronos"
|
|
|
|
"third_party/leveldatabase"
|
|
|
|
"third_party/libaddressinput"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/libaom"
|
|
|
|
"third_party/libaom/source/libaom/third_party/fastfeat"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libaom/source/libaom/third_party/SVT-AV1" ;BSD-3
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/libaom/source/libaom/third_party/vector"
|
|
|
|
"third_party/libaom/source/libaom/third_party/x86inc"
|
|
|
|
"third_party/libavif"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libevent"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/libgav1"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/libjingle_xmpp"
|
|
|
|
"third_party/libjpeg_turbo"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/libjxl"
|
2022-12-01 11:16:50 -05:00
|
|
|
"third_party/libpng" ;TODO: make pdfium use system version
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libsecret" ;LGPL2.1+
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/libsrtp"
|
|
|
|
"third_party/libsync"
|
|
|
|
"third_party/libudev"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/liburlpattern"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/libvpx"
|
|
|
|
"third_party/libwebm"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libwebp"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/libx11"
|
|
|
|
"third_party/libxcb-keysyms"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libxml"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/libyuv"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/libzip" ;BSD-3
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/lottie"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/lss"
|
|
|
|
"third_party/mako"
|
|
|
|
"third_party/markupsafe"
|
|
|
|
"third_party/mesa_headers"
|
|
|
|
"third_party/metrics_proto"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/minigbm" ;BSD-3
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/modp_b64"
|
|
|
|
"third_party/nasm"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/nearby" ;ASL2.0
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/node"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/omnibox_proto" ;BSD-3
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/one_euro_filter"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/openscreen" ;BSD-3
|
|
|
|
"third_party/openscreen/src/third_party/tinycbor" ;Expat
|
|
|
|
"third_party/openscreen/src/third_party/mozilla" ;MPL1.1/GPL2+/LGPL2.1+, BSD-3
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/openh264"
|
2022-12-01 11:16:50 -05:00
|
|
|
"third_party/opus/src/include/opus.h"
|
|
|
|
"third_party/opus/src/include/opus_custom.h"
|
|
|
|
"third_party/opus/src/include/opus_defines.h"
|
|
|
|
"third_party/opus/src/include/opus_multistream.h"
|
|
|
|
"third_party/opus/src/include/opus_types.h"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/ots"
|
|
|
|
"third_party/pdfium"
|
|
|
|
"third_party/pdfium/third_party/agg23"
|
|
|
|
"third_party/pdfium/third_party/base"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/pdfium/third_party/bigint"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/pdfium/third_party/freetype"
|
|
|
|
"third_party/pdfium/third_party/lcms"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/pdfium/third_party/libopenjpeg"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/pdfium/third_party/libpng16"
|
|
|
|
"third_party/pdfium/third_party/libtiff"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/pdfium/third_party/skia_shared"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/pdfium/third_party/freetype/include/pstables.h" ;FreeType
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/perfetto"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/perfetto/protos/third_party/chromium"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/pffft"
|
|
|
|
"third_party/ply"
|
|
|
|
"third_party/polymer"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/private_membership" ;ASL2.0
|
|
|
|
"third_party/private-join-and-compute" ;ASL2.0
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/protobuf"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/pthreadpool" ;BSD-2
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/pyjson5"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/qcms" ;Expat
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/re2"
|
|
|
|
"third_party/rnnoise"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/ruy" ;ASL2.0
|
|
|
|
"third_party/s2cellid" ;ASL2.0
|
|
|
|
"third_party/securemessage" ;ASL2.0
|
|
|
|
"third_party/shell-encryption" ;ASL2.0
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/skia"
|
|
|
|
"third_party/skia/include/third_party/vulkan"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/skia/modules/skcms"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/skia/third_party/vulkanmemoryallocator"
|
|
|
|
"third_party/smhasher"
|
|
|
|
"third_party/snappy"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/speech-dispatcher"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/sqlite"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/swiftshader" ;ASL2.0
|
|
|
|
"third_party/swiftshader/third_party/llvm-10.0" ;ASL2.0, with LLVM exception
|
|
|
|
"third_party/swiftshader/third_party/marl" ;ASL2.0
|
|
|
|
"third_party/swiftshader/third_party/SPIRV-Headers" ;X11-style
|
|
|
|
"third_party/swiftshader/third_party/SPIRV-Tools" ;ASL2.0
|
|
|
|
"third_party/tensorflow-text" ;ASL2.0
|
|
|
|
"third_party/tflite" ;ASL2.0
|
|
|
|
"third_party/ukey2" ;ASL2.0
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/usb_ids"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/utf" ;Expat
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/vulkan-deps/glslang"
|
|
|
|
"third_party/vulkan-deps/spirv-headers"
|
|
|
|
"third_party/vulkan-deps/spirv-tools"
|
|
|
|
"third_party/vulkan-deps/vulkan-headers"
|
|
|
|
"third_party/vulkan-deps/vulkan-loader"
|
|
|
|
"third_party/vulkan-deps/vulkan-tools"
|
|
|
|
"third_party/vulkan-deps/vulkan-validation-layers"
|
|
|
|
"third_party/vulkan_memory_allocator"
|
2022-07-18 23:13:46 -04:00
|
|
|
"third_party/web-animations-js"
|
|
|
|
"third_party/webrtc"
|
|
|
|
"third_party/webrtc/common_audio/third_party/ooura"
|
|
|
|
"third_party/webrtc/common_audio/third_party/spl_sqrt_floor"
|
|
|
|
"third_party/webrtc/modules/third_party/fft"
|
|
|
|
"third_party/webrtc/modules/third_party/g711"
|
|
|
|
"third_party/webrtc/modules/third_party/g722"
|
|
|
|
"third_party/webrtc/rtc_base/third_party/base64"
|
|
|
|
"third_party/webrtc/rtc_base/third_party/sigslot"
|
|
|
|
"third_party/webrtc_overrides"
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_common.h"
|
|
|
|
"third_party/widevine/cdm/widevine_cdm_version.h"
|
|
|
|
"third_party/woff2"
|
2022-11-27 22:59:35 -05:00
|
|
|
"third_party/wuffs"
|
|
|
|
"third_party/x11proto"
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/xnnpack" ;BSD-3
|
2022-12-01 11:16:50 -05:00
|
|
|
"third_party/zlib" ;TODO: make pdfium use system version
|
2023-08-11 18:00:24 -04:00
|
|
|
"third_party/zxcvbn-cpp" ;Expat
|
2022-07-18 23:13:46 -04:00
|
|
|
"url/third_party/mozilla"
|
2023-08-11 18:00:24 -04:00
|
|
|
"v8/src/third_party/siphash"
|
2022-07-18 23:13:46 -04:00
|
|
|
"v8/src/third_party/utf8-decoder"
|
|
|
|
"v8/src/third_party/valgrind"
|
2023-08-11 18:00:24 -04:00
|
|
|
"v8/third_party/inspector_protocol"
|
|
|
|
"v8/third_party/v8/builtins")))
|
2022-07-18 23:13:46 -04:00
|
|
|
|
|
|
|
(with-directory-excursion "src/3rdparty"
|
|
|
|
(delete-file-recursively "ninja")
|
|
|
|
|
|
|
|
(with-directory-excursion "chromium"
|
|
|
|
;; Delete bundled software and binaries that were not
|
|
|
|
;; explicitly preserved above.
|
2022-11-27 22:59:35 -05:00
|
|
|
#$remove-third-party-files
|
2022-07-18 23:13:46 -04:00
|
|
|
|
|
|
|
;; Use relative header locations instead of hard coded ones.
|
|
|
|
(substitute*
|
|
|
|
"base/third_party/dynamic_annotations/dynamic_annotations.c"
|
|
|
|
(("base/third_party/valgrind") "valgrind"))
|
|
|
|
(substitute* "third_party/breakpad/breakpad/src/common/\
|
|
|
|
linux/libcurl_wrapper.h"
|
|
|
|
(("third_party/curl") "curl"))
|
|
|
|
(substitute*
|
|
|
|
'("components/viz/common/gpu/vulkan_context_provider.h"
|
|
|
|
"gpu/config/gpu_util.cc")
|
|
|
|
(("third_party/vulkan/include/")
|
|
|
|
""))
|
|
|
|
|
|
|
|
;; Replace Google Analytics bundle with an empty file and
|
|
|
|
;; hope no one notices.
|
|
|
|
(mkdir-p "third_party/analytics")
|
|
|
|
(call-with-output-file
|
|
|
|
"third_party/analytics/google-analytics-bundle.js"
|
|
|
|
(lambda (port)
|
|
|
|
(const #t)))))
|
|
|
|
;; Do not enable support for loading the Widevine DRM plugin.
|
|
|
|
(substitute* "src/core/CMakeLists.txt"
|
|
|
|
(("enable_widevine=true")
|
|
|
|
"enable_widevine=false")))))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
;; XXX: The test suite is not built by default; leave it off to save
|
|
|
|
;; some build time and resources.
|
|
|
|
#:tests? #f
|
|
|
|
#:configure-flags
|
2023-08-11 18:00:24 -04:00
|
|
|
;; Use the CMake ninja generator, otherwise the build fails.
|
2022-11-04 19:56:02 -04:00
|
|
|
#~(list "-GNinja"
|
2022-07-18 23:13:46 -04:00
|
|
|
;; The PDF renderer plugin fails to build with errors such as
|
|
|
|
;; "src/3rdparty/chromium/components/pdf
|
|
|
|
;; /renderer/pdf_accessibility_tree.cc:1373:39:
|
|
|
|
;; error: use of undeclared identifier 'IDS_PDF_PAGE_INDEX'";
|
|
|
|
;; disable it.
|
|
|
|
"-DQT_FEATURE_webengine_printing_and_pdf=OFF"
|
|
|
|
"-DQT_FEATURE_webengine_pepper_plugins=OFF" ;widevine
|
|
|
|
"-DQT_FEATURE_system_ffmpeg=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
|
2022-07-18 23:13:46 -04:00
|
|
|
;; Do not artificially limit codec support; video decoding is
|
|
|
|
;; done by ffmpeg.
|
|
|
|
"-DQT_FEATURE_webengine_proprietary_codecs=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
|
|
|
|
;; Use system libraries where possible (see src/core/CMakeLists.txt).
|
2022-07-18 23:13:46 -04:00
|
|
|
"-DQT_FEATURE_webengine_system_alsa=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
"-DQT_FEATURE_webengine_system_ffmpeg=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_freetype=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_harfbuzz=ON"
|
2022-07-18 23:13:46 -04:00
|
|
|
"-DQT_FEATURE_webengine_system_icu=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
"-DQT_FEATURE_webengine_system_lcms2=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_libevent=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_libjpeg=ON"
|
2022-07-18 23:13:46 -04:00
|
|
|
"-DQT_FEATURE_webengine_system_libpci=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_libpng=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
"-DQT_FEATURE_webengine_system_libwebp=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_libxml=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_libxslt=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_minizip=ON"
|
|
|
|
"-DQT_FEATURE_webengine_system_opus=ON"
|
2022-07-18 23:13:46 -04:00
|
|
|
"-DQT_FEATURE_webengine_system_pulseaudio=ON"
|
2022-12-01 11:16:50 -05:00
|
|
|
"-DQT_FEATURE_webengine_system_re2=ON"
|
2022-07-18 23:13:46 -04:00
|
|
|
"-DQT_FEATURE_webengine_system_zlib=ON")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
;; Qtwebengine is not installed into the same prefix as qtbase.
|
|
|
|
;; Some qtbase QTLibraryInfo constants will not work. Replace
|
|
|
|
;; with the full path to the qtwebengine translations and
|
|
|
|
;; locales in the store.
|
|
|
|
(substitute* "src/core/web_engine_library_info.cpp"
|
|
|
|
(("QLibraryInfo::path\\(QLibraryInfo::TranslationsPath)")
|
|
|
|
(string-append "QLatin1String(\"" #$output
|
|
|
|
"/share/qt6/translations\")"))
|
|
|
|
(("QLibraryInfo::path\\(QLibraryInfo::DataPath)")
|
|
|
|
(string-append "QLatin1String(\"" #$output
|
|
|
|
"/share/qt6\")")))
|
|
|
|
;; Substitute full dynamic library path for nss.
|
|
|
|
(substitute* "src/3rdparty/chromium/crypto/nss_util.cc"
|
|
|
|
(("libnssckbi.so")
|
|
|
|
(search-input-file inputs "lib/nss/libnssckbi.so")))
|
|
|
|
;; Substitute full dynamic library path for udev.
|
|
|
|
(substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc"
|
|
|
|
(("libudev.so.1")
|
|
|
|
(search-input-file inputs "lib/libudev.so.1")))
|
2023-08-11 18:00:24 -04:00
|
|
|
;; Patch the location of the X11 keywoard layouts.
|
2022-07-18 23:13:46 -04:00
|
|
|
(substitute* "src/3rdparty/chromium/ui/events/ozone/layout/xkb\
|
|
|
|
/xkb_keyboard_layout_engine.cc"
|
|
|
|
(("/usr/share/X11/xkb")
|
|
|
|
(search-input-directory inputs "share/X11/xkb")))))
|
|
|
|
(add-before 'configure 'prepare-build-environment
|
|
|
|
(lambda _
|
|
|
|
;; Avoids potential race conditions.
|
|
|
|
(setenv "PYTHONDONTWRITEBYTECODE" "1")
|
|
|
|
(setenv "NINJAFLAGS"
|
|
|
|
(string-append
|
|
|
|
"-k1" ;less verbose build output
|
|
|
|
;; Respect the '--cores' option of 'guix build'.
|
|
|
|
" -j" (number->string (parallel-job-count))))
|
|
|
|
;; Use Clang/LDD to help tame the memory requirements and hasten
|
|
|
|
;; the build.
|
|
|
|
(setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
|
|
|
|
(setenv "CC" "clang") (setenv "CXX" "clang++")))
|
|
|
|
(replace 'build
|
|
|
|
(lambda* (#:key parallel-build? #:allow-other-keys)
|
|
|
|
(apply invoke "cmake" "--build" "."
|
|
|
|
(if parallel-build?
|
|
|
|
`("--parallel" ,(number->string (parallel-job-count)))
|
|
|
|
'()))))
|
|
|
|
(replace 'install
|
|
|
|
(lambda _
|
|
|
|
(invoke "cmake" "--install" "."))))))
|
|
|
|
(native-inputs
|
|
|
|
(modify-inputs (package-native-inputs qtwebengine-5)
|
|
|
|
(delete "python2" "python2-six")
|
2022-11-04 19:56:02 -04:00
|
|
|
(replace "node" node-lts)
|
2022-07-18 23:13:46 -04:00
|
|
|
(append clang-14
|
|
|
|
lld-as-ld-wrapper
|
|
|
|
python-wrapper
|
2022-11-27 22:59:35 -05:00
|
|
|
python-beautifulsoup4
|
2022-07-18 23:13:46 -04:00
|
|
|
python-html5lib)))
|
|
|
|
(inputs
|
|
|
|
(modify-inputs (package-inputs qtwebengine-5)
|
|
|
|
(replace "qtmultimedia" qtmultimedia)
|
|
|
|
(append libxkbfile xkeyboard-config)))
|
2022-11-27 13:26:18 -05:00
|
|
|
(propagated-inputs
|
|
|
|
(modify-inputs (package-propagated-inputs qtwebengine-5)
|
|
|
|
(replace "qtbase" qtbase)
|
|
|
|
(replace "qtdeclarative" qtdeclarative)
|
|
|
|
(replace "qtwebchannel" qtwebchannel)))
|
2022-07-18 23:13:46 -04:00
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(file-type 'regular)
|
|
|
|
(separator #f)
|
|
|
|
(variable "QTWEBENGINEPROCESS_PATH")
|
2022-08-27 00:59:04 -04:00
|
|
|
(files '("lib/qt6/libexec/QtWebEngineProcess")))))
|
2022-07-18 23:13:46 -04:00
|
|
|
(home-page "https://wiki.qt.io/QtWebEngine")
|
|
|
|
(synopsis "Qt WebEngine module")
|
|
|
|
(description "The Qt WebEngine module provides support for web
|
|
|
|
applications using the Chromium browser project. The Chromium source code has
|
|
|
|
Google services and binaries removed, and adds modular support for using
|
|
|
|
system libraries.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2021-01-20 13:23:17 -05:00
|
|
|
(define-public single-application-qt5
|
|
|
|
;; Change in function signature, nheko requires at least this commit
|
|
|
|
(let ((commit "dc8042b5db58f36e06ba54f16f38b16c5eea9053"))
|
|
|
|
(package
|
|
|
|
(name "single-application-qt5")
|
|
|
|
(version (string-append "3.2.0-" (string-take commit 7)))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://github.com/itay-grudev/SingleApplication")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"163aa2x2qb0h8w26si5ql833ilj427jjbdwlz1p2p8iaq6dh0vq1"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
;; Projects can decide how to build this library. You might need to
|
|
|
|
;; override this flag (QApplication, QGuiApplication or
|
|
|
|
;; QCoreApplication).
|
|
|
|
#:configure-flags '("-DQAPPLICATION_CLASS=QApplication")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; No install target, install things manually
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key inputs outputs source #:allow-other-keys)
|
|
|
|
(let* ((qt (assoc-ref inputs "qtbase"))
|
|
|
|
(qt-version ,(version-major (package-version qtbase-5)))
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
(install-file
|
|
|
|
"libSingleApplication.a" (string-append out "/lib"))
|
|
|
|
(for-each
|
|
|
|
(lambda (file)
|
|
|
|
(install-file
|
|
|
|
(string-append source "/" file)
|
|
|
|
(string-append out "/include")))
|
|
|
|
'("SingleApplication"
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
"singleapplication.h" "singleapplication_p.h"))))))))
|
2021-01-20 13:23:17 -05:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list qtbase-5))
|
2021-01-20 13:23:17 -05:00
|
|
|
(home-page "https://github.com/itay-grudev/SingleApplication")
|
|
|
|
(synopsis "Replacement of QtSingleApplication for Qt5 and Qt6")
|
|
|
|
(description
|
|
|
|
"SingleApplication is a replacement of the QtSingleApplication for Qt5 and Qt6.
|
|
|
|
|
|
|
|
It keeps the Primary Instance of your Application and kills each subsequent
|
|
|
|
instances. It can (if enabled) spawn secondary (non-related to the primary)
|
|
|
|
instances and can send data to the primary instance from secondary
|
|
|
|
instances.")
|
|
|
|
(license license:expat))))
|
|
|
|
|
2023-08-07 21:47:14 -04:00
|
|
|
(define-public pyotherside
|
|
|
|
(package
|
|
|
|
(name "pyotherside")
|
|
|
|
(version "1.6.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/thp/pyotherside")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vwl088p8zjkh2rwmzwpz5mkjs2rfyb80018dq4r571c9vpwp2r0"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:qtbase qtbase
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-installation-prefix
|
|
|
|
(lambda _
|
|
|
|
;; The QT_INSTALL_QML property points to the qtbase
|
|
|
|
;; installation prefix.
|
|
|
|
(substitute* "src/src.pro"
|
|
|
|
(("\\$\\$\\[QT_INSTALL_QML]")
|
|
|
|
(string-append #$output "/lib/qt"
|
|
|
|
#$(version-major (package-version qtbase))
|
|
|
|
"/qml")))))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(invoke "qmake")))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "./tests/tests"))))
|
|
|
|
(replace 'install
|
|
|
|
;; Specify a specific install target, otherwise the build fails
|
|
|
|
;; attempting to install the qtquicktests target to the qtbase
|
|
|
|
;; installation prefix.
|
|
|
|
(lambda _
|
|
|
|
(invoke "make" "sub-src-install_subtargets"))))))
|
2023-08-11 21:29:54 -04:00
|
|
|
(inputs (list python qtdeclarative qtsvg))
|
2023-08-07 21:47:14 -04:00
|
|
|
(home-page "https://thp.io/2011/pyotherside/")
|
|
|
|
(synopsis "Qt plugin providing access to a Python 3 interpreter from QML")
|
|
|
|
(description "Pyotherside is a Qt plugin providing access to a Python 3
|
|
|
|
interpreter from QML for creating asynchronous mobile and desktop UIs with
|
|
|
|
Python.")
|
|
|
|
(license license:isc)))
|
|
|
|
|
2023-08-07 22:17:12 -04:00
|
|
|
(define-public pyotherside-for-qt5
|
|
|
|
(package/inherit pyotherside
|
|
|
|
(name "pyotherside-for-qt5")
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments pyotherside)
|
|
|
|
((#:qtbase _ #f)
|
|
|
|
qtbase-5)
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
(replace 'fix-installation-prefix
|
|
|
|
(lambda _
|
|
|
|
;; The QT_INSTALL_QML property points to the qtbase
|
|
|
|
;; installation prefix.
|
|
|
|
(substitute* "src/src.pro"
|
|
|
|
(("\\$\\$\\[QT_INSTALL_QML]")
|
|
|
|
(string-append #$output "/lib/qt"
|
|
|
|
#$(version-major (package-version qtbase-5))
|
|
|
|
"/qml")))))))))
|
|
|
|
(inputs (modify-inputs (package-inputs pyotherside)
|
|
|
|
(replace "qtdeclarative" qtdeclarative-5)
|
|
|
|
(replace "qtquickcontrols2" qtquickcontrols-5)
|
|
|
|
(replace "qtsvg" qtsvg-5)))))
|
|
|
|
|
2015-01-24 14:17:33 -05:00
|
|
|
(define-public python-sip
|
|
|
|
(package
|
2021-02-22 05:15:21 -05:00
|
|
|
(name "python-sip")
|
2023-03-30 05:48:12 -04:00
|
|
|
(version "6.7.7")
|
2021-02-22 05:15:21 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (list (pypi-uri "sip" version)
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static/"
|
|
|
|
"Downloads/sip/" version
|
|
|
|
"/sip-" version ".tar.gz")))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-03-30 05:48:12 -04:00
|
|
|
"1qm9q9lhfky5zvxxkssf4zdfv5k1zikji4hz80d48vdfm1pw1sfy"))
|
|
|
|
(patches (search-patches "python-sip-include-dirs.patch"))))
|
2021-02-22 05:15:21 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(native-inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
(list python-wrapper))
|
2021-02-22 05:15:21 -05:00
|
|
|
(propagated-inputs
|
2023-03-30 05:48:12 -04:00
|
|
|
(list python-toml python-packaging python-ply))
|
2021-02-22 05:15:21 -05:00
|
|
|
(home-page "https://www.riverbankcomputing.com/software/sip/intro")
|
|
|
|
(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.
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
|
|
(define-public python-sip-4
|
|
|
|
(package
|
|
|
|
(inherit python-sip)
|
2015-01-24 14:17:33 -05:00
|
|
|
(name "python-sip")
|
2022-05-31 13:45:05 -04:00
|
|
|
(version "4.19.25")
|
2015-01-24 14:17:33 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2020-12-30 06:20:55 -05:00
|
|
|
(uri (list (pypi-uri "sip" version)
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static/"
|
|
|
|
"Downloads/sip/" version
|
|
|
|
"/sip-" version ".tar.gz")))
|
2015-01-24 14:17:33 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-05-31 13:45:05 -04:00
|
|
|
"04a23cgsnx150xq86w1z44b6vr2zyazysy9mqax0fy346zlr77dk"))))
|
2015-01-24 14:17:33 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("python" ,python-wrapper)))
|
2021-02-22 05:15:21 -05:00
|
|
|
(propagated-inputs `())
|
2015-01-24 14:17:33 -05:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
2020-06-07 16:38:30 -04:00
|
|
|
#:imported-modules ((guix build python-build-system)
|
|
|
|
,@%gnu-build-system-modules)
|
2015-08-11 09:41:35 -04:00
|
|
|
#:modules ((srfi srfi-1)
|
2020-06-07 16:38:30 -04:00
|
|
|
((guix build python-build-system) #:select (python-version))
|
2015-08-11 09:41:35 -04:00
|
|
|
,@%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"))
|
|
|
|
(lib (string-append out "/lib/python"
|
2020-06-07 16:38:30 -04:00
|
|
|
(python-version python)
|
2016-06-05 16:10:34 -04:00
|
|
|
"/site-packages")))
|
2018-07-04 09:04:56 -04:00
|
|
|
(invoke "python" "configure.py"
|
|
|
|
"--bindir" bin
|
|
|
|
"--destdir" lib
|
|
|
|
"--incdir" include)))))))
|
2016-08-25 14:45:07 -04:00
|
|
|
(license license:gpl3)))
|
2015-01-24 14:17:33 -05:00
|
|
|
|
2015-01-25 14:07:08 -05:00
|
|
|
(define-public python-pyqt
|
|
|
|
(package
|
|
|
|
(name "python-pyqt")
|
2023-03-30 05:50:13 -04:00
|
|
|
(version "5.15.9")
|
2015-01-25 14:07:08 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2020-06-07 16:39:55 -04:00
|
|
|
;; PyPI is the canonical distribution point of PyQt. Older
|
|
|
|
;; releases are available from the web site.
|
|
|
|
(uri (list (pypi-uri "PyQt5" version)
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static/"
|
|
|
|
"Downloads/PyQt5/" version "/PyQt5-"
|
|
|
|
version ".tar.gz")))
|
2021-02-22 06:20:40 -05:00
|
|
|
(file-name (string-append "PyQt5-" version ".tar.gz"))
|
2015-01-25 14:07:08 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-03-30 05:50:13 -04:00
|
|
|
"1h649rb1afdxskp28x524yp5kd9a97ainh9bd4mkxp4h390fhhfw"))
|
2021-02-22 06:20:40 -05:00
|
|
|
(patches (search-patches "pyqt-configure.patch"))))
|
2023-03-30 05:50:13 -04:00
|
|
|
(build-system pyproject-build-system)
|
2015-01-25 14:07:08 -05:00
|
|
|
(native-inputs
|
2023-03-30 05:50:13 -04:00
|
|
|
(list qtbase-5 ; for qmake
|
|
|
|
python-pyqt-builder))
|
2017-02-03 10:59:09 -05:00
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-sip python-pyqt5-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)
|
2021-04-09 21:53:32 -04:00
|
|
|
("qtbase" ,qtbase-5)
|
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
|
|
|
("qtconnectivity" ,qtconnectivity)
|
2022-07-17 21:03:18 -04:00
|
|
|
("qtdeclarative-5" ,qtdeclarative-5)
|
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
|
|
|
("qtlocation" ,qtlocation)
|
2022-07-17 19:00:48 -04:00
|
|
|
("qtmultimedia-5" ,qtmultimedia-5)
|
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
|
|
|
("qtsensors" ,qtsensors)
|
|
|
|
("qtserialport" ,qtserialport)
|
2022-07-17 01:11:46 -04:00
|
|
|
("qtsvg-5" ,qtsvg-5)
|
2022-07-19 16:52:05 -04:00
|
|
|
("qttools-5" ,qttools-5)
|
2022-07-18 00:02:58 -04:00
|
|
|
("qtwebchannel-5" ,qtwebchannel-5)
|
2022-07-18 00:06:03 -04:00
|
|
|
("qtwebsockets-5" ,qtwebsockets-5)
|
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
|
|
|
("qtx11extras" ,qtx11extras)
|
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
2015-01-25 14:07:08 -05:00
|
|
|
(arguments
|
2023-03-30 05:50:13 -04:00
|
|
|
(list
|
|
|
|
#:tests? #f ; No tests.
|
|
|
|
#:configure-flags
|
|
|
|
#~`(@ ("--verbose" . "") ; Print commands run.
|
|
|
|
("--confirm-license" . "")
|
|
|
|
("--jobs" . ,(number->string (parallel-job-count))))
|
2015-08-11 09:41:35 -04:00
|
|
|
#:phases
|
2023-03-30 05:50:13 -04:00
|
|
|
#~(modify-phases %standard-phases
|
2020-01-14 06:04:59 -05:00
|
|
|
;; When building python-pyqtwebengine, <qprinter.h> can not be
|
|
|
|
;; included. Here we substitute the full path to the header in the
|
|
|
|
;; store.
|
2023-03-30 05:50:13 -04:00
|
|
|
(add-after 'unpack 'substitute-source
|
2020-01-14 06:04:59 -05:00
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let* ((qtbase (assoc-ref inputs "qtbase"))
|
|
|
|
(qtprinter.h (string-append "\"" qtbase "/include/qt5/QtPrintSupport/qprinter.h\"")))
|
2023-03-30 05:50:13 -04:00
|
|
|
(substitute* (list "sip/QtPrintSupport/qprinter.sip"
|
|
|
|
"sip/QtPrintSupport/qpyprintsupport_qlist.sip")
|
|
|
|
(("<qprinter.h>") qtprinter.h))))))))
|
2016-06-05 16:14:29 -04:00
|
|
|
(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)))
|
2020-01-14 06:06:36 -05:00
|
|
|
|
2021-02-26 22:53:55 -05:00
|
|
|
(define-public python-pyqt5-sip
|
|
|
|
(package
|
|
|
|
(name "python-pyqt5-sip")
|
2023-03-18 10:34:50 -04:00
|
|
|
(version "12.11.1")
|
2021-02-26 22:53:55 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "PyQt5_sip" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-03-18 10:34:50 -04:00
|
|
|
"0sa3vad8r7qm98k4ngimwjp87bh2f9f2vv19cnzb3vb11zdgplwp"))))
|
2021-02-26 22:53:55 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ;; No test code.
|
|
|
|
(home-page "https://www.riverbankcomputing.com/software/sip/")
|
|
|
|
(synopsis "Sip module support for PyQt5")
|
|
|
|
(description "Sip module support for PyQt5")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2020-01-14 06:06:36 -05:00
|
|
|
(define-public python-pyqtwebengine
|
|
|
|
(package
|
|
|
|
(name "python-pyqtwebengine")
|
2023-03-30 05:52:53 -04:00
|
|
|
(version "5.15.9")
|
2020-01-14 06:06:36 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2020-06-07 16:42:27 -04:00
|
|
|
;; The newest releases are only available on PyPI. Older ones
|
|
|
|
;; are mirrored at the upstream home page.
|
|
|
|
(uri (list (pypi-uri "PyQtWebEngine" version)
|
|
|
|
(string-append "https://www.riverbankcomputing.com/static"
|
|
|
|
"/Downloads/PyQtWebEngine/" version
|
|
|
|
"/PyQtWebEngine-" version ".tar.gz")))
|
2020-01-14 06:06:36 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-06-28 05:41:07 -04:00
|
|
|
"0hdr0g0rzlhsnylhfk826pq1lw8p9dqcr8yma2wy9dgjrj6n0ixb"))))
|
2023-03-30 05:52:53 -04:00
|
|
|
(build-system pyproject-build-system)
|
2020-01-14 06:06:36 -05:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python python-sip
|
2023-03-30 05:52:53 -04:00
|
|
|
python-pyqt-builder
|
2021-12-13 11:18:24 -05:00
|
|
|
;; qtbase is required for qmake
|
|
|
|
qtbase-5))
|
2020-01-14 06:06:36 -05:00
|
|
|
(inputs
|
|
|
|
`(("python" ,python-wrapper)
|
|
|
|
("python-sip" ,python-sip)
|
2023-02-17 14:17:55 -05:00
|
|
|
("python-pyqt" ,python-pyqt)
|
2021-04-09 21:53:32 -04:00
|
|
|
("qtbase" ,qtbase-5)
|
2022-07-17 01:11:46 -04:00
|
|
|
("qtsvg-5" ,qtsvg-5)
|
2022-07-17 21:03:18 -04:00
|
|
|
("qtdeclarative-5" ,qtdeclarative-5)
|
2022-07-18 00:02:58 -04:00
|
|
|
("qtwebchannel-5" ,qtwebchannel-5)
|
2022-07-18 07:57:16 -04:00
|
|
|
("qtwebengine-5" ,qtwebengine-5)))
|
2023-03-30 05:52:53 -04:00
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:tests? #f ; No tests.
|
|
|
|
#:configure-flags
|
|
|
|
#~`(@ ("--verbose" . "") ; Print commands run.
|
|
|
|
("--jobs" . ,(number->string (parallel-job-count))))
|
2020-01-14 06:06:36 -05:00
|
|
|
#:phases
|
2023-03-30 05:52:53 -04:00
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'set-include-dirs
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((python (assoc-ref inputs "python"))
|
|
|
|
(python-pyqt (assoc-ref inputs "python-pyqt"))
|
|
|
|
(sip-include-dirs (string-append
|
|
|
|
python-pyqt "/lib/python"
|
|
|
|
(python-version python)
|
|
|
|
"/site-packages/PyQt5/bindings")))
|
|
|
|
(setenv "SIP_INCLUDE_DIRS" sip-include-dirs)))))))
|
2020-01-14 06:06:36 -05:00
|
|
|
(home-page "https://www.riverbankcomputing.com/software/pyqtwebengine/intro")
|
|
|
|
(synopsis "Python bindings for QtWebEngine")
|
|
|
|
(description
|
|
|
|
"PyQtWebEngine is a set of Python bindings for The Qt Company's Qt
|
|
|
|
WebEngine libraries. The bindings sit on top of PyQt5 and are implemented as a
|
|
|
|
set of three modules. Prior to v5.12 these bindings were part of PyQt
|
|
|
|
itself.")
|
2016-08-25 14:45:07 -04:00
|
|
|
(license license:gpl3)))
|
2015-01-25 14:07:08 -05:00
|
|
|
|
2021-02-22 06:10:56 -05:00
|
|
|
(define-public python-pyqt-builder
|
|
|
|
(package
|
|
|
|
(name "python-pyqt-builder")
|
2023-03-30 05:49:06 -04:00
|
|
|
(version "1.14.1")
|
2021-02-22 06:10:56 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "PyQt-builder" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-03-30 05:49:06 -04:00
|
|
|
"00m5piryz9l4hp5z1ncaqicsp29kj71akdh4b10432zz18q3xg43"))))
|
2021-02-22 06:10:56 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-sip))
|
2021-02-22 06:10:56 -05:00
|
|
|
(home-page "https://www.riverbankcomputing.com/static/Docs/PyQt-builder/")
|
|
|
|
(synopsis "PEP 517 compliant PyQt build system")
|
|
|
|
(description "PyQt-builder is a tool for generating Python bindings for C++
|
|
|
|
libraries that use the Qt application framework. The bindings are built on
|
|
|
|
top of the PyQt bindings for Qt. PyQt-builder is used to build PyQt itself.")
|
|
|
|
;; Either version 2 or 3, but no other version. See the file
|
|
|
|
;; 'pyqtbuild/builder.py' in the source distribution for more information.
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|
|
|
|
|
2020-12-27 17:26:46 -05:00
|
|
|
(define-public python-qtpy
|
|
|
|
(package
|
|
|
|
(name "python-qtpy")
|
2022-08-25 06:53:28 -04:00
|
|
|
(version "2.2.0")
|
2020-12-27 17:26:46 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "QtPy" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-25 06:53:28 -04:00
|
|
|
"051rj10lbv2ny48lz34zhclcbdxxdbk4di2mdk91m9143w91npyq"))))
|
2020-12-27 17:26:46 -05:00
|
|
|
(build-system python-build-system)
|
2022-04-25 05:36:20 -04:00
|
|
|
(propagated-inputs (list python-packaging))
|
2020-12-27 17:26:46 -05:00
|
|
|
(arguments
|
|
|
|
`(;; Not all supported bindings are packaged. Especially PyQt4.
|
|
|
|
#:tests? #f))
|
|
|
|
(home-page "https://github.com/spyder-ide/qtpy")
|
|
|
|
(synopsis
|
|
|
|
"Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets")
|
|
|
|
(description
|
|
|
|
"Provides an abstraction layer on top of the various Qt bindings
|
|
|
|
(PyQt5, PyQt4 and PySide) and additional custom QWidgets.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2022-09-28 04:48:47 -04:00
|
|
|
(define-public python-qt.py
|
|
|
|
(package
|
|
|
|
(name "python-qt.py")
|
|
|
|
(version "1.3.7")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "Qt.py" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "07rvfwzjl378j75j2va0c6xylwx16icxa6dycsjgjc329pgpng40"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(native-inputs (list python-pyqt))
|
|
|
|
(home-page "https://github.com/mottosso/Qt.py")
|
|
|
|
(synopsis "Abstraction layer for Python Qt bindings")
|
|
|
|
(description
|
|
|
|
"This package provides an abstraction layer on top of the various Qt
|
|
|
|
bindings (PySide, PySide2, PyQt4 and PyQt5).")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2017-07-18 10:36:42 -04:00
|
|
|
(define-public qscintilla
|
|
|
|
(package
|
|
|
|
(name "qscintilla")
|
2023-04-17 07:56:43 -04:00
|
|
|
(version "2.13.4")
|
2017-07-18 10:36:42 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2020-12-30 06:25:43 -05:00
|
|
|
(uri (string-append "https://www.riverbankcomputing.com/static"
|
|
|
|
"/Downloads/QScintilla/" version
|
2023-04-17 07:56:43 -04:00
|
|
|
"/QScintilla_src-" version ".tar.gz"))
|
2017-07-18 10:36:42 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-04-17 07:56:43 -04:00
|
|
|
"11lrhybp32nz1dxns4pxxd8rbj2gshva20zan0kg85p164gjc349"))))
|
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")))
|
2023-04-17 07:56:43 -04:00
|
|
|
(chdir "src")
|
2017-07-18 10:36:42 -04:00
|
|
|
(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")))))))
|
2021-12-13 11:18:24 -05:00
|
|
|
(native-inputs (list qtbase-5))
|
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
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:42:12 -04:00
|
|
|
(package/inherit qscintilla
|
2017-07-18 10:39:10 -04:00
|
|
|
(name "python-qscintilla")
|
2023-04-17 09:16:56 -04:00
|
|
|
(build-system pyproject-build-system)
|
2017-07-18 10:39:10 -04:00
|
|
|
(arguments
|
2023-04-17 09:16:56 -04:00
|
|
|
(list #:tests? #f
|
|
|
|
#:configure-flags
|
|
|
|
#~`(@ ("--qsci-include-dir" . ,(string-append
|
|
|
|
#$(this-package-input "qscintilla")
|
|
|
|
"/include"))
|
|
|
|
("--qsci-library-dir" . ,(string-append
|
|
|
|
#$(this-package-input "qscintilla")
|
|
|
|
"/lib")))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'prepare-build
|
|
|
|
(lambda _
|
|
|
|
(chdir "Python")
|
|
|
|
(symlink "pyproject-qt5.toml" "pyproject.toml")))
|
|
|
|
(add-after 'unpack 'set-include-dirs
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((python (assoc-ref inputs "python"))
|
|
|
|
(python-pyqt (assoc-ref inputs "python-pyqt"))
|
|
|
|
(sip-include-dirs (string-append
|
|
|
|
python-pyqt "/lib/python"
|
|
|
|
(python-version python)
|
|
|
|
"/site-packages/PyQt5/bindings")))
|
|
|
|
(setenv "SIP_INCLUDE_DIRS" sip-include-dirs)))))))
|
|
|
|
(native-inputs
|
|
|
|
(list python-pyqt-builder qtbase-5))
|
2017-07-18 10:39:10 -04:00
|
|
|
(inputs
|
2023-04-17 09:16:56 -04:00
|
|
|
(list python-pyqt python-sip qscintilla))
|
2017-07-18 10:39:10 -04:00
|
|
|
(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
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:42:12 -04:00
|
|
|
(package/inherit python-pyqt
|
2017-07-18 10:39:11 -04:00
|
|
|
(name "python-pyqt+qscintilla")
|
|
|
|
(source #f)
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:modules ((guix build union))
|
|
|
|
#:builder (begin
|
|
|
|
(use-modules (ice-9 match)
|
|
|
|
(guix build union))
|
|
|
|
(match %build-inputs
|
|
|
|
(((names . directories) ...)
|
|
|
|
(union-build (assoc-ref %outputs "out")
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
directories))))))
|
2017-07-18 10:39:11 -04:00
|
|
|
(inputs
|
|
|
|
`(("python-pyqt" ,python-pyqt)
|
|
|
|
("python-qscintilla" ,python-qscintilla)))
|
|
|
|
(synopsis "Union of PyQt and the Qscintilla extension")
|
|
|
|
(description
|
|
|
|
"This package contains the union of PyQt and the Qscintilla extension.")))
|
|
|
|
|
2015-09-16 08:24:27 -04:00
|
|
|
(define-public qtkeychain
|
|
|
|
(package
|
|
|
|
(name "qtkeychain")
|
2021-12-26 02:20:06 -05:00
|
|
|
(version "0.13.2")
|
2015-09-16 08:24:27 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2019-01-02 09:04:17 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/frankosterfeld/qtkeychain/")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2015-09-16 08:24:27 -04:00
|
|
|
(sha256
|
2019-01-02 09:04:17 -05:00
|
|
|
(base32
|
2021-12-26 02:20:06 -05:00
|
|
|
"1zk6r2vc1q48qs7mw2h47bpgrfbb9r7lf9cwq4sb1a4nls87zznk"))))
|
2015-09-16 08:24:27 -04:00
|
|
|
(build-system cmake-build-system)
|
2016-08-15 15:00:43 -04:00
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list pkg-config qttools-5))
|
2015-09-16 08:24:27 -04:00
|
|
|
(inputs
|
2021-12-26 02:20:06 -05:00
|
|
|
(list libsecret qtbase-5))
|
2015-09-16 08:24:27 -04:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; No tests included
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-01-02 09:04:17 -05:00
|
|
|
(add-before 'configure 'set-qt-trans-dir
|
2015-09-16 08:24:27 -04:00
|
|
|
(lambda _
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
(("\\$\\{qt_translations_dir\\}")
|
2022-01-21 16:27:09 -05:00
|
|
|
"${CMAKE_INSTALL_PREFIX}/share/qt5/translations")))))))
|
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
|
|
|
|
2021-03-09 02:14:56 -05:00
|
|
|
(define-public qtsolutions
|
|
|
|
(let ((commit "9568abd142d581b67b86a5f63d823a34b0612702")
|
|
|
|
(revision "53"))
|
|
|
|
(package
|
|
|
|
(name "qtsolutions")
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/qtproject/qt-solutions")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "17fnmassflm3vxi0krpr6fff368jy38cby31a48rban4nqqmgx7n"))
|
|
|
|
(modules '((guix build utils)
|
|
|
|
(ice-9 ftw)
|
|
|
|
(srfi srfi-1)))
|
|
|
|
(snippet
|
|
|
|
;; Unvendor QtLockFile from QtSingleApplication.
|
|
|
|
'(begin
|
|
|
|
(with-directory-excursion "qtsingleapplication/src"
|
|
|
|
(for-each delete-file
|
|
|
|
(find-files "." "qtlockedfile.*\\.(h|cpp)"))
|
|
|
|
(substitute* "qtsingleapplication.pri"
|
|
|
|
;; Add include path of LockedFile.
|
|
|
|
(("INCLUDEPATH \\+=")
|
|
|
|
"INCLUDEPATH += ../../qtlockedfile/src")
|
|
|
|
;; Link library of LockedFile.
|
|
|
|
(("LIBS \\+=")
|
|
|
|
"LIBS += -lQtSolutions_LockedFile"))
|
|
|
|
(substitute* '("qtlocalpeer.h" "qtlocalpeer.cpp")
|
|
|
|
(("#include \"qtlockedfile.*\\.cpp\"") "")
|
|
|
|
;; Unwrap namespace added in the vendoring process.
|
|
|
|
(("QtLP_Private::QtLockedFile")
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
"QtLockedFile")))))))
|
2021-03-09 02:14:56 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; No target
|
|
|
|
#:imported-modules
|
|
|
|
((guix build copy-build-system)
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
#:modules
|
|
|
|
(((guix build copy-build-system) #:prefix copy:)
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
(guix build utils))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-source
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(substitute* (find-files "." "common.pri")
|
|
|
|
;; Remove unnecessary prefixes/suffixes in library names.
|
|
|
|
(("qt5") "qt")
|
|
|
|
(("-head") ""))
|
|
|
|
;; Disable building of examples.
|
|
|
|
(substitute* (find-files "." "\\.pro$")
|
|
|
|
(("SUBDIRS\\+=examples") ""))
|
|
|
|
;; Fix deprecated functions.
|
|
|
|
(substitute* "qtsoap/src/qtsoap.cpp"
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(("toAscii") "toUtf8"))))
|
2021-03-09 02:14:56 -05:00
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(for-each (lambda (solution)
|
|
|
|
(with-directory-excursion solution
|
|
|
|
(invoke "./configure" "-library")
|
|
|
|
(invoke "qmake")))
|
|
|
|
'("qtlockedfile" "qtpropertybrowser" "qtservice"
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
"qtsingleapplication" "qtsoap"))))
|
2021-03-09 02:14:56 -05:00
|
|
|
(replace 'build
|
|
|
|
(lambda _
|
|
|
|
(for-each (lambda (solution)
|
|
|
|
(with-directory-excursion solution
|
|
|
|
(invoke "make")))
|
|
|
|
'("qtlockedfile" "qtpropertybrowser" "qtservice"
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
"qtsingleapplication" "qtsoap"))))
|
2021-03-09 02:14:56 -05:00
|
|
|
(replace 'install
|
|
|
|
(lambda args
|
|
|
|
(for-each (lambda (solution)
|
|
|
|
(with-directory-excursion solution
|
|
|
|
(apply
|
|
|
|
(assoc-ref copy:%standard-phases 'install)
|
|
|
|
#:install-plan
|
|
|
|
'(("src" "include" #:include-regexp ("\\.h$"))
|
|
|
|
("lib" "lib"))
|
|
|
|
args)))
|
|
|
|
'("qtlockedfile" "qtpropertybrowser" "qtservice"
|
|
|
|
"qtsingleapplication" "qtsoap")))))))
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list qtbase-5))
|
2021-03-09 02:14:56 -05:00
|
|
|
(synopsis "Collection of Qt extensions")
|
|
|
|
(description "QtSolutions is a set of components extending Qt.
|
|
|
|
@itemize
|
|
|
|
@item QtLockedFile: A class that extends QFile with advisory locking functions.
|
|
|
|
@item QtPropertyBrowser: A framework that enables the user to edit a set of
|
|
|
|
properties.
|
|
|
|
@item QtService: A helper for writing services such as Unix daemons.
|
|
|
|
@item QtSingleApplication: A component that provides support for applications
|
|
|
|
that can be only started once per user.
|
|
|
|
@item QtSoap: A component that provides basic web service support with version
|
|
|
|
1.1 of the SOAP protocol.
|
|
|
|
@end itemize\n")
|
|
|
|
(home-page "https://doc.qt.io/archives/qq/qq09-qt-solutions.html")
|
|
|
|
(license (list license:bsd-3
|
|
|
|
;; QScriptParser and QScriptGrammar specifically allow
|
|
|
|
;; redistribution under GPL3 or LGPL2.1
|
|
|
|
license:gpl3 license:lgpl2.1)))))
|
|
|
|
|
2016-10-14 07:27:23 -04:00
|
|
|
(define-public qwt
|
|
|
|
(package
|
|
|
|
(name "qwt")
|
2020-06-07 12:43:11 -04:00
|
|
|
(version "6.1.5")
|
2016-10-14 07:27:23 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "mirror://sourceforge/qwt/qwt/"
|
|
|
|
version "/qwt-" version ".tar.bz2"))
|
|
|
|
(sha256
|
2020-06-07 12:43:11 -04:00
|
|
|
(base32 "0hf0mpca248xlqn7xnzkfj8drf19gdyg5syzklvq8pibxiixwxj0"))))
|
2016-10-14 07:27:23 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list qtbase-5 qtsvg-5 qttools-5))
|
2016-10-14 07:27:23 -04:00
|
|
|
(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.*") ""))
|
2019-01-25 07:53:04 -05:00
|
|
|
(invoke "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)
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(copy-recursively "doc/man" man)))))))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
(home-page "https://qwt.sourceforge.net")
|
2016-10-14 07:27:23 -04:00
|
|
|
(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
|
|
|
|
2017-01-04 09:53:03 -05:00
|
|
|
(define-public dotherside
|
|
|
|
(package
|
|
|
|
(name "dotherside")
|
2022-08-21 12:13:27 -04:00
|
|
|
(version "0.9.0")
|
2017-01-04 09:53:03 -05:00
|
|
|
(source
|
|
|
|
(origin
|
2019-11-13 14:41:37 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/filcuc/DOtherSide")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-04 09:53:03 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-21 12:13:27 -04:00
|
|
|
"13n2qb8q9jz4ihwlbs7y15lw90w9113gb1bgnb1dggpxkj64r953"))))
|
2017-01-04 09:53:03 -05:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list qttools-5))
|
2017-01-04 09:53:03 -05:00
|
|
|
(inputs
|
2022-08-21 12:13:27 -04:00
|
|
|
;; TODO: Support Qt 6 (requires qtdeclarative of Qt6).
|
2022-07-17 21:03:18 -04:00
|
|
|
(list qtbase-5 qtdeclarative-5))
|
2018-10-23 03:48:44 -04:00
|
|
|
(home-page "https://filcuc.github.io/DOtherSide/index.html")
|
2017-01-04 09:53:03 -05:00
|
|
|
(synopsis "C language library for creating bindings for the Qt QML language")
|
|
|
|
(description
|
|
|
|
"DOtherSide is a C language library for creating bindings for the
|
|
|
|
QT QML language. The following features are implementable from
|
|
|
|
a binding language:
|
|
|
|
@itemize
|
|
|
|
@item Creating custom QObject
|
|
|
|
@item Creating custom QAbstractListModels
|
|
|
|
@item Creating custom properties, signals and slots
|
|
|
|
@item Creating from QML QObject defined in the binded language
|
|
|
|
@item Creating from Singleton QML QObject defined in the binded language
|
|
|
|
@end itemize\n")
|
|
|
|
(license license:lgpl3))) ;version 3 only (+ exception)
|
2019-02-17 04:42:28 -05:00
|
|
|
|
|
|
|
(define-public qtcolorwidgets
|
2022-11-20 08:05:45 -05:00
|
|
|
(package
|
|
|
|
(name "qtcolorwidgets")
|
|
|
|
(version "2.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1fp7sr5a56bjp2abc6ng331q0bwvk6mf2nxdga81aj6cd9afs22q"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ;there are no tests
|
|
|
|
(native-inputs
|
|
|
|
(list qttools-5))
|
|
|
|
(inputs
|
|
|
|
(list qtbase-5))
|
|
|
|
(home-page "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
|
|
|
|
(synopsis "Color management widgets")
|
|
|
|
(description "QtColorWidgets provides a Qt color dialog that is more
|
2019-02-17 04:42:28 -05:00
|
|
|
user-friendly than the default @code{QColorDialog} and several other
|
|
|
|
color-related widgets.")
|
2022-11-20 08:05:45 -05:00
|
|
|
;; Includes a license exception for combining with GPL2 code.
|
|
|
|
(license license:lgpl3+)))
|
2019-07-06 12:13:50 -04:00
|
|
|
|
2021-05-12 05:53:02 -04:00
|
|
|
(define-public qcustomplot
|
|
|
|
(package
|
|
|
|
(name "qcustomplot")
|
|
|
|
(version "2.1.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.qcustomplot.com/release/"
|
|
|
|
version "fixed" "/QCustomPlot.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1324kqyj1v1f8k8d7b15gc3apwz9qxx52p86hvchg33hjdlqhskx"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("qcustomplot-sharedlib"
|
|
|
|
,(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.qcustomplot.com/release/"
|
|
|
|
version "fixed" "/QCustomPlot-sharedlib.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "0vp8lpxvd1nlp4liqrlvslpqrgfn0wpiwizzdsjbj22zzb8vxikc"))))))
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list qtbase-5))
|
2021-05-12 05:53:02 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'unpack-extra-files
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(invoke "tar" "-xvf" (assoc-ref inputs "qcustomplot-sharedlib"))))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(chdir "qcustomplot-sharedlib/sharedlib-compilation")
|
|
|
|
(substitute* "sharedlib-compilation.pro"
|
|
|
|
;; Don't build debug library.
|
|
|
|
(("debug_and_release")
|
|
|
|
"release"))
|
|
|
|
(invoke "qmake"
|
|
|
|
(string-append "DESTDIR="
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
"/lib"))))
|
|
|
|
(add-after 'install 'install-header
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(install-file "../../qcustomplot.h"
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
"/include")))))))
|
|
|
|
(home-page "https://www.qcustomplot.com/")
|
|
|
|
(synopsis "Qt widget for plotting and data visualization")
|
|
|
|
(description
|
|
|
|
"QCustomPlot is a Qt C++ widget providing 2D plots, graphs and charts.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2022-08-24 04:50:14 -04:00
|
|
|
;; TODO: Split shiboken2 binding generator into a dedicated output.
|
|
|
|
;; This executable requires libxml2, libxslt, clang-toolchain at runtime.
|
|
|
|
;; The libshiboken library only requires Qt and Python at runtime.
|
2019-07-06 12:13:50 -04:00
|
|
|
(define-public python-shiboken-2
|
2020-03-15 08:27:53 -04:00
|
|
|
(package
|
|
|
|
(name "python-shiboken-2")
|
2023-08-22 10:53:23 -04:00
|
|
|
(version "5.15.10")
|
2020-03-15 08:27:53 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-22 10:53:23 -04:00
|
|
|
(uri (string-append "mirror://qt/QtForPython/pyside2/PySide2-"
|
|
|
|
version "-src/pyside-setup-opensource-src-"
|
2020-03-15 08:27:53 -04:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-22 10:53:23 -04:00
|
|
|
"0fnkx8ax2lkin3bpqbz4zbdrdin2ixb4d6s3c0xghh9sc79r3xia"))))
|
2020-03-15 08:27:53 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list clang-toolchain
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
python-wrapper
|
|
|
|
qtbase-5
|
|
|
|
qtxmlpatterns))
|
2020-03-15 08:27:53 -04:00
|
|
|
(arguments
|
2022-08-24 04:50:14 -04:00
|
|
|
(list
|
|
|
|
#:tests? #f
|
|
|
|
;; FIXME: Building tests fails
|
|
|
|
#:configure-flags #~(list "-DBUILD_TESTS=off")
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'use-shiboken-dir-only
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(lambda _ (chdir "sources/shiboken2")))
|
2022-08-24 04:50:14 -04:00
|
|
|
(add-before 'configure 'make-files-writable-and-update-timestamps
|
|
|
|
(lambda _
|
|
|
|
;; The build scripts need to modify some files in
|
|
|
|
;; the read-only source directory, and also attempts
|
|
|
|
;; to create Zip files which fails because the Zip
|
|
|
|
;; format does not support timestamps before 1980.
|
|
|
|
(let ((circa-1980 (* 10 366 24 60 60)))
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(make-file-writable file)
|
|
|
|
(utime file circa-1980 circa-1980))
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(find-files ".")))))
|
2022-08-24 04:50:14 -04:00
|
|
|
(add-before 'configure 'set-build-env
|
|
|
|
(lambda _
|
|
|
|
(let ((llvm #$(this-package-input "clang-toolchain")))
|
2023-05-10 12:00:37 -04:00
|
|
|
(setenv "CLANG_INSTALL_DIR" llvm))))
|
|
|
|
(add-before 'configure 'workaround-importlib-error
|
|
|
|
(lambda _
|
|
|
|
;; The following hack works around the error
|
|
|
|
;; "module 'importlib' has no attribute 'machinery'"
|
|
|
|
;; when building python-pyside-2, which depends on
|
|
|
|
;; this package.
|
|
|
|
(substitute* "libshiboken/embed/signature_bootstrap.py"
|
|
|
|
(("import importlib" all)
|
|
|
|
(string-append
|
|
|
|
all
|
|
|
|
"\n import importlib.machinery as imachi"))
|
|
|
|
(("importlib.machinery.ModuleSpec")
|
|
|
|
"imachi.ModuleSpec")))))))
|
2020-03-15 08:27:53 -04:00
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
(synopsis
|
|
|
|
"Shiboken generates bindings for C++ libraries using CPython source code")
|
|
|
|
(description
|
|
|
|
"Shiboken generates bindings for C++ libraries using CPython source code")
|
|
|
|
(license
|
|
|
|
(list
|
|
|
|
;; The main code is GPL3 or LGPL3.
|
|
|
|
;; Examples are BSD-3.
|
|
|
|
license:gpl3
|
|
|
|
license:lgpl3
|
|
|
|
license:bsd-3))))
|
2019-09-02 10:27:15 -04:00
|
|
|
|
2022-08-24 07:23:31 -04:00
|
|
|
(define-public python-shiboken-6
|
|
|
|
(package
|
|
|
|
(inherit python-shiboken-2)
|
|
|
|
(name "python-shiboken-6")
|
2023-08-22 10:54:12 -04:00
|
|
|
(version "6.5.2")
|
2022-08-24 07:23:31 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-08-22 10:54:12 -04:00
|
|
|
(uri (string-append "mirror://qt/QtForPython/pyside6/PySide6-"
|
|
|
|
version "-src/pyside-setup-everywhere-src-"
|
2022-08-24 07:23:31 -04:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-22 10:54:12 -04:00
|
|
|
"1a0v9mjlcjbffm4lf5cfg45hvqai9654p95ygj5cjhfd9z8z3nwh"))))
|
2022-08-24 07:23:31 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
|
|
|
(modify-inputs (package-inputs python-shiboken-2)
|
|
|
|
(replace "qtbase" qtbase)
|
|
|
|
(delete "qtxmlpatterns")))
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments python-shiboken-2)
|
|
|
|
((#:phases p)
|
|
|
|
#~(modify-phases #$p
|
2023-07-24 20:16:11 -04:00
|
|
|
(delete 'workaround-importlib-error)
|
2022-08-24 07:23:31 -04:00
|
|
|
(replace 'use-shiboken-dir-only
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(lambda _ (chdir "sources/shiboken6")))))
|
2022-08-24 07:23:31 -04:00
|
|
|
((#:configure-flags flags)
|
|
|
|
#~(cons*
|
|
|
|
;; The RUNPATH of shibokenmodule contains the entry in build
|
|
|
|
;; directory instead of install directory.
|
|
|
|
"-DCMAKE_SKIP_RPATH=TRUE"
|
|
|
|
(string-append "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
#$output "/lib")
|
|
|
|
#$flags))))))
|
|
|
|
|
2019-09-02 10:27:15 -04:00
|
|
|
(define-public python-pyside-2
|
2020-03-15 08:27:53 -04:00
|
|
|
(package
|
|
|
|
(name "python-pyside-2")
|
|
|
|
(version (package-version python-shiboken-2))
|
|
|
|
(source (package-source python-shiboken-2))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
2022-08-24 10:54:46 -04:00
|
|
|
(list qtbase-5
|
2021-12-13 11:18:24 -05:00
|
|
|
qtdatavis3d
|
2022-07-17 21:03:18 -04:00
|
|
|
qtdeclarative-5
|
2021-12-13 11:18:24 -05:00
|
|
|
qtlocation
|
2022-07-17 19:00:48 -04:00
|
|
|
qtmultimedia-5
|
2022-07-17 23:47:28 -04:00
|
|
|
qtquickcontrols-5
|
2022-07-17 23:49:07 -04:00
|
|
|
qtquickcontrols2-5
|
2021-12-13 11:18:24 -05:00
|
|
|
qtscript
|
|
|
|
qtscxml
|
|
|
|
qtsensors
|
|
|
|
qtspeech
|
2022-07-17 01:11:46 -04:00
|
|
|
qtsvg-5
|
2022-08-24 10:54:46 -04:00
|
|
|
qttools-5
|
2022-07-18 00:02:58 -04:00
|
|
|
qtwebchannel-5
|
2022-07-18 07:57:16 -04:00
|
|
|
qtwebengine-5
|
2022-07-18 00:06:03 -04:00
|
|
|
qtwebsockets-5
|
2021-12-13 11:18:24 -05:00
|
|
|
qtx11extras
|
|
|
|
qtxmlpatterns))
|
gnu: python-pyside-2: Propagate python-shiboken-2.
Importing PySide2 failed, because shiboken was not propagated. Testcase:
> guix environment --ad-hoc python python-pyside-2 -- python -c 'import PySide2'
PySide2/__init__.py: Unable to import shiboken2 from , /gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages, /usr/lib/python38.zip, /usr/lib/python3.8, /usr/lib/python3.8/lib-dynload, /usr/lib/python3.8/site-packages
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages/PySide2/__init__.py", line 91, in <module>
_setupQtDirectories()
File "/gnu/store/vpniba85hhzb2270hki61z0d2kfvb64l-profile/lib/python3.8/site-packages/PySide2/__init__.py", line 57, in _setupQtDirectories
import shiboken2
ModuleNotFoundError: No module named 'shiboken2'
* gnu/packages/qt.scm (python-pyside-2) [native-inputs]: Move from here…
[propagated-inputs]: …to here.
2021-04-26 07:51:43 -04:00
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-shiboken-2))
|
2020-03-15 08:27:53 -04:00
|
|
|
(native-inputs
|
2022-08-24 10:54:46 -04:00
|
|
|
(list python-wrapper))
|
2020-03-15 08:27:53 -04:00
|
|
|
(arguments
|
2022-08-24 07:25:26 -04:00
|
|
|
(list
|
|
|
|
#:tests? #f
|
|
|
|
;; FIXME: Building tests fail.
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "-DBUILD_TESTS=FALSE"
|
|
|
|
(string-append "-DPYTHON_EXECUTABLE="
|
2022-08-24 10:57:44 -04:00
|
|
|
(search-input-file %build-inputs
|
|
|
|
"/bin/python")))
|
2022-08-24 07:25:26 -04:00
|
|
|
#:modules '((guix build cmake-build-system)
|
2022-02-16 07:34:55 -05:00
|
|
|
(guix build utils)
|
|
|
|
(srfi srfi-1))
|
2022-08-24 07:25:26 -04:00
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(lambda _ (chdir "sources/pyside2")))
|
2022-08-24 07:25:26 -04:00
|
|
|
(add-after 'go-to-source-dir 'fix-qt-module-detection
|
2022-08-24 10:57:44 -04:00
|
|
|
(lambda _
|
2022-08-24 07:25:26 -04:00
|
|
|
;; Activate qt module support even if it not in the same
|
|
|
|
;; directory as qtbase.
|
|
|
|
(substitute* "../cmake_helpers/helpers.cmake"
|
|
|
|
(("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)")
|
|
|
|
"true"))
|
|
|
|
;; Add include directories for qt modules.
|
2022-08-24 10:57:44 -04:00
|
|
|
(let ((dirs (map (lambda (path)
|
|
|
|
(string-append path "/include/qt5"))
|
|
|
|
(list
|
|
|
|
#$@(map (lambda (name)
|
|
|
|
(this-package-input name))
|
|
|
|
'("qtdatavis3d"
|
|
|
|
"qtdeclarative"
|
|
|
|
"qtlocation"
|
|
|
|
"qtmultimedia"
|
|
|
|
"qtquickcontrols"
|
|
|
|
"qtquickcontrols2"
|
|
|
|
"qtscript"
|
|
|
|
"qtscxml"
|
|
|
|
"qtsensors"
|
|
|
|
"qtspeech"
|
|
|
|
"qtsvg"
|
|
|
|
"qttools"
|
|
|
|
"qtwebchannel"
|
|
|
|
"qtwebengine"
|
|
|
|
"qtwebsockets"
|
|
|
|
"qtx11extras"
|
|
|
|
"qtxmlpatterns"))))))
|
2022-08-24 07:25:26 -04:00
|
|
|
(substitute* "cmake/Macros/PySideModules.cmake"
|
|
|
|
(("\\$\\{PATH_SEP\\}\\$\\{core_includes\\}" all)
|
|
|
|
(fold (lambda (dir paths)
|
|
|
|
(string-append paths "${PATH_SEP}" dir))
|
|
|
|
all
|
|
|
|
dirs)))
|
|
|
|
(setenv "CXXFLAGS" (fold (lambda (dir paths)
|
|
|
|
(string-append paths " -I" dir))
|
|
|
|
""
|
2022-08-24 10:54:46 -04:00
|
|
|
dirs))))))))
|
2020-03-15 08:27:53 -04:00
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
(synopsis
|
|
|
|
"The Qt for Python product enables the use of Qt5 APIs in Python applications")
|
|
|
|
(description
|
|
|
|
"The Qt for Python product enables the use of Qt5 APIs in Python
|
2019-09-02 10:27:15 -04:00
|
|
|
applications. It lets Python developers utilize the full potential of Qt,
|
|
|
|
using the PySide2 module. The PySide2 module provides access to the
|
|
|
|
individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also
|
|
|
|
comes with the Shiboken2 CPython binding code generator, which can be used to
|
|
|
|
generate Python bindings for your C or C++ code.")
|
2020-03-15 08:27:53 -04:00
|
|
|
(license (list
|
|
|
|
license:lgpl3
|
|
|
|
;;They state that:
|
|
|
|
;; this file may be used under the terms of the GNU General
|
|
|
|
;; Public License version 2.0 or (at your option) the GNU
|
|
|
|
;; General Public license version 3 or any later version
|
|
|
|
;; approved by the KDE Free Qt Foundation.
|
|
|
|
;; Thus, it is currently v2 or v3, but no "+".
|
|
|
|
license:gpl3
|
|
|
|
license:gpl2))))
|
2019-07-06 21:49:08 -04:00
|
|
|
|
2022-08-25 00:42:54 -04:00
|
|
|
(define-public python-pyside-6
|
|
|
|
(package
|
|
|
|
(inherit python-pyside-2)
|
|
|
|
(name "python-pyside-6")
|
|
|
|
(version (package-version python-shiboken-6))
|
|
|
|
(source (package-source python-shiboken-6))
|
|
|
|
;; TODO: Add more Qt components if available.
|
|
|
|
(inputs
|
|
|
|
(list qtbase
|
|
|
|
qtdeclarative
|
|
|
|
qtmultimedia
|
|
|
|
qtnetworkauth
|
|
|
|
qtpositioning
|
|
|
|
qtsvg
|
|
|
|
qttools
|
|
|
|
qtwebchannel
|
|
|
|
qtwebengine
|
|
|
|
qtwebsockets))
|
|
|
|
(propagated-inputs
|
|
|
|
(list python-shiboken-6))
|
|
|
|
(native-inputs
|
|
|
|
(list python-wrapper))
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:tests? #f
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "-DBUILD_TESTS=FALSE"
|
|
|
|
(string-append "-DPYTHON_EXECUTABLE="
|
|
|
|
(search-input-file %build-inputs
|
|
|
|
"/bin/python")))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(lambda _ (chdir "sources/pyside6")))
|
2022-08-25 00:42:54 -04:00
|
|
|
(add-after 'go-to-source-dir 'fix-qt-module-detection
|
|
|
|
(lambda _
|
|
|
|
(substitute* "cmake/PySideHelpers.cmake"
|
|
|
|
(("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)")
|
|
|
|
"true"))
|
|
|
|
(let ((dirs (map (lambda (path)
|
|
|
|
(string-append path "/include/qt6"))
|
|
|
|
(list
|
|
|
|
#$@(map (lambda (name)
|
|
|
|
(this-package-input name))
|
|
|
|
'("qtdeclarative"
|
|
|
|
"qtmultimedia"
|
|
|
|
"qtnetworkauth"
|
|
|
|
"qtpositioning"
|
|
|
|
"qtsvg"
|
|
|
|
"qttools"
|
|
|
|
"qtwebchannel"
|
|
|
|
"qtwebengine"
|
|
|
|
"qtwebsockets"))))))
|
|
|
|
(substitute* "cmake/Macros/PySideModules.cmake"
|
|
|
|
(("set\\(shiboken_include_dir_list " all)
|
|
|
|
(string-append all (string-join dirs ";") " ")))
|
|
|
|
(setenv "CXXFLAGS"
|
|
|
|
(string-join
|
|
|
|
(map (lambda (dir)
|
|
|
|
(string-append "-I" dir))
|
|
|
|
dirs)
|
|
|
|
" "))))))))
|
|
|
|
(synopsis
|
|
|
|
"The Qt for Python product enables the use of Qt6 APIs in Python applications")
|
|
|
|
(description
|
|
|
|
"The Qt for Python product enables the use of Qt6 APIs in Python
|
|
|
|
applications. It lets Python developers utilize the full potential of Qt,
|
|
|
|
using the PySide6 module. The PySide6 module provides access to the
|
|
|
|
individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also
|
|
|
|
comes with the Shiboken6 CPython binding code generator, which can be used to
|
|
|
|
generate Python bindings for your C or C++ code.")))
|
|
|
|
|
2019-07-06 21:49:08 -04:00
|
|
|
(define-public python-pyside-2-tools
|
2020-03-15 08:27:53 -04:00
|
|
|
(package
|
|
|
|
(name "python-pyside-2-tools")
|
|
|
|
(version (package-version python-shiboken-2))
|
|
|
|
(source (package-source python-shiboken-2))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list python-pyside-2 python-shiboken-2 qtbase-5))
|
2020-03-15 08:27:53 -04:00
|
|
|
(native-inputs
|
2022-08-25 01:02:46 -04:00
|
|
|
(list python-wrapper))
|
2020-03-15 08:27:53 -04:00
|
|
|
(arguments
|
2022-08-25 01:02:46 -04:00
|
|
|
(list
|
|
|
|
#:tests? #f
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "-DBUILD_TESTS=off"
|
|
|
|
(string-append "-DPYTHON_EXECUTABLE="
|
|
|
|
(search-input-file %build-inputs
|
|
|
|
"/bin/python")))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
(lambda _ (chdir "sources/pyside2-tools"))))))
|
2020-03-15 08:27:53 -04:00
|
|
|
(home-page "https://wiki.qt.io/Qt_for_Python")
|
|
|
|
(synopsis
|
2022-08-25 01:04:45 -04:00
|
|
|
"Command line tools for PySide2")
|
2020-03-15 08:27:53 -04:00
|
|
|
(description
|
2022-08-25 01:04:45 -04:00
|
|
|
"Python-pyside-2-tools contains lupdate, rcc and uic tools for PySide2")
|
2020-03-15 08:27:53 -04:00
|
|
|
(license license:gpl2)))
|
2020-05-13 07:54:20 -04:00
|
|
|
|
|
|
|
(define-public libqglviewer
|
|
|
|
(package
|
|
|
|
(name "libqglviewer")
|
|
|
|
(version "2.7.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "http://libqglviewer.com/src/libQGLViewer-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"023w7da1fyn2z69nbkp2rndiv886zahmc5cmira79zswxjfpklp2"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
#:make-flags
|
|
|
|
(list (string-append "PREFIX="
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
(apply invoke (cons "qmake" make-flags)))))))
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list qtbase-5 qttools-5))
|
2020-05-13 07:54:20 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list glu))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
(home-page "https://libqglviewer.com")
|
2020-05-13 07:54:20 -04:00
|
|
|
(synopsis "Qt-based C++ library for the creation of OpenGL 3D viewers")
|
|
|
|
(description
|
|
|
|
"@code{libQGLViewer} is a C++ library based on Qt that eases the creation
|
|
|
|
of OpenGL 3D viewers.
|
|
|
|
|
|
|
|
It provides some of the typical 3D viewer functionalities, such as the
|
|
|
|
possibility to move the camera using the mouse, which lacks in most of the
|
|
|
|
other APIs. Other features include mouse manipulated frames, interpolated
|
|
|
|
keyFrames, object selection, stereo display, screenshot saving and much more.
|
|
|
|
It can be used by OpenGL beginners as well as to create complex applications,
|
|
|
|
being fully customizable and easy to extend.")
|
|
|
|
;; According to LICENSE, either version 2 or version 3 of the GNU GPL may
|
|
|
|
;; be used.
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|
2021-01-01 09:17:06 -05:00
|
|
|
|
2022-02-21 08:32:28 -05:00
|
|
|
(define-public qhexedit
|
|
|
|
(package
|
|
|
|
(name "qhexedit")
|
|
|
|
(version "0.8.9")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/Simsys/qhexedit2")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1j333kiwhbidphdx86yilkaivgl632spfh6fqx93bc80gk4is3xa"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-path
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(substitute* "src/qhexedit.pro"
|
|
|
|
(("^unix:DESTDIR = /usr/lib")
|
|
|
|
(string-append "unix:DESTDIR = "
|
|
|
|
(assoc-ref outputs "out") "/lib")))))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(chdir "src")
|
|
|
|
(invoke "qmake" "qhexedit.pro")))
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(include-dir (string-append out "/include")))
|
|
|
|
(mkdir-p include-dir)
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file file include-dir))
|
|
|
|
(find-files "." "\\.h$"))))))))
|
|
|
|
(inputs (list qtbase-5))
|
2022-07-19 16:52:05 -04:00
|
|
|
(native-inputs (list qttools-5))
|
2022-02-21 08:32:28 -05:00
|
|
|
(home-page "https://simsys.github.io")
|
|
|
|
(synopsis "Binary editor widget for Qt")
|
|
|
|
(description
|
|
|
|
"@code{QHexEdit} is a hex editor widget for the Qt framework. It is a
|
|
|
|
simple editor for binary data, just like @code{QPlainTextEdit} is for text
|
|
|
|
data.")
|
|
|
|
(license license:lgpl2.1)))
|
2021-01-01 09:17:06 -05:00
|
|
|
|
|
|
|
(define-public soqt
|
|
|
|
(let ((commit-ref "fb8f655632bb9c9c60e0ff9fa69a5ba22d3ff99d")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "soqt")
|
|
|
|
(version (git-version "1.6.0" revision commit-ref))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/coin3d/soqt")
|
|
|
|
(commit commit-ref)
|
|
|
|
(recursive? #t)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "16vikb3fy8rmk10sg5g0gy2c343hi3x7zccsga90ssnkzpq6m032"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ; There are no tests
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list pkg-config cmake))
|
2021-01-01 09:17:06 -05:00
|
|
|
(inputs
|
2022-11-19 12:06:36 -05:00
|
|
|
(list qtbase-5 coin3D))
|
2021-01-01 09:17:06 -05:00
|
|
|
(home-page "https://github.com/coin3d/soqt")
|
|
|
|
(synopsis "Qt GUI component toolkit library for Coin")
|
|
|
|
(description "SoQt is a Qt GUI component toolkit library for Coin. It is
|
|
|
|
also compatible with SGI and TGS Open Inventor, and the API is based on the API
|
|
|
|
of the InventorXt GUI component toolkit.")
|
|
|
|
(license license:bsd-3))))
|
2022-02-01 02:14:24 -05:00
|
|
|
|
|
|
|
(define-public libdbusmenu-qt
|
|
|
|
(package
|
|
|
|
(name "libdbusmenu-qt")
|
|
|
|
(version "0.9.3+16.04.20160218-0ubuntu1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
;; Download from github rather than launchpad because launchpad trunk
|
|
|
|
;; tarball hash is not deterministic.
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/unity8-team/libdbusmenu-qt")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
;; XXX: Tests require a dbus session and some icons.
|
|
|
|
'(#:tests? #f))
|
|
|
|
(native-inputs
|
|
|
|
(list doxygen))
|
|
|
|
(inputs
|
|
|
|
(list qtbase-5))
|
|
|
|
(home-page "https://launchpad.net/libdbusmenu-qt")
|
|
|
|
(synopsis "Qt implementation of the DBusMenu spec")
|
|
|
|
(description "This library provides a Qt implementation of the DBusMenu
|
|
|
|
protocol. The DBusMenu protocol makes it possible for applications to export
|
|
|
|
and import their menus over DBus.")
|
|
|
|
(license license:lgpl2.1+)))
|
2021-09-28 01:25:49 -04:00
|
|
|
|
|
|
|
(define-public kdsoap
|
|
|
|
(package
|
|
|
|
(name "kdsoap")
|
|
|
|
(version "2.0.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/KDAB/KDSoap/releases/download/"
|
|
|
|
"kdsoap-" version "/kdsoap-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1vh4rzb09kks1ilay1y60q7gf64gwzdwsca60hmx1xx69w8672fi"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(inputs `(("qtbase" ,qtbase-5)))
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags '("-DKDSoap_TESTS=true")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "ctest" "-E" ;; These tests try connect to the internet.
|
gnu: QT: Remove trailing booleans.
* gnu/packages/qt.scm (qite, grantlee, single-application-qt5, python-pyqt,
python-pyqtwebengine, python-qscintilla, python-pyqt+qscintilla, qtsolutions,
qwt, python-shiboken-2, python-shiboken-6, python-pyside-2, python-pyside-6
python-pyside-2-tools, kdsoap): Remove trailing booleans.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-28 05:22:15 -04:00
|
|
|
"(kdsoap-webcalls|kdsoap-webcalls_wsdl|kdsoap-test_calc)")))))))
|
2021-09-28 01:25:49 -04:00
|
|
|
(home-page "https://www.kdab.com/development-resources/qt-tools/kd-soap/")
|
|
|
|
(synopsis "Qt SOAP component")
|
|
|
|
(description "KD SOAP is a tool for creating client applications for web
|
|
|
|
services using the XML based SOAP protocol and without the need for a dedicated
|
|
|
|
web server.")
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|
2022-09-14 04:31:05 -04:00
|
|
|
|
2022-03-04 19:46:47 -05:00
|
|
|
(define-public libaccounts-qt
|
|
|
|
(package
|
|
|
|
(name "libaccounts-qt")
|
|
|
|
(version "1.16")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.com/accounts-sso/libaccounts-qt")
|
|
|
|
(commit (string-append "VERSION_" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1vmpjvysm0ld8dqnx8msa15hlhrkny02cqycsh4k2azrnijg0xjz"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:tests? #f ;TODO
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/tst_libaccounts.pro"
|
|
|
|
(("QMAKE_RPATHDIR = \\$\\$\\{QMAKE_LIBDIR\\}")
|
|
|
|
(string-append "QMAKE_RPATHDIR ="
|
|
|
|
#$output "/lib")))
|
|
|
|
(invoke "qmake"
|
|
|
|
(string-append "PREFIX=" #$output)
|
|
|
|
(string-append "LIBDIR=" #$output "/lib")))))))
|
|
|
|
;; * SignOnQt5 (required version >= 8.55), D-Bus service which performs
|
|
|
|
;; user authentication on behalf of its clients,
|
|
|
|
;; <https://gitlab.com/accounts-sso/signond>
|
|
|
|
(native-inputs (list doxygen pkg-config qtbase-5 qttools-5))
|
|
|
|
(inputs (list glib signond libaccounts-glib))
|
|
|
|
(home-page "https://accounts-sso.gitlab.io/")
|
|
|
|
(synopsis "Qt5 bindings for libaccounts-glib")
|
|
|
|
(description
|
|
|
|
"Accounts SSO is a framework for application developers who
|
|
|
|
wish to acquire, use and store web account details and credentials. It
|
|
|
|
handles the authentication process of an account and securely stores the
|
|
|
|
credentials and service-specific settings.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2022-08-17 19:53:40 -04:00
|
|
|
(define-public libsignon-glib
|
|
|
|
(package
|
|
|
|
(name "libsignon-glib")
|
|
|
|
(version "2.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.com/accounts-sso/libsignon-glib")
|
|
|
|
(commit (string-append "VERSION_" version))
|
|
|
|
(recursive? #t)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0gnx9gqsh0hcfm1lk7w60g64mkn1iicga5f5xcy1j9a9byacsfd0"))))
|
|
|
|
(build-system meson-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:tests? #f ;TODO: ninja: no work to do.
|
|
|
|
#:imported-modules `((guix build python-build-system)
|
|
|
|
,@%meson-build-system-modules)
|
|
|
|
#:modules '(((guix build python-build-system)
|
|
|
|
#:select (python-version))
|
|
|
|
(guix build meson-build-system)
|
|
|
|
(guix build utils))
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "-Dtests=true"
|
|
|
|
(string-append "-Dpy-overrides-dir="
|
|
|
|
#$output "/lib/python"
|
|
|
|
(python-version #$(this-package-input
|
|
|
|
"python"))
|
|
|
|
"/site-packages/gi/overrides"))))
|
|
|
|
(native-inputs (list dbus
|
|
|
|
dbus-test-runner
|
|
|
|
`(,glib "bin")
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
pkg-config
|
|
|
|
vala))
|
|
|
|
(inputs (list check signond python python-pygobject))
|
|
|
|
(propagated-inputs (list glib))
|
|
|
|
(home-page "https://accounts-sso.gitlab.io/libsignon-glib/")
|
|
|
|
(synopsis "Single signon authentication library for GLib applications")
|
|
|
|
(description
|
|
|
|
"This package provides single signon authentication library for
|
|
|
|
GLib applications.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2022-09-11 23:25:02 -04:00
|
|
|
(define-public packagekit-qt5
|
|
|
|
(package
|
|
|
|
(name "packagekit-qt5")
|
|
|
|
(version "1.0.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/hughsie/PackageKit-Qt")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1d20r503msw1vix3nb6a8bmdqld7fj8k9jk33bkqsc610a2zsms6"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ;no test suite
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
(inputs (list packagekit qtbase-5))
|
|
|
|
(home-page "https://www.freedesktop.org/software/PackageKit/pk-intro.html")
|
|
|
|
(synopsis "Qt5 bindings for PackageKit")
|
|
|
|
(description "Provides Qt5 bindings to PackageKit which is a DBUS
|
|
|
|
abstraction layer that allows the session user to manage packages in
|
|
|
|
a secure way.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2022-08-17 19:52:33 -04:00
|
|
|
(define-public signond
|
|
|
|
(package
|
|
|
|
(name "signond")
|
|
|
|
(version "8.61")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gitlab.com/accounts-sso/signond")
|
|
|
|
(commit (string-append "VERSION_" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0k6saz5spys4a4p6ws0ayrjks2gqdqvz7zfmlhdpz5axha0gbqq4"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(native-inputs (list doxygen pkg-config qtbase-5 qttools-5))
|
|
|
|
(inputs (list dbus glib libaccounts-glib))
|
|
|
|
(arguments
|
|
|
|
(list #:tests? #f ; Figure out how to run tests
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(delete 'validate-runpath)
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/signond/signond.pro"
|
|
|
|
(("/etc/")
|
|
|
|
(string-append #$output "/etc/")))
|
|
|
|
(substitute*
|
|
|
|
'("tests/extensions/extensions.pri"
|
|
|
|
"tests/signond-tests/mock-ac-plugin/plugin.pro"
|
|
|
|
"tests/signond-tests/identity-tool.pro"
|
|
|
|
"tests/signond-tests/mock-ac-plugin/identity-ac-helper.pro"
|
|
|
|
"tests/libsignon-qt-tests/libsignon-qt-tests.pro"
|
|
|
|
"tests/signond-tests/signond-tests.pri")
|
|
|
|
(("QMAKE_RPATHDIR = \\$\\$\\{QMAKE_LIBDIR\\}")
|
|
|
|
(string-append "QMAKE_RPATHDIR = "
|
|
|
|
#$output "/lib:"
|
|
|
|
#$output "/lib/signon")))
|
|
|
|
(invoke "qmake"
|
|
|
|
(string-append "PREFIX=" #$output)
|
|
|
|
(string-append "LIBDIR=" #$output "/lib")))))))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
(home-page "https://accounts-sso.gitlab.io/signond/index.html")
|
2022-08-17 19:52:33 -04:00
|
|
|
(synopsis "Perform user authentication over D-Bus")
|
|
|
|
(description "This package provides a D-Bus service which performs user
|
|
|
|
authentication on behalf of its clients.")
|
|
|
|
(license license:lgpl2.1+)))
|
2022-08-28 17:54:23 -04:00
|
|
|
|
|
|
|
(define-public signon-plugin-oauth2
|
|
|
|
(package
|
|
|
|
(name "signon-plugin-oauth2")
|
|
|
|
(version "0.25")
|
|
|
|
(home-page "https://gitlab.com/accounts-sso/signon-plugin-oauth2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url home-page)
|
|
|
|
(commit (string-append "VERSION_" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"16aslnyk8jdg03zcg97rp6qzd0gmclj14hyhliksz8jgfz1l0w7c"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(native-inputs (list doxygen pkg-config))
|
|
|
|
(inputs (list signond))
|
|
|
|
(arguments
|
|
|
|
(list #:tests? #f ;no tests
|
|
|
|
#:make-flags #~(list (string-append "INSTALL_ROOT=" #$output))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(substitute* "common-project-config.pri"
|
|
|
|
(("-Werror")
|
|
|
|
""))
|
|
|
|
(invoke "qmake"
|
|
|
|
(string-append "PREFIX=" #$output)
|
|
|
|
(string-append "LIBDIR=" #$output "/lib")))))))
|
|
|
|
(synopsis "OAuth 2 plugin for signon")
|
|
|
|
(description
|
|
|
|
"This plugin for the Accounts-SSO SignOn daemon handles the OAuth
|
|
|
|
1.0 and 2.0 authentication protocols.")
|
|
|
|
(license license:lgpl2.1+)))
|
2022-11-09 09:00:40 -05:00
|
|
|
|
|
|
|
(define-public clazy
|
|
|
|
(package
|
|
|
|
(name "clazy")
|
|
|
|
(version "1.11")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/KDE/clazy")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1y0n1jknq566z1rifkgdm1yqb0mw564lp51jidfz7q9w91spijci"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs (list python))
|
|
|
|
(inputs (list clang llvm))
|
|
|
|
(home-page "https://github.com/KDE/clazy/")
|
|
|
|
(synopsis "Qt-oriented static code analyzer")
|
|
|
|
(description "clazy is a compiler plugin which allows @command{clang} to
|
|
|
|
understand Qt semantics. It can emit more than fifty (50) Qt-related compiler
|
|
|
|
warnings, ranging from unneeded memory allocations to misuses of the API,
|
|
|
|
including @i{fix-its} for automatic refactoring.")
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
2022-11-08 15:23:04 -05:00
|
|
|
(define-public qt-creator
|
|
|
|
(package
|
|
|
|
(name "qt-creator")
|
2023-08-12 22:16:51 -04:00
|
|
|
(version "11.0.1")
|
2022-11-08 15:23:04 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2023-08-09 14:22:17 -04:00
|
|
|
"mirror://qt/qtcreator/"
|
2022-11-08 15:23:04 -05:00
|
|
|
(version-major+minor version) "/" version
|
|
|
|
"/qt-creator-opensource-src-" version ".tar.gz"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet '(begin
|
|
|
|
(for-each
|
|
|
|
delete-file-recursively
|
|
|
|
;; Remove bundled libraries, where supported.
|
|
|
|
;; TODO: package and unbundle litehtml
|
|
|
|
'("src/libs/3rdparty/yaml-cpp"
|
|
|
|
"tests/unit/unittest/3rdparty"
|
|
|
|
;; Marketplace recommends nonfree extensions;
|
|
|
|
;; remove it.
|
|
|
|
"src/plugins/marketplace"))
|
|
|
|
(substitute* "src/plugins/CMakeLists.txt"
|
|
|
|
(("add_subdirectory\\(marketplace).*") ""))
|
|
|
|
(substitute* "src/plugins/plugins.qbs"
|
|
|
|
((".*marketplace/marketplace.qbs.*") ""))))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-08-12 22:16:51 -04:00
|
|
|
"0j90dv9micqsvj4r7iqd11szixr0mlpna4w5s2lnyqckjs6a0mm6"))))
|
2022-11-08 15:23:04 -05:00
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:qtbase qtbase
|
|
|
|
#:configure-flags
|
|
|
|
#~(list "-DWITH_DOCS=ON"
|
|
|
|
"-DBUILD_DEVELOPER_DOCS=ON"
|
|
|
|
"-DCMAKE_VERBOSE_MAKEFILE=ON"
|
|
|
|
"-DWITH_TESTS=ON"
|
|
|
|
;; Extend the RUNPATH with lib/qtcreator, which contains
|
|
|
|
;; multiple shared objects.
|
|
|
|
(string-append "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
#$output "/lib/qtcreator"))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* '("src/libs/utils/commandline.cpp"
|
|
|
|
"src/libs/utils/deviceshell.cpp")
|
|
|
|
(("/bin/sh")
|
|
|
|
(search-input-file inputs "bin/sh")))
|
2023-08-12 22:16:51 -04:00
|
|
|
(substitute* "src/libs/utils/process.cpp"
|
2022-11-08 15:23:04 -05:00
|
|
|
(("/usr/bin/env")
|
|
|
|
(search-input-file inputs "bin/env")))
|
2023-08-12 22:16:51 -04:00
|
|
|
(substitute* '("tests/auto/utils/process/tst_process.cpp"
|
|
|
|
"tests/auto/utils/commandline/tst_commandline.cpp")
|
2022-11-08 15:23:04 -05:00
|
|
|
(("/bin/sh")
|
|
|
|
(which "sh")))))
|
|
|
|
(add-before 'build 'build-doc
|
|
|
|
(lambda _
|
|
|
|
(invoke "cmake" "--build" "." "--target=docs" "-v")))
|
|
|
|
(add-after 'build-doc 'install-doc
|
|
|
|
(lambda _
|
|
|
|
(invoke "cmake" "--install" "." "--prefix" #$output
|
|
|
|
"--component=qch_docs")
|
|
|
|
(invoke "cmake" "--install" "." "--prefix" #$output
|
|
|
|
"--component=html_docs")))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "xvfb-run" ;for the 'renderpass' tests
|
|
|
|
"ctest" "-j" (if parallel-tests?
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
"1")
|
|
|
|
"--label-exclude" "exclude_from_precheck"
|
2023-08-12 22:16:51 -04:00
|
|
|
"-E"
|
|
|
|
(string-append
|
|
|
|
"("
|
|
|
|
(string-join
|
|
|
|
(list
|
|
|
|
;; The performance data tests require external
|
|
|
|
;; data.
|
|
|
|
"tst_perfdata"
|
|
|
|
;; This test relies on counting processes, counts
|
|
|
|
;; only 0 of them instead of 5 for unknown reasons
|
|
|
|
;; (see:
|
|
|
|
;; https://bugreports.qt.io/browse/QTCREATORBUG-29495).
|
|
|
|
"tst_process") "|")
|
|
|
|
")")))))
|
2022-11-08 15:23:04 -05:00
|
|
|
(add-after 'qt-wrap 'wrap-bin
|
|
|
|
;; Make a few well-integrated tools readily available.
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(wrap-program (search-input-file outputs "bin/qtcreator")
|
|
|
|
`("PATH" suffix ,(map (lambda (c)
|
|
|
|
(dirname (search-input-file inputs c)))
|
|
|
|
'("bin/clang-tidy"
|
|
|
|
"bin/clazy-standalone"
|
|
|
|
"bin/gdb"
|
|
|
|
"bin/valgrind")))))))))
|
|
|
|
(native-inputs
|
|
|
|
(list googletest
|
|
|
|
pkg-config
|
|
|
|
python
|
|
|
|
qttools
|
|
|
|
qttranslations
|
|
|
|
vulkan-headers
|
|
|
|
xvfb-run))
|
|
|
|
(inputs
|
|
|
|
(list bash-minimal
|
|
|
|
coreutils-minimal
|
|
|
|
clang
|
|
|
|
clazy
|
|
|
|
elfutils
|
|
|
|
gdb
|
|
|
|
libxkbcommon
|
|
|
|
llvm
|
|
|
|
qt5compat
|
|
|
|
qtdeclarative
|
|
|
|
qtshadertools
|
|
|
|
qtsvg
|
|
|
|
yaml-cpp
|
|
|
|
valgrind
|
|
|
|
vulkan-loader
|
|
|
|
`(,zstd "lib")))
|
|
|
|
(home-page "https://www.qt.io/")
|
|
|
|
(synopsis "Integrated development environment (IDE) for Qt")
|
|
|
|
(description "Qt Creator is an IDE tailored to the needs of Qt developers.
|
|
|
|
It includes features such as an advanced code editor, a visual debugger and a
|
|
|
|
@acronym{GUI, Graphical User Interface} designer.")
|
|
|
|
(license license:gpl3+))) ;with the Qt Company GPL Exception 1.0
|
|
|
|
|
2022-09-14 04:31:05 -04:00
|
|
|
;;;
|
|
|
|
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
|
|
|
;;; of a merge conflict, place them above by existing packages with similar
|
|
|
|
;;; functionality or similar names.
|
|
|
|
;;;
|