There is a suggestion to add the OneDrive client to the official gentoo repository. https://github.com/abraunegg/onedrive The client develops in contrast to the others. In Debian, it is already in sid. In OpenSUSE in experimental. Reproducible: Always
see also https://repology.org/projects/?search=onedrive
(In reply to avz79 from comment #0) > There is a suggestion to add the OneDrive client to the official gentoo > repository. > https://github.com/abraunegg/onedrive > The client develops in contrast to the others. In Debian, it is already in > sid. In OpenSUSE in experimental. > > Reproducible: Always That project contains an ebuild: https://github.com/abraunegg/onedrive/blob/master/contrib/gentoo/onedrive-2.4.10.ebuild It works (both the ebuild and the OneDrive client), but depends on stuff from the dlang overlay.
I also request that OneDrive client be formally added to "stable" Portage, ensuring dependencies are identified/satisfied.
Taking this for now. It's going to need a few annoying but minor enough things to get in ::gentoo. Currently the hold up has been that the onedrive client is written in D and has been stuck languishing in the dlang overlay (where I'm effectively its maintainer): https://github.com/gentoo/dlang/tree/master/net-misc/onedrive It really shouldn't be here, it's just the only place it can be right now as upstream officially only supports DMD and LDC compilers. I'm motivated to get it out since this overlay is not well maintained and I am not the person to take on maintaining toolchain ebuilds. The onedrive ebuild will still build and install on a system with a recent enough dmd present after removing the eclasses. But the only dlang compiler available in ::gentoo is GDC (through sys-devel/gcc[d]). I've removed dmd from my system and now I'm building gcc with d useflag and testing: https://github.com/joecool1029/joecool-overlay/commit/59f47e0c328469e37aaade7009710a933472b7f4 Should work though once I patch the configure script to add gdc. Also, will need at least gcc-12.1 as this was the first self-hosting version of the dlang compiler, the previous versions in gcc are too old to compile this.
Ok so that was a deeper rabbit hole than I expected, but I got it working fine with GDC. This is my fork with what was done: https://github.com/joecool1029/onedrive/tree/gdcsupport My overlay has the full working ebuild with patch: https://github.com/joecool1029/joecool-overlay/tree/master/net-misc/onedrive Patch size is slightly overlimit for ::gentoo inclusion because gdc dropped out the sqlite3.d file from phobos (the D standard library) and I had to include it in the package. This is a file that has not changed in years and is included in current dmd's phobos, some of the other D language developers think it might have been ommitted from gcc by mistake. None of the changes I made should break or change compiling for users with dmd on their system (like if you had it from dlang-overlay). I'll ask gentoo devs if it's ok to be overlimit on this or if I can get it hosted.