Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288131 - app-office/gnucash-2.2.9-r1 has unnecessary gnome use flag requirement for goffice
Summary: app-office/gnucash-2.2.9-r1 has unnecessary gnome use flag requirement for go...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor with 1 vote (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 22:13 UTC by David Raison
Modified: 2011-03-06 11:28 UTC (History)
0 users

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 David Raison 2009-10-07 22:13:55 UTC
gnucash-2.2.9-r1 has an rdepend on goffice[gnome]
However, I have removed the use flag requirement and it works just fine.

Statement by fed up user who doesn't want all that gnome stuff (following the bad example):
"Why are you gnome guys always trying to force all that stuff on us?"

No, seriously, please don't set any use flags that are not required. Not everyone uses nor wants gnome.

Reproducible: Always

Steps to Reproduce:
1. emerge gnucash
2.
3.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-10-08 05:07:50 UTC
(In reply to comment #0)
> gnucash-2.2.9-r1 has an rdepend on goffice[gnome]
> However, I have removed the use flag requirement and it works just fine.

Well, that it didn't fail for you yet, doesn't mean the dep in unneccessary.

Nontheless, it was asked in bug 122337#c20 before. There is no answer.

> Statement by fed up user who doesn't want all that gnome stuff (following the
> bad example):
> "Why are you gnome guys always trying to force all that stuff on us?"
> 
> No, seriously, please don't set any use flags that are not required. Not
> everyone uses nor wants gnome.

Don't use gnucash then.
Removing +gnome will not remove any dependency as gnucash already depends on the packages added by +gnome in goffice and libgsf.
Comment 2 David Raison 2009-10-08 07:30:30 UTC
(In reply to comment #1)
> Well, that it didn't fail for you yet, doesn't mean the dep in unneccessary.

What does it mean then?
 
> Don't use gnucash then.

That is just silly. "Don't use gentoo then, because, well, we put some gnome into everything"

> Removing +gnome will not remove any dependency as gnucash already depends on
> the packages added by +gnome in goffice and libgsf.

True, but I don't have any +gnome flag set at all. In fact, I have a global -gnome to prevent any superfluous gnome stuff from compiling. The gnome flag in x11-libs/goffice is optional (and in my case negated) as well. It still works.

My point is simply this: An application cannot depend on a window manager or desktop manager in order to work.

If gnucash would not have worked without the +gnome flag, then, yes, I would not have used it.
 

Comment 3 Torsten Veller (RETIRED) gentoo-dev 2009-10-08 09:23:33 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Well, that it didn't fail for you yet, doesn't mean the dep in unneccessary.
> 
> What does it mean then?

Maybe you use didn't use the feature where it's needed?

> > Don't use gnucash then.
> 
> That is just silly. "Don't use gentoo then, because, well, we put some gnome
> into everything"

"To install GnuCash, users will need Gnome 2,...", a quote from the release announcement.
So if you don't want gnome, you don't want gnucash. I don't understand why you think the comment is silly.

> > Removing +gnome will not remove any dependency as gnucash already depends on
> > the packages added by +gnome in goffice and libgsf.
> 
> True, but I don't have any +gnome flag set at all. In fact, I have a global
> -gnome to prevent any superfluous gnome stuff from compiling. The gnome flag in
> x11-libs/goffice is optional (and in my case negated) as well. It still works.
> 
> My point is simply this: An application cannot depend on a window manager or
> desktop manager in order to work.
> 
> If gnucash would not have worked without the +gnome flag, then, yes, I would
> not have used it.

The dependencies are installed anyway. If we'd remove the gnome useflag you'd be happier?

I am not saying, that we can't remove the gnome useflag dependency. I don't know right now, especially as gnucash needs (or once needed) libgsf with USE=gnome.
Comment 4 David Raison 2009-10-08 15:23:23 UTC
http://wiki.gnucash.org/wiki/FAQ#Q:_Why_do_you_have_to_depend_on_GNOME.3F__It.27
s_so_bloated.21

I've just been pointed to that FAQ entry.
I agree with using those pre-existing libraries. However, while it's fine to use the libraries, I don't need any desktop management capabilities.

IMHO, packages (especially under gentoo) should try to stay as small as possible.
Comment 5 Pacho Ramos gentoo-dev 2011-03-06 11:28:06 UTC
gnucash needs goffice with gconf support (that is what "gnome" USE flag is adding for goffice) -> http://wiki.gnucash.org/wiki/Dependencies

The idea is not to build packages as minimal as possible, it's get packages build as minimal as possible without losing features or having them working "partially"

Depending on goffice[gnome] is simply adding a dep on >=gnome-base/gconf-2 that is needed anyway for gnucash