{"id":32116684,"url":"https://github.com/freeglut/freeglut","last_synced_at":"2025-11-16T21:03:00.471Z","repository":{"id":8168828,"uuid":"9591436","full_name":"freeglut/freeglut","owner":"freeglut","description":"Free implementation of the OpenGL Utility Toolkit (GLUT)","archived":false,"fork":false,"pushed_at":"2025-11-07T17:05:44.000Z","size":8001,"stargazers_count":863,"open_issues_count":30,"forks_count":256,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-11-07T18:24:28.353Z","etag":null,"topics":["cross-platform","glut","opengl"],"latest_commit_sha":null,"homepage":"http://freeglut.sourceforge.net","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freeglut.png","metadata":{"files":{"readme":"README.android","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-04-22T05:19:58.000Z","updated_at":"2025-11-07T17:05:49.000Z","dependencies_parsed_at":"2023-11-21T23:26:35.495Z","dependency_job_id":"a9de2b6a-60f3-46d1-a0a4-e225ed23a10f","html_url":"https://github.com/freeglut/freeglut","commit_stats":{"total_commits":1710,"total_committers":49,"mean_commits":34.89795918367347,"dds":0.7988304093567251,"last_synced_commit":"edbdcbe75af5f7ad43278eecd377a078987bcb09"},"previous_names":["dcnieho/freeglut","freeglut/freeglut","freeglutproject/freeglut"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/freeglut/freeglut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeglut%2Ffreeglut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeglut%2Ffreeglut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeglut%2Ffreeglut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeglut%2Ffreeglut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freeglut","download_url":"https://codeload.github.com/freeglut/freeglut/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeglut%2Ffreeglut/sbom","scorecard":{"id":329775,"data":{"date":"2025-08-11","repo":{"name":"github.com/freeglut/freeglut","commit":"a7f6d3acb65181305b78386498bc27bd7d4ed731"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":8,"reason":"Found 13/16 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":2,"reason":"1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build_freebsd_x11.yml:1","Warn: no topLevel permission defined: .github/workflows/build_gnulinux_x11.yml:1","Warn: no topLevel permission defined: .github/workflows/build_macosx_cocoa.yml:1","Warn: no topLevel permission defined: .github/workflows/build_macosx_x11.yml:1","Warn: no topLevel permission defined: .github/workflows/build_win_mingw.yml:1","Warn: no topLevel permission defined: .github/workflows/build_win_msvc.yml:1","Warn: no topLevel permission defined: .github/workflows/build_win_msvc6.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.6.0 not signed: https://api.github.com/repos/freeglut/freeglut/releases/159980339","Warn: release artifact v3.4.0 not signed: https://api.github.com/repos/freeglut/freeglut/releases/79288331","Warn: release artifact v3.2.2 not signed: https://api.github.com/repos/freeglut/freeglut/releases/61328964","Warn: release artifact v3.2.1 not signed: https://api.github.com/repos/freeglut/freeglut/releases/61328916","Warn: release artifact v3.2.0 not signed: https://api.github.com/repos/freeglut/freeglut/releases/61328880","Warn: release artifact v3.6.0 does not have provenance: https://api.github.com/repos/freeglut/freeglut/releases/159980339","Warn: release artifact v3.4.0 does not have provenance: https://api.github.com/repos/freeglut/freeglut/releases/79288331","Warn: release artifact v3.2.2 does not have provenance: https://api.github.com/repos/freeglut/freeglut/releases/61328964","Warn: release artifact v3.2.1 does not have provenance: https://api.github.com/repos/freeglut/freeglut/releases/61328916","Warn: release artifact v3.2.0 does not have provenance: https://api.github.com/repos/freeglut/freeglut/releases/61328880"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_freebsd_x11.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_freebsd_x11.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_freebsd_x11.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_freebsd_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_freebsd_x11.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_freebsd_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_gnulinux_x11.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_gnulinux_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_gnulinux_x11.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_gnulinux_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_macosx_cocoa.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_macosx_cocoa.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_macosx_cocoa.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_macosx_cocoa.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_macosx_x11.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_macosx_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_macosx_x11.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_macosx_x11.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_mingw.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_mingw.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_win_mingw.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_mingw.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_mingw.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_mingw.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_msvc.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_win_msvc.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_msvc.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_msvc6.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc6.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_msvc6.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc6.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_win_msvc6.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/freeglut/freeglut/build_win_msvc6.yml/master?enable=pin","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:17:44.313Z","repository_id":8168828,"created_at":"2025-08-18T03:17:44.313Z","updated_at":"2025-08-18T03:17:44.313Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284775706,"owners_count":27061386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","glut","opengl"],"created_at":"2025-10-20T16:07:32.325Z","updated_at":"2025-11-16T21:03:00.464Z","avatar_url":"https://github.com/freeglut.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Freeglut on Android\n===================\nThis platform is different than traditional desktop platforms, requiring\ncross-compilation, interfacing with a touchscreen, and ability for your\napplication to be paused and resumed at any time.\n\nCompiling\n---------\n\n  - Use your own cross-compiler for Android, or export the one from the Android\n    NDK (API level 9 is required to use native activities): \n\n    /usr/src/android-ndk-r9d/build/tools/make-standalone-toolchain.sh \\\n      --platform=android-9 --install-dir=/usr/src/ndk-standalone-9\n\n  - Compile freeglut and install it in your Android cross-compiler path:\n\n    PATH=/usr/src/ndk-standalone-9/bin:$PATH\n    cd /usr/src/freeglut-3.0/\n    mkdir cross-android-gles/\n    cd cross-android-gles/\n    cmake \\\n      -D CMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake \\\n      -D CMAKE_INSTALL_PREFIX=/usr/src/ndk-standalone-9/sysroot/usr \\\n      -D CMAKE_BUILD_TYPE=Debug \\\n      -D FREEGLUT_GLES=ON \\\n      -D FREEGLUT_BUILD_DEMOS=NO \\\n      ..\n    make -j4\n    make install\n    # Only static for now:\n    rm -f /usr/src/ndk-standalone-9/sysroot/usr/lib/libfreeglut-gles.so*\n\nUsing it in your projects\n-------------------------\n\n### Compile your own project using common build systems\n\nFor instance if you use the autotools:\n\n    PATH=/usr/src/ndk-standalone-9/bin:$PATH\n    export PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/sysroot/usr/share/pkgconfig\n    ./configure --host=arm-linux-androideabi --prefix=/somewhere\n    make\n    make install\n\nIf you use CMake, you may want to copy our Android toolchain 'android_toolchain.cmake':\n\n    PATH=\"$PATH:/usr/src/android-ndk-r9d\"\n    PATH=\"$PATH:/usr/src/android-sdk-linux/tools\"\n    PATH=\"$PATH:/usr/src/android-sdk-linux/platform-tools\"\n    export PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/sysroot/usr/share/pkgconfig\n    cp .../freeglut-3.0/android_toolchain.cmake .\n    mkdir cross-android/\n    cd cross-android/\n    cmake \\\n      -D CMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake \\\n      -D CMAKE_INSTALL_PREFIX=/somewhere \\\n      -D CMAKE_BUILD_TYPE=Debug \\\n      -D MY_PROG_OPTION=something ... \\\n      ..\n    make -j4\n    make install\n\nCheck `progs/test-shapes-gles1/` in the freeglut source distribution for a\ncomplete, stand-alone example.\n\n### Compile your own project using the NDK build-system\n\n  - Create a module hierarchy pointing to freeglut, with our Android.mk:\n\n      mkdir freeglut-gles/\n      cp .../freeglut-3.0/android/Android.mk freeglut-gles/\n      ln -s /usr/src/ndk-standalone-9/sysroot/usr/include freeglut-gles/include\n      ln -s /usr/src/ndk-standalone-9/sysroot/usr/lib freeglut-gles/lib\n\n  - Reference this module in your jni/Android.mk:\n\n      LOCAL_STATIC_LIBRARIES := ... freeglut-gles\n      ...\n      $(call import-module,freeglut-gles)\n\n  - You now can point your NDK_MODULE_PATH to the directory containing the\n    module: `ndk-build NDK_MODULE_PATH=.`\n\nNotes\n-----\n\n  - Android never truly kills an application, even when pressing the Back\n    button, even when the application is `onDestroy`'d: the process is still\n    running and ready to accept `onCreate` event to become active again.\n    By default, freeglut `exit()`s when the last window is closed (without\n    returning to your main). But this behavior can be changed with\n    `glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, ...)`, in which case your have\n    to either `exit()` yourself at the end of your main, or make sure your main\n    can be called multiple times (in particular: beware of static variables that\n    won't be reinitialized).\n\n  - When a key is repeated, down and up events happen most often at the exact\n    same time. This makes it impossible to animate based on key press time.\n    e.g. down/up/wait/down/up rather than down/wait/down/wait/up This looks like\n    a bug in the Android virtual keyboard system :/ Real buttons such as the\n    Back button appear to work correctly (series of down events with proper\n    getRepeatCount value). To work around this, freeglut provides its own\n    minimal virtual keypad. It may be replaced by a virtual (touchscreen)\n    joystick. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeglut%2Ffreeglut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeglut%2Ffreeglut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeglut%2Ffreeglut/lists"}