Skip to content

brasero: rename brasero-original to brasero-unwrapped; rhythmbox: use brasero-unwrapped instead of brasero - #345381

Merged
flokli merged 2 commits into
NixOS:masterfrom
fabianhjr:brasero-drop-cdrtools
Oct 1, 2024
Merged

flokli merged 2 commits into
NixOS:masterfrom
fabianhjr:brasero-drop-cdrtools

Conversation

@fabianhjr

@fabianhjr fabianhjr commented Sep 29, 2024 •

Copy link
Copy Markdown
Member

Description of changes

Also mark brasero-wrapped as unfree due to cdrtools license incompat with GPL

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

@ofborg ofborg Bot added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Sep 29, 2024
@flokli

flokli commented Sep 30, 2024

Copy link
Copy Markdown
Member

Is libburn a library essentially accomplishing the same, but with less license uncertainty? Or is some functionality limited to libdvdcss? Maybe there's some explanation upstream we can link to?

In case it doesn't fully replace functionality, I'd propose adding the libdvdcss LD_PRELOAD in a fixupPhase, configurable by a enableLibdvdcss, which we can disable by default.

@fabianhjr
fabianhjr marked this pull request as draft September 30, 2024 07:21
@fabianhjr

Copy link
Copy Markdown
Member Author

afaik libburn is one of the three supported backbends by brasero according to their site

https://wiki.gnome.org/Apps/Brasero

Unsure if as feature complete

@flokli

flokli commented Sep 30, 2024

Copy link
Copy Markdown
Member

libdvdcss is also used by libdvdread (both hosted by the VideoLAN project these days). It is widely used in vlc, mpv and various other players and tools.

Drop cdrtools since it is non-redistributable due to license issues and brasero is used as a lib for example by rythmbox.

libdvdcss is gpl2, which is redistributable. I don't think you're referring to license issues, but legal issues.
https://www.videolan.org/legal.html has a section about libdvdcss and libaacs.

nixpkgs provides recipes for building vlc, mpv and everything underneath, but it's up to the user to configure their system in a way that adds such components.

@fabianhjr
fabianhjr force-pushed the brasero-drop-cdrtools branch from 115a0d9 to c94988d Compare September 30, 2024 15:27
@fabianhjr
fabianhjr marked this pull request as ready for review September 30, 2024 15:30

@flokli flokli 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.

I'm okay with dropping cdrtools if brasero can use another backend, but I don't think

Downstream users are able to wrap brasero as providad by nixpkgs with both of these dependencies

is okay for simply removing libdvdcss support.

A lot of DVDs out there use it CSS, it's been known to work with brasero for a long time, and having this suddenly regress would be quite annoying.

I researched a bit, brasero support in rhythmbox seems to be only used to burn optical media, not read from it, and CSS isn't applicable to Audio CDs anyways.

So what do you think about replacing brasero with brasero-original in the rhythmbox derivation (which should really be called brasero-unwrapped)?

That should also prevent you from pulling in libdvdcss, without regressing it for people using brasero.

@fabianhjr
fabianhjr marked this pull request as draft September 30, 2024 16:14
@fabianhjr
fabianhjr force-pushed the brasero-drop-cdrtools branch from c94988d to 82443ec Compare September 30, 2024 16:34
@fabianhjr fabianhjr changed the title brasero: drop brasero/wrapper.nix brasero: rename brasero to brasero-wrapped, rename brasero-original to brasero Sep 30, 2024
@fabianhjr
fabianhjr marked this pull request as ready for review September 30, 2024 16:36
@fabianhjr
fabianhjr requested a review from flokli September 30, 2024 16:36
@ofborg ofborg Bot added the 8.has: package (new) This PR adds a new package label Sep 30, 2024
flokli
flokli previously requested changes Sep 30, 2024
Comment thread pkgs/top-level/all-packages.nix Resolved
Comment thread pkgs/top-level/all-packages.nix Resolved
@fabianhjr
fabianhjr marked this pull request as draft September 30, 2024 18:15
@fabianhjr
fabianhjr force-pushed the brasero-drop-cdrtools branch from 82443ec to fc2f0e2 Compare September 30, 2024 18:52
@fabianhjr fabianhjr changed the title brasero: rename brasero to brasero-wrapped, rename brasero-original to brasero brasero: rename brasero-original to brasero-unwrapped, mark brasero as unfree; rhythmbox: use brasero-unwrapped instead of brasero Sep 30, 2024
@fabianhjr
fabianhjr requested a review from flokli September 30, 2024 18:54
@fabianhjr
fabianhjr marked this pull request as ready for review September 30, 2024 20:01
@fabianhjr
fabianhjr force-pushed the brasero-drop-cdrtools branch from fc2f0e2 to 0b9c3a8 Compare September 30, 2024 20:31
@ofborg
ofborg Bot requested a review from rasendubi September 30, 2024 22:26
Comment thread pkgs/tools/cd-dvd/brasero/wrapper.nix Resolved
@fabianhjr
fabianhjr force-pushed the brasero-drop-cdrtools branch from 0b9c3a8 to 67a452c Compare October 1, 2024 15:49
@fabianhjr fabianhjr changed the title brasero: rename brasero-original to brasero-unwrapped, mark brasero as unfree; rhythmbox: use brasero-unwrapped instead of brasero brasero: rename brasero-original to brasero-unwrapped; rhythmbox: use brasero-unwrapped instead of brasero Oct 1, 2024
@flokli
flokli dismissed their stale review October 1, 2024 16:00

addressed

@flokli
flokli merged commit b586ee1 into NixOS:master Oct 1, 2024
@fabianhjr
fabianhjr deleted the brasero-drop-cdrtools branch October 1, 2024 16:17
@fabianhjr fabianhjr mentioned this pull request Nov 21, 2024
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants