Home > Blockchain >  How to compile Linux Mint Cinnamon disc image?
How to compile Linux Mint Cinnamon disc image?

Time:08-31

As I understand, Cinnamon repository uses Meson as a build system. I'm using WSL to build it from sources, in the hope that I will get a bootable disc image (like an ISO). I had to manually install some requirements as needed when running meson build at the root of the repository. The Cinnamon repository doesn't have any guide on how to build the repository.

When I run meson build, right now I'm stuck with the dependency cjs-1.0. I've ran sudo apt install cjs. I've googled and nothing unfortunately. What else can I consider?

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

CodePudding user response:

It should be available after installing libcjs-dev package:

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