Commit graph

103144 commits

Author SHA1 Message Date
Ludovic Courtès
3f6c32a88f
syscalls: Adjust for lack of 'libutil.so' on glibc >= 2.34.
This is a re-implementation of 3c8b6fd94c
done in a way that works for both glibc >= 2.34 and earlier versions.

* guix/build/syscalls.scm (syscall->procedure): When LIBRARY is true,
fall back to global symbols if (dynamic-link library) fails.
2022-11-07 22:26:54 +01:00
Ludovic Courtès
c9984bfc50
Revert "syscalls: Adjust for glibc 2.34 and later."
This reverts commit 3c8b6fd94c, which
would break bindings on glibc < 2.34 where those symbols are in
"libutil.so".
2022-11-07 22:25:33 +01:00
Efraim Flashner
af4f71318a
gnu: perl: Only add coreutils-minimal when cross-building.
* gnu/packages/perl.scm (perl)[inputs]: Only add coreutils-minimal when
cross-building.
2022-11-06 10:18:11 +02:00
Efraim Flashner
937d2a907b
gnu: autoconf-archive: Update to 2022.09.03.
* gnu/packages/autotools.scm (autoconf-archive): Update to 2022.09.03.
2022-10-24 21:50:23 +03:00
Efraim Flashner
33e118b164
gnu: libidn2: Update to 2.3.4.
* gnu/packages/libidn.scm (libidn2): Update to 2.3.4.
2022-10-24 21:41:11 +03:00
Felix Lechner
236b41a958
gnu: linux-pam: Update to 1.5.2.
* gnu/packages/linux.scm (linux-pam): Update to 1.5.2.
  Add explicit libdir for pkgconfig files.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-20 22:43:48 +02:00
Brendan Tildesley
685110045c
build-system/gnu: Fix patch-dot-desktop-files regexp.
When patching .desktop files, Exec= values beginning with "/", (or
spaces or newline characters) will result in BINARY matching the empty
string.  Changing "*", meaning 0 or more, to "+", meaning 1 or more,
ensures it will match a basename of at least length 1, or nothing.

* guix/build/gnu-build-system.scm (patch-dot-desktop-files):
Substitute ‘+’ for ‘*’.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-10-09 02:00:00 +02:00
Maxime Devos
77759234a3
build-system: Fix uses of #:strip-flags and #:strip-directories.
This fixes a bug introduced in ccc2658e2a,
reported at <https://issues.guix.gnu.org/issue/58384>.

Tested with "./pre-inst-env guix build openjpeg-data".

Fixes: https://issues.guix.gnu.org/issue/58384

* guix/build-system/copy.scm (copy-build): 'strip-flags' and
'#:strip-directories' are G-exps, not S-exps, so don't use sexp->gexp.
* guix/build-system/cmake.scm (copy-build): Likewise.
* guix/build-system/glib-or-gtk.scm
(glib-or-gtk-build,glib-or-gtk-cross-build): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/meson.scm
(meson-build,meson-cross-build): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-09 18:53:32 +02:00
Ludovic Courtès
ccc2658e2a
build-system: Factorize 'strip' flags and directories.
Previously only 'gnu-build-system' would default to "--strip-unneeded",
since commit e0f31baacc6ad30096a332b69433c85f5830bb2c; most other build
systems would default to "--strip-debug".

This change brings consistency.

* guix/build-system/gnu.scm (%strip-flags, %strip-directories): Export.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Use them.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build)
(glib-or-gtk-cross-build): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/meson.scm (meson-build, meson-cross-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
2022-10-08 14:49:56 +02:00
Ludovic Courtès
857648a5e6
gnu: icecat: Refer to the right variable for icu4c.
The 'icu4c-71' variable was removed in
20bc806b04.

* gnu/packages/gnuzilla.scm (icecat)[inputs]: Change 'icu4c-71' to 'icu4c'.
2022-10-08 14:49:55 +02:00
Hilton Chain
6a6e68e212
gnu: libxkbcommon: Update to 1.4.1.
* gnu/packages/xdisorg.scm (libxkbcommon): Update to 1.4.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 01:24:28 -04:00
Felix Lechner
511d584906
gnu: libxkbcommon: Switch to gexp; avoid hardcoding inputs.
* gnu/packages/xdisorg.scm (libxkbcommon): Switch to gexp.
[arguments]: Avoid hardcoding inputs and locate them via relative
paths instead.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-02 22:37:00 +02:00
Maxim Cournoyer
8f870574b6
gnu: samba: Invert inheritance relationship with samba/fixed.
This already led to 2 problematic 9K builds on the master branch; let's remove
this trap.

* gnu/packages/samba.scm (samba): Rename variable to samba/fixed.
(samba): Define as a new variable inheriting from samba/fixed.
2022-09-27 16:17:44 -04:00
Maxim Cournoyer
1f7d94597f
gnu: docbook-xsl: Replace with docbook-xsl-next.
* gnu/packages/docbook.scm (docbook-xsl): Replace with...
(docbook-xsl-next): ... this package, adding the missing home-page, synopsis,
description and license fields to the later, and removing the inheritance.
2022-09-27 16:07:21 -04:00
Maxim Cournoyer
d0f0de4bf6
Merge branch 'staging' into core-updates 2022-09-27 16:00:14 -04:00
Maxim Cournoyer
990a4822f1
Merge branch 'staging' into core-updates
Conflicts resolved in:
	gnu/local.mk
	gnu/packages/cran.scm
	gnu/packages/gnome.scm
	gnu/packages/gtk.scm
	gnu/packages/icu4c.scm
	gnu/packages/java.scm
	gnu/packages/machine-learning.scm
	gnu/packages/tex.scm
2022-09-27 15:59:30 -04:00
Maxim Cournoyer
5dc5d6fa81
Merge branch 'master' into staging 2022-09-27 15:50:11 -04:00
Maxim Cournoyer
16f535713e
Re-instate "gnu: samba: Fix corrupted man pages."
This reverts commit 968ec0a87, which was itself a revert of 62048ff9fc.
2022-09-27 15:45:29 -04:00
Maxim Cournoyer
2e5d79aca2
gnu: samba/fixed: Do not inherit native-inputs.
* gnu/packages/samba.scm (samba/fixed): Add a FIXME comment.
[native-inputs]: Copy the complete native inputs from samba, to protect against
unintended changes in the inherited package.
2022-09-27 15:45:21 -04:00
Maxim Cournoyer
968ec0a870
Revert "gnu: samba: Fix corrupted man pages."
This reverts commit 62048ff9fc.  This caused a
half world rebuild (9K packages).
2022-09-27 15:38:10 -04:00
Maxim Cournoyer
3c6e220d81
Merge branch 'master' into staging.
With resolved conflicts in:
	gnu/local.mk
	gnu/packages/crates-io.scm
2022-09-27 14:27:28 -04:00
Maxim Cournoyer
62048ff9fc
gnu: samba: Fix corrupted man pages.
* gnu/packages/samba.scm (samba) [native-inputs]: Replace docbook-xsl with
docbook-xsl-next.
2022-09-27 14:09:50 -04:00
Maxim Cournoyer
0ab4996b3e
gnu: Add docbook-xsl-next.
* gnu/packages/docbook.scm (docbook-xsl-next): New variable.
2022-09-27 14:09:49 -04:00
Nicolas Goaziou
459e0f9bea
gnu: emacs-plz: Update to 0.2.1.
* gnu/packages/emacs-xyz.scm (emacs-plz): Update to 0.2.1.
2022-09-27 19:29:29 +02:00
Nicolas Goaziou
8b4e7892f5
gnu: emacs-tuareg: Improve package style.
* gnu/packages/ocaml.scm (emacs-tuareg)[arguments]<#:imported-modules,
<#:phases>: Use G-expressions.  Remove trailing #T at the end of phases.  Use
ELPA-DIRECTORY function.
[native-inputs]: Remove input labels.
2022-09-27 19:29:29 +02:00
Nicolas Goaziou
32135b0357
gnu: emacs-tuareg: Update to 3.0.0.
* gnu/packages/ocaml.scm (emacs-tuareg): Update to 3.0.0.
2022-09-27 19:29:29 +02:00
Nicolas Goaziou
6e4f9e2929
gnu: emacs-pyim: Update to 5.2.5.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 5.2.5.
2022-09-27 19:29:29 +02:00
Maxim Cournoyer
052c1b0643
gnu: colord: Update to 1.4.6.
* gnu/packages/gnome.scm (colord): Update to 1.4.6.
[source]: Override inherited field.
[configure-flags]: Use gexps.
[phases]: Likewise.
[native-inputs]: Remove labels.
2022-09-27 10:05:55 -04:00
Maxim Cournoyer
1fe766fbe7
gnu: docbook-xsl-ns: Rename to docbook-xsl-1.79.1 and use gexps.
* gnu/packages/docbook.scm (docbook-xsl-ns): Rename to...
(docbook-xsl-1.79.1): ... this.
[source]: Adjust URL and add a comment.
[arguments]: Use gexps and adjust phases accordingly.
* gnu/packages/gnome.scm (colord)[native-inputs]: Replace docbook-xsl-ns with
docbook-xsl-1.79.1.
2022-09-27 10:05:54 -04:00
Maxim Cournoyer
fb6173b7c0
gnu: openjdk: Update to 18.
* gnu/packages/java.scm (openjdk): Update to 18.
(openjdk18): New variable.
2022-09-27 10:05:54 -04:00
Maxim Cournoyer
b2aa42435b
gnu: openjdk17: Define with make-openjdk.
* gnu/packages/java.scm (openjdk17): Define with make-openjdk.
[phases]: Use gexps.
2022-09-27 10:05:54 -04:00
Maxim Cournoyer
c5fb7bb7f7
gnu: openjdk16: Define with make-openjdk.
* gnu/packages/java.scm (openjdk16): Define with make-openjdk.
2022-09-27 10:05:54 -04:00
Maxim Cournoyer
216a7d8197
gnu: openjdk15: Define with make-openjdk.
* gnu/packages/java.scm (openjdk15): Define with make-openjdk.
[source]: Clear snippet and modules fields.
[native-inputs]: Rewrite using modify-inputs.
2022-09-27 10:05:54 -04:00
Maxim Cournoyer
068dfa33de
gnu: openjdk14: Define with make-openjdk.
* gnu/packages/java.scm (openjdk14): Define with make-openjdk.
[source]: Remove trailing #t from snippet field and improve regexp.
2022-09-27 10:05:53 -04:00
Maxim Cournoyer
26dd4ce571
gnu: openjdk13: Define with make-openjdk.
* gnu/packages/java.scm (openjdk13): Define with make-openjdk.
2022-09-27 10:05:53 -04:00
Maxim Cournoyer
f0280f6245
gnu: openjdk12: Introduce 'make-openjdk' syntax and use it.
* gnu/packages/java.scm (make-openjdk): New syntax.
(openjdk12): Use it to define package.
[source]: Remove trailing #t from snippet field and improve regexp.
[phases]: Use gexps.
2022-09-27 10:05:53 -04:00
Maxim Cournoyer
6bf7467b07
gnu: opendjk11: Reduce size by removing extraneous files.
By removing the *.diz and src.zip files, the size of the main output of
OpenJDK 11 is reduced from 345 MiB to 116 MiB for OpenJDK 11, while the 'jdk'
output is reduced from 805 MiB to 353 MiB.

* gnu/packages/java.scm (openjdk11)[modules]: New field.
[phases]{remove-diz-files}: New phase.
{strip-character-data-timestamps}: Order after remove-diz-files.
2022-09-27 10:05:53 -04:00
Maxim Cournoyer
6193d98717
gnu: opendjk11: Improve regular expressions.
* gnu/packages/java.scm (openjdk11)
[phases]{strip-archive-timestamps}: Replace '.*.' with '\\.' in regexps.
2022-09-27 10:05:53 -04:00
Maxim Cournoyer
7ac7a6d103
gnu: opendjk11: Remove input labels.
* gnu/packages/java.scm (openjdk11)[inputs, native-inputs]: Remove labels.
2022-09-27 10:05:52 -04:00
Maxim Cournoyer
e33ab2dd9e
gnu: opendjk11: Remove trailing #t and use gexps.
* gnu/packages/java.scm (openjdk11): Properly punctuate comments.
[source]: Remove trailing #t in snippet.
[configure-flags]: Use gexps and this-package-input.
[phases]: Delete trailing #t and use gexps to refer to outputs.
2022-09-27 10:05:52 -04:00
Tobias Geerinckx-Rice
79b8e52e64
Revert "gnu: source-highlight: Fix lesspipe file name and use gexps."
This reverts commit 74f07348e9.
It is a core-updates change.
2022-09-25 02:00:11 +02:00
kiasoc5
74f07348e9
gnu: source-highlight: Fix lesspipe file name and use gexps.
This fixes src-hilite-lesspipe.sh so that lesspipe.sh is called instead of lesspipe.

* gnu/packages/pretty-print.scm (source-highlight):
[arguments]: Use gexps, remove trailing #ts.
[phases]: Add phase to make src-highlight-lesspipe.sh work.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:08:55 +02:00
kiasoc5
2e20eb7818
gnu: gnome-shell-extension-clipboard-indicator: Update to 42.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-clipboard-indicator): Update to 42.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:05:06 +02:00
Hilton Chain
ed5e90db01
gnu: font-lxgw-wenkai-tc: Update to 0.922.
* gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Update to 0.922.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Hilton Chain
174fa34054
gnu: font-lxgw-wenkai: Update to 1.245.
* gnu/packages/fonts.scm (font-lxgw-wenkai): Update to 1.245

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Hilton Chain
5725e0d9c9
gnu: font-chiron-hei-hk: Update to 2.504.
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.504.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Hilton Chain
c99f488269
gnu: font-chiron-sung-hk: Update to 1.006.
* gnu/packages/fonts.scm (font-chiron-sung-hk): Update to 1.006.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Hilton Chain
351498ee45
gnu: podman: Update to 4.2.1.
* gnu/packages/containers.scm (podman): Update to 4.2.1.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Denis 'GNUtoo' Carikli
66edcdda1c
gnu: matterbridge: Update to 1.25.2.
* gnu/packages/messaging.scm (matterbridge): Update it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:28 +02:00
kiasoc5
82ab5f3965
gnu: vim-nerdcommenter: Update to 2.6.0, use G-expressions.
* gnu/packages/vim.scm (vim-nerdcommenter): Update to 2.6.0.
[source]: Use release tag.
[arguments]: Use G-expressions.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 10:57:21 +02:00