View previous topic :: View next topic |
Author |
Message |
Blind_Sniper Guru

Joined: 20 Apr 2018 Posts: 370
|
Posted: Sat Mar 06, 2021 4:32 pm Post subject: [Solved] How do I switch polkit from spidermonkey to duktape |
|
|
Hi!
Is there any instruction on how to switch polkit from using spidermonkey to duktape?
polkit doesn't seem has any flag related to duktape.
Code: | sys-auth/polkit-0.116-r1::gentoo was built with the following:
USE="elogind kde nls -examples -gtk -introspection -jit -pam (-selinux) -systemd -test" ABI_X86="(64)"
FEATURES="usersync ebuild-locks sandbox network-sandbox usersandbox ipc-sandbox userfetch strict parallel-fetch binpkg-dostrip xattr protect-owned fixlafiles unmerge-logs pid-sandbox merge-sync news unmerge-orphans assume-digests qa-unresolved-soname-deps userpriv multilib-strict preserve-libs config-protect-if-modified distlocks binpkg-docompress binpkg-logs sfperms unknown-features-warn" |
_________________ GNU is Not Usable
Last edited by Blind_Sniper on Sat Mar 06, 2021 6:59 pm; edited 1 time in total |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9901 Location: almost Mile High in the USA
|
Posted: Sat Mar 06, 2021 4:43 pm Post subject: |
|
|
Too soon.
I don't think upstream hasn't done it yet, and if they did, the Gentoo devs need to package it. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31492 Location: here
|
|
Back to top |
|
 |
Blind_Sniper Guru

Joined: 20 Apr 2018 Posts: 370
|
Posted: Sat Mar 06, 2021 5:17 pm Post subject: |
|
|
I read somewhere around here that some people had polkit switched to duktype already.
There is patch for polkit:
https://github.com/hhoffstaette/portage/tree/master/sys-auth/polkit
but it's for polkit-0.118, mine polkit is 0.116, not sure, is it safe to force update to 0.118? _________________ GNU is Not Usable |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31492 Location: here
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31492 Location: here
|
Posted: Sat Mar 06, 2021 5:36 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Blind_Sniper Guru

Joined: 20 Apr 2018 Posts: 370
|
Posted: Sat Mar 06, 2021 6:58 pm Post subject: |
|
|
Applied patch from the link above and updated polkit-0.118 with duktype.
Seems all works as expected after spidermonkey uninstalling.
The only strange thing is depclean wants to remove virtualbox for some unknown reason.
Though it's a different problem for different topic. _________________ GNU is Not Usable |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9901 Location: almost Mile High in the USA
|
Posted: Sat Mar 06, 2021 8:35 pm Post subject: |
|
|
May be worth doing a howto for others interested in ridding themselves of spidermonkey. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
|