New package: annotation-library - #311
Conversation
|
Have you done any testing with other packages in vellum that affect similar areas to make sure they don't conflict? |
Yes. My test device runs Annotation Library alongside 25 other Vellum mods, including every one that patches the same components:
They all load and apply together with no qmldiff conflicts (no One thing that might be contentious is that I was not able to add the sidebar icon for the mod to the top of the secondary icons, so it's at the very bottom of the bar, with the three dots menu thus lifted up to the penultimate one - let me know if this is a problem that needs fixing. |
|
Also applied the same Paper-Pro device restriction here to match #312: added |
|
|
…ady excludes rm1/rm2)
|
Applied the same simplification here: |
| source=" | ||
| https://raw.githubusercontent.com/$upstream_author/annotation-library/$_commit/3.27/allHighlights.qmd | ||
| https://github.com/$upstream_author/annotation-library/releases/download/v$pkgver/allhighlights-aarch64 | ||
| https://raw.githubusercontent.com/$upstream_author/annotation-library/$_commit/LICENSE | ||
| " | ||
|
|
||
| package() { | ||
| install -Dm644 "$srcdir"/allHighlights.qmd \ | ||
| "$pkgdir"/home/root/xovi/exthome/qt-resource-rebuilder/allHighlights.qmd | ||
| install -Dm755 "$srcdir"/allhighlights-aarch64 \ | ||
| "$pkgdir"/home/root/.vellum/bin/allhighlights | ||
| install -Dm644 "$srcdir"/LICENSE \ | ||
| "$pkgdir"/home/root/.vellum/licenses/$pkgname/LICENSE | ||
| echo "$url" > "$pkgdir"/home/root/.vellum/licenses/$pkgname/SOURCES | ||
| } | ||
| sha512sums=" | ||
| d9ead9d9a0b830fb1a13661bc26f3be7eada0e9c6bffdd15cb1e947770cc8185ae9c0b3c961a5b40c38f2801bf0210fb48d88882e73cc6da31eb57eaa63babba allHighlights.qmd | ||
| 901ca37d0271b8733b3d7eb6b9030b35b9b293e4ee6875afc4ab141033ae61983637c4d897faa3e00cea76b3379f33982a36b5576e7c500b45ac2441ed83d54b allhighlights-aarch64 | ||
| 900ef9b1d0e1435fb3aad32f035edf8890538292ebb3104af2feb386fb25df134ed0172a0ec542b2c25ff69a39ae62b34ad17e01b3522067a7328abb25aa4fff LICENSE | ||
| " No newline at end of file |
There was a problem hiding this comment.
Move the Go build to Vellum, something like:
| source=" | |
| https://raw.githubusercontent.com/$upstream_author/annotation-library/$_commit/3.27/allHighlights.qmd | |
| https://github.com/$upstream_author/annotation-library/releases/download/v$pkgver/allhighlights-aarch64 | |
| https://raw.githubusercontent.com/$upstream_author/annotation-library/$_commit/LICENSE | |
| " | |
| package() { | |
| install -Dm644 "$srcdir"/allHighlights.qmd \ | |
| "$pkgdir"/home/root/xovi/exthome/qt-resource-rebuilder/allHighlights.qmd | |
| install -Dm755 "$srcdir"/allhighlights-aarch64 \ | |
| "$pkgdir"/home/root/.vellum/bin/allhighlights | |
| install -Dm644 "$srcdir"/LICENSE \ | |
| "$pkgdir"/home/root/.vellum/licenses/$pkgname/LICENSE | |
| echo "$url" > "$pkgdir"/home/root/.vellum/licenses/$pkgname/SOURCES | |
| } | |
| sha512sums=" | |
| d9ead9d9a0b830fb1a13661bc26f3be7eada0e9c6bffdd15cb1e947770cc8185ae9c0b3c961a5b40c38f2801bf0210fb48d88882e73cc6da31eb57eaa63babba allHighlights.qmd | |
| 901ca37d0271b8733b3d7eb6b9030b35b9b293e4ee6875afc4ab141033ae61983637c4d897faa3e00cea76b3379f33982a36b5576e7c500b45ac2441ed83d54b allhighlights-aarch64 | |
| 900ef9b1d0e1435fb3aad32f035edf8890538292ebb3104af2feb386fb25df134ed0172a0ec542b2c25ff69a39ae62b34ad17e01b3522067a7328abb25aa4fff LICENSE | |
| " | |
| source=" | |
| $pkgname-$pkgver.tar.gz::https://github.com/$upstream_author/annotation-library/archive/$_commit.tar.gz | |
| " | |
| builddir="$srcdir/annotation-library-$_commit" | |
| image="ghcr.io/toltec-dev/golang:v4.0" | |
| build() { | |
| cd "$builddir"/extractor | |
| GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build \ | |
| -trimpath -ldflags="-s -w" -o build/allhighlights . | |
| } | |
| package() { | |
| install -Dm644 "$builddir"/3.27/allHighlights.qmd \ | |
| "$pkgdir"/home/root/xovi/exthome/qt-resource-rebuilder/allHighlights.qmd | |
| install -Dm755 "$builddir"/extractor/build/allhighlights \ | |
| "$pkgdir"/home/root/.vellum/bin/allhighlights | |
| install -Dm644 "$builddir"/LICENSE \ | |
| "$pkgdir"/home/root/.vellum/licenses/$pkgname/LICENSE | |
| echo "https://github.com/$upstream_author/annotation-library/archive/$_commit.tar.gz" > \ | |
| "$pkgdir"/home/root/.vellum/licenses/$pkgname/SOURCES | |
| } | |
| sha512sums=" | |
| 1ad6980318600f7061e5347330a730074092b1460bbee7a3a7ff2bf14ba43a349c773547f62ce9ca290dfaa40aed2174db25a0e2389af5538e46243264e0517e annotation-library-1.0.0.tar.gz | |
| " |
A xovi / qmldiff mod that adds a Kobo-style highlights index to the native reMarkable Paper Pro reader.