Skip to content

openjdk: remove gnome_vfs & GConf#322599

Merged
SuperSandro2000 merged 2 commits intoNixOS:stagingfrom
jtojnar:java-gnome2-drop
Jul 2, 2024
Merged

openjdk: remove gnome_vfs & GConf#322599
SuperSandro2000 merged 2 commits intoNixOS:stagingfrom
jtojnar:java-gnome2-drop

Conversation

@jtojnar
Copy link
Copy Markdown
Member

@jtojnar jtojnar commented Jun 26, 2024

Description of changes

Those libraries have been deprecated for 10+ years and require daemons that no-one has running these days.

Keep the enableGnome2 argument for BC.

Part of #39976

Replaces: #73407

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.

Those libraries have been deprecated for 10+ years and require daemons
that no-one has running these days.

Keep the `enableGnome2` argument for BC.
@ofborg ofborg bot requested review from Infinidoge and edwtjo June 26, 2024 09:06
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any 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. labels Jun 26, 2024
@Infinidoge
Copy link
Copy Markdown
Contributor

Infinidoge commented Jun 26, 2024

The code looks good to me, as does the reasoning for removal, however my remaining concern is the fact that the flag now has different behavior, as it is no longer properly pulling in the GNOME 2 libraries when specified. This feels like the kind of thing that deserves a breaking change to completely rip out the GNOME 2 support if we are already partially removing it.

That aside, considering the mass rebuild, this likely needs to be retargeted to staging as opposed to master. Please follow the instructions set out in CONTRIBUTING.md (and make sure you follow them. I've made this mistake twice already) if you do retarget.

GNOME 2 dependencies were removed in the previous commit.

gtk3 and glib are used to provide GTK look and feel.
glib is also used for proxy settings but it probably does not make much sense
to have a separate option, since disjoint union with GTK-based environments is small.
@jtojnar jtojnar force-pushed the java-gnome2-drop branch from 8b832cc to 0774766 Compare June 27, 2024 07:36
@jtojnar jtojnar marked this pull request as draft June 27, 2024 07:40
@jtojnar jtojnar changed the base branch from master to staging June 27, 2024 07:40
@jtojnar jtojnar changed the base branch from staging to master June 27, 2024 07:41
@jtojnar jtojnar mentioned this pull request Jun 27, 2024
13 tasks
@jtojnar jtojnar marked this pull request as ready for review June 27, 2024 07:44
@jtojnar
Copy link
Copy Markdown
Member Author

jtojnar commented Jun 27, 2024

Renamed the option.

@jtojnar jtojnar marked this pull request as draft June 27, 2024 11:46
@jtojnar jtojnar changed the base branch from master to staging June 27, 2024 11:46
@jtojnar jtojnar marked this pull request as ready for review June 27, 2024 11:46
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 27, 2024
@SuperSandro2000
Copy link
Copy Markdown
Member

SuperSandro2000 commented Jul 2, 2024

@ofborg build javaPackages.compiler.openjdk8
@ofborg build javaPackages.compiler.openjdk11
@ofborg build javaPackages.compiler.openjdk12
@ofborg build javaPackages.compiler.openjdk13
@ofborg build javaPackages.compiler.openjdk14
@ofborg build javaPackages.compiler.openjdk15
@ofborg build javaPackages.compiler.openjdk16
@ofborg build javaPackages.compiler.openjdk17
@ofborg build javaPackages.compiler.openjdk18
@ofborg build javaPackages.compiler.openjdk19
@ofborg build javaPackages.compiler.openjdk20
@ofborg build javaPackages.compiler.openjdk21
@ofborg build javaPackages.compiler.openjdk22

@SuperSandro2000 SuperSandro2000 merged commit 7a329a8 into NixOS:staging Jul 2, 2024
@jtojnar jtojnar deleted the java-gnome2-drop branch July 2, 2024 22:34
@paumr paumr mentioned this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any 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: 1 This PR was reviewed and approved by one person.

Projects

Development

Successfully merging this pull request may close these issues.

4 participants