Overview
Request History
mcepl created request
Initial packaging required by libwacom (bsc#1192852).
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse set openSUSE:Factory:Staging:D as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:D"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:D"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:D got accepted.
BuildRequiring a library is 99.995% the wrong thing to do - BuildRequire the respective devel package
Requring a specific .so.<n> from any other package than the one being built is a recipe for disaster; the library versions can change, which ,makes packaging more annoying than needed.
Do something like finding the right package name based on the .so symlink (installed by the devel package) - then you get a dynamically correct dependency on the correct package
I know. However this has no proper build system and hardcodes it.
@staticmethod def _cdll(): return ctypes.CDLL("libevdev.so.2", use_errno=True)
Ouch - it's even worse than expected... bu tin this case, ok, not much we can do better with THIS code
OK, this is so bad (I cannot believe wot created something so horrible), cannot we make libwacom use python-evdev instead?
It also uses the equally terrible python-pyudev and I wouldn't know anyway ask the libwacom maintainer.