~ruther/guix-local

ce9adae7 — Sharlatan Hellseher 6 months ago
gnu: python-asdf: Update to 5.0.0.

* gnu/packages/astronomy.scm (python-asdf): Update to 5.0.0.
[native-inputs]: Remove python-pytest-doctestplus, and python-wheel.

Change-Id: I45e2315744846358aa51c3853ae529283be68dcf
47d0816b — Sharlatan Hellseher 6 months ago
gnu: python-asdf-standard: Update to 1.4.0.

* gnu/packages/astronomy.scm (python-asdf-standard): Update to 1.4.0.
[native-inputs]: Remove python-astropy-minimal, python-jsonschema,
python-pypa-build, and python-wheel; add python-pytest-asdf-plugin, and
python-pyyaml.

Change-Id: I37840d6c17630ce69312ebf2a755fb9a97edfe15
843b73bb — Sharlatan Hellseher 6 months ago
gnu: python-asdf-bootstrap: Adjust native inputs.

* gnu/packages/astronomy.scm (python-asdf-bootstrap)[native-inputs]:
Remove python-wheel; add python-setuptools-scm.

Change-Id: I64bf50dac3c40f22754120e3f8b0658ca907909c
3b1462f5 — Sharlatan Hellseher 6 months ago
gnu: Add python-pytest-asdf-plugin.

* gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable.

Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
ea604781 — Florian Pelz 6 months ago
nls: Revert broken sv translation.

* po/guix/sv.po: Revert.

Change-Id: I97e1ee9ace0e88941e07dd1ab7a6476936b2735e
02e766c8 — Florian Pelz 6 months ago
nls: Update translations.

Minification reduces the size of the ./po directory from 94MiB to 28MiB
according to `du -d1 -B MiB`.

Change-Id: I3fe9a1ab44d03c29c4352d9bcdf77f95fb1ffc70
9e1f4611 — Florian Pelz 6 months ago
Revert "nls: Temporarily disable building of translated manuals."

This reverts commit 94d30d4d3b1e86fd3241dd552aa15c0e5541c8f1.
aff572c9 — Florian Pelz 6 months ago
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
e16cfd61 — Florian Pelz 6 months ago
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
3bc0cf88 — Florian Pelz 6 months ago
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
6012fc5f — Florian Pelz 6 months ago
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
b5054a85 — Florian Pelz 7 months ago
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
0509bc4c — Florian Pelz 6 months ago
nls: Avoid call to slow msgfilter program.

* Makefile.am (download-po): Replace msgfilter by msgconv.

Change-Id: Ic60af4cd605708a7152dd674182adde212ab0fd0
bdf1dc9d — Efraim Flashner 6 months ago
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
d6daad29 — Efraim Flashner 6 months ago
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
3dfd671f — Maxim Cournoyer 6 months ago
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
83305987 — Maxim Cournoyer 6 months ago
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
20e063e7 — Maxim Cournoyer 6 months ago
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
539c37bc — Maxim Cournoyer 6 months ago
tests/builders: Avoid races in unpack tests.

* tests/builders.scm
<gnu-build-system unpack phase, single file>: Add sync call.

Change-Id: Iac992e0899fe3b9c9e727bd42860ec564e1dc9a2
6a7406ea — Maxim Cournoyer 6 months ago
gnu: friction: Build with ffmpeg-6.

* gnu/packages/graphics.scm (friction) [inputs]: Replace ffmpeg with
ffmpeg-6.

Change-Id: I8991631795145c305e81ab79d6ee308624e23695
Next