When installing pcsc-tools to be installed 103 new packages including wayland, libX..., adwaita-icon-theme and more others. IMHO its too many and clutters systems.
It might be worth minimizing junk dependencies?
There are no junk dependencies. gscriptor is a GTK application, which results in whole X11 being pulled in.
If you don't need gscriptor, you can provide a patch to build the package without gscriptor
gscriptor is an perl script. When installed it on the system, it does not require dependencies.
Maybe remove GTK from dependencies, and after installation display a message about requiring gtk for gscriptor?
Without gtk, all it does is print an error message. Sorry this PR seems to lead nowhere, closing.
Can't locate Glib.pm in @INC (you may need to install the Glib module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at ./gscriptor line 27.
BEGIN failed--compilation aborted at ./gscriptor line 27.
> Without gtk, all it does is print an error message.
All right. That's why i suggest easy way - display a message about requiring gtk for gscriptor.
Alternative - creating 2 ports (with gui and without gui).
Any variant is better than installed 103 new packages including wayland, libX... in server without X.
Thats not how ports work. if you install a port, you expect it to work without needing to install other ports mentioned in a pkg-message.
If you really want a pcsc-tools without gscriptor feel free to provide a patch for an OPTION.