Package Details: opentabletdriver 0.6.4.0-4

Git Clone URL: https://aur.archlinux.org/opentabletdriver.git (read-only, click to copy)
Package Base: opentabletdriver
Description: A cross-platform open source tablet driver
Upstream URL: https://opentabletdriver.net
Keywords: artisul digimend gaomon huion otd parblo uc-logic uclogic ugtablet veikk wacom xencelabs xp-pen xppen
Licenses: LGPL3
Conflicts: digimend-drivers-git-dkms, digimend-kernel-drivers, digimend-kernel-drivers-dkms, digimend-kernel-drivers-dkms-git
Submitter: LavaDesu
Maintainer: gonX (jamesbt365)
Last Packager: gonX
Votes: 43
Popularity: 1.86
First Submitted: 2021-06-10 13:34 (UTC)
Last Updated: 2024-03-21 23:45 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

gonX commented on 2022-05-08 14:58 (UTC) (edited on 2022-05-08 14:59 (UTC) by gonX)

This package will remain out of date on 0.6.0.3 for the time being, as there is a breaking change with filter plugins using timers (like interpolators) that will result in a memory leak due to an upstream dotnet issue that is first fixed with dotnet 6.0.4. At the time of this writing, Arch repos are still on dotnet 6.0.2.

D3SOX commented on 2022-01-12 17:29 (UTC)

@gonX Thanks, I didn't know about updpkgsums ^^

gonX commented on 2022-01-12 17:28 (UTC)

Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org

Not sure how to fix this in packaging - there has been reports of people with the same issue on the support Discord. Thanks for the workaround though, that's much appreciated.

<settings migration fix>

Included, and thanks for the diff. You can use updpkgsums to quickly fixup checksums in PKGBUILDs, btw.

D3SOX commented on 2022-01-12 16:59 (UTC) (edited on 2022-01-12 17:03 (UTC) by D3SOX)

Can this commit be backported to allow settings migration? (Otherwise, I get Access to the path '/usr/share/OpenTabletDriver/settings.json.old' is denied)

I did this locally and it worked:

diff --git a/PKGBUILD b/PKGBUILD
index 914dcbc..028cbf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _pkgname=OpenTabletDriver
 _lpkgname=opentabletdriver
 _spkgname=otd
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A cross-platform open source tablet driver"
 arch=('x86_64')
 url="https://github.com/OpenTabletDriver/OpenTabletDriver"
@@ -19,17 +19,24 @@ source=("OpenTabletDriver-$pkgver.tar.gz::https://github.com/OpenTabletDriver/Op
         "$_spkgname-gui"
         "$_lpkgname.service"
         "$_pkgname.desktop"
-        "notes.install")
+        "notes.install"
+        "fix-settings-migration.patch::https://github.com/OpenTabletDriver/OpenTabletDriver/commit/a4616aa0aea08a0b4470c7ba9624a8e7604b0f90.patch")

 sha256sums=('ccec597692b17530afef836583cf4af5029bd0edccfa9b86cacc084db90e6178'
             '8a09d29e683aefcbf54e5fe891d5688f959d9399804f9c151f0e8f6e6a1ede1a'
             '20aac1584a8e08b5a9add1d02ce38e60ddfede615227df6f25c7422217df82b0'
             '88f7d9ae1e9402cfbf9266ddf0de642195b64de13a3d5ce6f93460ba035cf7f2'
             '4399359bf6107b612d10aaa06abb197db540b00a973cfec64c2b40d1fbbb2834'
-            'b28aa1d2d4f531d877f6601eb5e684f78cee7acfe2bd7af739e5144fd36bafdf')
+            'b28aa1d2d4f531d877f6601eb5e684f78cee7acfe2bd7af739e5144fd36bafdf'
+            'SKIP')

 _srcdir="OpenTabletDriver-$pkgver"

+prepare() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  patch -p1 < "$srcdir/fix-settings-migration.patch"
+}
+
 build() {
     export DOTNET_CLI_TELEMETRY_OPTOUT=1
     export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true

D3SOX commented on 2022-01-12 16:49 (UTC) (edited on 2022-01-12 16:55 (UTC) by D3SOX)

I got this error trying to build the new version:

Build finished. Binaries created in ./bin
Warning NETSDK1174: The abbreviation of -p for --project is deprecated. Please use --project.
/home/nico/.cache/paru/clone/opentabletdriver/src/OpenTabletDriver-0.6.0/OpenTabletDriver.Tools.udev/OpenTabletDriver.Tools.udev.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org

The build failed. Fix the build errors and run again.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'opentabletdriver-0.6.0-1':

I could resolve it by removing this package + all dotnet packages + the paru cache and then trying it again

gonX commented on 2021-11-13 19:54 (UTC)

Please use a fixed version of OpenTabletDriver-udev, for example using the git+https://github.com/OpenTabletDriver/OpenTabletDriver-udev#commit=... syntax. As it is now, the PKBUILD will simply use the latest git HEAD, so it is possible for the contents of the package to change even if the PKGBUILD stays the same, which is bad for a versioned (i.e. non--git) package.

Thanks for the feedback. I've selected a specific commit now.

gonX commented on 2021-11-13 19:40 (UTC)

This is currently broken due to the move to dotnet 6.0 in the arch repos.

Install dotnet-runtime-5.0-bin from AUR or use opentabletdriver-git. There needs to be a .NET 6-enabling patch made for 0.5.3.3 before I can do anything about it.

J5lx commented on 2021-10-09 14:28 (UTC)

Please use a fixed version of OpenTabletDriver-udev, for example using the git+https://github.com/OpenTabletDriver/OpenTabletDriver-udev#commit=... syntax. As it is now, the PKBUILD will simply use the latest git HEAD, so it is possible for the contents of the package to change even if the PKGBUILD stays the same, which is bad for a versioned (i.e. non--git) package.