JezerM/nody-greeter

Weird dependencies on .deb installer

Opened this issue · 1 comments

Environment

  • OS: Mint 20.3 xfce x86_64
  • nody-greeter version: 1.5.2

Description of feature

The Ubuntu install package (.deb) seems to have some unneeded dependencies that make the installation larger than it needs.

The install of the whole gcc and g++ compilers seems off.
The package should need only the libraries like libstdc++ for example and not the whole compiler.
This should make the installation way faster and lighter.

Possible solutions

It could be done the dumb way 😄

  • Install all build dependencies on a docker image, i.e ubuntu:latest
  • Build the package to a custom install folder
  • Copy this folder to a clean ubuntu docker image
  • Run it
  • Go on installing all that is asked for and write it down

Hmm, the issue is that the libc6 dependency, which contains all required C shared libraries, depends on libgcc-s1 which also depends on gcc-14-base. I couldn't find a Ubuntu package that serves the same purpose as libc6 without installing GCC or LLVM.