Commit Graph

191 Commits

Author SHA1 Message Date
Marius Bakke 418cbf6e22
gnu: qt.scm: Remove unneeded import.
* gnu/packages/qt.scm (define-module): Don't import (gnu packages base).
2018-02-18 20:44:19 +01:00
Hartmut Goebel 042f7c2636
gnu: qtserialport: Use the store paths for dynamically loaded libs.
Transfer the applicable NixOS patches for qtserialport as of 2018-01-19:

- src/serialport/qtudev_p.h: Transferred: Use hard-coded path to libudev.

* gnu/packages/qt.scm(qtserialport)[#:phases]<patch-dlopen-paths>:
  New phase.
2018-02-18 18:39:19 +01:00
Hartmut Goebel 64f390a409
gnu: qtbase: Use the store paths for other packages and dynamically loaded libs.
Transfer the applicable NixOS patches as of 2018-01-19:

- Not adopted: We don't change the .cmake.in and .prf, but use config
  mechanisms provided by th Qt build system.

- src/corelib/tools/qtimezoneprivate_tz.cpp: Adopted patch: Use $TZDIR to
  search for time-zone data. Thus avoid depending on package "tzdata", which
  often introduces changes with near-immediate effects, so it's important to
  be able to update it fast.

- src/corelib/kernel/qcoreapplication.cpp: Not adopted: NixOS adds plugin
  paths derived from PATH. We do not need this, since we already have
  native-search-path QT_PLUGIN_PATH.

- src/network/kernel/qdnslookup_unix.cpp,
  src/network/kernel/qhostinfo_unix.cpp: Transferred: Use hard-coded path to
  libresolv.

- src/network/ssl/qsslcontext_openssl.cpp: Not adopted: NixOS changes a
  conditional compilation for Qt 5.9 (but leaves it unchanged for Qt 5.10) to
  fix compilation with libressl.  But Qt does not support libressl anway, see
  config.tests/openssl/openssl.cpp in qtbase 5.9.4.

- src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp:
  Transferred: Use hard-coded path to libx11.

- src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:
  Transferred: Use hard-coded path to mess's libGL, no need for a fall-back.

- src/plugins/platforms/xcb/qxcbcursor.cpp: Transferred: Use hard-coded path
  to Xcursor.

- src/plugins/platformthemes/gtk3/main.cpp: Not adopted: NixOS changes
  $XDG_DATA_DIRS and $GIO_EXTRA_MODULES in the code. We already have a
  search-path-specification for this.

- src/testlib/qtestassert.h: Decided not to adopt this for guix.

* gnu/packages/patches/qtbase-use-TZDIR.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qtbase): Add comment. [source]: Use new patch.
  [arguments]<#:phases>'patch-paths': New phase.
2018-02-18 18:39:18 +01:00
Nicolas Goaziou 04162e83ff
gnu: qtsensors: Fix build.
* gnu/packages/qt.scm (qtsensors)[arguments]: Remove failing test.
2018-02-10 18:54:01 +01:00
Efraim Flashner 418c62fff2
gnu: qt: Update to 5.9.4.
* gnu/packages/qt.scm (qt qtbase qtsvg qtimageformats qtx11extras
qtxmlpatterns qtdeclarative qtconnectivity qtwebsockets qtsensors
qtmultimedia qtwayland qtserialport qtserialbus qtwebchannel
qtlocation qttools qtscript qtquickcontrols qtquickcontrols2
qtgraphicaleffects qtgamepad qtscxml qtpurchasing qtcanvas3d
qtnetworkauth qtwebkit): Update to 5.9.4.
2018-01-25 07:14:35 +02:00
Mark H Weaver 76c7fc436a
gnu: python-qscintilla: Remove result code plumbing.
* gnu/packages/qt.scm (python-qscintilla)[arguments]: In the 'configure'
phase, remove result code plumbing that is no longer needed, since 'invoke'
never returns #false.
2018-01-24 06:35:29 -05:00
Kei Kebreau 0af6ffdd8d
gnu: qscintilla: Update to 2.10.2.
* gnu/packages/qt.scm (qscintilla, python-qscintilla, python-pyqt+qscintilla):
Update to 2.10.2.
2018-01-23 20:02:32 -05:00
Tobias Geerinckx-Rice 8895a968e4
gnu: dotherside: Update to 0.6.3.
* gnu/packages/qt.scm (dotherside): Update to 0.6.3
2017-12-24 16:12:18 +01:00
Efraim Flashner 5ea35b42e4
gnu: qtsensors: Disable parallel tests.
* gnu/packages/qt.scm (qtsensors)[arguments]: Disable parallel tests.
2017-11-25 22:16:34 +02:00
Efraim Flashner 7997d37bac
gnu: qt: Update to 5.9.3.
* 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.9.3.
2017-11-24 16:18:35 +02:00
Efraim Flashner 06378ceeb1
gnu: qt@5: Update to 5.9.3.
* gnu/packages/qt.scm (qt@5): Update to 5.9.3.
2017-11-24 16:18:35 +02:00
ng0 c146314566
Update email address for ng0. 2017-11-19 12:13:43 +02:00
宋文武 b000294ef7
gnu: qt: Set 'EffectiveSourcePaths' to 'qtbase' for submodules.
Fixes a regression introduced in 8075b62378.
This allows 'linguist.pro' of 'qttools' to find 'ConfigVersion.cmake.in',
which is needed for 'Qt5LinguistToolsConfigVersion.cmake'.

Reported by Thomas Danckaert <post@thomasdanckaert.be>.

* gnu/packages/qt.scm (qtsvg)[arguments]: Set 'EffectiveSourcePaths' in
the 'configure-qmake' phase.
2017-10-22 19:37:35 +08:00
Marius Bakke 28d0b52164
gnu: python-pyqt: Update to 5.9.
* gnu/packages/qt.scm (python-pyqt): Update to 5.9.
2017-10-21 22:38:55 +02:00
Marius Bakke 079e679219
gnu: python-sip: Update to 4.19.3.
* gnu/packages/qt.scm (python-sip): Update to 4.19.3.
2017-10-21 22:38:55 +02:00
Hartmut Goebel f8127d2644
gnu: qtkeychain: Reduce the number of warnings when configuring.
* gnu/packages/qt.scm (qtkeychain)[native-inputs]: Add pkg-config.
2017-10-13 13:53:41 +02:00
Hartmut Goebel 868b1a025a
gnu: grantlee: Enable all tests.
* gnu/packages/qt.scm (grantlee)[arguments]
  <#:phases>'check-setup': New phase, set QT_QPA_PLATFORM=offscreen.
  <#:phases>'check': Remove phase.
2017-10-13 13:53:40 +02:00
Hartmut Goebel 5430732b22
gnu: qscintilla: Adjust installation directory layout.
* gnu/packages/qt.scm (qscintilla)[#:phase configure]: Set QT_INSTALL_DATA and
  QT_HOST_DATA to $OUT/lib/qt5.
2017-10-13 13:53:39 +02:00
Hartmut Goebel 4eb972b95c
gnu: qtwebkit: Fix rpath for the qmlwebkit plugins.
After the qtbase installation directories have been changed,
the relative RPATH in the libs no longer matched the sructure.

* gnu/packages/qt.scm(qtwebkit)[arguments]: New phase
  fix-qmlwebkit-plugins-rpath.
2017-10-13 13:53:39 +02:00
宋文武 163651cbdc
gnu: qwt: Adjust installation directory layout.
* gnu/packages/qt.scm (qwt)[arguments]<#:phases>: Modify 'qwtconfig.pri' to
use a directory layout that matching qtbase.  Modify 'doc/doc.pro' to remove
the misplaced installation of man pages.  Rename phase 'install-documentation'
to 'install-man-pages'.
2017-10-13 13:53:39 +02:00
宋文武 8075b62378
gnu: qt: Fix install paths in submodules.
Before this, the paths in pkg-config (.pc) and libtool (.la) files of
submodules are all pointing to qtbase.

* gnu/packages/qt.scm (qtbase)[native-inputs]: Move 'which' to
'propagated-inputs'.
[arguments]: Rename 'patch-qt_config.prf' phase to 'patch-mkspecs' and
patch more qmake spec files there.
(qtsvg)[arguments]: Add 'configure-qmake' phase.
2017-10-13 13:53:38 +02:00
宋文武 6fc0e157ee
gnu: qtbase: Use a more standard directory layout.
* gnu/packages/qt.scm (qtbase)[arguments]: Pass docdir, headerdir,
archdatadir, datadir and examplesdir to 'configure'.  Ajdust the
patch-qt_config.prf phase accordingly.
[native-search-paths]: Adjust accordingly.
(qtwayland)[arguments]: New field.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2017-10-13 13:53:37 +02:00
Efraim Flashner 5acd59ee12
gnu: qt: Update to 5.9.2.
* gnu/packages/qt.scm (qt): Update to 5.9.2.
[outputs]: Add 'examples'.
[source]: Update 3rd party code to unbundle.
[inputs]: Add bluez, double-conversion, gstreamer, gst-plugins-base,
jasper, libinput-minimal, libtiff, libwebp, libxext, wayland. Replace
pcre with pcre2.
[arguments]: Re-enable parallel building. Update build flags.
2017-10-12 20:00:19 +03:00
Efraim Flashner f18c94705b
gnu: modular-qt: Update to 5.9.2.
* gnu/packages/qt.scm (qtbase. qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtremoteobjects, qtspeech): Update to 5.9.2.
(qtnetworkauth): Same.
[arguments]: Add phase to help test suite pass.
2017-10-10 11:41:51 +03:00
Efraim Flashner 9c2c524daf
gnu: qtcharts, qtdatavis3d: Update license information.
* gnu/packages/qt.scm (qtcharts, qtdatavis3d)[license]: New field.
2017-10-10 11:41:49 +03:00
Efraim Flashner 96412f3418
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-10 11:41:47 +03:00
Efraim Flashner 9ed9b44eca
gnu: qtbase: Use libinput-minimal.
This works around qtbase depending on gtk+.

* gnu/packages/qt.scm (qtbase)[inputs]: Replace libinput with
libinput-minimal.
2017-10-10 11:41:46 +03:00
Efraim Flashner b84cc89a02
gnu: Add qtspeech.
* gnu/packages/qt.scm (qtspeech): New variable.
2017-10-10 11:41:44 +03:00
Efraim Flashner 213238d943
gnu: Add qtremoteobjects.
* gnu/packages/qt.scm (qtremoteobjects): New variable.
2017-10-10 11:41:43 +03:00
Efraim Flashner f47d279366
gnu: Add qtnetworkauth.
* gnu/packages/qt.scm (qtnetworkauth): New variable.
2017-10-10 11:41:41 +03:00
Ricardo Wurmus 0423131156
gnu: qtmultimedia: Build gstreamer backend.
* gnu/packages/qt.scm (qtmultimedia)[inputs]: Add gstreamer and
gst-plugins-base.
[arguments]: Replace configure phase to pass extra arguments to qmake.
2017-09-28 13:26:07 +02:00
Ricardo Wurmus 2456153adc
gnu: Add python-pyqt+qscintilla.
* gnu/packages/qt.scm (python-pyqt+qscintilla): New variable.
2017-07-22 23:48:58 +02:00
Ricardo Wurmus 06d04dbcfc
gnu: Add python-qscintilla.
* gnu/packages/qt.scm (python-qscintilla): New variable.

Co-authored-by: Quiliro <quiliro@fsfla.org>
2017-07-22 23:48:57 +02:00
Ricardo Wurmus 3befd0a97c
gnu: Add qscintilla.
* gnu/packages/qt.scm (qscintilla): New variable.

Co-authored-by: Quiliro <quiliro@fsfla.org>
2017-07-22 23:48:57 +02:00
Efraim Flashner fdaf6cd345
gnu: qt: Update to 5.9.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras)
(qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors)
(qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel)
(qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2)
(qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d)
(qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.1.
(qtwebkit)[source]: Change to official qt location.
2017-07-04 08:55:00 +03:00
Efraim Flashner 202afee2da
gnu: qtsensors: Lengthen test timeout.
* gnu/packages/qt.scm (qtsensors)[arguments]: Lengthen test
timeout so it passes on slower machines.
2017-06-22 13:05:09 +03:00
Efraim Flashner 924e6ddf72
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 22:38:38 +03:00
Marius Bakke 41fa164aa0
gnu: python-pyqt@4: Update to 4.12.
* gnu/packages/qt.scm (python-pyqt-4): Update to 4.12.
[source]: Adjust URI to file rename.
2017-05-19 21:33:43 +02:00
Marius Bakke 5ac3a671d8
gnu: python-pyqt: Update to 5.8.2.
* gnu/packages/qt.scm (python-pyqt): Update to 5.8.2.
2017-05-19 21:24:11 +02:00
Marius Bakke f6da41b54d
gnu: python-sip: Update to 4.19.2.
* gnu/packages/qt.scm (python-sip): Update to 4.19.2.
2017-05-19 21:24:11 +02:00
Efraim Flashner a20e00ddaf
gnu: qt: Update to 5.8.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.8.0.
(qtdeclarative-render2d)[properties]: New field, package has been
absorbed by qtdeclarative and thus marked as superseded by it.
2017-05-18 10:17:42 +03:00
Efraim Flashner 4e825e2da3
gnu: qtbase: Update configure flags.
* gnu/packages/qt.scm (qtbase)[arguments]: Change the configure flags to
not use the precompiled headers. Enable x86_64 special hardware
instructions which have runtime detection.
2017-05-18 09:55:28 +03:00
Efraim Flashner 04f8decf1f
gnu: qtbase: Don't use bundled double-conversion.
* gnu/packages/qt.scm (qtbase)[inputs]: Add double-conversion.
2017-05-18 09:52:49 +03:00
Efraim Flashner 45f5bc0e74
gnu: qtconnectivity: Fix building on armhf and aarch64.
* gnu/packages/qt.scm (qtconnectivity)[arguments]: Add a phase to remove
a test which fails on arm hardware.
2017-05-18 09:51:23 +03:00
Efraim Flashner 7c5cf7a29d
gnu: qtscript: Fix building on aarch64.
* gnu/packages/patches/qtscript-disable-tests.patch: New file.
* gnu/packages/qt.scm (qtscript)[source]: Use it.
* gnu/local.am (dist_patch_DATA): Register it.
2017-05-18 09:49:43 +03:00
Efraim Flashner 4ad70ad8de
gnu: qtkeychain: Update to 0.8.0.
* gnu/packages/qt.scm (qtkeychain): Update to 0.8.0.
2017-04-26 09:42:13 +03:00
Hartmut Goebel 94e24d8124
gnu: Add comments on why setting QT_QPA_PLATFORM for tests.
* gnu/packages/astronomy.scm (stellarium): Add comment.
* gnu/packages/display-managers.scm (greenisland): dito.
* gnu/packages/kde-frameworks.scm (kguiaddons, kwidgetsaddons,
  kcompletion, baloo, kbookmarks, kconfigwidgtes, kdesignerplugin,
  kemoticons, kglobalaccel, kiconthemes, kio, knewstuff, kparts,
  kpeople, krunner, kservice, ktexteditor, ktextwidgets, kxmlgui,
  plasma-framework): dito.
* gnu/packages/qt.scm (qtsvg): dito.
2017-03-20 20:56:49 +01:00
Eric Bavier 499991cfe8
gnu: python-pyqt: Propagate python-sip.
* gnu/packages/qt.scm (python-pyqt)[propagated-inputs]: New field.
2017-02-14 21:20:37 -06:00
Efraim Flashner f66b3e1523
gnu: qtxmlpatterns: Skip network tests.
* gnu/packages/qt.scm (qtxmlpatterns)[arguments]: Add custom phase to
prevent the building of network tests.
2017-01-13 07:00:03 +02:00
Efraim Flashner c195b5ba98
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-13 07:00:03 +02:00