Skip to content

gst_all_1.gst-plugins-bad: disable DirectFB#387419

Merged
K900 merged 1 commit intoNixOS:stagingfrom
marcin-serwin:push-lxmmrwovzmrm
Mar 12, 2025
Merged

gst_all_1.gst-plugins-bad: disable DirectFB#387419
K900 merged 1 commit intoNixOS:stagingfrom
marcin-serwin:push-lxmmrwovzmrm

Conversation

@marcin-serwin
Copy link
Contributor

DirectFB had no point release for 11 years now and is probably unused by the majority of users, yet it's a transitive dependency of many packages due to being used in gst-plugins-bad. This plugin has been disabled in Arch for 5 years now
https://gitlab.archlinux.org/archlinux/packaging/packages/gst-plugins-bad/-/commit/899fb518af27d82a9b07a2b341cd55edba1575b9#9b9baac1eb9b72790eef5540a1685306fc43fd6c_59_40 and it will be disabled in the next Debian release: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083040 so this change should be fairly safe.

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.

Copy link
Member

@fpletz fpletz left a comment

Choose a reason for hiding this comment

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

LGTM, let's wait for ofborg. :)

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. labels Mar 5, 2025
@nix-owners nix-owners bot requested a review from matthewbauer March 5, 2025 22:07
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Mar 8, 2025
Copy link
Contributor

@LordGrimmauld LordGrimmauld left a comment

Choose a reason for hiding this comment

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

Diff looks good and ofborg is happy. This is also one of the few paths in which SDL1 causes mass-rebuilds (sdl -> directfb -> gst -> gtk -> ...) and i am happy to have less things pull in SDL1. Good work!

@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Mar 11, 2025
@K900
Copy link
Contributor

K900 commented Mar 11, 2025

Same question as before: do we really need to expose an option for that?

@marcin-serwin
Copy link
Contributor Author

Same question as before: do we really need to expose an option for that?

Most likely not, removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

It would make sense to move this up to he non-conditional list instead of having this in the middle between conditionals. E.g. under (lib.mesonEnable "doc" enableDocumentation).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

DirectFB had no point release for 11 years now and is probably unused by
the majority of users, yet it's a transitive dependency of many packages
due to being used in gst-plugins-bad. This plugin has been disabled in
Arch for 5 years now
<https://gitlab.archlinux.org/archlinux/packaging/packages/gst-plugins-bad/-/commit/899fb518af27d82a9b07a2b341cd55edba1575b9#9b9baac1eb9b72790eef5540a1685306fc43fd6c_59_40>
and it will be disabled in the next Debian release:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083040>
so this change should be fairly safe.
@github-actions github-actions bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Mar 11, 2025
Copy link
Contributor

@LordGrimmauld LordGrimmauld left a comment

Choose a reason for hiding this comment

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

Darwin rebuilds seem to be purely because compile flags are in a different order, this should not break anything. Diff lgtm at a glance, but CI will tell.

@K900 K900 merged commit 4c262cf into NixOS:staging Mar 12, 2025
23 of 27 checks passed
@marcin-serwin marcin-serwin deleted the push-lxmmrwovzmrm branch March 15, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants