[INFO ] Logger: Record log in /root/.kivy/logs/kivy_20-05-13_1.txt[INFO ] Kivy: v1.11.0[INFO ] Kivy: Installed at "/usr/lib/python3.7/site-packages/kivy/__init__.pyc"[INFO ] Python: v3.7.4 (default, May 12 2020, 15:19:35)[GCC 7.5.0][INFO ] Python: Interpreter at "/usr/bin/python"[INFO ] Factory: 184 symbols loaded[DEBUG ] Cache: register <kv.lang> with limit=None, timeout=None[DEBUG ] Cache: register <kv.image> with limit=None, timeout=60[DEBUG ] Cache: register <kv.atlas> with limit=None, timeout=None[INFO ] ImageLoaderFFPy: Using ffpyplayer 4.3.1[INFO ] Image: Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer, img_gif[DEBUG ] Cache: register <kv.texture> with limit=1000, timeout=60[DEBUG ] Cache: register <kv.shader> with limit=1000, timeout=3600[INFO ] Text: Provider: sdl2[DEBUG ] App: Loading kv <./my.kv>[DEBUG ] App: kv <./my.kv> not found[INFO ] Window: Provider: egl_rpi[DEBUG ] Window: Actual display size: 1920x1080[INFO ] GL: Using the "OpenGL ES 2" graphics system[DEBUG ] GL: glShaderBinary is not available[INFO ] GL: Backend used <gl>[INFO ] GL: OpenGL version <b'OpenGL ES 2.0'>[INFO ] GL: OpenGL vendor <b'Broadcom'>[INFO ] GL: OpenGL renderer <b'VideoCore IV HW'>[INFO ] GL: OpenGL parsed version: 2, 0[INFO ] GL: Shading version <b'OpenGL ES GLSL ES 1.00'>[INFO ] GL: Texture max size <2048>[INFO ] GL: Texture max units <8>[DEBUG ] Shader: Fragment compiled successfully[DEBUG ] Shader: Vertex compiled successfully[DEBUG ] ImageSDL2: Load </usr/lib/python3.7/site-packages/kivy/data/glsl/default.png>[INFO ] Window: virtual keyboard not allowed, single mode, not docked[DEBUG ] Resource: add </usr/lib/python3.7/site-packages/kivy/data/fonts> in path list[DEBUG ] Base: Create provider from mouse[DEBUG ] Base: Create provider from probesysfs[DEBUG ] ProbeSysfs: using probesysfs![INFO ] Base: Start application main loop[INFO ] GL: NPOT texture support is available
PYTHON_KIVY_VERSION = 2.0.0rc2PYTHON_KIVY_SITE = $(call github,kivy,kivy,$(PYTHON_KIVY_VERSION))PYTHON_KIVY_SETUP_TYPE = distutilsPYTHON_KIVY_LICENSE = MITPYTHON_KIVY_LICENSE_FILES = LICENSEPYTHON_KIVY_DEPENDENCIES = host-python-cython libgl
PYTHON_KIVY_ENV += KIVY_CROSS_PLATFORM=rpi
ifeq ($(BR2_PACKAGE_GSTREAMER),y)PYTHON_KIVY_DEPENDENCIES += gstreamerPYTHON_KIVY_ENV += USE_GSTREAMER=1elsePYTHON_KIVY_ENV += USE_GSTREAMER=0endif
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)PYTHON_KIVY_DEPENDENCIES += libeglPYTHON_KIVY_ENV += USE_EGL=1elsePYTHON_KIVY_ENV += USE_EGL=0endif
ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_IMAGE)$(BR2_PACKAGE_SDL2_MIXER)$(BR2_PACKAGE_SDL2_TTF),yyyy)PYTHON_KIVY_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttfPYTHON_KIVY_ENV += USE_SDL2=1PYTHON_KIVY_ENV += KIVY_SDL2_PATH=$(STAGING_DIR)/usr/include/SDL2elsePYTHON_KIVY_ENV += USE_SDL2=0endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)PYTHON_KIVY_DEPENDENCIES += waylandPYTHON_KIVY_ENV += USE_WAYLAND=1elsePYTHON_KIVY_ENV += USE_WAYLAND=0endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)PYTHON_KIVY_DEPENDENCIES += xlib_libX11 xlib_libXrenderPYTHON_KIVY_ENV += USE_X11=1elsePYTHON_KIVY_ENV += USE_X11=0endif
define PYTHON_KIVY_REMOVE_EXAMPLES rm -rf $(TARGET_DIR)/usr/share/kivy-examplesendef
PYTHON_KIVY_POST_INSTALL_TARGET_HOOKS += PYTHON_KIVY_REMOVE_EXAMPLES
$(eval $(python-package))
Build configuration is: * use_rpi = 1 * use_egl = 1 * use_opengl_es2 = 1 * use_opengl_mock = 0 * use_sdl2 = 1 * use_pangoft2 = 0 * use_ios = 0 * use_android = 0 * use_mesagl = 0 * use_x11 = 0 * use_wayland = 0 * use_gstreamer = 0 * use_avfoundation = 0 * use_osx_frameworks = 0 * debug_gl = 0 * kivy_sdl_gl_alpha_size = 8 * debug = False
import kivykivy.require('1.10.0')
from kivy.app import Appfrom kivy.uix.label import Label
class MyApp(App): def build(self): return Label(text='Hello World')
if __name__ == '__main__': MyApp().run()