Install gnome-online-accounts 3.51.1 on Fedora 40

I’m trying to build gnome-online-accounts, commit 23cc87a594384211eea89009dbc7161f79569a98 or later, since I need email support on Microsoft Graph. The oldest release that contains what I want is 3.51.1. My distribution, Fedora Asahi Remix 40, packages 3.50.5.

I checked out the commit I want and started configuring, which seems to bring a lot of newer dependencies (GTK, libadwaita, etc). I’m waiting for the build. Is there any way for me to be able to properly install this?

Alright. Apparently I was able to cherry-pick that commit. I’m trying to figure out how to install it. I blindly ran ninja -C build install which seems to have installed it to /usr/local. I’ll see if setting $LD_LIBRARY_PATH would help prioritize using it.

You can break your system by building and installing libraries yourself especially if you forget that you have done this and wonder why apps aren’t working.

I think you would be better off by figuring out how to undo what you have done and waiting until your distro supports GNOME 47 (Fedora 41) or switching to a distro that does have a newer GNOME version.

2 Likes

I agree with Jeremy. Trying to manually install unpackaged software is not a good idea. If you really want to do this, at least patch the RPM source, build an RPM, and install that rather than polluting your system with unpackaged files.

If you insist on not creating an RPM package, then you’ll need to configure with meson setup --prefix=/usr to install under /usr rather than /usr/local. But again, I strongly recommend not doing that.

Of course the easiest solution is to just upgrade to Fedora 41.

1 Like

IIUC, 'gnome-online-accounts' is not a shared library which you can use with LD_LIBRARY_PATH etc. It has DBus services (listed below) which launch binaries from /usr/libexec/ dir. So, the best bet would be to patch RPM as suggested by Michael.

There are other quicker / easier ways, but I’d not list them here, as for the uninformed, they are recipe for breaking their systems.

$ dpkg -L gnome-online-accounts
/.
/usr
/usr/libexec
/usr/libexec/goa-daemon
/usr/libexec/goa-identity-service
/usr/libexec/goa-oauth2-handler
/usr/share
/usr/share/applications
/usr/share/applications/org.gnome.OnlineAccounts.OAuth2.desktop
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.gnome.Identity.service
/usr/share/dbus-1/services/org.gnome.OnlineAccounts.service
..
..

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.