diff --git a/frameworks/qt5/qt5serialbus/Makefile b/frameworks/qt5/qt5serialbus/Makefile new file mode 100644 index 0000000..615c34d --- /dev/null +++ b/frameworks/qt5/qt5serialbus/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2020 OpenWrt +# Author: Mirko Vogt +# Author: Tito Brasolin +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=qt5serialbus +PKG_RELEASE:=1 +PKG_HASH:=8d600747367532ed563e75b8ace8dc2e4e4fca9280a964281b2a1ad49e0eeab6 + +PKG_BUILD_DEPENDS:=qt5base + +include ../common.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../qmake.mk + +define Package/qt5serialbus + SECTION:=video-frameworks + CATEGORY:=Video + SUBMENU:=Frameworks and Toolkits + TITLE:=qt5serialbus + URL:=http://qt.io + DEPENDS:=+qt5base-network +qt5serialport +endef + +define Build/InstallDev + $(call Build/Install/HostFiles,$(1)) + $(call Build/Install/Headers,$(1)) + $(call Build/Install/Libs,$(1),*) +endef + +define Package/qt5serialbus/install + $(call Build/Install/Libs,$(1),libQt5SerialBus) +endef + +$(eval $(call BuildPackage,qt5serialbus)) diff --git a/frameworks/qt5/qt5serialport/Makefile b/frameworks/qt5/qt5serialport/Makefile new file mode 100644 index 0000000..a2c12ca --- /dev/null +++ b/frameworks/qt5/qt5serialport/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2020 OpenWrt +# Author: Mirko Vogt +# Author: Tito Brasolin +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=qt5serialport +PKG_RELEASE:=1 +PKG_HASH:=e139718f7ace082a69fc65762178ce959d7827a8e87be9773555a6c649154ebc + +PKG_BUILD_DEPENDS:=qt5base + +include ../common.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../qmake.mk + +define Package/qt5serialport + SECTION:=video-frameworks + CATEGORY:=Video + SUBMENU:=Frameworks and Toolkits + TITLE:=qt5serialport + URL:=http://qt.io + DEPENDS:=+qt5base-core +endef + +define Build/InstallDev + $(call Build/Install/HostFiles,$(1)) + $(call Build/Install/Headers,$(1)) + $(call Build/Install/Libs,$(1),*) +endef + +define Package/qt5serialport/install + $(call Build/Install/Libs,$(1),libQt5SerialPort) +endef + +$(eval $(call BuildPackage,qt5serialport)) diff --git a/libs/mesa/patches/999-debug-python-paths.patch b/libs/mesa/patches/999-debug-python-paths.patch new file mode 100644 index 0000000..73068f8 --- /dev/null +++ b/libs/mesa/patches/999-debug-python-paths.patch @@ -0,0 +1,56 @@ +--- a/meson.build ++++ b/meson.build +@@ -919,6 +919,53 @@ endif + # On Windows, a venv has no versioned aliased to 'python'. + prog_python = find_program('python3', 'python', version : '>= 3.8') + ++# --- DEBUG START: Investigating Python environment for Issue #61 --- ++# Get the full path of the python interpreter found by Meson ++message('DEBUG: Python interpreter locator found: ' + prog_python.full_path()) ++ ++# Run a diagnostic script to dump the internal state of the python process ++debug_info = run_command(prog_python, '-c', ''' ++import sys ++import os ++import importlib.util ++ ++print(f"\\n--- PYTHON DIAGNOSTIC REPORT ---") ++print(f"Executable Path: {sys.executable}") ++print(f"Python Version: {sys.version}") ++print(f"Virtualenv/Prefix: {sys.prefix}") ++ ++# Check if PYTHONPATH is actually inherited by the process ++print(f"Current PYTHONPATH: {os.environ.get('PYTHONPATH', 'EMPTY/NOT SET')}") ++ ++# List all directories in the search path to identify mismatches ++print(f"Full sys.path:") ++for path in sys.path: ++ print(f" - {path}") ++ ++# Check for 'mako' (required for mesa build) ++mako_spec = importlib.util.find_spec("mako") ++if mako_spec: ++ import mako ++ print(f"Module 'mako' found at: {mako.__file__}") ++ print(f"Module 'mako' version: {getattr(mako, '__version__', 'unknown')}") ++else: ++ print(f"Module 'mako' NOT FOUND in current sys.path") ++ ++# Check for 'yaml' (related to Issue #61) ++yaml_spec = importlib.util.find_spec("yaml") ++if yaml_spec: ++ import yaml ++ print(f"Module 'yaml' found at: {os.path.dirname(yaml.__file__)}") ++else: ++ print(f"Module 'yaml' NOT FOUND in current sys.path") ++ ++print(f"--- END OF DIAGNOSTIC REPORT ---\\n") ++''', check: false) ++ ++# Output the result to the Meson log ++message(debug_info.stdout()) ++# --- DEBUG END --- ++ + has_mako = run_command( + prog_python, '-c', + '''