Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513206 - lxqt-base/liblxqt-mount - add USE=udisks to optionally depend on sys-fs/udisks
Summary: lxqt-base/liblxqt-mount - add USE=udisks to optionally depend on sys-fs/udisks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jauhien Piatlicki (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 11:36 UTC by Alpha Bravo
Modified: 2014-11-03 16:31 UTC (History)
1 user (show)

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


Attachments
ebuild: added a "udisks" USE-Flag to the original version (liblxqt-mount-0.7.0-r1.ebuild,769 bytes, text/plain)
2014-06-16 16:49 UTC, Alpha Bravo
Details
metadata.xml (metadata.xml,396 bytes, text/xml)
2014-06-16 16:50 UTC, Alpha Bravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2014-06-14 11:36:20 UTC
as sys-fs/udisks needs sys-auth/polkit, of which i'd like to keep clear, i hereby kindly ask for a USE-flag to solve that problem

alternative solution could be a respective USE=mount flag for lxqt-base/lxqt-panel if the former approach would make liblxqt-mount needless anyway

Reproducible: Always
Comment 1 Alpha Bravo 2014-06-14 13:44:05 UTC
USE=mount exists for lxqt-panel, but doesn't solve this problem
Comment 2 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-06-14 23:47:55 UTC
Ok, will look at it in the nearest time.
Comment 3 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-06-15 22:23:55 UTC
lxqt-panel can not be build without liblxqt-mount, and this last does not work without sys-fs/udisks. Correct me if I'm wrong. So at the moment I see no good way to fix this issue.

May be lxqt-panel really does not need liblxqt-mount, but I need time to look at its code and then patch building system. You can do it yourself, if you have time, I'll add your patches.
Comment 4 Alpha Bravo 2014-06-16 16:49:01 UTC
Created attachment 379040 [details]
ebuild: added a "udisks" USE-Flag to the original version

you are right liblxqt-mount is required by lxqt-panel (cf. http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source#lxqt-panel ).
but udisks is not needed for lxqt to work (cf. http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source#liblxqt-mount ), although probably the removable device management won't work properly without udisks. 
at least so far i never noticed any problems on my lxqt-system which has always been running without udisks (i manage my devices via command line).
the attached ebuild builds just fine, too.
Comment 5 Alpha Bravo 2014-06-16 16:50:51 UTC
Created attachment 379042 [details]
metadata.xml
Comment 6 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-11-02 22:12:28 UTC
I would ask you to file an issue to upstream asking them why lxqt-panel has unconditional dependency on liblxqt-mount. If they will remove this dependency it would be the best solution.

So far I will add udisks USE to liblxqt-mount, but if with this USE unsetted the library would be quite unuseful, as it is the only provider it knows.
Comment 7 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-11-02 22:18:28 UTC
USE flag added to 0.8.0 and 9999 ebuilds. Please, test if everything works properly for you now.

Thanks for reporting. And, please, remember to talk with upstream.
Comment 8 Alpha Bravo 2014-11-03 16:28:35 UTC
Will be addressed upstream:
https://github.com/lxde/lxqt/issues/363
Comment 9 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-11-03 16:31:06 UTC
Thanks