Commit graph

80747 commits

Author SHA1 Message Date
Jakub Kądziołka
76174aa991
build-system: qt: Exclude useless inputs from wrapped variables.
* guix/build-system/qt.scm (qt-build)[qt-wrap-excluded-inputs]: New argument.
* guix/build/qt-utils.scm (%qt-wrap-excluded-inputs): New variable.
  (wrap-qt-program*)[qt-wrap-excluded-inputs]: New argument. Filter excluded
  inputs.
  (wrap-qt-program)[qt-wrap-excluded-inputs]: New argument.
  (wrap-all-qt-programs)[qt-wrap-excluded-inputs]: New argument.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2021-07-02 16:50:09 -04:00
Hartmut Goebel
30759c4aad
guix: qt-utils: Wrapped executables honor user's envvars.
Prior to this change, wrappers did set the specified environment variables to
a fixed value, overwriting any user settings. This inhibited propagating
e.g. XDG_DATA_DIRS from a profile to the application.

Now user environment variables are prefixed (if the variable defines some
"binary" search path, e.g. QT_PLUGIN_PATH) or suffixed (if the variable
defines some config or data search path, e.g. XDG_DATA_DIRS). The code could
also allow to overwrite, anyhow currently no variable is defined like this.

* guix/build/qt-utils.scm (variables-for-wrapping): For each env-var to
  be wrapped, specify whether it should prefix, suffix or overwrite the
  user's variable.
2021-07-02 16:50:09 -04:00
Hartmut Goebel
7e24e1e58d
guix: qt-build-system, qt-utils: Unify wrapping of qt-programs.
Unify (guix qt-build-system wrap-all-programs) and
(guix qt-utils wrap-qt-program), so both behave the same.
The functions now reside in qt-utils to make them easily available for
packages not using the qt-build-system.

* guix/build/qt-build-system.scm (variables-for-wrapping, wrap-all-programs):
  Move from here ...
* guix/build/qt-utils.scm (variables-for-wrapping, wrap-all-qt-programs):
  ... to here. Base the later on
  (wrap-qt-program*): New function, carved out from old wrap-all-programs.
  (wrap-qt-program): Base on wrap-qt-program*, change arguments in an
  incompatible way.
* gnu/packages/bittorrent.scm (qbittorrent)[arguments]<phases>{wrap-qt}:
  Adjust to new interface of wrap-qt-program.
* gnu/packages/finance.scm (electron-cash): Likewise.
* gnu/packages/geo.scm (qgis): Likewise.
* gnu/packages/password-utils.scm (qtpass): Likewise.
* gnu/packages/video.scm (openshot): Likewise.
* gnu/packages/web-browsers.scm (kristall): Likewise.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer
1879b05f90
Revert "build-system/qt: Wrappers only include relevant directories to XDG_DATA_DIRS."
This reverts commit c5fd1b0bd3.  It will need to
be refactored on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer
15fd870c3f
Revert "build-system/qt: Wrappers set 'QTWEBENGINEPROCESS_PATH' if needed."
This reverts commit 06eb21856f.  It will need to
be refactored to fit on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer
3a94998f5e
Revert "build-system/qt: Fix wrapping with QTWEBENGINEPROCESS_PATH."
This reverts commit fed28a9632.  It will need to
be refactored to fit on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer
0ce685c65f
gnu: protobuf: Update to 3.17.3.
* gnu/packages/protobuf.scm (protobuf): Update to 3.17.3.
[phases]{disable-broken-tests}: New phase.
{move-static-libraries}: Remove trailing #t.
2021-07-02 16:50:08 -04:00
Maxim Cournoyer
3245d72bcd
gnu: qtbase: Specify configure flags via the #:configure-flags argument.
* gnu/packages/qt.scm (qtbase): Delete trailing #t.
[phases]{configure}: Print build directory and configure flags.
Move configure flags to...
[#:configure-flags]: ... this new argument.
2021-07-02 16:50:08 -04:00
Maxim Cournoyer
206193fec9
gnu: qtbase: Enable GTK support.
This allows Qt applications to use the GTK themes present on the system,
providing a more integrated look and feel for many Qt applications used in the
context of a GTK/GNOME environment.

* gnu/packages/qt.scm (qtbase-5)[inputs]: Add gtk+.
2021-07-02 16:50:08 -04:00
Tobias Geerinckx-Rice
b9aab8e89c
gnu: atlas: Extend build time-out.
* gnu/packages/maths.scm (atlas)[properties]: Quadruple the timeout.
2021-07-02 20:51:43 +02:00
Tobias Geerinckx-Rice
159de0362b
gnu: shellcheck: Hide irrelevant CVE from ‘guix lint’.
* gnu/packages/haskell-apps.scm (shellcheck)[properties]: Add
CVE-2021-28794 to lint-hidden-cve.
2021-07-02 20:31:54 +02:00
Morgan Smith
83da1cb65a
gnu: shellcheck: Generate and install man page.
* gnu/packages/haskell-apps.scm (shellcheck)
[arguments]<#:phases>: Add build-man-page and install-man-page phases.
[native-inputs]: Add pandoc.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-07-02 20:31:12 +02:00
Tobias Geerinckx-Rice
70af5bf17f
gnu: wxsvg: Update to 1.5.22.
* gnu/packages/wxwidgets.scm (wxsvg): Update to 1.5.22.
[inputs]: Move libexif & pango from here…
[propagated-inputs]: …to here.
2021-07-02 20:12:00 +02:00
Tobias Geerinckx-Rice
ab32f1d50a
gnu: magic-enum: Update to 0.7.3.
* gnu/packages/cpp.scm (magic-enum): Update to 0.7.3.
2021-07-02 19:30:41 +02:00
Tobias Geerinckx-Rice
3e900ef9d5
gnu: libfilezilla: Update to 0.29.0.
* gnu/packages/ftp.scm (libfilezilla): Update to 0.29.0.
2021-07-02 18:59:05 +02:00
Tobias Geerinckx-Rice
6243ad3812
gnu: linux-libre: Build the VMD driver module.
Requested by PsixisP on #guix:

  “I have a laptop that requires CONFIG_VMD (Intel's software RAID) in
   order for the kernel to see the internal NVMe drive.  This is not
   present in the default Guix kernel.”

* gnu/packages/aux-files/linux-libre/4.14-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.9-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.12-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf:
Enable modular CONFIG_VMD.
2021-07-02 16:56:12 +02:00
Tobias Geerinckx-Rice
25631d6fef
gnu: gnuplot: Update to 5.4.2.
* gnu/packages/maths.scm (gnuplot): Update to 5.4.2.
2021-07-02 16:56:12 +02:00
Leo Prikler
7f580c27da
gnu: tsukundere: Update to 0.3.2.
* gnu/packages/game-development.scm (tsukundere): Update to 0.3.2.
2021-07-02 14:33:14 +02:00
Leo Prikler
3734d3d0c2
gnu: renpy: Update to 7.4.6.
* gnu/packages/game-development.scm (python2-pygame-sdl2): Update to
renpy-version 7.4.6.
(python2-renpy): Update to version 7.4.6.
2021-07-02 14:33:07 +02:00
Paul Garlick
1f519e8b4e
gnu: Add python-meshio.
* gnu/packages/simulation.scm (python-meshio): New variable.
2021-07-02 12:17:34 +01:00
Christopher Baines
a54e086fad
gnu: guix-build-coordinator: Update to 0-33.c2f0c5b.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-33.c2f0c5b.
2021-07-02 10:30:01 +01:00
Nicolas Goaziou
8107e92aa3
gnu: scintilla: Update to 5.1.0.
* gnu/packages/text-editors.scm (scintilla): Update to 5.1.0.
2021-07-02 11:04:15 +02:00
Nicolas Goaziou
468caeb701
gnu: mame: Update to 0.233.
* gnu/packages/emulators.scm (mame): Update to 0.233.
2021-07-02 11:00:09 +02:00
Alexandr Vityazev
ddbfc21f76
gnu: Add emacs-rmsbolt.
* gnu/packages/emacs-xyz.scm (emacs-rmsbolt): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 10:02:29 +02:00
Alexandr Vityazev
e8b7993417
gnu: emacs-multitran: Update to 0.4.11.
* gnu/packages/emacs-xyz.scm (emacs-multitran): Update to 0.4.11.
[description]: Add @url markup.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:54:22 +02:00
Andrew Tropin
21706e1e0a
gnu: Add emacs-saveplace-pdf-view.
* gnu/packages/emacs-xyz.scm (emacs-saveplace-pdf-view): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:31:28 +02:00
Vinicius Monego
14a725809a
gnu: gsequencer: Update to 3.8.13.
* gnu/packages/music.scm (gsequencer): Update to 3.8.13.
[build-system]: Switch to glib-or-gtk-build-system.
[arguments]<#:phases>: Don't return #t.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:27:07 +02:00
Alexandr Vityazev
168992a732
gnu: emacs-link-hint: Update to 0.1-2.ae73db6.
* gnu/packages/emacs-xyz.scm (emacs-link-hint): Update to 0.1-2.ae73db6.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:24:14 +02:00
Dhruvin Gandhi
bd70425a71
gnu: Add emacs-ripgrep.
* gnu/packages/emacs-xyz.scm (emacs-ripgrep): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:21:22 +02:00
Dhruvin Gandhi via Guix-patches via
050ec2390f
gnu: Add emacs-rustic.
* gnu/packages/emacs-xyz.scm (emacs-rustic): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-02 09:13:28 +02:00
Tobias Geerinckx-Rice
87232a8c2f
gnu: alpine: Update to 2.24.2.
* gnu/packages/mail.scm (alpine): Update to 2.24.2.
2021-07-02 08:54:55 +02:00
Tobias Geerinckx-Rice
c19d29c983
gnu: phodav: Fix udev rules directory.
Since commit da7a5e3597 (e)udev is
actually found triggering the installation of phodav's udev rules.

That's great, except that it uses (e)udev's 'udevdir' pkg-config
variable for that, which is of course not writable.

* gnu/packages/gnome.scm (phodav)[arguments]: Add a new
'fix-udev-rules-directory phase.
2021-07-02 08:20:25 +02:00
Tobias Geerinckx-Rice
c01cce9759
gnu: vhba-module: Expand description.
* gnu/packages/linux.scm (vhba-module)[synopsis, description]: Edit &
expand.
2021-07-02 07:47:19 +02:00
Tobias Geerinckx-Rice
f8bb6b1cc9
gnu: vhba-module: Update to 20210418.
* gnu/packages/linux.scm (vhba-module): Update to 20210418.
2021-07-02 07:47:19 +02:00
Tobias Geerinckx-Rice
c32a7b6e74
gnu: jasper: Update to 2.0.32.
* gnu/packages/image.scm (jasper): Update to 2.0.32.
2021-07-02 07:47:19 +02:00
Tobias Geerinckx-Rice
6491340ff7
gnu: rsibreak: Update to 0.12.14.
* gnu/packages/kde-utils.scm (rsibreak): Update to 0.12.14.
2021-07-02 07:14:10 +02:00
Tobias Geerinckx-Rice
e6fd51a36e
gnu: vsftpd: Properly enable the SSL support.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Remove (questionable?)
"-lcrypt" from LDFLAGS.  #define VSF_BUILD_SSL in a new 'build-SSL phase
instead.
2021-07-02 07:14:10 +02:00
Tobias Geerinckx-Rice
26f31c7c9a
gnu: vsftpd: Edit description.
Address ‘guix lint’ warnings.  Neither tiptoe around the name nor sell
anything.

* gnu/packages/ftp.scm (vsftpd)[synopsis]: Make useful.
[description]: Use its full name and some nice mark-up.
2021-07-02 07:14:10 +02:00
Tobias Geerinckx-Rice
c2533c3da2
gnu: vsftpd: Cross-compile.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Use CC-FOR-TARGET.
2021-07-02 07:14:10 +02:00
Tobias Geerinckx-Rice
a6e8a9c334
gnu: vsftpd: Let the build system create directories.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Pass the "-D" flag to
‘install’.  Remove the now redundant 'mkdir phase.
2021-07-02 07:14:10 +02:00
Tobias Geerinckx-Rice
4049fa8e52
gnu: vsftpd: Honour upstream make flags.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Add a new 'append-make-flags
phase.  Remove our now redundant "-pie" from LDFLAGS.
2021-07-02 07:14:09 +02:00
Tobias Geerinckx-Rice
a841d8e8b3
gnu: vsftpd: Update to 3.0.4.
* gnu/packages/ftp.scm (vsftpd): Update to 3.0.4.
[source]: Build from the regular upstream tarball again.
[arguments]: Add ‘-lcap’ and ‘-lpam’ to LDFLAGS.
Remove obsolete custom 'unpack and 'apply-CentOS-patches phases.
[native-inputs]: Remove p7zip and cpio.
2021-07-02 07:14:09 +02:00
Tobias Geerinckx-Rice
d20720755e
gnu: boinc-client, boinc-server: Update to 7.16.17.
* gnu/packages/distributed.scm (boinc-client): Update to 7.16.17.
(boinc-server): Run the test suite.
2021-07-02 03:05:58 +02:00
Tobias Geerinckx-Rice
1b31303294
gnu: nmap: Update to 7.91.
* gnu/packages/admin.scm (nmap): Update to 7.91.
2021-07-02 03:05:58 +02:00
Tobias Geerinckx-Rice
f369695000
gnu: perl-sql-splitstatement: Update to 1.00023.
* gnu/packages/databases.scm (perl-sql-splitstatement): Update to 1.00023.
[native-inputs]: Add perl-test-differences and perl-test-script.
2021-07-02 03:05:58 +02:00
Tobias Geerinckx-Rice
0eb0fef346
gnu: perl-db-file: Update to 1.856.
* gnu/packages/databases.scm (perl-db-file): Update to 1.856.
2021-07-02 03:05:58 +02:00
EuAndreh via Guix-patches via
a597ddea42
gnu: po4a: Update to 0.63.
* gnu/packages/gettext.scm (po4a): Update to 0.63.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-07-02 01:28:21 +02:00
Christopher Baines
fd549750d9
gnu: grub-efi: Only enable the stack protector on x86_64-linux.
Follow up to 018f950941, as gcc on aarch64-linux
doesn't seem to support -mstack-protector-guard=global.

Fixes <https://bugs.gnu.org/49088>.

* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Only add
"--enable-stack-protector" to #:configure-flags when system is x86_64-linux.
2021-07-02 00:01:14 +01:00
Tobias Geerinckx-Rice
5b35276140
gnu: libzip: Support Zstandard.
* gnu/packages/compression.scm (libzip)[native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
2021-07-01 20:42:13 +02:00
Tobias Geerinckx-Rice
85c54e0e7c
gnu: libzip: Update to 1.8.0.
* gnu/packages/compression.scm (libzip): Update to 1.8.0.
2021-07-01 20:42:13 +02:00