{"id":18419019,"url":"https://github.com/redcode/zeta","last_synced_at":"2026-01-09T23:05:51.011Z","repository":{"id":38893532,"uuid":"11803263","full_name":"redcode/Zeta","owner":"redcode","description":"Header-only general purpose library","archived":false,"fork":false,"pushed_at":"2024-12-19T11:09:09.000Z","size":6829,"stargazers_count":37,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-23T21:35:41.406Z","etag":null,"topics":["c","c-plus-plus","general-purpose","header-only","multi-platform","standalone"],"latest_commit_sha":null,"homepage":"http://zeta.st/download","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/Zeta.pc.in","governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"buy_me_a_coffee":"redcode","github":"redcode","ko_fi":"redcode","liberapay":"redcode","patreon":"redcode"}},"created_at":"2013-07-31T23:04:35.000Z","updated_at":"2024-12-19T11:09:14.000Z","dependencies_parsed_at":"2023-02-12T12:00:43.313Z","dependency_job_id":"4792bd42-5637-46ff-ae54-6d2cc26a755e","html_url":"https://github.com/redcode/Zeta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2FZeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2FZeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2FZeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2FZeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redcode","download_url":"https://codeload.github.com/redcode/Zeta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661704,"owners_count":20975104,"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":["c","c-plus-plus","general-purpose","header-only","multi-platform","standalone"],"created_at":"2024-11-06T04:15:33.349Z","updated_at":"2026-01-09T23:05:51.006Z","avatar_url":"https://github.com/redcode.png","language":"C","funding_links":["https://buymeacoffee.com/redcode","https://github.com/sponsors/redcode","https://ko-fi.com/redcode","https://liberapay.com/redcode","https://patreon.com/redcode"],"categories":[],"sub_categories":[],"readme":"# Zeta\n\n## Installation\n\n### \u003csub\u003e\u003cimg src=\"https://zxe.io/software/Zeta/assets/images/debian-icon.svg\" height=\"24\" width=\"20\"\u003e\u003c/sub\u003e Debian, \u003csub\u003e\u003cimg src=\"https://zxe.io/software/Zeta/assets/images/ubuntu-icon.svg\" height=\"24\" width=\"25\"\u003e\u003c/sub\u003e Ubuntu and other Debian-based Linux distributions\n\nFirst, add the `zxe` repository and update the package index:\n\n```shell\nsudo mkdir -pm700 /root/.gnupg\nsudo mkdir -pm755 /etc/apt/keyrings\nsudo gpg --no-default-keyring --keyring /etc/apt/keyrings/zxe-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys FE214A38D6A0C01D9AF514EE841EA3BD3A7E1487\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/zxe-archive-keyring.gpg] https://zxe.io/repos/apt stable main\" | sudo tee /etc/apt/sources.list.d/zxe.list\nsudo apt update\n```\n\nThen install the package:\n\n```shell\nsudo apt install libzeta-dev\n```\n\n### \u003csub\u003e\u003cimg src=\"https://zxe.io/software/Zeta/assets/images/gentoo-icon.svg\" height=\"24\" width=\"24\"\u003e\u003c/sub\u003e Gentoo\n\nFirst, add and sync the [`zxe`](https://github.com/redcode/zxe-gentoo-overlay) overlay:\n\n```shell\neselect repository add zxe git https://github.com/redcode/zxe-gentoo-overlay.git\nemaint sync --repo zxe\n```\n\nThen install the library:\n\n```shell\nemerge dev-libs/zeta\n```\n\n### \u003csub\u003e\u003cimg src=\"https://zxe.io/software/Zeta/assets/images/homebrew-icon.svg\" height=\"24\" width=\"16\"\u003e\u003c/sub\u003e Homebrew\n\n```shell\nbrew install redcode/zxe/zeta\n```\n\n## Installation from source code\n\n### Prerequisites\n\nYou will need [CMake](https://cmake.org) v3.12 or later to install the package and, optionally, a recent version of [Sphinx](https://www.sphinx-doc.org) to compile the documentation. Also, make sure that you have [LaTeX](https://www.latex-project.org) with PDF support installed on your system if you want to generate the documentation in PDF format.\n\n### Configure\n\nOnce the prerequisites are met, create a directory and run `cmake` from there to prepare the build system:\n\n```shell\nmkdir build\ncd build\ncmake [options] \u003cZeta-project-directory\u003e\n```\n\nThe resulting build files can be configured by passing options to `cmake`. To show a complete list of those available along with their current settings, type the following:\n\n```shell\ncmake -LAH -N -B .\n```\n\nIf in doubt, read the [CMake documentation](https://cmake.org/documentation/) for more information on configuration options. The following two standard CMake options are relevant:\n\n* \u003cspan id=\"cmake_option_cmake_build_type\"\u003e**\u003ccode\u003e-D[CMAKE_BUILD_TYPE](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html)=(Debug|Release|RelWithDebInfo|MinSizeRel)\u003c/code\u003e**\u003c/span\u003e  \n\tChoose the type of build (configuration) to generate.  \n\tThe default is `Release`.\n\n* \u003cspan id=\"cmake_option_cmake_install_prefix\"\u003e**\u003ccode\u003e-D[CMAKE_INSTALL_PREFIX](https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX.html)=\"\\\u003cpath\\\u003e\"\u003c/code\u003e**\u003c/span\u003e  \n\tSpecify the installation prefix.  \n\tThe default is `\"/usr/local\"` (on [UNIX](https://en.wikipedia.org/wiki/Unix) and [UNIX-like](https://en.wikipedia.org/wiki/Unix-like) operating systems).\n\n\u003cspan id=\"cmake_package_options\"\u003ePackage-specific options\u003c/span\u003e are prefixed with `Zeta_` and are as follows:\n\n* \u003cspan id=\"cmake_option_zeta_install_cmakedir\"\u003e**`-DZeta_INSTALL_CMAKEDIR=\"\u003cpath\u003e\"`**\u003c/span\u003e  \n\tSpecify the directory in which to install the CMake [config-file package](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#config-file-packages).  \n\tThe default is \u003ccode\u003e\"${[CMAKE_INSTALL_DATAROOTDIR](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html)}/Zeta/cmake\"\u003c/code\u003e.\n\n* \u003cspan id=\"cmake_option_zeta_install_pkgconfigdir\"\u003e**`-DZeta_INSTALL_PKGCONFIGDIR=\"\u003cpath\u003e\"`**\u003c/span\u003e  \n\tSpecify the directory in which to install the [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config) [file](https://people.freedesktop.org/~dbn/pkg-config-guide.html).  \n\tThe default is \u003ccode\u003e\"${[CMAKE_INSTALL_DATAROOTDIR](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html)}/pkgconfig\"\u003c/code\u003e.\n\n* \u003cspan id=\"cmake_option_zeta_sphinx_html_theme\"\u003e**`-DZeta_SPHINX_HTML_THEME=\"[\u003cname\u003e]\"`**\u003c/span\u003e  \n\tSpecify the Sphinx theme for the documentation in HTML format.  \n\tThe default is `\"\"` (use the default theme).\n\n* \u003cspan id=\"cmake_option_zeta_with_cmake_support\"\u003e**`-DZeta_WITH_CMAKE_SUPPORT=(YES|NO)`**\u003c/span\u003e  \n\tGenerate and install the CMake [config-file package](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#config-file-packages).  \n\tThe default is `NO`.\n\n* \u003cspan id=\"cmake_option_zeta_with_html_documentation\"\u003e**`-DZeta_WITH_HTML_DOCUMENTATION=(YES|NO)`**\u003c/span\u003e  \n\tBuild and install the documentation in HTML format.  \n\tIt requires Sphinx.  \n\tThe default is `NO`.\n\n* \u003cspan id=\"cmake_option_zeta_with_pdf_documentation\"\u003e**`-DZeta_WITH_PDF_DOCUMENTATION=(YES|NO)`**\u003c/span\u003e  \n\tBuild and install the documentation in PDF format.\n\tIt requires Sphinx and LaTeX with PDF support.\n\tThe default is `NO`.\n\n* \u003cspan id=\"cmake_option_zeta_with_pkgconfig_support\"\u003e**`-DZeta_WITH_PKGCONFIG_SUPPORT=(YES|NO)`**\u003c/span\u003e  \n\tGenerate and install the [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config) [file](https://people.freedesktop.org/~dbn/pkg-config-guide.html).  \n\tThe default is `NO`.\n\n* \u003cspan id=\"cmake_option_zeta_with_standard_documents\"\u003e**`-DZeta_WITH_STANDARD_DOCUMENTS=(YES|NO)`**\u003c/span\u003e  \n\tInstall the standard text documents distributed with the package: [`AUTHORS`](AUTHORS), [`COPYING`](COPYING), [`COPYING.LESSER`](COPYING.LESSER), [`HISTORY`](HISTORY) and [`README`](README).  \n\tThe default is `NO`.\n\n### Build and install\n\nFinally, once the build system is configured according to your needs, build and install the package:\n\n```shell\ncmake --build . [--config (Debug|Release|RelWithDebInfo|MinSizeRel)]\ncmake --install . [--config \u003cconfiguration\u003e]\n```\n\nThe [`--config`](https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-build-config) option is only necessary for those [CMake generators](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html) that ignore [`CMAKE_BUILD_TYPE`](#cmake_option_cmake_build_type) (e.g., Xcode and Visual Studio).\n\n## License\n\nCopyright © 2006-2025 Manuel Sainz de Baranda y Goñi.\n\n\u003cimg src=\"https://zxe.io/software/Zeta/assets/images/lgplv3.svg\" height=\"70\" width=\"160\" align=\"right\"\u003e\n\nThis library is [free software](https://www.gnu.org/philosophy/free-sw.html): you can redistribute it and/or modify it under the terms of the [GNU Lesser General Public License](https://www.gnu.org/licenses/lgpl-3.0.html) as published by the [Free Software Foundation](https://www.fsf.org), either version 3 of the License, or (at your option) any later version.\n\n**This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE**. See the GNU Lesser General Public License for more details.\n\nYou should have received a [copy](COPYING.LESSER) of the GNU Lesser General Public License along with this library. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredcode%2Fzeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredcode%2Fzeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredcode%2Fzeta/lists"}