x11/swayimg 5.6 FreeBSD
Image viewer for Sway/Wayland
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c50efd0ec5- License
- MIT
- Categories
- x11, wayland
- Package size
- 510.7 KiB, 1282.6 KiB installed
Description
Now you can view images directly in the current terminal window!
The program uses Sway IPC to determine the geometry of the currently focused container. This data is used to calculate the position and size of the new "overlay" window that will be used to draw the image. In the next step, swayimg adds two Sway rules for the self window: "floating enable" and "move position". Then it creates a new Wayland window and draws the image from the specified file.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | x11/swayimg | 5.6 |
| OpenBSD | wayland/swayimg | 5.2p1 |
| DragonFly | x11/swayimg | 2.3 |
| HardenedBSD | x11/swayimg | 5.6 |
| GhostBSD | x11/swayimg | 5.6 |
Install
Binary package:
pkg install swayimg
From the ports tree:
cd /usr/ports/x11/swayimg/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= swayimg>0:x11/swayimg
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.6 | 5.6 | - | 4.5 | 5.6 |
| FreeBSD:14:quarterly | 5.6 | 5.6 | n/a | 4.3 | 5.6 |
| FreeBSD:15:latest | 5.6 | 5.6 | n/a | 4.5 | 4.5 |
| FreeBSD:15:quarterly | 5.6 | 5.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.6 | 5.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 3
libfreetype.so: print/freetype2libfontconfig.so: x11-fonts/fontconfiglibxkbcommon.so: x11/libxkbcommon
Test 2
googletest>0: devel/googletestdejavu>0: x11-fonts/dejavu
The full lists below include those, and their dependencies in turn.
Build dependencies 133
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- audio/lame
- audio/libogg
- audio/libvorbis
- audio/mpg123
- audio/opus
- converters/fribidi
- converters/libiconv
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/desktop-file-utils
- devel/gettext-runtime
- devel/glib20
- devel/highway
- devel/icu
- devel/inih
- devel/libdatrie
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libthai
- devel/libunistring
- devel/llvm12
- devel/meson
- devel/ninja
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- dns/libidn2
- graphics/cairo
- graphics/exiv2
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libglvnd
- graphics/libheif
- graphics/libjxl
- graphics/libraw
- graphics/librsvg2-rust
- graphics/libsixel
- graphics/libyuv
- graphics/mesa-libs
- graphics/openexr
- graphics/openjpeg
- graphics/openjph
- graphics/png
- graphics/spirv-tools
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/wayland-protocols
- graphics/webp
- lang/gcc14
- lang/luajit
- lang/perl5.42
- lang/python312
- lang/python315
- math/Imath
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/ffmpeg
- multimedia/libass
- multimedia/libbluray
- multimedia/libdvdcss
- multimedia/libdvdnav
- multimedia/libdvdread
- multimedia/libudfread
- multimedia/libvpx
- multimedia/libx264
- multimedia/openh264
- multimedia/svt-av1
- multimedia/vmaf
- multimedia/x265
- print/freetype2
- print/harfbuzz
- print/indexinfo
- security/gnutls
The first 100 are listed.
Run dependencies 126
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- audio/lame
- audio/libogg
- audio/libvorbis
- audio/mpg123
- audio/opus
- converters/fribidi
- converters/libiconv
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/desktop-file-utils
- devel/gettext-runtime
- devel/glib20
- devel/highway
- devel/icu
- devel/inih
- devel/libdatrie
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libthai
- devel/libunistring
- devel/llvm12
- devel/pcre2
- devel/py-packaging
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- dns/libidn2
- graphics/cairo
- graphics/exiv2
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libglvnd
- graphics/libheif
- graphics/libjxl
- graphics/libraw
- graphics/librsvg2-rust
- graphics/libsixel
- graphics/libyuv
- graphics/mesa-libs
- graphics/openexr
- graphics/openjpeg
- graphics/openjph
- graphics/png
- graphics/spirv-tools
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/webp
- lang/gcc14
- lang/luajit
- lang/perl5.42
- lang/python312
- lang/python315
- math/Imath
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/ffmpeg
- multimedia/libass
- multimedia/libbluray
- multimedia/libdvdcss
- multimedia/libdvdnav
- multimedia/libdvdread
- multimedia/libudfread
- multimedia/libvpx
- multimedia/libx264
- multimedia/openh264
- multimedia/svt-av1
- multimedia/vmaf
- multimedia/x265
- print/freetype2
- print/harfbuzz
- print/indexinfo
- security/gnutls
- security/libtasn1
- security/nettle
- security/p11-kit
- shells/bash
The first 100 are listed.
No port depends on this one.
Configuration
Options name: x11_swayimg
| Option | Default | Description |
|---|---|---|
| AVIF | on | AV1 Image File Format via libavif |
| BASH | on | Install programmable completions for Bash |
| DRM | on | KMS console support |
| EXIV2 | on | EXIF and IPTC metadata support via exiv2 |
| FFMPEG | on | FFmpeg support (WMA, AIFF, AC3, APE...) |
| GIF | on | GIF image format support |
| HEIF | on | ISO/IEC 23008-12:2017 HEIF file format support |
| JPEG | on | JPEG image format support |
| JXL | on | JPEG XL image format via libjxl |
| LIBRSVG2 | on | SVG vector graphics support via librsvg2 |
| LUAJIT | on | Use LuaJIT instead of standard Lua |
| OPENEXR | on | HDR image format support via OpenEXR |
| OPENJPEG | on | JPEG 2000 support via OpenJPEG |
| PNG | on | PNG image format support |
| RAW | on | RAW format support |
| SIXEL | on | Sixel graphics support |
| TIFF | on | TIFF image format support |
| WAYLAND | on | Wayland (graphics) support |
| WEBP | on | WebP image format support |
| ZSH | on | Install programmable completions for zsh |
- USES
- desktop-file-utils meson pkgconfig
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| artemsen-swayimg-v5.6_GH0.tar.gz | 1.016512e+06 | 0f70cbc665217a747e8a098e1a881239e96df270930f47c262ab2ecff290e428 |