Commit graph

169934 commits

Author SHA1 Message Date
Florian Pelz
02e766c87a
nls: Update translations.
Minification reduces the size of the ./po directory from 94MiB to 28MiB
according to `du -d1 -B MiB`.

Change-Id: I3fe9a1ab44d03c29c4352d9bcdf77f95fb1ffc70
2025-09-30 10:51:04 +02:00
Florian Pelz
9e1f46119c
Revert "nls: Temporarily disable building of translated manuals."
This reverts commit 94d30d4d3b.
2025-09-30 10:37:34 +02:00
Florian Pelz
aff572c9ac
po: Add procedures to handle '\"', '\t' and '\\' escape sequences.
They were handled with PEG before.

Now `make download-po` has the same result as before PO files were
minified.

* guix/build/po.scm (interpret-newline-escape): Replace with ...
(interpret-escape): ... this more general procedure.
(replace-escaped-backslashes): New procedure, basically restored from
the past implementation of 'interpret-newline-escape' but
for '\\' escapes.
(interpret-escape-sequences): New procedure to call them all.
(parse-tree->assoc): Use it.

Change-Id: I03226281019fa39ef7bca524278dbc434df95f2e
2025-09-30 10:37:34 +02:00
Florian Pelz
e16cfd61f9
po: Don't replace newline escapes that are escaped themselves.
Otherwise the cookbook is read incorrectly at
msgid ""
"(display (string-append \"Hello \" \"Guix\" \"\\n\"))\n"

This can be seen at the `git diff` when beginning to
run `make download-po`.

* guix/build/po.scm (final-character-escapes?): New procedure.
(interpret-newline-escape): Use it.

Change-Id: I2b036000173b1e282e2aeceffe3491e0917e51ca
2025-09-30 10:37:34 +02:00
Florian Pelz
3bc0cf8839
po: Do not handle escape sequences in PEG patterns.
\n sequences are handled and replaced by the 'interpret-newline-escape'
procedure.  Replacing cannot be done in PEG.

Before, PEG patterns had already dealt with the escaping of backslashes,
making it impossible for 'interpret-newline-escape' to distinguish \n
escape sequences from situations like \\n when the backslash itself is
escaped and thus cannot be part of an \n or \" escape sequence.

* guix/build/po.scm (str-chr): Do not escape characters.

Change-Id: Iae75dc146c55d21b725822780cfe951ef9ffae1e
2025-09-30 10:37:34 +02:00
Florian Pelz
6012fc5f7b
nls: Temporarily disable building of translated manuals.
* doc/local.mk (info_TEXINFOS, MANUAL_LANGUAGES, COOKBOOK_LANGUAGES):
Keep only 'en' for building with 'make'.
* guix/self.scm (translate-texi-manuals)[translate-tmp-texi]: Inhibit
calling PO4A, so none are built with 'guix pull'.

Change-Id: I1a119251f557b5f05c9e972ccb84c04e9267c692
2025-09-30 10:37:34 +02:00
Florian Pelz
b5054a85c1
nls: Minify translation PO files.
To save a lot of disk space, keep only actually translated messages in
Gettext PO files.  Ignore the guix domain, which is more complicated
and is tiny.

* build-aux/keep-only-translated.scm: New file.
* Makefile.am (download-po): Run it.

Change-Id: I6442ce0ef8d62f7e48e667c766b86d0ebf9c5415
2025-09-30 10:37:34 +02:00
Florian Pelz
0509bc4cba
nls: Avoid call to slow msgfilter program.
* Makefile.am (download-po): Replace msgfilter by msgconv.

Change-Id: Ic60af4cd605708a7152dd674182adde212ab0fd0
2025-09-30 10:37:18 +02:00
Efraim Flashner
bdf1dc9d99
gnu: khard: Update to 0.20.0.
* gnu/packages/mail.scm (khard): Update to 0.20.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Add test-flags to skip some tests.
[inputs]: Remove python-atomicwrites and python-unidecode.
[native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I95a70042a8f153d7a983db49e6acd8430718fa71
2025-09-30 11:14:43 +03:00
Efraim Flashner
d6daad298a
gnu: python-vobject: Update to 0.9.9.
* gnu/packages/python-xyz.scm (python-vobject): Update to 0.9.9.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-pyicu; add python-pytz and python-six.
[native-inputs]: Add python-setuptools.

Change-Id: I1839f0c19e5f6d59477606ebc461d18fff685e71
2025-09-30 11:14:39 +03:00
Maxim Cournoyer
3dfd671fb7
Merge branch 'mesa-updates'
* mesa-updates: (173 commits)
  tests/pack: Fix rpm tests.
  gnu: rpm: Restore localstatedir to /var.
  tests/builders: Avoid races in unpack tests.
  gnu: friction: Build with ffmpeg-6.
  gnu: php: Disable the bug65148 and bug46347 flaky tests.
  gnu: php: Add autoconf to native inputs.
  gnu: gnome-planner: Some follow-ups.
  gnu: gnome-planner: Update to 0.14.92.
  gnu: Remove scrollkeeper dependencies.
  Revert "gnu: msamr: Update to (git-version 1.1.4 revision commit)."
  gnu: php: Update to 8.3.26.
  gnu: php: Run tests in parallel.
  gnu: php: Improve style.
  gnu: ungoogled-chromium: Fix build with libxml2@2.14.
  gnu: kodi: Build with ffmpeg@6.
  gnu: emacs-next-minimal: Fix test.
  gnu: vlc: Build with ffmpeg@6.
  gnu: qtwebengine: Fix build.
  gnu: python-html5-parser: Fix build.
  gnu: gnucash: Update to 5.13.
  ...

Change-Id: I61bcbe2de06cb030113c9c51bb7d2aa7d3b187e9
2025-09-30 16:54:14 +09:00
Maxim Cournoyer
8330598740
tests/pack: Fix rpm tests.
The rpm-for-tests would no longer build, due to the parent package having
migrated to CMake. Use the --dbpath argument instead of a variant test
package.

* tests/pack.scm (rpm-for-tests): Delete variable.
(rpm archive can be installed/uninstalled): Invoke rpm, not rpm-for-tests, but
with the --dbpath location specified.

Change-Id: I1b578db3ef8f1309c32c6ef92615814ca49fd22c
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
20e063e7d9
gnu: rpm: Restore localstatedir to /var.
Commit 51e1f76 migrated the build system to CMake, and in the process, the
localstatedir value became $prefix/var (inside the package prefix), which
is not useful as this place should be writable for proper operation.

* gnu/packages/package-management.scm (rpm) [#:phases]
{install-macros-file}: New phase.

Change-Id: I1d069243d3b1aff3b0cf0ae79ad5823f8c2a4aeb
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
539c37bcde
tests/builders: Avoid races in unpack tests.
* tests/builders.scm
<gnu-build-system unpack phase, single file>: Add sync call.

Change-Id: Iac992e0899fe3b9c9e727bd42860ec564e1dc9a2
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
6a7406ea20
gnu: friction: Build with ffmpeg-6.
* gnu/packages/graphics.scm (friction) [inputs]: Replace ffmpeg with
ffmpeg-6.

Change-Id: I8991631795145c305e81ab79d6ee308624e23695
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
d7d06a833c
gnu: php: Disable the bug65148 and bug46347 flaky tests.
* gnu/packages/php.scm (php): Update to 8.3.26.
[#:phases] {prepare-tests}: Disable the bug65148 and bug46347 tests.

Change-Id: I366e408372c218842b4f6949f459e0b1924e204c
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
6b7512de32
gnu: php: Add autoconf to native inputs.
* gnu/packages/php.scm (php) [native-inputs]: Add autoconf.

Change-Id: I4e2185b04338b45ed89ef8a23232ff6524af4a00
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
3412748d6c
gnu: gnome-planner: Some follow-ups.
* gnu/packages/gnome.scm (gnome-planner) [#:configure-flags]: Add comment.
[inputs]: Sort.

Change-Id: I233a44a143342aca63a9e8d4091ef5da81582da0
2025-09-30 16:52:07 +09:00
Hugo Buddelmeijer
3493ff495b
gnu: gnome-planner: Update to 0.14.92.
* gnu/packages/gnome.scm (gnome-planner): Update to 0.14.92.
[build-system]: Switch to meson-build-system.
[inputs]: Remove libgnomeui, libglade, gnome-vfs, and libgnomecanvas.
[native-inputs]: Remove intltool and pkg-config; add glib, desktop-file-utils,
and gettext-minimal.
[arguments] <#:glib-or-gtk?>: Set to #t.
<:configure-flags>: Remove --disable-python. Fix RUNPATH.
<:phases>: Add skip-gtk-update-icon-cache phase.
[home-page]: Change to https://gitlab.gnome.org/World/planner.

Change-Id: I64fb296c882f15bee64721dc6e2fbe204cd646f1
2025-09-30 16:52:07 +09:00
Hugo Buddelmeijer
a5f4c16946
gnu: Remove scrollkeeper dependencies.
* gnu/packages/mate.scm (mate-applets)[native-inputs]: Remove scrollkeeper.
* gnu/packages/mate.scm (mate-utils)[native-inputs]: Remove scrollkeeper.
* gnu/packages/mate.scm (pluma)[inputs]: Remove scrollkeeper.

Change-Id: I1d37a6d77508cd4154c51930ee030bd60064e58b
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
a9a44bf438
Revert "gnu: msamr: Update to (git-version 1.1.4 revision commit)."
This reverts commit f4dabf11a4.
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
d559113abb
gnu: php: Update to 8.3.26.
* gnu/packages/php.scm (php): Update to 8.3.26.
[#:phases] {prepare-tests}: Disable gh16659 test.

Change-Id: I2e3f5244e2471e7bab559db620c3658326ddcb93
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
3e5333673b
gnu: php: Run tests in parallel.
* gnu/packages/php.scm (php) [arguments]
{prepare-tests}: Set TEST_PHP_ARGS environment variable.

Change-Id: Ideed9528c3474ff8c2f0abd760b64f12a7e3ec08
2025-09-30 16:52:07 +09:00
Maxim Cournoyer
e6b0acff41
gnu: php: Improve style.
* gnu/packages/php.scm (php) [arguments]: Use gexps.
[native-inputs, inputs]: Drop labels.

Change-Id: I6244b131bfeb3583bd77ca28dd0f8ab93ff8dade
2025-09-30 16:52:07 +09:00
André Batista
732606d654
gnu: ungoogled-chromium: Fix build with libxml2@2.14.
* gnu/packages/chromium.scm (%debian-patches): Remove
'trixie/libxml-parseerr.patch' which is not needed and breaks build with newer
libxml2.

Chnage-Id: I7dfe8f4eaa353f1df0b19b9f515474e269f8a4e5
Signed-off-by: John Kehayias <john@guixotic.coop>
2025-09-30 16:52:07 +09:00
André Batista
ba49276d32
gnu: kodi: Build with ffmpeg@6.
* gnu/packages/kodi.scm (kodi)[inputs]: Replace ffmpeg by ffmpeg-6.  Otherwise
the build system tries to download this version and fails.

Change-Id: I4d08797d55cd6585ee365c24af020c8320b41639
Signed-off-by: John Kehayias <john@guixotic.coop>
2025-09-30 16:52:07 +09:00
John Kehayias
ff9d11e33a
gnu: emacs-next-minimal: Fix test.
This patch represents a commit which should already be in emacs-next; to be
investigated.

* gnu/packages/emacs.scm (emacs-next-minimal)[source]: Add patch.

Change-Id: I884c9082cf53478411f01ccb5deab0e5c239fba1
2025-09-30 16:52:07 +09:00
André Batista
a3b0a1e88d
gnu: vlc: Build with ffmpeg@6.
* gnu/packages/video.scm (vlc)[inputs]: Replace ffmpeg with ffmpeg-6.

Change-Id: I49ae469dcff11a35122794f10f6b602f264344d6
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-30 16:52:07 +09:00
Ada Stevenson
a9e0486221
gnu: qtwebengine: Fix build.
* gnu/packages/qt.scm (qtwebengine)[inputs]: Replace ffmpeg by ffmpeg-6.

Fixes: guix/guix#3111
Change-Id: I81a2674aef24eedc030f255fe173f8fbf4baeb1f
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-30 16:52:06 +09:00
Ada Stevenson
7e704db3ea
gnu: python-html5-parser: Fix build.
* gnu/packages/python-web.scm (python-html5-parser):
[arguments]<#:phases>{set-configure-flags}: New phase to set
`-Wno-error=implicit-function-declaration` flag.

Change-Id: I21f8f785c55c8cedf6669c221290e40e83447351
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
7df4eacd0f
gnu: gnucash: Update to 5.13.
* gnu/packages/gnucash.scm (gnucash): Update to 5.13.
(gnucash-docs): Likewise.

Change-Id: I61afb60ca33d0874dfa8f6e5286a10e8eb5cc3f5
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
8039f99255
gnu: retroarch-minimal: Fix build.
* gnu/packages/emulators.scm (retroarch-minimal)
[inputs]: Replace ffmpeg with ffmpeg-6.

Change-Id: Ifc876d329f2c057fd0d46d50d858cabd74cba988
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
c280064daf
gnu: gnucash-docs: Remove extraneous scrollkeeper input.
* gnu/packages/gnucash.scm (gnucash-docs)
[native-inputs]: Delete scrollkeeper.

Change-Id: I813bae9d5320d1530e5c7477af38b02e1768eb7a
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
8565ce1161
gnu: perl-xml-libxml: Skip test suite for now.
The test suite is broken with the recent libxml2 update.

* gnu/packages/xml.scm (perl-xml-libxml) [inputs]: Replace libxml2 with
libxml2-2.11.
[#:tests?]: Set to #f.

Change-Id: I9a39f02897388cc5f493e9f54df0af26ac7d1903
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
07c7901a31
gnu: linphone-desktop: Update to 5.2.6.
* gnu/packages/linphone.scm (linphone-desktop): Update to 5.2.6.

Change-Id: I1d58fa5134aab1f4d00b56d9e3648b180a39a194
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
9d124fa701
gnu: liblinphone: Update to 5.3.112.
* gnu/packages/linphone.scm (liblinphone): Update to 5.3.112.
[inputs]: Replace libxml2 with libxml2-2.11.

Change-Id: Ib2b477152d2e189c350365f3aedeab1029b7a57d
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
2be06b8167
gnu: openldap-for-linphone: Update to 2.6.4-0.8511a0f.
* gnu/packages/openldap.scm (openldap-for-linphone): Update to 2.6.4-0.8511a0f.

Change-Id: I8f5cccf1e3fa346a5b9c4426ba372ec8127f6edd
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
e92be23837
scripts: Honor --target-version in every situation.
* guix/scripts/refresh.scm (options->update-specs): Always honor
--target-version.
* doc/guix.texi (Invoking guix refresh): Add an example showing how this can
be useful.

Change-Id: I55f98c88f4b583f65dd85a6d3573f9bc87a1dead
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
3f1c29faee
gnu: mbedtls-for-hiawatha: Use package/inherit.
This is a variant, and should get the same graft treatment as the parent
package.

* gnu/packages/tls.scm (mbedtls-for-hiawatha): Use package/inherit.

Change-Id: I570db81d5a6d703ade47b160fbdf0eb5d655b0fc
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
2117dc01fa
gnu: Remove mbedtls-apache.
* gnu/packages/tls.scm (mbedtls-apache): Delete variable.

Change-Id: I606a45f29e6212f259159a9d2f2d2edc9a42b7b5
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
30786da502
gnu: mbedtls: Update to 3.5.2.
* gnu/packages/tls.scm (mbedtls): Update to 3.5.2.
[source]: Switch to url-fetch (otherwise there are git submodules to pull).

Change-Id: I8e7402fd24049defb922a4ceae64d099abbf5bfb
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
c9a2f1463e
gnu: msamr: Update to (git-version 1.1.4 revision commit).
* gnu/packages/linphone.scm (msamr): Update to (git-version 1.1.4 revision commit).

Change-Id: Ic01159fd54ac45a3441eb0ae1a39540fc02f5a02
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
fdc5aef4cd
gnu: mswebrtc: Update to 5.4.0.
* gnu/packages/linphone.scm (mswebrtc): Update to 5.4.0.

Change-Id: I46796f76ede89f093d9410cfa08d3e033b997e9f
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
42022442d4
gnu: lime: Update to 5.3.112.
* gnu/packages/linphone.scm (lime): Update to 5.3.112.

Change-Id: I38c5beed5a53d0da0f9c351bc9554569a2af2af3
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
8ea929ec37
gnu: mediastreamer2: Update to 5.3.112.
* gnu/packages/linphone.scm (mediastreamer2): Update to 5.3.112.

Change-Id: I1afe825c0e3b529944a5301052032f6e996681b4
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
cb81b1889f
gnu: belle-sip: Update to 5.3.112.
* gnu/packages/linphone.scm (belle-sip): Update to 5.3.112.

Change-Id: I929189b4b3b1294c063654d3698baa35988df268
2025-09-30 16:52:05 +09:00
Maxim Cournoyer
876c0fdcf2
gnu: bzrtp: Update to 5.3.112.
* gnu/packages/linphone.scm (bzrtp): Update to 5.3.112.

Change-Id: I5fbf6b3152db4a5dad9bfa9e0c0076387d1d5fa7
2025-09-30 16:52:05 +09:00
Maxim Cournoyer
3446e1ab61
gnu: ortp: Update to 5.3.112.
* gnu/packages/linphone.scm (ortp): Update to 5.3.112.

Change-Id: I9a2b9208b6da20b1e5592d6520a4a31e3335d9b2
2025-09-30 16:52:05 +09:00
Maxim Cournoyer
ffe8e68dab
gnu: bcmatroska2: Update to 5.3.101.
* gnu/packages/linphone.scm (bcmatroska2): Update to 5.3.101.

Change-Id: I53ceeb4d5bde0e92ad2c88b37f22820cc7d97f86
2025-09-30 16:52:05 +09:00
Maxim Cournoyer
3fb97aa34c
gnu: belcard: Update to 5.3.112.
* gnu/packages/linphone.scm (belcard): Update to 5.3.112.
[#:phases] {patch-vcard-grammar-location}: Adjust.

Change-Id: Ibcad5c710abf10dc2a3bd32220dcd79630a0a052
2025-09-30 16:52:05 +09:00