diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 7c4c998310..04f92e2b07 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -839,76 +839,6 @@ (define-public pstoedit @end itemize") (license license:gpl2+))) -(define-public dear-imgui - (package - (name "dear-imgui") - (version "1.79") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ocornut/imgui") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0x26igynxp6rlpp2wfc5dr7x6yh583ajb7p23pgycn9vqikn318q")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags - (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "VERSION=" ,version)) - #:tests? #f ; no test suite - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'unpack-debian-files - (lambda* (#:key inputs #:allow-other-keys) - (invoke "tar" "xvf" (assoc-ref inputs "debian-files")) - (apply invoke "patch" "-Np1" "-i" - (find-files "debian/patches" "\\.patch$")) - (substitute* "Makefile" - ((" +;;; Copyright © 2020 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -97,10 +98,18 @@ (define-public imgui doc "/share/imgui/examples")))))))) (inputs (list glfw mesa sdl2)) (home-page "https://github.com/ocornut/imgui") - (synopsis "Graphical user interface library for C++") + (synopsis "Immediate-mode C++ GUI library with minimal dependencies") (description "@code{dear imgui} (also know as ImGui) is a graphical user -interface library for C++. It outputs vertex buffers that can be rendered in -a 3D application. It is fast, renderer agnostic and self-contained.") +interface library for C++. It creates optimized vertex buffers that you can +render anytime in your 3D-pipeline-enabled application. It's fast, portable, +renderer-agnostic, and self-contained, without external dependencies. + +ImGui is aimed at content creation, visualization, and debugging tools as +opposed to average end-user interfaces. Hence it favors simplicity and +productivity but lacks certain features often found in higher-level libraries. +It is particularly suited to integration in game engine tooling, real-time 3D +applications, full-screen applications, and embedded platforms without +standard operating system features.") (license license:expat))) (define-public imgui-1.86