aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python3-wxgtk4
Commit message (Collapse)AuthorAgeFilesLines
* python3-wxgtk4: 4.1.1 -> 4.2.0Kai Kang5 days4-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>