Skip to content

libmypaint: fix build#424557

Merged
yuyuyureka merged 1 commit intoNixOS:staging-nextfrom
LordGrimmauld:libmypaint-gettext-build
Jul 12, 2025
Merged

libmypaint: fix build#424557
yuyuyureka merged 1 commit intoNixOS:staging-nextfrom
LordGrimmauld:libmypaint-gettext-build

Conversation

@LordGrimmauld
Copy link
Contributor

dev output unchanged (verified by diffoscope).

out output still contains all the translation files, with no obvious encoding issues i spotted. Slight
deviations in the metadata, but should be fine.

This change is cursed. Part of the issue is libmypaint being broken with modern autoreconf [1], so before patching in the gettext build fixes, autoreconf needed fixing.

[1] mypaint/libmypaint#178

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Jul 12, 2025
`dev` output unchanged (verified by `diffoscope`).

`out` output still contains all the translation files,
with no obvious encoding issues i spotted. Slight
deviations in the metadata, but should be fine.

Fixing the build with modern gettext requires replacing the obsolete glib gettext.
Fixing the build with modern autoconf requires making IT_PROG_INTLTOOL
unconditional, hence the indent changes in the patch.
@LordGrimmauld LordGrimmauld force-pushed the libmypaint-gettext-build branch from acfb9a7 to 295517f Compare July 12, 2025 10:54
@LordGrimmauld
Copy link
Contributor Author

Ended up doing the patch by git format-patch which means i can have a message attached to the patch, should now be better documented.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 12, 2025
@yuyuyureka yuyuyureka merged commit 30737ad into NixOS:staging-next Jul 12, 2025
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants