summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/freeglut
Commit message (Collapse)AuthorAgeFilesLines
* freeglut: return x11 to REQUIRED_DISTRO_FEATURESMartin Jansa2023-09-201-2/+2
| | | | | | | | | | | | | * depends on libxi causing: ERROR: Nothing PROVIDES 'libxi' (but /OE/build/luneos-nanbield/meta-openembedded/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb DEPENDS on or otherwise requires it) libxi was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'freeglut', 'libxi'] for distros with opengl but without x11 in DISTRO_FEATURES Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: Drop -fcommon and add -Wno-implicit-function-declarationKhem Raj2023-03-131-2/+3
| | | | | | | | | -Wno-implicit-function-declaration is needed for keeping it going with new compiler's e.g. clang16 -fcommon is no longer needed with this version of freeglut Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: Add packageconfigs for x11/wayland/glesKhem Raj2023-01-111-4/+14
| | | | | | | helps it compiling on on different openGL implementations which may not implement fulll openGL specs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: upgrade 3.2.1 -> 3.4.0Wang Mingyu2022-10-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Add GLUT_ACTIVE_SUPER modifier, and corresponding GLUT_KEY_SUPER_L and GLUT_KEY_SUPER_R special keys. Fix RGB mode (GLUT_RGBA) colors on 8bpp displays on windows (construct default RGB332 palette). Fix indexed color context creation on X11 and windows (GLUT_INDEX). Add missing colormap management functions for X11 and windows (glutSetColor, glutGetColor). Fix crash when calling glutTimerFuncUcall. Fix FreeBSD build by essentially disabling the joystick code for newer FreeBSD versions. Add fallbacks for the old GLX (<1.3) context creation API (glXChooseVisual/glXCreateContext) Add fallbacks for OpenGL 1.0 (no vertex arrays/client state). Use nanosleep instead of usleep on UNIX, which is more widely supported on old UNIX systems. Fix build on X11 if GL_SAMPLES is not defined. Fix overly strict context version checking on Android leading to context creation failure in some cases. Fix GLUT_CURSOR_INFO on windows, should be IDC_HAND, not IDC_HELP. Fix mismatched font declarations on X11. Add alternative simple ways to build freeglut with native tools only, without having to use cmake. Fix build on windows with cmake 3.0.0. Explicitly link with gdi32. Fix build on MSVC 2005. Fix build on MacOS X. Link with all the necessary X libraries. Fix build on SGI IRIX. Fix build on Android (mismatched function prototypes and missing glutCreateMenuUcall). Add support for the ninja multi-config generator. Removed spurious dependency on a C++ compiler. One of the demos was being compiled as C++ for no reason. Silence unnecessary warnings when VBOs or GLSL are not available. New demo programs: 3dview, keyboard, joystick. Documentation: added MacOS X build instructions. Made it possible to eventually support building freeglut as a single compilation unit Other minor fixes. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: Use -fcommon alwaysKhem Raj2020-08-131-0/+3
| | | | | | | | | | This package does not compile with -fno-common yet errors out like | /mnt/b/yoe/master/build/tmp/work/armv7vet2hf-neon-yoe-linux-musleabi/freeglut/3.2.1-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: CMakeFiles/freeglut.dir/src/fg_gl2.c.o:/usr/src/debug/freeglut/3.2.1- r0/freeglut-3.2.1/src/fg_gl2.h:72: multiple definition of `fghBindBuffer'; CMakeFiles/freeglut.dir/src/fg_geometry.c.o:/usr/src/debug/freeglut/3.2.1-r0/freeglut-3.2.1/src/fg_gl2.h:72: first defined here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: upgrade 3.0.0 -> 3.2.1Wang Mingyu2020-03-021-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: rename distro_features_check to features_checkDenys Dmytriyenko2019-11-211-1/+1
| | | | | | | Avoid warning due to the class rename in OE-Core. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freeglut: add opengl to REQUIRED_DISTRO_FEATURESmingli.yu@windriver.com2016-07-291-2/+2
| | | | | | | | * Add opengl to REQUIRED_DISTRO_FEATURES as it depends on virtual/libgl Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* freeglut: Add a recipe freeglut to replace mesa-glutNeena Busireddy2016-05-271-0/+17
FreeGLUT is a free-software/open-source alternative to the OpenGL Utility Toolkit (GLUT) library. More information about this library can be found in http://freeglut.sourceforge.net/ Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>