Skip to content

gnome2.vte: drop with all reverse dependencies#155048

Merged
AndersonTorres merged 5 commits intoNixOS:masterfrom
mweinelt:python2-must-die
Jan 19, 2022
Merged

gnome2.vte: drop with all reverse dependencies#155048
AndersonTorres merged 5 commits intoNixOS:masterfrom
mweinelt:python2-must-die

Conversation

@mweinelt
Copy link
Member

@mweinelt mweinelt commented Jan 14, 2022

Motivation for this change

Using pygtk, which is python2 only.

Hoping that evilvte is the only remaining consumer. (LOL, it is not.)

#148779

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 22.05 Release Notes (or backporting 21.11 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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Jan 14, 2022
@ofborg ofborg bot requested a review from MarcWeber January 14, 2022 23:32
@ofborg ofborg bot added 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jan 14, 2022
@mweinelt mweinelt changed the title gnome2.vte: drop; evilvte: drop gnome2.vte: drop with all reverse dependencies Jan 14, 2022
Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

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

Looks good to me, but let's keep it open for some days.

@piegamesde
Copy link
Member

I second this. The only nit is that the commit dropping vte should come last so that it won't break eval on the intermediate commits.

@AndersonTorres
Copy link
Member

AndersonTorres commented Jan 17, 2022

Goodbye, lilyterm!

P.S.: nice branch name!

@mweinelt
Copy link
Member Author

I'm afraid it only rhymes in german.

Copy link
Contributor

@dasj19 dasj19 left a comment

Choose a reason for hiding this comment

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

Looks good. Good you replaced the packages with explanatory aliases.

@mweinelt
Copy link
Member Author

Fixed a typo in the throw for lilyterm.

@AndersonTorres
Copy link
Member

evilvte:

s/depening/depending/
s/pythn2Packages.pygtk/python2Packages.pygtk/

Indeed, you could just use the same message on gnome2.vte and evilvte: Depends on pygtk, which will be dropped along Python 2.

Depends on a VTE version that is about to be dropped for depening on
pythn2Packages.pygtk.

Also unmaintained and with known security issues.
Drop both variants of lilyterm for requiring an outdated vte version
that is about to be dropped.
Uses much less dependencies than we were giving it these days.
Depends on pygtk, which is python2 only and thus due for removal.
@mweinelt
Copy link
Member Author

Fixed two typos on the evilvte throw, but otherwise I consider it to be fine. Not sure where I would add a throw for gnome2.vte, since it has no aliases file and I'm not sure adding aliases to gnome2s default.nix is allowed.

@AndersonTorres
Copy link
Member

A throw on aliases.nix would be useful, because it hinders anyone from trying to re-add it later.

curl
cdparanoia
libid3tag
ncurses
Copy link
Member

Choose a reason for hiding this comment

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

Does it run without ncurses? That's interesting.

Usually ncurses is at least optional dependency, but you are removing it completely...

Copy link
Member Author

Choose a reason for hiding this comment

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

Grip is a gtk2 application, I downloaded the tarball and worked through the INSTALL, which reads like so:

Requirements
============

To use Grip, you must have a few dependencies.
If you obtained Grip from an RPM or DEB file, then they are already installed.
The dependencies are:

A CD/DVD player (surprise, surprise)
Some GTK2 libraries.

On a Redhat/Fedora/Mageia/OpenMandriva or other RPM based distributions,
you need these packages installed:

gtk2-devel
cdda-devel
id3-devel


On Debian derivatives you need these packages, as listed in the Debian control file (as maintained by Josef Grosch):

libgtk2.0-dev
libcurl4-openssl-dev
libid3-3.8.3-dev


Installation
============

If you have the source distribution, you need to compile it.
To compile and install Grip, simply go through one of the following two steps after extracting the tarball:

Alternative 1, meson:

 * mkdir build
 * cd build
 * meson ../
 * ninja
 become root if you are installing in a non-user directory, then run
 * ninja install

Alternative 2, GNU autotools (The old and trusted way):

 * './configure'
 * 'make'
 become root if you are installing in a non-user directory, then run
 * 'make install'

For information on options to the configure process, run:

  ./configure --help

Grip adds the following options that can be specified to configure:

  --disable-shared-cdpar  -- This will force Grip to link statically, rather
                             than dynamically with cdparanoia

  --disable-cdpar         -- This disable linking with cdparanoia entirely

  --disable-shared-id3    -- This will force Grip to link statically, rather
                             than dynamically with id3lib

  --enable-werror         -- This will turn warnings into errors.
			     Use this option when creating and testing patches.

Note that if Gnome is installed in a non-standard place (such as /opt), you
may need to use the '--with-gnome' configure option for all libraries to be
found correctly.

@mweinelt
Copy link
Member Author

A throw on aliases.nix would be useful, because it hinders anyone from trying to re-add it later.

Feel free to push that change.

@AndersonTorres AndersonTorres merged commit a97ae54 into NixOS:master Jan 19, 2022
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 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

Development

Successfully merging this pull request may close these issues.

6 participants