You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2023. It is now read-only.
Do not rely on #!/usr/bin/env for the Python helper
Distros do not like having script interpreters soft-coded that way. See,
e.g.: https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines
Therefore, look for the actual path to the Python 3 interpreter and
substitute it in kcm_ufw_helper.py (which is already run through
configure_file anyway).
The only tricky thing is that finding KCMUtils will look for a Python
interpreter without specifying a version and take the first one it
finds. Unfortunately, that is typically /usr/bin/python, which is often
(still) Python 2. So a later call to "find_package(PythonInterp 3
REQUIRED)" will then attempt to use the cached PYTHON_EXECUTABLE and
fail because it is not the required version. Thus, look for Python 3
before looking for the Qt5 and KF5 libraries.
0 commit comments