View previous topic :: View next topic |
Author |
Message |
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Tue May 17, 2022 9:18 pm Post subject: Can't disable gnome-online-accounts global USE flag |
|
|
I'm on 'default/linux/amd64/17.1/desktop/gnome (stable)' profile with gnome-base/gnome package installed.
I can't disable gnome-online-accounts global USE flag because it's not possible to resolve the hard dependencies on this USE flag enabled:
gnome-extra/gnome-contacts-41.0 depends on this:
>=gnome-extra/evolution-data-server-3.30:=[gnome-online-accounts]
and net-libs/gnome-online-accounts-3.40.1 depends on this:
gnome? ( >=gnome-base/gnome-control-center-3.2[gnome-online-accounts(+)]
What's the use of this flag if you can't disable it or this problem might be fixed in the future?
Also Privacy section in https://wiki.gentoo.org/wiki/GNOME/Guide needs to be changed somehow because you can't remove GNOME online accounts in the control center anymore. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue May 17, 2022 9:54 pm Post subject: |
|
|
But you chose a full gnome profile and a full gnome metapackage.
I think it is unlikely to be able to get rid of it.
In any case try
Code: |
emerge -cav gnome-online-accounts
|
What does it say?
If you maybe had a plain desktop profile and/or only individual gnome packages I think it would be much easier to remove it. or not have it in the first place.
Do you want to remove the functionality or the USE flag?
If the former maybe you can
include the above package in package.provided file unmerge it and hope that the rest will work normally.
But this is a wild guess. _________________
|
|
Back to top |
|
|
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Tue May 17, 2022 10:13 pm Post subject: |
|
|
alamahant wrote: | In any case try Code: | emerge -cav gnome-online-accounts | What does it say?
|
Code: | net-libs/gnome-online-accounts-3.40.1 pulled in by:
dev-libs/libgdata-0.18.1 requires >=net-libs/gnome-online-accounts-3.8:=[introspection,vala], >=net-libs/gnome-online-accounts-3.8:0/1=[introspection,vala]
gnome-base/gnome-control-center-41.4-r1 requires >=net-libs/gnome-online-accounts-3.25.3:0/1=, >=net-libs/gnome-online-accounts-3.25.3:=
gnome-base/gvfs-1.48.1-r1 requires >=net-libs/gnome-online-accounts-3.17.1:=, >=net-libs/gnome-online-accounts-3.17.1:0/1=
gnome-extra/evolution-data-server-3.42.4 requires >=net-libs/gnome-online-accounts-3.8:=, >=net-libs/gnome-online-accounts-3.8:0/1=
gnome-extra/gnome-contacts-41.0 requires net-libs/gnome-online-accounts:0/1=, net-libs/gnome-online-accounts[vala], net-libs/gnome-online-accounts:= |
alamahant wrote: | Do you want to remove the functionality or the USE flag? |
I'd like to make it clear for myself if it's not possible to disable this USE flag globally and if it's the case attract developers to either remove this flag or fix ebuilds to make it work.
Last edited by wowpetr on Tue May 17, 2022 10:24 pm; edited 2 times in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue May 17, 2022 10:18 pm Post subject: |
|
|
Yes you are entangled in a web of dependencies.
With your present profile and gnome metapackage it will be very difficult unless you want to make a local repo and maintain modified ebuilds to not pull this package.
Wait maybe there is a way.
Plz see this
Code: |
Removing GNOME online accounts in the control center
Some users might be concerned about the fact that there is an online accounts section is the GNOME control center, which enables the user to connect the system to various services like Google, Microsoft, etc. In Portage, a USE flag can be set to remove this functionality:
FILE /etc/portage/package.use/package.use
gnome-base/gnome-control-center -gnome-online-accounts
This will tell Portage to not install the net-libs/gnome-online-accounts package.
re-emerge gnome-base/gnome-control-center and clean unused dependencies.
root #emerge --ask --changed-use gnome-base/gnome-control-center
root #emerge --depclean
|
If this works then plz include a global USE="-gnome-online-accounts" in make.conf and rebuild @world
UNLIKELY. _________________
Last edited by alamahant on Tue May 17, 2022 10:39 pm; edited 1 time in total |
|
Back to top |
|
|
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Tue May 17, 2022 10:35 pm Post subject: |
|
|
alamahant wrote: | Plz see this
gnome-base/gnome-control-center -gnome-online-accounts
|
Yes, I tried that and it doesn't work anymore due to hard dependences I pointed out in my first post that I discovered learning actual ebuilds.
After setting Code: | gnome-base/gnome-control-center -gnome-online-accounts
emerge --ask --changed-use gnome-base/gnome-control-center | you get this error:
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
gnome-base/gnome-control-center:2
(gnome-base/gnome-control-center-41.4-r1:2/2::gentoo, ebuild scheduled for merge) USE="bluetooth cups elogind ibus networkmanager wayland -debug -gnome-online-accounts -kerberos -systemd -test -v4l" ABI_X86="(64)" INPUT_DEVICES="-wacom" conflicts with
>=gnome-base/gnome-control-center-3.2[gnome-online-accounts(+)] required by (net-libs/gnome-online-accounts-3.40.1:0/1::gentoo, installed) USE="gnome introspection vala -debug -kerberos" ABI_X86="(64)" |
Last edited by wowpetr on Tue May 17, 2022 10:47 pm; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue May 17, 2022 10:44 pm Post subject: |
|
|
Can you then try too fool gnome to thinking that gnome-online-accounts is installed?
Code: |
echo "net-libs/gnome-online-accounts-3.40.1" >> /etc/portage/profile/package.provided
emerge -C gnome-online-accounts
|
Tjen check if your gnome is working.
If not remove the entry in package.provided and re-emerge it
Code: |
emerge -1av gnome-online-accounts.
|
But this is a dirty and un-elegant solution.
The best is not to use gnome at all or only use some packages of it. _________________
|
|
Back to top |
|
|
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Wed May 18, 2022 12:01 am Post subject: |
|
|
alamahant wrote: | Can you then try too fool gnome to thinking that gnome-online-accounts is installed? |
This what I got.
I set globally flag -gnome-online-accounts.
Then I satisfied the packages that require gnome-online-accounts USE flag: Code: | gnome-base/gnome-control-center gnome-online-accounts
gnome-extra/evolution-data-server gnome-online-accounts |
After that I had less dependencies than it was before:
Code: | net-libs/gnome-online-accounts-3.40.1 pulled in by:
gnome-base/gnome-control-center-41.4-r1 requires >=net-libs/gnome-online-accounts-3.25.3:0/1=, >=net-libs/gnome-online-accounts-3.25.3:=
gnome-extra/evolution-data-server-3.42.4 requires >=net-libs/gnome-online-accounts-3.8:0/1=, >=net-libs/gnome-online-accounts-3.8:=
gnome-extra/gnome-contacts-41.0 requires net-libs/gnome-online-accounts:=, net-libs/gnome-online-accounts[vala], net-libs/gnome-online-accounts:0/1=
|
Then I did:
Code: | echo "net-libs/gnome-online-accounts-3.40.1" >> /etc/portage/profile/package.provided
emerge -avc gnome-online-accounts |
I got this on the last command:
Code: | !!! existing preserved libs:
>>> package: net-libs/gnome-online-accounts-3.40.1
* - /usr/lib64/libgoa-backend-1.0.so.1
* - /usr/lib64/libgoa-backend-1.0.so.1.0.0
* used by /usr/bin/gnome-control-center (gnome-base/gnome-control-center-41.4-r1)
* - /usr/lib64/libgoa-1.0.so.0
* - /usr/lib64/libgoa-1.0.so.0.0.0
* used by /usr/bin/gnome-contacts (gnome-extra/gnome-contacts-41.0)
* used by /usr/bin/gnome-control-center (gnome-base/gnome-control-center-41.4-r1)
* used by /usr/lib64/evolution-data-server/credential-modules/module-credentials-goa.so (gnome-extra/evolution-data-server-3.42.4)
* used by /usr/lib64/evolution-data-server/registry-modules/module-gnome-online-accounts.so (gnome-extra/evolution-data-server-3.42.4)
* used by /usr/libexec/gnome-contacts-search-provider (gnome-extra/gnome-contacts-41.0) |
Then I rebooted and checked that gnome is loading. There was still the account section in Settings but when I clicked it, settings closed.
Then I removed gnome-online-accounts flag from gnome-control-center:
Code: | gnome-base/gnome-control-center -gnome-online-accounts |
And it successfully rebuilded.
The only gnome-online-accounts flag that I got left is:
Code: | gnome-extra/evolution-data-server gnome-online-accounts |
When I trying to remove it I get this:
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
gnome-extra/evolution-data-server:0
(gnome-extra/evolution-data-server-3.42.4:0/63-26-20::gentoo, ebuild scheduled for merge) USE="gtk introspection ipv6 vala weather -berkdb -gnome-online-accounts -gtk-doc -kerberos -ldap -oauth -test" ABI_X86="(64)" conflicts with
>=gnome-extra/evolution-data-server-3.30:=[gnome-online-accounts] required by (gnome-extra/gnome-contacts-41.0:0/0::gentoo, installed) USE="-telepathy -v4l" ABI_X86="(64)"
^^^^^^^^^^^^^^^^^^^^^
>=gnome-extra/evolution-data-server-3.30:0/63-26-20=[gnome-online-accounts] required by (gnome-extra/gnome-contacts-41.0:0/0::gentoo, installed) USE="-telepathy -v4l" ABI_X86="(64)"
^^^^^^^^^^^^^^^^^^^^^ |
|
|
Back to top |
|
|
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Wed May 18, 2022 12:27 am Post subject: |
|
|
gnome-base/gnome-core-apps-41.3 depends on:
>=gnome-extra/gnome-contacts-41.0
and gnome-extra/gnome-contacts-41.0 depends on:
>=gnome-extra/evolution-data-server-3.30:=[gnome-online-accounts]
So, it's gnome-extra/gnome-contacts package that depends on gnome-extra/evolution-data-server package and wants it to be built with gnome-online-accounts flag.
Is there anything I can do? |
|
Back to top |
|
|
wowpetr n00b
Joined: 12 May 2018 Posts: 12
|
Posted: Wed May 18, 2022 1:36 am Post subject: |
|
|
Solved my problem by replacing gnome-base/gnome with gnome-base/gnome-light which doesn't depend on gnome-base/gnome-core-apps. |
|
Back to top |
|
|
|