Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510968 - www-client/google-chrome* should depend on dev-libs/libappindicator:0
Summary: www-client/google-chrome* should depend on dev-libs/libappindicator:0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 18:38 UTC by Jürgen Geuter
Modified: 2014-10-14 10:50 UTC (History)
5 users (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 Jürgen Geuter 2014-05-21 18:38:50 UTC
Newer Google Chrome versions >= 35* offer to integrate Google Now cards and other features into the browser via a notification thingy. It presents itself as a Bell in the notification area but only works if libappindicator is installed. Chrome runs without but cannot access Google Now Cards etc.
Comment 1 Mike Gilbert gentoo-dev 2014-05-21 18:55:03 UTC
I don't think it makes sense to add a dependency for an optional feature like this.
Comment 2 Andriy Baranskyy 2014-05-23 22:54:32 UTC
(In reply to Mike Gilbert from comment #1)
> I don't think it makes sense to add a dependency for an optional feature
> like this.
In that case, why not have a USE-flag?
Comment 3 Jürgen Geuter 2014-05-23 22:58:38 UTC
Well it's not just "optional". You need libappindicator to get a chrome icon in your taskbar for background processes (like extensions). Without it the processes run but you cannot access them in any way without opening up a new browser window.

There is a related bug in the chrome bugzilla (https://code.google.com/p/chromium/issues/detail?id=267195) which talk about getting an X11 compatible icon thingy going but right now libappindicator is the only option.
Comment 4 Andriy Baranskyy 2014-05-23 23:32:45 UTC
Interestingly enough, after the installation libappindicator, the notification centre still does not show up. I am using chrome 35.0.1916.114_p1 and have google now cards enabled in chrome://flags.
Comment 5 Tony Murray 2014-09-10 17:12:32 UTC
libappindicator may be the incorrect version.  Google says it requires libappindicator1.  The libappindicator ebuild installs libappindicator3 for me.

See this issue:
https://code.google.com/p/chromium/issues/detail?id=378294
Comment 6 Mike Gilbert gentoo-dev 2014-09-10 17:59:10 UTC
I think libappindicator1 is the version you get when you build against gtk2 instead of gtk3.

There are currently no ebuilds providing this in the portage tree.

@ayatana-bugs: Any advice here? I guess google-chrome has a soft dependency on this.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-09-18 17:37:37 UTC
(In reply to Mike Gilbert from comment #6)
> I think libappindicator1 is the version you get when you build against gtk2
> instead of gtk3.
> 
> There are currently no ebuilds providing this in the portage tree.
> 
> @ayatana-bugs: Any advice here? I guess google-chrome has a soft dependency
> on this.

- ayatana-bugs@ is understaffed
- Ubuntu has designed the build-sys of the ayatana libraries, like libappindicator, in a way it's not easy to SLOT them because gtk2 and gtk3 share same headers

So, we only ship GTK+ 3.x ayatana libraries in Portage for a purpose

If at all possible, disable any use of GTK+ 2.x ayatana libraries in your package, and preferably put it behind USE="ayatana" (which is use.masked)
Comment 8 Mike Gilbert gentoo-dev 2014-09-18 18:10:30 UTC
google-chrome is a pre-built binary; it loads libappindicator.so.[01] using dlopen.

I don't need headers, all I need is the shared objects.

If you will not provide this, I will have to close this as CANTFIX.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2014-09-19 01:33:24 UTC
(In reply to Mike Gilbert from comment #8)
> google-chrome is a pre-built binary; it loads libappindicator.so.[01] using
> dlopen.
> 
> I don't need headers, all I need is the shared objects.
> 
> If you will not provide this, I will have to close this as CANTFIX.

you can join ayatana-bugs@g.o, and maintain SLOTed libappindicator:0 with design of:

libappindicator:2 (gtk2 shared lib, .pc file, docs, etc. )
libappindicator:3 (gtk2 shared lib, .pc file, docs, etc. )
libappindicator:headers (both :2 and :3 depend on this since they share headers)

ayatana-bugs@ contains Unity prereq libraries and we've kept them minimal in tree, letting people get full unity from the unity-overlay instead since
it's clearly not supported in Portage currently (needs specially patched toolkits like gtk and qt, it's pretty ugly in the end)

but you can join ayatana-bugs@ just to maintain package or two, or add chrome to metadata.xml, ... all good :)
Comment 10 Mike Gilbert gentoo-dev 2014-10-10 02:14:39 UTC
Thanks, but I'm really not interested in maintaining it.