macOS
brew install libnotifylocal Homebrew formula metadata
sudo port install libnotifyMacPorts ports tree · devel/libnotify/Portfile · 来源: api.github.com
安装
brew install libnotifylocal Homebrew formula metadata
sudo port install libnotifyMacPorts ports tree · devel/libnotify/Portfile · 来源: api.github.com
sudo apk add libnotifyAlpine Linux edge package indexes · libnotify · 来源: dl-cdn.alpinelinux.org
sudo dnf install libnotifyFedora Rawhide package metadata · libnotify · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libnotifynixpkgs package indexes · pkgs/by-name/li/libnotify/package.nix · 来源: api.github.com
sudo pacman -S libnotifyArch Linux sync databases · libnotify · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-notify-0.7Debian stable package indexes · gir1.2-notify-0.7 · 来源: deb.debian.org
sudo zypper install libnotify-developenSUSE Tumbleweed package metadata · libnotify-devel · 来源: download.opensuse.org
概览
Library that sends desktop notifications to a notification daemon
历史
libnotify is the GNOME library and notify-send tool for sending passive desktop notifications to a notification daemon. It implements the freedesktop.org org.freedesktop.Notifications model through a small GLib/GObject-facing C API.
The GNOME documentation identifies Notify API version 0.7 and library version 0.8.8, with authors including Marco Trevisan, Logan Rathbone, Christian Hammond, Mike Hearn, and John Palmieri. The README describes libnotify as a library for sending notifications defined by the freedesktop.org Desktop Notifications specification.
Over the 0.7 series, libnotify modernized its build and command-line tooling: NEWS records Meson support in 0.7.8, a notify-send man page and autotools removal in 0.7.9, and richer notify-send behavior in 0.7.10 such as replacement, wait, actions, responses, and failure exit codes.
libnotify became the common packaging surface for scripts and desktop programs that need cross-desktop notification popups. Its notify-send executable is especially visible because it lets shell scripts and CLI tools trigger the same notification service used by graphical applications.
Programs initialize libnotify, create NotifyNotification objects, set hints such as urgency, category, image, sound, transient, and desktop-entry, and submit notifications through a notification daemon. The README notes that sandboxed applications can use the XDG Portal Notification API path, and that GLib applications should prefer GNotification.
libnotify is package-nerd significant because it is a small library with a very visible command-line tool and a cross-desktop D-Bus contract. It often appears as a light dependency in desktop stacks, test scripts, and system hooks where notify-send is the public face of the library.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
notify-send | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://gitlab.gnome.org/GNOME/libnotify
安装元数据
| 软件包键 | brew:libnotify |
|---|---|
| 版本 | 0.8.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libnotify |
| 主页 | https://gitlab.gnome.org/GNOME/libnotify |
| 仓库 | https://gitlab.gnome.org/GNOME/libnotify |
| 上游文档 | https://gnome.pages.gitlab.gnome.org/libnotify |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.8.tar.xz |
| 依赖 | gdk-pixbuf, gettext, glib |
| 构建依赖 | docbook-xsl, gobject-introspection, gtk-doc, 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 | libnotify |
| 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-notify-0.7 0.8.6-1
sends desktop notifications to a notification daemon (Introspection files)
sudo apt install gir1.2-notify-0.7libnotify-bin 0.8.6-1
sends desktop notifications to a notification daemon (Utilities)
sudo apt install libnotify-binlibnotify-dev 0.8.6-1
sends desktop notifications to a notification daemon (Development files)
sudo apt install libnotify-devlibnotify-doc 0.8.6-1
sends desktop notifications to a notification daemon (Documentation)
sudo apt install libnotify-doclibnotify4 0.8.6-1
sends desktop notifications to a notification daemon
sudo apt install libnotify4libnotify
nix profile install nixpkgs#libnotifygir1.2-notify-0.7 0.8.3-1build2
sends desktop notifications to a notification daemon (Introspection files)
sudo apt install gir1.2-notify-0.7libnotify-bin 0.8.3-1build2
sends desktop notifications to a notification daemon (Utilities)
sudo apt install libnotify-binlibnotify-dev 0.8.3-1build2
sends desktop notifications to a notification daemon (Development files)
sudo apt install libnotify-devlibnotify-doc 0.8.3-1build2
sends desktop notifications to a notification daemon (Documentation)
sudo apt install libnotify-doclibnotify4 0.8.3-1build2
sends desktop notifications to a notification daemon
sudo apt install libnotify4libnotify 0.8.8-r0
Desktop notification library
https://gitlab.gnome.org/GNOME/libnotify
sudo apk add libnotifylibnotify-dev 0.8.8-r0
Desktop notification library (development files)
https://gitlab.gnome.org/GNOME/libnotify
sudo apk add libnotify-devlibnotify-doc 0.8.8-r0
Desktop notification library (documentation)
https://gitlab.gnome.org/GNOME/libnotify
sudo apk add libnotify-doclibnotify 0.8.8-1.fc45
Desktop notification library
https://gitlab.gnome.org/GNOME/libnotify
sudo dnf install libnotifylibnotify-devel 0.8.8-1.fc45
Development files for libnotify
https://gitlab.gnome.org/GNOME/libnotify
sudo dnf install libnotify-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.