1. in root directory, $meson build
2. in build directory,
repair build.ninja,
from line.277 to line.331,
example:
old:
COMMAND = /usr/local/bin/fluxcomp --call-mode --dispatch-error-abort --identity --include-prefix=core --object-ptrs --static-args-bytes=FLUXED_ARGS_BYTES -c …/src/core/CoreDFB.flux -o=src/core
new:
COMMAND = /usr/local/bin/fluxcomp --call-mode --dispatch-error-abort --identity --include-prefix=core --object-ptrs --static-args-bytes=FLUXED_ARGS_BYTES -c …/src/core/CoreDFB.flux [++&& mv CoreDFB.c src/core && mv CoreDFB.h src/core++]
term:
build src/core/CoreDFB.c src/core/CoreDFB.h
build src/core/CoreGraphicsState.c src/core/CoreGraphicsState.h
build src/core/CoreInputDevice.c src/core/CoreInputDevice.h
build src/core/CoreLayer.c src/core/CoreLayer.h
build src/core/CoreLayerContext.c src/core/CoreLayerContext.h
build src/core/CoreLayerRegion.c src/core/CoreLayerRegion.h
build src/core/CorePalette.c src/core/CorePalette.h
build src/core/CoreSlave.c src/core/CoreSlave.h
build src/core/CoreScreen.c src/core/CoreScreen.h
build src/core/CoreSurface.c src/core/CoreSurface.h
build src/core/CoreSurfaceAllocation.c src/core/CoreSurfaceAllocation.h
build src/core/CoreSurfaceClient.c src/core/CoreSurfaceClient.h
build src/core/CoreWindow.c src/core/CoreWindow.h
build src/core/CoreWindowStack.c src/core/CoreWindowStack.h
$ninja -f build.ninja
3. $ ninja -C install
error:
ninja: Entering directory `build/’
[0/1] Installing files.
Installation failed due to insufficient permissions.
Attempting to use polkit to gain elevated privileges…
Traceback (most recent call last):
File “/home/aaa/.local/bin/meson”, line 5, in
from mesonbuild.mesonmain import main
ModuleNotFoundError: No module named ‘mesonbuild’
FAILED: meson-internal__install
/home/aaa/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
$cp -arvf bulid /usr/local/share/directfb2