Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637034 - x11-wm/enlightenment 0.2* ebuilds missing acpi support, connman dependency
Summary: x11-wm/enlightenment 0.2* ebuilds missing acpi support, connman dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-10 09:56 UTC by tbartdev
Modified: 2018-06-09 09:48 UTC (History)
2 users (show)

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


Attachments
Cumulative diff for three ebuilds to include acpi USE flag and acpid dep (file_637034.txt,1.65 KB, text/plain)
2017-11-10 09:56 UTC, tbartdev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbartdev 2017-11-10 09:56:31 UTC
Created attachment 503404 [details]
Cumulative diff for three ebuilds to include acpi USE flag and acpid dep

Enlightenment can make use of ACPI events (e.g. suspend if laptop lid closed), but it needs sys-power/acpid for this.

Found this out the hard way as there do not seem to be any error messages hinting at this necessary dependency.

Therefore, the acpi USE flag should be added to current ebuilds.

A patch for enlightenment-0.2* ebuilds is attached.
Comment 1 tbartdev 2018-02-05 22:09:18 UTC
In much the same way, connman is missing as a dependency when selected as an enlightenment module.

In the os-xtoo overlay (https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/x11-wm/enlightenment/enlightenment-9999.ebuild) connman is not selectable as a module, but is a normal use flag. I don't know whether this has any advantage, but it sounds a little more logical, as a system-wide connman use flag would automatically pull it in, without the need to specify the module explicitly.

Otherwise, this should do:

enlightenment_modules_connman? ( net-misc/connman )
Comment 2 Joonas Niilola gentoo-dev 2018-05-25 14:25:10 UTC
Ill make a PR to update E21 into 0.21.11. It has acpi USE flag with sys-power/acpid dependency. Ill also update this for E22 when 0.22.4 hits.

Not sure about the connman dependency. Fast glancing through source files it seems to depend a lot on econnman thats (currently) not available in portage. Can you confirm it works without econnman? If it does, Id say connman USE flag to enable it, because most people have all the modules enabled and dont think about them too much. 

I plan to remove <0.21.11 when 0.21.11 gets arch keyworded and stabilized (hopefully soon) so Ill leave already existing ebuilds untouched for now...
Comment 3 Larry the Git Cow gentoo-dev 2018-05-25 18:11:48 UTC
The bug has been referenced in the following commit(s):

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

commit 0e1b578a4e713b27b2911edaff50f9fc9c7ac119
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-05-25 14:30:51 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-05-25 18:11:32 +0000

    x11-wm/enlightenment: bump E21 to 0.21.11
    
    Bug: https://bugs.gentoo.org/637034
    Bug: https://bugs.gentoo.org/615426
    Package-Manager: Portage[mgorny]-2.3.36.1
    Closes: https://github.com/gentoo/gentoo/pull/8583

 x11-wm/enlightenment/Manifest                      |   1 +
 x11-wm/enlightenment/enlightenment-0.21.11.ebuild  | 139 +++++++++++++++++++++
 .../files/enlightenment-0.21.11-quickstart.diff    |  13 ++
 x11-wm/enlightenment/metadata.xml                  |   1 +
 4 files changed, 154 insertions(+)
Comment 4 tbartdev 2018-06-01 15:18:49 UTC
Yes, it definitely works without econnman. It just shows the connman status. For configuring it, econnman is necessary.
Comment 5 Joonas Niilola gentoo-dev 2018-06-02 03:13:09 UTC
Ok, thanks for confirming. Ill prepare a PR to fix this in >=0.21.11. Ill investigate if efl[connman] is needed for the module, or is efl[connman] only used by econnman.

Once again, Ill leave <0.21.11 untouched because they are waiting to be removed, but Ill mark the bug fixed when PR gets merged. Then this will be noted in future versions, thanks!
Comment 6 Larry the Git Cow gentoo-dev 2018-06-09 09:48:05 UTC
The bug has been closed via the following commit(s):

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

commit 0c0d00c060fb5f87129d0b4acf7d981b3a31e76c
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-06-03 14:22:26 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-06-09 09:32:45 +0000

    x11-wm/enlightenment: add 'acpi' and 'connman' USE flags to 0.22.3
    
    Removed sed line which 'fixed' QA issues.
    Updated description.
    
    Closes: https://bugs.gentoo.org/637034
    Closes: https://github.com/gentoo/gentoo/pull/8711
    Package-Manager: Portage[mgorny]-2.3.36.1

 x11-wm/enlightenment/enlightenment-0.22.3.ebuild | 31 ++++++++++++------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 3e069e34bad9acd52454f693588a89b9c234a63e
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-06-03 14:14:58 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-06-09 08:31:26 +0000

    x11-wm/enlightenment: add 'connman' USE flag for 0.21.11
    
    Bug: https://bugs.gentoo.org/637034
    Package-Manager: Portage[mgorny]-2.3.36.1

 x11-wm/enlightenment/enlightenment-0.21.11.ebuild | 24 ++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)