Skip to content

gimpPlugins.bimp: fix gcc-14 build; gimpPlugins.gap: drop; gimpPlugins.gimplensfun: fix clang build - #369822

Merged
jtojnar merged 3 commits into
NixOS:masterfrom
paparodeo:bimp-gcc-14-fixes
Jan 8, 2025
Merged

jtojnar merged 3 commits into
NixOS:masterfrom
paparodeo:bimp-gcc-14-fixes

Conversation

@paparodeo

@paparodeo paparodeo commented Jan 1, 2025 •

Copy link
Copy Markdown
Contributor

bimp:
workaround for alessandrofrancesconi/gimp-plugin-bimp#411

fixes: #369212

gap:

gimpPlugins.gap is unmaintained and broken. also removed by Debian and fedora
https://bugzilla.redhat.com/show_bug.cgi?id=1674967
https://gitlab.gnome.org/Archive/gimp-gap

gimplensfun: add openmp when compiling with clang. this allows gimp-with-plugins to build on darwin.

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jan 1, 2025
@lucasew

lucasew commented Jan 1, 2025

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 369822


x86_64-linux

❌ 3 packages failed to build:
  • gimp-with-plugins
  • python313Packages.cx-freeze
  • python313Packages.cx-freeze.dist
✅ 3 packages built:
  • gimpPlugins.bimp
  • python312Packages.cx-freeze
  • python312Packages.cx-freeze.dist

@paparodeo

paparodeo commented Jan 1, 2025 •

Copy link
Copy Markdown
Contributor Author

x86_64-linux

❌ 3 packages failed to build:

[edit] dropped gimpPlugins.gap. gimp-with-plugins builds

unmaintained and broken. Also removed from debian and fedora
@paparodeo paparodeo changed the title gimpPlugins.bimp: fix gcc-14 build gimpPlugins.bimp: fix gcc-14 build; gimpPlugins.gap: drop Jan 1, 2025
@paparodeo paparodeo changed the title gimpPlugins.bimp: fix gcc-14 build; gimpPlugins.gap: drop gimpPlugins.bimp: fix gcc-14 build; gimpPlugins.gap: drop; gimpPlugins.gimplensfun: fix clang build Jan 1, 2025
@lucasew

lucasew commented Jan 1, 2025 •

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 369822


x86_64-linux

✅ 2 packages built:
  • gimp-with-plugins
  • gimpPlugins.bimp

--------- Impacted packages on 'x86_64-linux' ---------
2 packages updated:
gimp-plugin-bimp gimp-with-plugins

1 package removed:
gimp-plugin-gap (†2.6.0-unstable-2023-05-20)

@paparodeo

Copy link
Copy Markdown
Contributor Author

cc maintainer (gimp-with-plugins): @jtojnar


license = lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = lib.platforms.gnu ++ lib.platforms.linux;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we still should have meta.platforms: https://nixos.org/manual/nixpkgs/stable/#var-meta-platforms
Though I see that others do not have that, and Hydra will still build it thanks to gimp-with-plugins depending on it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the other hand, if support for one of platforms supported by gimp-with-plugins was missing from a plugin, gimp-with-plugins would be broken on that platform. And plug-in definitely cannot support more platforms since it depends on GIMP itself. So meta.platforms is actually pointless.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That documentation has been out of date since 2016; see #19990 and #351919. (It should probably be updated. I didn’t know it said that until right now.)

@jtojnar jtojnar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 2, 2025
@jtojnar
jtojnar merged commit 09b1464 into NixOS:master Jan 8, 2025
@paparodeo
paparodeo deleted the bimp-gcc-14-fixes branch January 8, 2025 18:55
@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 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.

Build failure: gimpPlugins.bimp

5 participants