Bug 248806 - security/pcsc-tools: too many dependencies
Summary: security/pcsc-tools: too many dependencies
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-21 10:00 UTC by ev
Modified: 2021-04-11 14:27 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (arved)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ev 2020-08-21 10:00:50 UTC
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?
Comment 1 Tilman Keskinoz freebsd_committer 2020-08-21 14:39:06 UTC
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
Comment 2 ev 2020-08-21 16:03:34 UTC
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?
Comment 3 Tilman Keskinoz freebsd_committer 2021-04-09 13:18:35 UTC
Without gtk, all it does is print an error message. Sorry this PR seems to lead nowhere, closing.

$ ./gscriptor 
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.
Comment 4 ev 2021-04-09 16:43:59 UTC
> 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.
Comment 5 Tilman Keskinoz freebsd_committer 2021-04-11 14:27:28 UTC
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.