Package Details: p3x-onenote 2024.4.168-1

Git Clone URL: https://aur.archlinux.org/p3x-onenote.git (read-only, click to copy)
Package Base: p3x-onenote
Description: Linux Electron Onenote - A Linux compatible version of OneNote
Upstream URL: https://github.com/patrikx3/onenote
Keywords: electron microsoft office onenote
Licenses: MIT
Submitter: rocka
Maintainer: remanifest
Last Packager: remanifest
Votes: 11
Popularity: 0.22
First Submitted: 2019-01-19 05:28 (UTC)
Last Updated: 2024-03-28 15:36 (UTC)

Latest Comments

1 2 3 Next › Last »

remanifest commented on 2023-03-20 13:22 (UTC)

Thank you @Matr1x-101. This has been added.

Matr1x-101 commented on 2023-01-28 18:38 (UTC)

Please set the upstream URL in the PKGBUILD as the GitHub repo.

remanifest commented on 2022-04-06 16:12 (UTC) (edited on 2022-04-06 16:17 (UTC) by remanifest)

This is likely due to a change with electron. I've reached out to the root package maintainer to see if we can get a fix in place. This package takes the latest build from github and provides it to the AUR. Once an update is posted, I'll let you know here (or, if it's fixed upstream, I'll just update it here).

Edit: Looks like the AppImage is out of date on github; I tried the latest npm release, and it works correctly. Should be an easy fix; once the AppImage is updated, I'll update this package in the AUR.

chakra2383 commented on 2022-04-06 02:57 (UTC)

After the recent upgrade, unable to start p3x-OneNote. got the following error.

p3x-OneNote
APPIMAGE env is not defined, current application is not an AppImage
[7897:0406/081709.904825:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/unique_ptr.h:659: typename std::add_lvalue_reference<element_type>::type std::unique_ptr<blink::CSSSelector []>::operator[](std::size_t) const [_Tp = blink::CSSSelector [], _Dp = std::default_delete<blink::CSSSelector []>]: Assertion 'get() != pointer()' failed.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at BrowserWindow.<anonymous> (/usr/lib/p3x-onenote/src/electron/main/create/window/onenote.js:66:55)
    at BrowserWindow.emit (node:events:402:35)

p3x-onenote shows a black screen.

remanifest commented on 2021-08-31 16:12 (UTC) (edited on 2021-08-31 16:12 (UTC) by remanifest)

I was able to get this to work by slightly modifying the source of the PKGBUILD, and updating the sha256sum of it as appropriate. Please update this package or transfer its maintenance.

pkgname=p3x-onenote
pkgver=2021.10.109
pkgrel=1
pkgdesc="Linux Electron Onenote - A Linux compatible version of OneNote"
arch=('any')
url="https://github.com/patrikx3/onenote"
license=('MIT')
depends=('electron')
makedepends=('npm')

source=("https://github.com/patrikx3/onenote/archive/refs/tags/v${pkgver//_/-}.tar.gz"
        "p3x-onenote.sh"
        "p3x-onenote.desktop")

sha256sums=('86568de8cbffe1c4cc0d92de52c2dc0f0ab4dcbf11beb3a1d27f6365349389f0'
            '97aca184d656b8021ce43d524d9de91f014c838372356844c845a531f8ab2b9f'
            '9bbb2f84f401a4da62ffe7f533aa0b149921f3f88fec7f470c4d4b5fcf63f331')

build() {
    cd "$srcdir/onenote-${pkgver//_/-}"
    npm_config_cache="$srcdir/npm_cache" npm install --production --ignore-scripts --no-shrinkwrap
}

package() {
    mkdir -p "$pkgdir/usr/lib/$pkgname"
    cp -r "$srcdir/onenote-${pkgver//_/-}/"{node_modules,package.json,src} "$pkgdir/usr/lib/$pkgname/"
    install -Dm644 "$srcdir/onenote-${pkgver//_/-}/LICENSE" "$pkgdir/usr/share/licenses/p3x-onenote/LICENSE"
    install -Dm755 "$srcdir/p3x-onenote.sh" "$pkgdir/usr/bin/p3x-onenote"
    install -Dm644 "$srcdir/p3x-onenote.desktop" -t "$pkgdir/usr/share/applications/"
    install -Dm644 "$srcdir/onenote-${pkgver//_/-}/artifacts/onenote-icon-2018/onenote-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
    install -Dm644 "$srcdir/onenote-${pkgver//_/-}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

remanifest commented on 2021-08-24 19:16 (UTC)

Thank you. If there's anything I can do to help just let me know.

CorvetteCole commented on 2021-08-24 00:58 (UTC)

Yes, sorry I will be updating it in a minute. My build script did not work for some reason

remanifest commented on 2021-08-23 21:50 (UTC)

Is this package still maintained?

eldios commented on 2021-04-21 19:50 (UTC)

done

CorvetteCole commented on 2021-04-21 19:49 (UTC)

@eldios if you simply disown the package on your side I can adopt it immediately without having to make a request with the trusted users... would probably be a bit faster