KiCad 向 HarmonyOS(OHOS arm64)的移植源码仓库:收录上游 KiCad 源码树与本平台适配改动,依 GPL-3.0 释出
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 |
KiCad README
下载与交流
- 华为应用市场:AirEDA
- 交流群:1105698553
来源与许可
| 项 | 值 |
|---|---|
| 上游项目 | KiCad |
| 本仓收录的上游树基线 | 8.0.8(cmake/KiCadVersion.cmake:set( KICAD_SEMANTIC_VERSION "8.0.8" )) |
| 设备端构建使用的上游基线 | 10.0.7,取上游源码归档 https://gitlab.com/kicad/code/kicad/-/archive/10.0.7/kicad-10.0.7.tar.bz2 |
| 上游许可证 | GPL-3.0-or-later(全文见 LICENSE.GPLv3 与 LICENSE;多许可组件说明见 LICENSE.README) |
| 本仓新增/改动部分许可 | GPL-3.0-or-later |
| 上游版权头 | 保持原样,未替换 |
本仓按 GPL 原样释出,不担保适销或特定用途适用性。
移植方式
交叉编译到 OHOS arm64(NDK clang + musl,-D__OHOS__ / OHOS_PLATFORM);依赖栈(boost、nng、zstd、protobuf、wxWidgets 等)按上游渠道获取,不在本仓。上游树内的移植改动以 __OHOS__ / OHOS_PLATFORM 条件编译标记,可 grep -rn "__OHOS__" common eeschema libs thirdparty 复核。
仓库结构
| 路径 | 说明 |
|---|---|
上游 KiCad 源码树(common/、eeschema/、pcbnew/、include/、libs/、thirdparty/ 等) |
基线 8.0.8,含就地移植改动 |
kicad_ohos/ |
OHOS 接入层源码:应用生命周期入口、菜单与对话框桥、文件/目录选择器桥、工作表适配、printing 桩 |
patches/ |
移植补丁存档与改动指示(见 patches/README.md) |
patch |
8.0.8 时代遗留的单条 diff,按原样保留,说明见 patches/README.md《已知留痕》 |
改动指示
逐主题的改动表(含触及的上游文件、hunk 数与行为说明)见 patches/README.md:
patches/kicad-10-ohos/—— 28 条,作用于上游 KiCad 树(10.0.7 基线上的逐文件改动出处):可执行路径与插件 dso 搜索、webview/printing 组件裁剪、libc++ 15 与 musl 的 C++20 兼容改写、无 Esc 环境下的绘制退出策略、首启向导与 Help 菜单裁剪、菜单标题同步。patches/wx-ohos/—— 5 条,作用于依赖栈 wxWidgets 的 GTK 层:去-lX11、GL 画布上下文适配、文件/目录对话框转平台选择器、wxMenuBar隐藏为菜单数据源。- 新增文件:
kicad_ohos/7 个源文件(kicad_app.cpp、kicad_core.cpp与 5 个桥接/桩单元)。
规模可复现口径:find patches -name '*.patch' | wc -l = 33;ls kicad_ohos | wc -l = 7。
For specific documentation about building KiCad, policies and guidelines, and source code documentation see the Developer Documentation website.
You may also take a look into the Wiki, the contribution guide.
For general information about KiCad and information about contributing to the documentation and libraries, see our Website and our Forum.
Build state
KiCad uses a host of CI resources.
GitLab CI pipeline status can be viewed for Linux and Windows builds of the latest commits.
Release status
Files
- AUTHORS.txt - The authors, contributors, document writers and translators list
- CMakeLists.txt - Main CMAKE build tool script
- copyright.h - A very short copy of the GNU General Public License to be included in new source files
- Doxyfile - Doxygen config file for KiCad
- INSTALL.txt - The release (binary) installation instructions
- uncrustify.cfg - Uncrustify config file for uncrustify sources formatting tool
- _clang-format - clang config file for clang-format sources formatting tool
Subdirectories
- 3d-viewer - Sourcecode of the 3D viewer
- bitmap2component - Sourcecode of the bitmap to PCB artwork converter
- cmake - Modules for the CMAKE build tool
- common - Sourcecode of the common library
- cvpcb - Sourcecode of the CvPCB tool
- demos - Some demo examples
- doxygen - Configuration for generating pretty doxygen manual of the codebase
- eeschema - Sourcecode of the schematic editor
- gerbview - Sourcecode of the gerber viewer
- include - Interfaces to the common library
- kicad - Sourcecode of the project manager
- libs - Sourcecode of KiCad utilities (geometry and others)
- pagelayout_editor - Sourcecode of the pagelayout editor
- patches - Collection of patches for external dependencies
- pcbnew - Sourcecode of the printed circuit board editor
- plugins - Sourcecode for the 3D viewer plugins
- qa - Unit testing framework for KiCad
- resources - Packaging resources such as bitmaps and operating system specific files
- bitmaps_png - Menu and program icons
- project_template - Project template
- scripting - Python integration for KiCad
- thirdparty - Sourcecode of external libraries used in KiCad but not written by the KiCad team
- tools - Helpers for developing, testing and building
- translation - Translation data files (managed through Weblate for most languages)
- utils - Small utils for KiCad, e.g. IDF, STEP, and OGL tools and converters