{"id":23266790,"url":"https://github.com/allyourcodebase/libxkbcommon","last_synced_at":"2025-04-06T07:48:59.688Z","repository":{"id":268774049,"uuid":"905417821","full_name":"allyourcodebase/libxkbcommon","owner":"allyourcodebase","description":"libxkbcommon ported to the zig build system","archived":false,"fork":false,"pushed_at":"2025-03-07T16:07:19.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T00:37:01.935Z","etag":null,"topics":["zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allyourcodebase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-18T19:33:32.000Z","updated_at":"2025-03-07T16:07:22.000Z","dependencies_parsed_at":"2024-12-18T21:19:51.252Z","dependency_job_id":"119afac8-55b5-49c9-9a36-886b28f6b160","html_url":"https://github.com/allyourcodebase/libxkbcommon","commit_stats":null,"previous_names":["allyourcodebase/libxkbcommon"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Flibxkbcommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Flibxkbcommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Flibxkbcommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Flibxkbcommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allyourcodebase","download_url":"https://codeload.github.com/allyourcodebase/libxkbcommon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247451626,"owners_count":20940946,"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","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":["zig","zig-package"],"created_at":"2024-12-19T16:21:47.256Z","updated_at":"2025-04-06T07:48:59.683Z","avatar_url":"https://github.com/allyourcodebase.png","language":"C","readme":"[![CI](https://github.com/allyourcodebase/libxkbcommon/actions/workflows/ci.yaml/badge.svg)](https://github.com/allyourcodebase/libxkbcommon/actions)\n\n# libxkbcommon\n\nThis is [libxkbcommon](https://github.com/xkbcommon/libxkbcommon), packaged for [Zig](https://ziglang.org/).\n\n## Installation\n\nFirst, update your `build.zig.zon`:\n\n```\n# Initialize a `zig build` project if you haven't already\nzig init\nzig fetch --save git+https://github.com/allyourcodebase/libxkbcommon.git#1.7.0-1\n```\n\nYou can then import `libxkbcommon` in your `build.zig` with:\n\n```zig\nconst libxkbcommon_dependency = b.dependency(\"libxkbcommon\", .{\n    .target = target,\n    .optimize = optimize,\n\n    // Set the XKB config root.\n    // Will default to \"${INSTALL_PREFIX}/share/X11/xkb\" i.e. `zig-out/share/X11/xkb`.\n    // Most distributions will use `/usr/share/X11/xkb`.\n    //\n    // The value `\"\"` will not set a default config root directory.\n    // To configure the config root at runtime, use the \"XKB_CONFIG_ROOT\" environment variable.\n    //\n    // This example will assume that the config root of the host system is in `/usr`.\n    // This does not work on distributions that don't follow the Filesystem Hierarchy Standard (FHS) like NixOS.\n    .@\"xkb-config-root\" = \"/usr/share/X11/xkb\",\n\n    // The X locale root.\n    // Will default to \"${INSTALL_PREFIX}/share/X11/locale\" i.e. `zig-out/share/X11/locale`.\n    // Most distributions will use `/usr/share/X11/locale`.\n    //\n    // To configure the config root at runtime, use the \"XLOCALEDIR\" environment variable.\n    //\n    // This example will assume that the config root of the host system is in `/usr`.\n    // This does not work on distributions that don't follow the Filesystem Hierarchy Standard (FHS) like NixOS.\n    .@\"x-locale-root\" = \"/usr/share/X11/locale\",\n});\nyour_exe.linkLibrary(libxkbcommon_dependency.artifact(\"libxkbcommon\"));\n```\n\nFor more information, please refer to the [User-configuration](https://github.com/xkbcommon/libxkbcommon/blob/master/doc/user-configuration.md) docs of libxkbcommon.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallyourcodebase%2Flibxkbcommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallyourcodebase%2Flibxkbcommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallyourcodebase%2Flibxkbcommon/lists"}