summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Guilherme Coelho <lgcoelho@disroot.org>2026-05-27 14:25:04 -0300
committerSughosha <sughosha@disroot.org>2026-05-28 18:38:31 +0530
commit71f13e3a63dd1d18eaefc58af06d2e5518d410df (patch)
treedefc9b426cc3b3cfd28fabf72cf4ba692ca36542
parentd426c0ef73947898407d238d0ead8d88e58ec9ce (diff)
gnu: Add ueberzugpp.
* gnu/packages/image-viewers.scm (ueberzugpp): New variable. Change-Id: Icc8f64aaa5d0dd5d7289f8e92af2eff39d59747b Signed-off-by: Sughosha <sughosha@disroot.org>
-rw-r--r--gnu/packages/image-viewers.scm84
1 files changed, 84 insertions, 0 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 418009b23f1..d48fb6a2e3a 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -94,13 +94,16 @@
94 #:use-module (gnu packages gnome) 94 #:use-module (gnu packages gnome)
95 #:use-module (gnu packages golang-build) 95 #:use-module (gnu packages golang-build)
96 #:use-module (gnu packages golang-xyz) 96 #:use-module (gnu packages golang-xyz)
97 #:use-module (gnu packages gstreamer)
97 #:use-module (gnu packages gtk) 98 #:use-module (gnu packages gtk)
98 #:use-module (gnu packages graphics) 99 #:use-module (gnu packages graphics)
99 #:use-module (gnu packages haskell-xyz) 100 #:use-module (gnu packages haskell-xyz)
100 #:use-module (gnu packages image) 101 #:use-module (gnu packages image)
101 #:use-module (gnu packages image-processing) 102 #:use-module (gnu packages image-processing)
102 #:use-module (gnu packages imagemagick) 103 #:use-module (gnu packages imagemagick)
104 #:use-module (gnu packages kde-frameworks)
103 #:use-module (gnu packages linux) 105 #:use-module (gnu packages linux)
106 #:use-module (gnu packages logging)
104 #:use-module (gnu packages maths) 107 #:use-module (gnu packages maths)
105 #:use-module (gnu packages ncurses) 108 #:use-module (gnu packages ncurses)
106 #:use-module (gnu packages pdf) 109 #:use-module (gnu packages pdf)
@@ -108,6 +111,7 @@
108 #:use-module (gnu packages perl-check) 111 #:use-module (gnu packages perl-check)
109 #:use-module (gnu packages photo) 112 #:use-module (gnu packages photo)
110 #:use-module (gnu packages pkg-config) 113 #:use-module (gnu packages pkg-config)
114 #:use-module (gnu packages pretty-print)
111 #:use-module (gnu packages profiling) 115 #:use-module (gnu packages profiling)
112 #:use-module (gnu packages python) 116 #:use-module (gnu packages python)
113 #:use-module (gnu packages python-build) 117 #:use-module (gnu packages python-build)
@@ -120,6 +124,8 @@
120 #:use-module (gnu packages sqlite) 124 #:use-module (gnu packages sqlite)
121 #:use-module (gnu packages suckless) 125 #:use-module (gnu packages suckless)
122 #:use-module (gnu packages stb) 126 #:use-module (gnu packages stb)
127 #:use-module (gnu packages tbb)
128 #:use-module (gnu packages tls)
123 #:use-module (gnu packages terminals) 129 #:use-module (gnu packages terminals)
124 #:use-module (gnu packages upnp) 130 #:use-module (gnu packages upnp)
125 #:use-module (gnu packages version-control) 131 #:use-module (gnu packages version-control)
@@ -1286,6 +1292,84 @@ workspaces.
1286(define-deprecated-package python-ueberzug 1292(define-deprecated-package python-ueberzug
1287 ueberzug) 1293 ueberzug)
1288 1294
1295(define-public ueberzugpp
1296 (package
1297 (name "ueberzugpp")
1298 (version "2.9.10")
1299 (source
1300 (origin
1301 (method git-fetch)
1302 (uri (git-reference
1303 (url "https://github.com/jstkdng/ueberzugpp")
1304 (commit (string-append "v" version))))
1305 (file-name (git-file-name name version))
1306 (sha256
1307 (base32 "1jac2sca4pmcxp8xcvaxhf6j15phyc85gb5n9ymajbahnd4hbcv2"))))
1308 (build-system cmake-build-system)
1309 (arguments
1310 (list #:tests? #f ; no tests
1311 #:configure-flags
1312 #~(list "-DENABLE_OPENCV=ON"
1313 "-DENABLE_X11=ON"
1314 "-DENABLE_WAYLAND=ON")))
1315 (native-inputs
1316 (list extra-cmake-modules
1317 gobject-introspection
1318 pkg-config))
1319 (inputs
1320 (list cairo
1321 chafa
1322 cli11
1323 expat
1324 fftw
1325 fmt
1326 imagemagick
1327 imath
1328 lcms
1329 libexif
1330 libgsf
1331 librsvg
1332 libsixel
1333 libwebp
1334 libxcb
1335 matio
1336 nlohmann-json
1337 opencv
1338 openexr
1339 openssl
1340 orc
1341 pango
1342 poppler
1343 range-v3
1344 spdlog
1345 tbb
1346 vips
1347 wayland
1348 wayland-protocols
1349 xcb-util-image))
1350 (home-page "https://github.com/jstkdng/ueberzugpp")
1351 (synopsis "Drop in replacement for ueberzug written in C++")
1352 (description "Überzug++ is a command line utility written in C++ which
1353allows to draw images on terminals by using X11/Wayland child windows, sixels,
1354 kitty and iterm2.
1355
1356Advantages over @command{w3mimgdisplay}:
1357@itemize
1358@item Support for Wayland: Sway, Hyprland, niri and Wayfire
1359@item No race conditions as a new window is created to display images
1360@item Expose events will be processed, so images will be redrawn on switch
1361workspaces
1362@item Tmux support on X11, Sway and Hyprland
1363@item Terminals without the @env{WINDOWID} environment variable are supported
1364@item Chars are used as position - and size unit
1365@item No memory leak (usage of smart pointers)
1366@item A lot of image formats supported (through OpenCV and libvips).
1367@item GIF and animated WEBP support on X11, Sixel, Sway and hyprland
1368@item Fast image downscaling (through OpenCV and OpenCL)
1369@item Cache resized images for faster viewing
1370@end itemize")
1371 (license license:gpl3)))
1372
1289(define-public vv 1373(define-public vv
1290 (package 1374 (package
1291 (name "vv") 1375 (name "vv")