Debianisms in KF5 Python bindings

Luca Beltrame <[email protected]>
Newsgroups gmane.comp.kde.distributions,gmane.comp.kde.devel.bindings
Message-ID <1696253.ln1YIjIeLT@leon>
Hello,

currently the Python bindings for KF5 are not buildable for anything that's 
not Ubuntu / Debian:

- libclang is found using a homegrown method (as opposed to ClangConfig.cmake) 
and it only works if it's in the form libclang-$major.$minor.so: anything else 
(like in Gentoo, Arch Linux, openSUSE) is not being picked up
- At the same time, clang/clang++ is only found if it's in the form 
"$CLANG_PROGRAM-$MAJOR_VERSION.$MINOR_VERSION", but for example in openSUSE we 
ship it as "clang++-$major.$minor.$micro"
- It doesn't pick up properly the SIP includes for Python 3 (doesn't in 
openSUSE, nor in Gentoo) which live in /usr/include/python3.6m/sip.h

We were not even aware things were not being found unless we inspected the 
build logs and tried to replicate things locally. I understand doing cross-
distro work is difficult, but it would be best to at least encourage testing by 
distros with a new feature is out, rather than just pushing it in isolation, 
or at least ask for testing after being pushed.


-- 
Luca Beltrame - KDE Forums team
GPG key ID: A29D259B
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEkxcLGs5Ymg3lt6kxjfYx/QIdsMUFAljWhMoACgkQjfYx/QId
sMVwwwf+IjZ65WkQY2xdmLRKEKIuk0OWZBRsRirnlh0YzBK1cnt0P3BKqBtb24uf
P4V/gQHawpyqA1U3Bq6FGvk3LJUwRPADQpf2+O+1COIqdwtNOrnag3ANYF7UTJQx
3nq6ck4choCSG+kMGctABC0j9ztY/7v/OBP22cCzpfpr4kNHTOlnIgsA6ymvpsb6
SXZF205vL+3d9MRHLHmDopo1R8XZ8iKMMhcU2aiNqJuGjFR59WvBcXof9cHTAa8B
hdwiXXv/EHd+Of3RJluUrENtYWs7lGuGhokTsTn7TIk4zZL3KSEtgm6YM0lfElV0
qywn9BZOSK0R/7TbyjaHxvjlaWCmPg==
=GKIc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.