{"id":40510670,"url":"https://github.com/deltabeard/haiyajan-menu","last_synced_at":"2026-01-20T20:05:20.728Z","repository":{"id":48078538,"uuid":"302473872","full_name":"deltabeard/haiyajan-menu","owner":"deltabeard","description":"Haiyajan UI Toolkit","archived":false,"fork":false,"pushed_at":"2024-07-20T16:01:12.000Z","size":22952,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-20T17:22:51.734Z","etag":null,"topics":["c","gui","sdl2"],"latest_commit_sha":null,"homepage":"https://deltabeard.github.io/haiyajan-menu/","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/deltabeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.GPLv3.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-08T22:16:32.000Z","updated_at":"2024-07-20T17:23:05.925Z","dependencies_parsed_at":"2024-07-25T20:16:33.150Z","dependency_job_id":null,"html_url":"https://github.com/deltabeard/haiyajan-menu","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":"deltabeard/c_template","purl":"pkg:github/deltabeard/haiyajan-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltabeard%2Fhaiyajan-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltabeard%2Fhaiyajan-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltabeard%2Fhaiyajan-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltabeard%2Fhaiyajan-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deltabeard","download_url":"https://codeload.github.com/deltabeard/haiyajan-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltabeard%2Fhaiyajan-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","gui","sdl2"],"created_at":"2026-01-20T20:05:19.784Z","updated_at":"2026-01-20T20:05:20.714Z","avatar_url":"https://github.com/deltabeard.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/deltabeard/haiyajan-menu/actions/workflows/build.yml\"\u003e\u003cimg align=right alt=\"Build status\" src=\"https://github.com/deltabeard/haiyajan-menu/actions/workflows/build.yml/badge.svg?branch=master\"/\u003e\u003c/a\u003e\n\n# Haiyajan UI\n\nUI toolkit for Haiyajan. Requires the SDL2, and SDL2_ttf libraries only. Written in C99.\n\nSimple to implement, simple to use.\n\n*This project is still a work in progress and an initial release is not yet available.*\n\n![Image](meta/main_menu.gif)\n\nThis UI toolkit requires the following run-time dependencies:\n- SDL2\n- SDL2_ttf\n  - SDL2_ttf depends upon FreeType.\n\nAnd can optionally use the following run-time libraries:\n- GNU Fribidi\n  - Provides Unicode bidirectional text support, for languages including Hebrew and Persian.\n\n## Building\n\nThe following tools and dependencies are required to build Haiyajan-UI.\n\n- A C99 compatible compiler\n  - Support includes GCC, Clang, and Visual Studio Build Tools\\*.\n- [CMake](https://cmake.org/)\n  - Building for Windows NT platforms additionally requires [vcpkg](https://vcpkg.io/).\n  - Other platforms will benefit with having pkg-config installed.\n- [SDL2](https://www.libsdl.org/)\n- [SDL2_ttf](https://www.libsdl.org/projects/SDL_ttf/)\n  - SDL2_ttf depends upon FreeType.\n\nAnd optionally:\n- GNU Fribidi\n\n\\* Visual Studio Build Tools is only supported on for Windows targets. Only the latest version of Visual Studio Build Tools is supported.\u003cbr\u003e\n\n### Windows NT\n\nWindows 10 is required for builds targeting Windows NT (XP, Vista, 7, 8.1, 10 and 11). It may be possible to cross-compile from a Unix-like platform, but this is not supported or recommended by this project.\n\nThe following toolchains are tested regularly:\n- [Visual Studio Build Tools](https://aka.ms/buildtools)\n- [w64devkit](https://github.com/skeeto/w64devkit)\n\n#### Build using VCPKG\n\n1. Download the latest release of [vcpkg](https://vcpkg.io/).\n2. Install the required dependencies within vcpkg, making sure that the target triplet is set.\n    - For example, the command `vcpkg install --triplet=x64-windows-static sdl2 sdl2-ttf fribidi` installs all dependencies for a static 64-bit build.\n    - Use `vcpkg help triplet` to list supported triplets.\n3. Within one of the supported toolchain environments, use CMake to configure the project with\n   `cmake -S \u003csource directory\u003e -B \u003cbuild directory\u003e -DLIBRARY_DISCOVER_METHOD=VCPKG -DCMAKE_TOOLCHAIN_FILE=\u003cpath to vcpkg\u003e/vcpkg/scripts/buildsystems/vcpkg.cmake`\n4. Start the build by executing `cmake --build \u003cbuild directory\u003e`\n\n#### Build using CPM\n\n[CPM](https://github.com/cpm-cmake/CPM.cmake) is already included with the respository. However, during the build CPM will download required dependencies. See [this guide](https://github.com/cpm-cmake/CPM.cmake#cpm_source_cache) on how to cache downloaded dependencies to speed up subsequent builds.\n\n1. Within the Visual Studio Native Tools Command Prompt, use CMake to configure the project with\n   `cmake -S \u003csource directory\u003e -B \u003cbuild directory\u003e -DLIBRARY_DISCOVER_METHOD=CPM`\n2. Start the build by executing `cmake --build \u003cbuild directory\u003e`\n\n### Linux, MacOS, BSD, and other Unix-like\n\nThese instructions use pkg-config to link with dependencies already installed on you system. You may alternatively build using CPM by specifying `-DLIBRARY_DISCOVER_METHOD=CPM` when configuring.\n\n1. Install the dependecies listed above.\n   - On Debian for example, the following command can be executed as root to install the required dependencies: `apt-get install gcc cmake libsdl2-dev libsdl2-ttf-dev libfribidi-dev pkg-config`.\n2. Use CMake to configure the project with\n   `cmake -S \u003csource directory\u003e -B \u003cbuild directory\u003e -DLIBRARY_DISCOVER_METHOD=PKG_CONFIG`\n3. Start the build by executing `cmake --build \u003cbuild directory\u003e`\n\n### Nintendo Switch\n\nThe [devkitPro toolchain](https://devkitpro.org/wiki/Getting_Started) with devkitA64 enabled, is required.\n\n1. Within the devkitPro environment, install the required dependencies with `pacman -S switch-cmake switch-pkg-config switch-sdl2 switch-sdl2_ttf switch-libfribidi`\n2. Use CMake to configure the project with\n   `cmake -S \u003csource directory\u003e -B \u003cbuild directory\u003e -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake`\n3. Start the build by executing `cmake --build \u003cbuild directory\u003e`\n\n### Web Browser\n\n[Emscripten](https://emscripten.org/index.html) is required to build for modern web browsers that support [Web Assembly](https://webassembly.org/).\n\n1. [Download and Install Emscripten](https://emscripten.org/docs/getting_started/downloads.html)\n2. Within an Emscripten environment, configure the project using cmake with\n    `emcmake cmake -S \u003csource directory\u003e -B \u003cbuild directory\u003e`\n3. Start the build by executing `cmake --build \u003cbuild directory\u003e`\n\n## License\n\nCopyright (c) 2020-2022 Mahyar Koshkouei\u003cbr/\u003e\nLicensed under GNU LGPL Version 3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltabeard%2Fhaiyajan-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeltabeard%2Fhaiyajan-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltabeard%2Fhaiyajan-menu/lists"}