Some time ago I found my old Ace Cad tablet, it used to run with xf86-input-acecad driver but I can’t install it any more:
-> Could not find all required packages:
X-ABI-XINPUT_VERSION=22.1 (Wanted by: xf86-input-acecad)
resourceproto (Wanted by: xf86-input-acecad)
scrnsaverproto (Wanted by: xf86-input-acecad)
It works fine on my work laptop (Ubuntu) so I’m trying to push through. I downloaded the package, removed the dependencies from PKGBUILD and now makepkg downloads and patches the driver correctly but then spits out this:
configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto kbproto inputproto ) were not met:
Package 'xorg-server', required by 'virtual:world', not found
I have xorg-server-1.20.10-3 installed. Why does configure complain about this older version?
Keeping with the idea of pushing through I tried this:
cd xf86-input-acecad-1.5.0
sed -i 's/1.0.99.901/1.20.10-3/g' configure configure.ac
Now configure looks for the installed version but still complains the package xorg-server wasn’t found. I tried 1.20.10 as well (i.e. without the -3 postfix), same result. Can I somehow make it understand I have the correct version?
Yeah, I get that part but as far as I understand anybody can fix a package and send a merge request with patches so I thought I’d fix xf86-input-acecad but while I’m pretty familiar with code and probably will be able to figure out what to use in place of resourceproto and scrnsaverproto to make the code do what it’s supposed to, I don’t know much about packaging applications for Linux and AUR. I don’t understand why configure complains about missing dependency when it’s clearly installed.
Yes I know, I compiled it in a clean chroot myself. I wouldn’t dare install it, though.
If what I said above wasn’t clear enough:
:: xf86-input-acecad and xorg-server are in conflict (X-ABI-XINPUT_VERSION). Remove xorg-server? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: xf86-input-acecad and xorg-server are in conflict (X-ABI-XINPUT_VERSION>=23)
I’m not going to install it against my system until I’m sure it works, no worries - I’ll use docker or virtualbox first. What I did before opening this thread was:
yay -G xf86-input-acecad
cd xf86-input-acecad
vi PKGBUILD # experimenting with dependencies
makepkg # no -i or -s
Then it failed so I tried fixing it a bit but didn’t succeed so far.
Thank you for the clear warning, though, I’m sure it’ll help many readers.