macOS
brew install libicnslocal Homebrew formula metadata
sudo port install libicnsMacPorts ports tree · graphics/libicns/Portfile · 来源: api.github.com
安装
brew install libicnslocal Homebrew formula metadata
sudo port install libicnsMacPorts ports tree · graphics/libicns/Portfile · 来源: api.github.com
sudo dnf install libicnsFedora Rawhide package metadata · libicns · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libicnsnixpkgs package indexes · pkgs/by-name/li/libicns/package.nix · 来源: api.github.com
sudo pacman -S libicnsArch Linux sync databases · libicns · 来源: geo.mirror.pkgbuild.com
sudo apt install icnsutilsDebian stable package indexes · icnsutils · 来源: deb.debian.org
sudo zypper install icns-utilsopenSUSE Tumbleweed package metadata · icns-utils · 来源: download.opensuse.org
概览
Library for manipulation of the macOS .icns resource format
历史
libicns is a small library and utility set for manipulating Apple's .icns icon resource format outside Apple's native tooling.
The project page describes libicns as a library for the Mac OS icns resource format, including reading and writing Mac OS X icns files and reading Mac resource files and MacBinary-encoded resource forks.
SourceForge release records show early public tarballs in February 2008, a steady 0.5 and 0.6 series through 2008 and 2009, and the 0.8 line in 2012. Release 0.8.0 added support for PNG icns elements, icon variants, and TOC awareness; release 0.8.1 added 1024x1024 support and packaging/build fixes.
libicns filled a practical packaging gap for Unix and Linux desktops: converting macOS icon resources into PNGs and generating .icns files without requiring macOS development frameworks.
Its adoption stayed niche, but the utilities icns2png and png2icns made it useful in icon-theme packaging, cross-platform application packaging, and build scripts that needed to consume or emit Apple icon assets.
Users most often install libicns for the command-line tools icns2png, png2icns, and icontainer2icns, while developers can link the library to read, write, inspect, and assemble icon-family elements.
libicns is package-nerd useful because it keeps an old platform-specific binary resource format scriptable on POSIX systems. It is not a glamorous dependency, but it is exactly the sort of tiny converter that keeps cross-platform release automation boring.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
icns2png | cli | 全局可执行文件 | |
icontainer2icns | cli | 全局可执行文件 | |
png2icns | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libicns |
|---|---|
| 版本 | 0.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libicns |
| 主页 | https://icns.sourceforge.io/ |
| 仓库 | https://sourceforge.net/p/icns/code |
| 上游文档 | https://icns.sourceforge.io/ |
| 许可证 | LGPL-2.0-or-later OR LGPL-2.1-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.gz |
| 最后更新 | 2026-06-19T12:32:36-07:00 |
| Pulse | updated |
| 依赖 | jasper, libpng |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libicns |
| Version Scheme | 0 |
| Revision | 5 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
icnsutils 0.8.1.83.g921f972-0.1+b2
utilities for manipulating Mac OS icns files
sudo apt install icnsutilslibicns-dev 0.8.1.83.g921f972-0.1+b2
libicns development files
sudo apt install libicns-devlibicns1 0.8.1.83.g921f972-0.1+b2
library for manipulation of the Mac OS icns format
sudo apt install libicns1libicns
nix profile install nixpkgs#libicnsicnsutils 0.8.1.83.g921f972-0.1build2
utilities for manipulating Mac OS icns files
sudo apt install icnsutilslibicns-dev 0.8.1.83.g921f972-0.1build2
libicns development files
sudo apt install libicns-devlibicns1 0.8.1.83.g921f972-0.1build2
library for manipulation of the Mac OS icns format
sudo apt install libicns1libicns 0.8.1-35.fc44
Library for manipulating Macintosh icns files
sudo dnf install libicnslibicns-devel 0.8.1-35.fc44
Development files for libicns
sudo dnf install libicns-devellibicns-utils 0.8.1-35.fc44
Utilities for libicns
sudo dnf install libicns-utilslibicns 0.8.1-11
Library for manipulating icns/IconFamily files
sudo pacman -S libicnsicns-utils 0.8.1+git20201014-1.21
Application for manipulation of the Mac OS icns
sudo zypper install icns-utilslibicns-devel 0.8.1+git20201014-1.21
Development files for libicns
sudo zypper install libicns-devellibicns1 0.8.1+git20201014-1.21
System libraries for libicns
sudo zypper install libicns1libicns
sudo port install libicns来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.