Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683746 - sys-apps/inxi should depend on dev-perl/Cpanel-JSON-XS dev-perl/XML-Dumper
Summary: sys-apps/inxi should depend on dev-perl/Cpanel-JSON-XS dev-perl/XML-Dumper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Jonas Stein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 12:50 UTC by Jan Ziak (atomsymbol)
Modified: 2019-09-26 17:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziak (atomsymbol) 2019-04-18 12:50:36 UTC
Hello. Running "inxi --recommends" on my machine yielded:

Cpanel::JSON::XS: --output json - required for export...... Missing
XML::Dumper: --output xml - Crude and raw.................. Missing

Emerging dev-perl/Cpanel-JSON-XS and dev-perl/XML-Dumper resolved this issue.
Comment 1 Jonas Stein gentoo-dev 2019-04-19 06:08:32 UTC
Thank you for the report.
These are no hard dependencies.
inxi just needs these for special functions like exports.
In order to use all features of inxi you need many other tools, but not everybody wants that.

We added some useflags so far. 
I think the best to go with is 
a) add an info about inxi --recommends or
b) add a useflag full which pulls all dependencies.

I will think about it
Comment 2 Jonas Stein gentoo-dev 2019-04-26 07:01:36 UTC
Found a good solution now:

inxi will provide a list with the information

package - feature missing/available

https://github.com/smxi/inxi/issues/184

The Gentoo user will have full control and we do not flood the package with USE flags for optional packages. 
I leave the ticket open until all packages are added upstream.
Comment 3 Larry the Git Cow gentoo-dev 2019-09-26 17:03:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f83846f34c88e68bb721122ab8513d7f2ffca88

commit 2f83846f34c88e68bb721122ab8513d7f2ffca88
Author:     Jonas Stein <jstein@gentoo.org>
AuthorDate: 2019-09-26 17:02:09 +0000
Commit:     Jonas Stein <jstein@gentoo.org>
CommitDate: 2019-09-26 17:03:12 +0000

    sys-apps/inxi: Inform about recommended packages
    
    Inform about inxi --recommends.
    Closes: https://bugs.gentoo.org/683746
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Jonas Stein <jstein@gentoo.org>

 sys-apps/inxi/inxi-3.0.34.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)