Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How do I switch polkit from spidermonkey to duktape
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 370

PostPosted: Sat Mar 06, 2021 4:32 pm    Post subject: [Solved] How do I switch polkit from spidermonkey to duktape Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9898
Location: almost Mile High in the USA

PostPosted: Sat Mar 06, 2021 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31485
Location: here

PostPosted: Sat Mar 06, 2021 4:45 pm    Post subject: Reply with quote

Because upstream merge request is yet opened
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 370

PostPosted: Sat Mar 06, 2021 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31485
Location: here

PostPosted: Sat Mar 06, 2021 5:35 pm    Post subject: Reply with quote

Latest stable polkit is 0.118
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31485
Location: here

PostPosted: Sat Mar 06, 2021 5:36 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 370

PostPosted: Sat Mar 06, 2021 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9898
Location: almost Mile High in the USA

PostPosted: Sat Mar 06, 2021 8:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum