macOS
brew install lunar-datelocal Homebrew formula metadata
安装
brew install lunar-datelocal Homebrew formula metadata
sudo apt install lunar-dateDebian stable package indexes · lunar-date · 来源: deb.debian.org
sudo zypper install lunar-dateopenSUSE Tumbleweed package metadata · lunar-date · 来源: download.opensuse.org
概览
Chinese lunar date library
历史
LunarDate is a Chinese lunar calendar date library with a C/GObject API, generated API documentation, language bindings, a D-Bus service, and a command-line tool.
The GitHub repository was created in January 2013, but its NEWS file preserves an older liblunar lineage with releases from the 0.x, 1.x, and 2.x series. The changelog records the rename from `liblunar`/`lunar-calendar` lineage to `lunar-date` in version 2.4.0, separating the date library from the calendar application.
The 3.0.0 series modernized the project: the API version moved to 3.0, the build system moved to Meson, lunar date data was extended to 2100, GLib became the core dependency, holiday APIs were revised, obsolete APIs were removed, and a D-Bus service plus the `lunar-date` command-line tool were added.
LunarDate is a niche library, but it is packaged beyond Homebrew: the source facts list Debian and Ubuntu GObject-introspection packages and an openSUSE shared-library package. That footprint reflects its role as a reusable system library rather than an end-user app.
The official API site documents LunarDate 3.0 with library version 3.2.0, GLib and GObject dependencies, headers under `lunar-date/lunar-date.h`, and source links back to GitHub. GitHub releases show maintenance continuing through version 3.2.0 in December 2025.
Developers use LunarDate when they need Chinese lunar calendar calculations from C or GObject-introspection-friendly environments. The README shows Meson build options for documentation, introspection, Vala API generation, tests, and Windows cross-compilation.
The command-line surface is packaged as `lunar-date`, while the library surface is aimed at applications that need calendar conversion, holidays, solar terms, or GLib/GObject integration.
LunarDate matters to package maintainers because it is a small cultural-calendar library with ABI/API versioning, introspection data, Vala bindings, Meson options, Windows cross-build support, and distro package splits. Its history also shows the common open-source transition from a desktop-widget-adjacent library to a narrower reusable system library.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lunar-date | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/yetist/lunar-date
安装元数据
| 软件包键 | brew:lunar-date |
|---|---|
| 版本 | 3.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lunar-date |
| 主页 | https://github.com/yetist/lunar-date |
| 仓库 | https://github.com/yetist/lunar-date |
| 上游文档 | https://github.com/yetist/lunar-date#readme |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/yetist/lunar-date/releases/download/v3.2.0/lunar-date-3.2.0.tar.xz |
| 依赖 | gettext, glib |
| 构建依赖 | meson, ninja, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lunar-date |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gir1.2-lunardate-3.0 3.0.1-2+b3
GObject Introspection for lunar-date
https://github.com/yetist/lunar-date
sudo apt install gir1.2-lunardate-3.0liblunar-date-3.0-1 3.0.1-2+b3
Chinese Lunar library based on GObject
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-3.0-1liblunar-date-dev 3.0.1-2+b3
Chinese Lunar library based on GObject - develop files
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-devliblunar-date-doc 3.0.1-2
Chinese Lunar library based on GObject - API documents
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-doclunar-date 3.0.1-2+b3
Chinese Lunar library based on GObject - command and D-Bus
https://github.com/yetist/lunar-date
sudo apt install lunar-dategir1.2-lunardate-3.0 3.0.1-2build3
GObject Introspection for lunar-date
https://github.com/yetist/lunar-date
sudo apt install gir1.2-lunardate-3.0liblunar-date-3.0-1 3.0.1-2build3
Chinese Lunar library based on GObject
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-3.0-1liblunar-date-dev 3.0.1-2build3
Chinese Lunar library based on GObject - develop files
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-devliblunar-date-doc 3.0.1-2build3
Chinese Lunar library based on GObject - API documents
https://github.com/yetist/lunar-date
sudo apt install liblunar-date-doclunar-date 3.0.1-2build3
Chinese Lunar library based on GObject - command and D-Bus
https://github.com/yetist/lunar-date
sudo apt install lunar-dateliblunar-date-3_0-1 3.0.1-1.8
Chinese Lunar calendar library
https://github.com/yetist/lunar-date
sudo zypper install liblunar-date-3_0-1lunar-date 3.0.1-1.8
Chinese Lunar calendar library
https://github.com/yetist/lunar-date
sudo zypper install lunar-datelunar-date-devel 3.0.1-1.8
Chinese Lunar calendar library development files
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-devellunar-date-doc 3.0.1-1.8
Chinese Lunar calendar library Documents
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-doclunar-date-lang 3.0.1-1.8
Translations for package lunar-date
https://github.com/yetist/lunar-date
sudo zypper install lunar-date-langtypelib-1_0-LunarDate-3_0 3.0.1-1.8
Chinese Lunar calendar introspection bindings
https://github.com/yetist/lunar-date
sudo zypper install typelib-1_0-LunarDate-3_0来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.