Commit Graph

24 Commits

Author SHA1 Message Date
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Philip Taron
3d1e794b93 po4a: fix compatibility with gettext 1.0
gettext 1.0 changed msginit to merge into existing output files
instead of overwriting them. When po4a passes an empty PO file as the
output target, this produces a PO with stripped headers and corrupted
UTF-8 content (e.g. "nämes" becomes "nmes").

Fix by removing empty output files before calling msginit, so it
creates a fresh PO file with proper headers.

https://github.com/mquinson/po4a/issues/636
2026-03-21 10:08:06 -07:00
Marcus Ramberg
98fabac3e3 po4a: 0.73 -> 0.74 (#485591) 2026-03-13 11:46:28 +00:00
Stefan Frijters
97894a7391 perlPackages.Po4a: move env variable(s) into env for structuredAttrs 2026-02-09 21:39:32 +01:00
Marcin Serwin
c45208cea5 po4a: 0.73 -> 0.74 2026-01-31 11:42:06 +01:00
Alyssa Ross
18cdef87f3 Revert "po4a: disable tests"
This reverts commit 0be5477be0.

Fix is now applied.
2025-07-13 20:25:05 +02:00
Alyssa Ross
e69ff424a5 perlPackages.Po4a: backport upstream test fix 2025-07-13 20:25:05 +02:00
Sergei Trofimovich
0be5477be0 po4a: disable tests
After a `gettext-0.25` update the tests started failing for CR/LF files:
https://github.com/mquinson/po4a/issues/580

Let's disable the on all platforms.
2025-07-04 08:16:52 +01:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Marcus Ramberg
b5f4b26cda perlPackages.po4a: 0.71 -> 0.73 2024-09-07 19:09:42 +02:00
Martin Weinelt
ebcc625ca1 Merge pull request #271462 from yaxitech/fakeroot_1.32.2
fakeroot: 1.29 -> 1.32.2
2024-07-20 16:09:18 +02:00
linsui
fd7787f37c po4a: 0.62 -> 0.71 2024-05-04 16:50:53 +08:00
linsui
b7ef78ce9a po4a: formatting cleanup 2024-05-04 16:46:57 +08:00
Andreas Stührk
054927c2f1 po4a: Use absolute path to perl
Fixes an issue under Darwin where perl cannot be found
2023-12-01 13:05:49 +01:00
Theodore Ni
867f6fc82d perlPackages.Po4a: disable tests on darwin 2023-06-22 13:07:51 -07:00
apfelkuchen06
8e40747e62 perl536Packages.Po4a: remove texlive dependency
The motivation behind this is wanting to reduce the reverse closure size of
texlive.

When internationalizing tex files, Po4a attempts to follow included files. In
order to find the correct files, po4a uses texlive's file-finding utility
kpsewhich. This commit replaces texlive with a tiny shell script, which is
precisely good enough to run the tests.

This does not change the resulting package in any way, it only affects how the
test is run.
2023-03-26 01:11:05 -04:00
Artturin
07064726bf perlPackages.Po4a: enable strictDeps 2023-02-25 21:47:55 +02:00
Arnout Engelen
f2772c7749 perlPackages.Po4a: make devdoc reproducible 2022-09-25 22:29:52 +02:00
Yureka
fec315a167 perlPackages.Po4a: disable tests on musl
Void linux package have investigated the failure and tracked it down to differences in gettext behavior. They decided to disable tests.
https://github.com/void-linux/void-packages/pull/34029#issuecomment-973267880
Alpine packagers have not worried about running the tests until now:
https://git.alpinelinux.org/aports/tree/main/po4a/APKBUILD#n11
2022-09-15 20:18:00 +02:00
Yureka
b8a992605d perlPackages.Po4a: disable TextWrapI18n dependency on musl
This dependency is only used for formatting error message and pulls in a
dependency on glibc because it needs the /usr/bin/locale binary.
2022-09-15 20:18:00 +02:00
Janne Heß
3d3188ba0b perlPackages: Regenerate metadata (phase 1)
This is required because my parser/generator is very primitive :/
2022-08-21 16:37:15 +02:00
Mica Semrick
310cb37f07 perlPackages.Po4a: 0.55 -> 0.62 2021-02-13 00:25:36 -08:00
Renaud
97a5c413a0 perlPackages.Po4a: fix build (#72170)
Fixes #71296 (Po4a build get stuck in a loop)

Term::ReadKey is an optional dependency. From upstream:
> This module is used to retrieve the terminal's line width.
> If it is not present, the line width can be specified with the COLUMN environment variable.
2019-10-28 17:27:33 +01:00
volth
396190acb1 perlPackages: move CPAN libs to perl-packages.nix and non-CPAN libs out of perl-packages.nix 2019-10-22 07:07:18 +00:00