Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723512 - dev-util/cmake-* unconditionally pulls in desktop-utils
Summary: dev-util/cmake-* unconditionally pulls in desktop-utils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-17 20:11 UTC by Sven E.
Modified: 2020-05-22 14:09 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 Sven E. 2020-05-17 20:11:59 UTC
Even for -qt5 cmake pulls in desktop-file utils via cmake.eclass, even when they are not required. There is absolutely no need to pull in desktop-file-utils, with USE="+ncurses -qt" esp. on headless systems.

Reproducible: Always

Steps to Reproduce:
1. emerge with USE"ncurses -qt5"

Actual Results:  
See desktop-file-utils (and shared-mime-info, glib, itstool) beeing pulled in without any need.


Expected Results:  
A clean build for non GUI-Systems.

cmake builds perfectly well without all these extra packages and works as expected.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-22 10:59:57 UTC
(In reply to Sven E. from comment #0)
> Even for -qt5 cmake pulls in desktop-file utils via cmake.eclass
You must be mistaken. Instead, cmake ebuild itself is inheriting xdg.eclass which pulls in those deps.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-22 14:09:41 UTC
The bug has been closed via the following commit(s):

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

commit f62ec5c837533604cae31bd0d19db7f2ef43cf90
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-22 12:06:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-22 14:09:28 +0000

    dev-util/cmake: Switch back to xdg-utils.eclass to avoid deps
    
    Less deps at the cost of more lines.
    
    Closes: https://bugs.gentoo.org/723512
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/cmake/cmake-3.13.5.ebuild | 18 +++++++++++-------
 dev-util/cmake/cmake-3.16.5.ebuild | 20 ++++++++++++--------
 dev-util/cmake/cmake-3.17.2.ebuild | 20 ++++++++++++--------
 3 files changed, 35 insertions(+), 23 deletions(-)