Package Details: onedriver 0.14.1-0

Git Clone URL: https://aur.archlinux.org/onedriver.git (read-only, click to copy)
Package Base: onedriver
Description: Native Linux filesystem for Microsoft OneDrive
Upstream URL: https://github.com/jstaf/onedriver
Licenses: GPL3
Submitter: faisalm
Maintainer: faisalm
Last Packager: faisalm
Votes: 33
Popularity: 0.21
First Submitted: 2021-03-25 16:15 (UTC)
Last Updated: 2023-10-23 18:21 (UTC)

Required by (0)

Sources (1)

Pinned Comments

faisalm commented on 2023-10-23 18:22 (UTC)

Updated to 0.14.1. Thanks to @maxxsom for the updated PKGBUILD.

faisalm commented on 2021-05-31 16:07 (UTC)

FWIW, I had to manually create the systemd service, after which I was able to enable/start it. YMMV.

export SERVICE_NAME=$(systemd-escape --template onedriver@.service --path $MOUNTPOINT)
cp /usr/lib/systemd/user/onedriver@.service $HOME/.config/systemd/user/$SERVICE_NAME

Latest Comments

1 2 3 4 Next › Last »

xjh2000 commented on 2024-09-02 08:14 (UTC)

i also have this issue. That is the nvidia driver influction ?

onedriver -a ~/test
16:04:52 WRN Configuration file not found, using defaults. error="open /home/xjh/.config/onedriver/config.yml: no such file or directory" path=/home/xjh/.config/onedriver/config.yml
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
src/nv_gbm.c:300: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x1200: Permission denied

bastionntb commented on 2024-08-31 17:11 (UTC)

Anyone else getting this error when they try to mount a filepath?

onedriver /home/bastionntb/onedrive/
10:08:55 WRN Configuration file not found, using defaults. error="open /home/bastionntb/.config/onedriver/config.yml: no such file or directory" path=/home/bastionntb/.config/onedriver/config.yml
10:08:55 INF onedriver v0.14.1 
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
src/nv_gbm.c:300: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 450x600: Permission denied

dclark16 commented on 2024-02-06 21:32 (UTC) (edited on 2024-02-07 09:07 (UTC) by dclark16)

Anyone else seeing this problem? I've checked the go.mod file and the git repo is there, but I don't profess to be an expert so any suggestions would be appreciated!


==> Starting build()...
cmd/onedriver/main.go:21:2: cannot find module providing package github.com/spf13/pflag: import lookup disabled by -mod=readonly
==> ERROR: A failure occurred in build().
    Aborting...

Edit: Sorry, this is me not reading properly! Cleaned the Go mod/cache and it worked fine.

RedSkuller commented on 2023-12-25 16:28 (UTC)

@sbeve72 @atdang The build may take a long time. It also seemed stuck for me but after some time it went forward. I suggest waiting until the process exits on its own

atdang commented on 2023-12-08 16:55 (UTC)

I have the exact same problem as @sbeve72.

I think the PKGBUILD file of the gotk3 package is not working right.

I am a newbie, so please show me how to resolve this, and point out any mistake I have made. Thank you guys.

sbeve72 commented on 2023-11-16 18:12 (UTC)

My build process is stuck on

==> Starting build()...
# github.com/gotk3/gotk3/glib
cgo-gcc-prolog: In function ‘_cgo_200740c87a77_Cfunc_g_binding_get_source’:
cgo-gcc-prolog:71:2: warning: ‘g_binding_get_source’ is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
In file included from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /home/sbeve72/go/pkg/mod/github.com/gotk3/gotk3@v0.6.1/glib/gbinding.go:3:
/usr/include/glib-2.0/gobject/gbinding.h:115:23: note: declared here
  115 | GObject *             g_binding_get_source          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_200740c87a77_Cfunc_g_binding_get_target’:
cgo-gcc-prolog:107:2: warning: ‘g_binding_get_target’ is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
/usr/include/glib-2.0/gobject/gbinding.h:119:23: note: declared here
  119 | GObject *             g_binding_get_target          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
github.com/gotk3/gotk3/gtk

I can't understand why and there's no error messages either, i only see mild warnings.

faisalm commented on 2023-10-23 18:22 (UTC)

Updated to 0.14.1. Thanks to @maxxsom for the updated PKGBUILD.

maxxsom commented on 2023-10-23 17:33 (UTC) (edited on 2023-10-23 17:35 (UTC) by maxxsom)

I made a quick update to the PKGBUILD to support version 0.14.1. The only lines I updated were the pkgver and sha512sums.

# Maintained by Faisal Moledina (faisal at moledina dot me)
pkgname=onedriver
pkgver=0.14.1
pkgrel=0
pkgdesc="Native Linux filesystem for Microsoft OneDrive"
arch=('x86_64')
url='https://github.com/jstaf/onedriver'
license=('GPL3')
depends=('fuse2' 'webkit2gtk')
makedepends=('pkgconf' 'go')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('ff0284c960f9ad9d9e71867fc65b5ca78e3724d984fdbaec1d7dd7232d83f8335335cb779d3d53bf6dca13474b9a2fb3dd8248620d50b0c65fe91914396a094e')

build() {
  cd "$pkgname-$pkgver"

  export CGO_CPPFLAGS="${CPPFLAGS}"
  export CGO_CFLAGS="${CFLAGS}"
  export CGO_CXXFLAGS="${CXXFLAGS}"
  export CGO_LDFLAGS="${LDFLAGS}"
  export CGO_ENABLED=1

  bash cgo-helper.sh

  go build \
    -v \
    -trimpath \
    -buildmode=pie \
    -mod=readonly \
    -modcacherw \
    -ldflags "-X main.commit=$(git rev-parse HEAD) -linkmode external -extldflags \"${LDFLAGS}\"" \
    ./cmd/onedriver

  export CGO_CFLAGS="-Wno-deprecated-declarations ${CFLAGS}"

  go build \
    -v \
    -trimpath \
    -buildmode=pie \
    -mod=readonly \
    -modcacherw \
    -ldflags "-X main.commit=$(git rev-parse HEAD) -linkmode external -extldflags \"${LDFLAGS}\"" \
    ./cmd/onedriver-launcher
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname
  install -Dm 755 $pkgname-launcher "$pkgdir"/usr/bin/$pkgname-launcher

  install -Dm 644 "pkg/resources/onedriver@.service" "$pkgdir"/usr/lib/systemd/user/onedriver@.service
  install -Dm 644 pkg/resources/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
  install -Dm 644 pkg/resources/$pkgname.png "$pkgdir"/usr/share/icons/onedriver/$pkgname.png
  install -Dm 644 pkg/resources/$pkgname-128.png "$pkgdir"/usr/share/icons/onedriver/$pkgname-128.png
  install -Dm 644 pkg/resources/$pkgname.svg "$pkgdir"/usr/share/icons/onedriver/$pkgname.svg
  install -Dm 644 pkg/resources/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
}

faisalm commented on 2023-10-03 23:29 (UTC)

Updated to v0.14.0

kronikpillow commented on 2023-09-14 13:04 (UTC)

could we get this package updated please? :)