Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555372 - >=x11-misc/lightdm-1.14.1 should RDEPEND on sys-apps/accountservice
Summary: >=x11-misc/lightdm-1.14.1 should RDEPEND on sys-apps/accountservice
Status: RESOLVED DUPLICATE of bug 500152
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-19 17:41 UTC by ben.c.schubert
Modified: 2015-07-23 17:37 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 ben.c.schubert 2015-07-19 17:41:57 UTC
lightdm version 1.14.1 and upwards should RDEPEND on sys-apps/accountservice (it did before) as sys-apps/accountservice is an alternative way for lightdm to get user information.



Reproducible: Always

Steps to Reproduce:
1. install >=x11-misc/lightdm-1.14.1
2. launch it. The icon will not display
3. install accountservice and configure it. The icons will display.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2015-07-23 16:04:24 UTC
Nope :)

See bug #500152

You really don't need that in order to get a functional lightdm

*** This bug has been marked as a duplicate of bug 500152 ***
Comment 2 ben.c.schubert 2015-07-23 16:08:33 UTC
Well, you don't *need* it, which is why I proposed a RDEPEND (via a USE flag), isn't it the aim of useflags ? To be able to define which parts you want ? Or do I miss something about this ?

Whithout it, Lightdm needs extra configuration to display user icons.

Thanks a lot !
Comment 3 ben.c.schubert 2015-07-23 16:15:18 UTC
Sorry, it should not RDEPEND, but conditionnally depend via a USE flag, I miswrote this
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2015-07-23 16:46:28 UTC
(In reply to ben.c.schubert from comment #3)
> Sorry, it should not RDEPEND, but conditionnally depend via a USE flag, I
> miswrote this

I don't understand you. The gnome useflag will pull this dependency.
Comment 5 ben.c.schubert 2015-07-23 16:52:15 UTC
Well the gnome useflag pulls more packages too.

Example on my system:

USE="-gnome" emerge -a lightdm

$ emerge -a accountsservice                                                                                                                       

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-apps/accountsservice-0.6.40::gentoo  USE="introspection systemd -doc (-selinux)" 360 KiB

Total: 1 package (1 new), Size of downloads: 360 KiB


USE="gnome" emerge -a lightdm

Calculating dependencies... done!
[ebuild  N     ] sys-devel/autoconf-archive-2015.02.24::gentoo  565 KiB
[ebuild  N     ] gnome-base/gnome-common-3.14.0-r1:3::gentoo  USE="autoconf-archive" 153 KiB
[ebuild  N     ] sys-apps/accountsservice-0.6.40::gentoo  USE="introspection systemd -doc (-selinux)" 360 KiB
[ebuild   R    ] x11-misc/lightdm-1.14.2::gentoo  USE="gnome* gtk introspection -kde -qt4" 0 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 1,077 KiB


So there is indeed a difference between both and I don't want gnome dependencies (which accountsservice doesn't have) on my system.

Is this more clear ?
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2015-07-23 17:03:01 UTC
> So there is indeed a difference between both and I don't want gnome
> dependencies (which accountsservice doesn't have) on my system.
> 
> Is this more clear ?

Did you read the bug i pointed you at? accountsservice requires some gnome stuff to function properly. And it already pulls gnome dependencies. And come on, gnome-common only pulls 10 files which are about 136K in total.
Comment 7 ben.c.schubert 2015-07-23 17:07:04 UTC
Yes I read it and did not understand exactly, as I don't see any gnome dependencies pulled in by accountsservice :

 * dependency graph for sys-apps/accountsservice-0.6.40
 `--  sys-apps/accountsservice-0.6.40  amd64 
   `--  dev-libs/glib-2.44.1  (>=dev-libs/glib-2.37.3) ~amd64 
   `--  sys-auth/polkit-0.113  (sys-auth/polkit) ~amd64 
   `--  dev-libs/gobject-introspection-1.44.0  (>=dev-libs/gobject-introspection-0.9.12) ~amd64 
   `--  sys-apps/systemd-222-r1  (>=sys-apps/systemd-186) ~amd64 
   `--  sys-auth/consolekit-0.4.6  (sys-auth/consolekit) amd64 
   `--  dev-libs/libxslt-1.1.28-r4  (dev-libs/libxslt) amd64 
   `--  dev-util/gdbus-codegen-2.44.1  (dev-util/gdbus-codegen) ~amd64 
   `--  dev-util/gtk-doc-am-1.24  (>=dev-util/gtk-doc-am-1.15) amd64 
   `--  dev-util/intltool-0.51.0  (>=dev-util/intltool-0.40) ~amd64 
   `--  sys-devel/gettext-0.19.5  (sys-devel/gettext) ~amd64 
   `--  virtual/pkgconfig-0-r1  (virtual/pkgconfig) amd64 
   `--  app-text/docbook-xml-dtd-4.1.2-r6  (app-text/docbook-xml-dtd) amd64 
   `--  app-text/xmlto-0.0.26  (app-text/xmlto) amd64 
   `--  app-arch/xz-utils-5.2.1-r1  (app-arch/xz-utils) ~amd64 
   `--  sys-apps/sed-4.2.2  (>=sys-apps/sed-4) ~amd64 
   `--  sec-policy/selinux-accountsd-2.20141203-r7  (sec-policy/selinux-accountsd) ~amd64

If you don't want to do it I understand, but I still think it would be better.

Anyways thanks for your time  !
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2015-07-23 17:22:57 UTC
(In reply to ben.c.schubert from comment #7)
> Yes I read it and did not understand exactly, as I don't see any gnome
> dependencies pulled in by accountsservice :
> 
>  * dependency graph for sys-apps/accountsservice-0.6.40
>  `--  sys-apps/accountsservice-0.6.40  amd64 
>    `--  dev-libs/glib-2.44.1  (>=dev-libs/glib-2.37.3) ~amd64 
>    `--  sys-auth/polkit-0.113  (sys-auth/polkit) ~amd64 
>    `--  dev-libs/gobject-introspection-1.44.0 

gobject-instrospection and glib are being pulled by nearly all gnome packages. So yes these are actual gnome dependencies. If you suggest to make a useflag just for accountsservice in order to avoid pulling gnome-common I don't think this is going to happen
Comment 9 ben.c.schubert 2015-07-23 17:37:37 UTC
Well, glib is also an xfce dependency, even a qemu dependency, and gobject-introspection is pulled by the useflag "introspection" of lightdm, which is normally enabled too and pulled by many other packages.

Anyways if it's a problem, I'll install manually accountsservice.

Thanks a lot for your time !