NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.32k stars 14.3k forks source link

Get rid of gnome2 package set #39976

Open jtojnar opened 6 years ago

jtojnar commented 6 years ago

There is gnome2 package set under desktops but we do not really have GNOME 2 desktop packaged – it just contains various outdated libraries. We should try to remove as much as we can and merge the rest into main namespace.

Generated with the folloeing git grep -l GConf

jtojnar commented 5 years ago

Shutter is the last package depending on goocanvas 1.0 (via perl module) but GTK 3 support still has long way to go https://launchpad.net/shutter/+milestone/road-to-gtk3. It is an optional dependency, do we keep it?

mkg20001 commented 4 years ago

This could break some things for cinnamon support as it depends on, among others, gnome2 gconf.

jtojnar commented 4 years ago

Wait, what? Is not Cinnamon fork of GNOME 3? Why would it be using GNOME 2 library?

mkg20001 commented 4 years ago

Don't know if it's all still needed, but found this

./cinnamon-common/default.nix:26:, gnome2
./cinnamon-common/default.nix:80:    gnome2.gtkdoc
./cinnamon-session/default.nix:23:, gnome2
./cinnamon-session/default.nix:58:    gnome2.GConf
jtojnar commented 4 years ago
mkg20001 commented 4 years ago

cinnamon-common is actually just a rename of cinnamon (other distros, like ubuntu, seem to rename it as well), since it otherwise clashes with the name of the scope, which also is cinnamon

Resolved the other things on my branch: https://github.com/mkg20001/nixpkgs/tree/mkg-patch

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

mweinelt commented 2 years ago

Relevant for the python2 removal effort (pygtk, pygobject2, etc.).

Mindavi commented 2 years ago

I went through the whole list and checked anything that was removed or didn't contain a reference to {gtk2,GConf}. Also updated some paths that were still relevant.

Wouldn't surprise me if most of these packages were obsolete or don't really need them anymore.

piegamesde commented 2 years ago

With a few exceptions, yes. Note though that the list is incomplete, especially you are missing out on packages written using Gtk bindings (grep for gtk-sharp, gtkmm, etc. for these).

As much as I'd like to help with this, I'm still pretty burnt out after my (totally incomplete) libglade bulk removal. Therefore I won't do any mass removals until we have the proper infrastructure in place for doing them more easily. (I'm working on that part, but slowly and nothing to publicly show yet)

tomodachi94 commented 1 month ago

Here are all of the Haskell packages we have which appear to have a direct dependency on gconf (either the Hackage package or the gnome2 package):

Generated with grep "\bgconf\b" -B 6 -A 0 pkgs/development/haskell-modules/hackage-packages.nix | grep ".* = callPackage" | sed 's/"\(.*\)" = callPackage/- [ ] \1/g'.

I'm not familiar with the Haskell infrastructure in Nixpkgs. Do we drop these? Most appear to be abandoned, with the most recent upload on 2016-05-22 (gconf) and the rest from around 2009 to 2011.