AtlatestRepositorysigil-graphics
sigil-graphics / treemanifest.scm
1
;; sigil-graphics - Development Environment2
;; Use with: guix shell -m manifest.scm3
;;4
;; Build side: the X11 and Wayland headers sigil-desktop's vendored GLFW5
;; compiles against (it links none of them). No GL headers: the GL entry6
;; 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 the9
;; llvmpipe driver GLFW loads at run time), the X libraries GLFW dlopens10
;; under Xvfb, wayland + libxkbcommon for a Wayland compositor. libglvnd11
;; must NOT be here: Guix's mesa is built without it, and a vendorless12
;; libGLX.so.0 on the library path makes GLFW's GLX fail ("No GLXFBConfigs13
;; returned"). LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib is still needed for14
;; libasound until sigil-audio stops linking it; the rest resolve through15
;; sigil-desktop's dlopen fallback ($GUIX_ENVIRONMENT/lib).17
(specifications->manifest18
'("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 loads27
"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, since34
;; downstream test apps may pull sigil-audio)35
"libvorbis"36
"libogg"))