AtlatestRepositorysigil-graphics

sigil-graphics / treemanifest.scm

1;; sigil-graphics - Development Environment
2;; Use with: guix shell -m manifest.scm
3;;
4;; Build side: the X11 and Wayland headers sigil-desktop's vendored GLFW
5;; compiles against (it links none of them). No GL headers: the GL entry
6;; points come from src/c/gl_native_loader.h and are loaded at run time.
7;;
8;; Run side, for the smoke tests under test/: mesa (libGL, libEGL and the
9;; llvmpipe driver GLFW loads at run time), the X libraries GLFW dlopens
10;; under Xvfb, wayland + libxkbcommon for a Wayland compositor. libglvnd
11;; must NOT be here: Guix's mesa is built without it, and a vendorless
12;; libGLX.so.0 on the library path makes GLFW's GLX fail ("No GLXFBConfigs
13;; returned"). LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib is still needed for
14;; libasound until sigil-audio stops linking it; the rest resolve through
15;; sigil-desktop's dlopen fallback ($GUIX_ENVIRONMENT/lib).
17(specifications->manifest
18 '("gcc-toolchain"
19 "pkg-config"
20 "binutils"
22 ;; GLFW compile-time headers (sigil-desktop)
23 "libx11" "libxcursor" "libxrandr" "libxinerama" "libxi" "libxext" "xorgproto"
24 "wayland" "libxkbcommon"
26 ;; Run time: GL and the platform libraries GLFW loads
27 "mesa"
28 "libxrender"
30 ;; Audio (sokol_audio runtime — pulled in by test apps that use sigil-audio)
31 "alsa-lib"
33 ;; OGG Vorbis (carried for parity with cinder's manifest, since
34 ;; downstream test apps may pull sigil-audio)
35 "libvorbis"
36 "libogg"))