如何编译Linux薄荷肉桂光盘镜像



据我所知,Cinnamon存储库使用Meson作为构建系统。我正在使用WSL从源代码构建它,希望我能得到一个可引导的光盘映像(像ISO一样(。当在存储库的根目录下运行meson build时,我不得不根据需要手动安装一些需求。Cinnamon存储库没有任何关于如何构建存储库的指南。

当我运行meson build时,现在我被依赖关系cjs-1.0卡住了。我已经运行了sudo apt install cjs。不幸的是,我在谷歌上搜索过,什么都没有。我还能考虑什么?

The Meson build system
Version: 0.53.2
Source dir: /home/matheus/cinnamon
Build dir: /home/matheus/cinnamon/build
Build type: native build
Project name: Cinnamon
Project version: 5.4.11
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency dbus-1 found: YES 1.12.16
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency cjs-1.0 found: NO (tried pkgconfig and cmake)
meson.build:24:0: ERROR: Dependency "cjs-1.0" not found, tried pkgconfig and cmake

它应该在安装libcjs-dev包后可用:

$ sudo apt install libcjs-dev
...
$ pkg-config --list-all | grep cjs
cjs-1.0                             cjs-1.0 - Cinnamon JS bindings for GObjects

最新更新