summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python3-wxgtk4
Commit message (Collapse)AuthorAgeFilesLines
* Use https:// in HOMEPAGE variable instead of http://Jason Schonberg2025-03-251-1/+1
| | | | | Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: add RDEPENDS python3-cairocffiChangqing Li2025-02-181-1/+2
| | | | | | | | | | | | | | Fix error: >>> import wx.lib.wxcairo Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/wx/lib/wxcairo/__init__.py", line 59, in <module> from .wx_cairocffi import _ContextFromDC, _FontFaceFromFont File "/usr/lib64/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 34, in <module> import cairocffi ModuleNotFoundError: No module named 'cairocffi' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-*: Update recipes to correctly check the upstream packagesDerek Straka2024-12-191-0/+1
| | | | | | | | | | | | With the upstream check migrated to the simple repo API, a number of the recipes required updates to: 1. Remove outdated UPSTREAM_CHECK_REGEX checks 2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for packages that use '_', CamelCase, or other deviations from PEP625 in the source archive Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: update 4.2.1 -> 4.2.2Alexander Kanavin2024-10-166-50/+28
| | | | | | | | | | | This addresses python 3.13 issues. License-Update: added bsd-2-clause to LICENSE.txt Drop 0001-sip-Fix-build-with-gcc-14.patch as already fixed upstream. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: Fix build with gcc-14Khem Raj2024-05-122-0/+32
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: upgrade 4.2.0 -> 4.2.1Khem Raj2023-11-062-67/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: Do not use GetAssertStackTrace with USE_STACKWALKER disabledKhem Raj2022-12-272-4/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: replace deprecated inspect.getargspecKai Kang2022-12-052-0/+67
| | | | | | | | | | Backport patch to replace deprecated inspect.getargspec in lib pubsub. And add python3-pip to RDEPENDS which is required by utils wxdemo, wxdocs and wxget provided by python3-wxgtk4. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: 4.1.1 -> 4.2.0Kai Kang2022-11-234-904/+35
| | | | | | | | | | | | Upgrade python3-wxgtk4 from 4.1.1 to 4.2.0: * fix licence according to LICENSE.txt that it is licenced under LGPL-2.0, and WXwindows is used for documents * remove backported patches * not overwrite CFLAGS and CXXFLAGS in file wscript Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: skip the recipeAlexander Kanavin2022-10-271-0/+2
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: backport patch to fix svg issueKai Kang2022-05-152-0/+862
| | | | | | | | | | | | Backport patch to fix import svg issue: | $ python3 -c 'from wx.svg import SVGimage' | | ImportError: /usr/lib64/python3.10/site-packages/wx/svg/_nanosvg.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wxgtk4: Needs x11 for sip moduleKhem Raj2022-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | sip/cpp/sip_corewxWindow.cpp requires gdk/gdkx.h which wont be built when gtk is built without x11, therefore require x11 when building this recipe, if gdkx.h is removed form includes then it fails ../../../../sip/cpp/sip_corewxWindow.cpp:56:16: error: unknown type name 'XID' static XID GetXWindow(const wxWindow* wxwin) { ^ ../../../../sip/cpp/sip_corewxWindow.cpp:59:28: error: use of undeclared identifier 'GDK_WINDOW_XID' return GDK_WINDOW_XID(gtk_widget_get_window((wxwin)->m_wxwindow)); ^ ../../../../sip/cpp/sip_corewxWindow.cpp:64:28: error: use of undeclared identifier 'GDK_WINDOW_XID' return GDK_WINDOW_XID(gtk_widget_get_window((wxwin)->m_widget)); ^ so it is using it and will need some work to get it going without x11 until then disable building it on non-x11 distros Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Robert Yang <liezhi.yang@windriver.com>
* python3-wxgtk4: Require DISTRO_FEATURES as gtk3Robert Yang2022-04-111-5/+3
| | | | | | | | | | | | | | | | It can't be built without gtk3: No package 'gtk+-3.0' found So make it have the same DISTRO_FEATURES as gtk3. It may also support gtk2, but it depends on wxwidgets which doesn't support gtk2, so we don't have to consider that. And python3-wxgtk4 doesn't have PACKAGECONFIG, so remove the checking for PACKAGECONFIG. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-wxgtk4: pass '--baselib' to WX_CONFIGKai Kang2022-04-111-1/+1
| | | | | | | | | Pass option '--baselib=${baselib}' to WX_CONFIG to support multilib build. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-wxgtk4: add distro feature check to match dependencyDavide Gardenal2022-04-061-0/+4
| | | | | | | | | Add REQUIRED_DISTRO_FEATURE to match wxwidgets, this fix build error (not buildable target) when x11 is not supported Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-wxgtk4: Use cross prefix with native wx-configKhem Raj2022-03-301-1/+1
| | | | | | | | | This ensures that it relocates the returns of queries w.r.t. target sysroot and not based on native sysroot where this tool itself resides and uses that by default. Fixes build issues seen on mips architecture Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Kai Kang <kai.kang@windriver.com>
* python3-wxgtk4: add recipeKai Kang2022-03-304-0/+142
Add recipe for python3-wxgtk4 which is a python3 interface to the wxWidgets Cross-platform C++ GUI toolkit. Add patches to * add back build options for oe * fixup build scripts for cross compile * fix sip oevrride functions compile errors Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>