hzeller / timg

A terminal image and video viewer.
GNU General Public License v2.0
1.91k stars 73 forks source link

libsixel is not available on Fedora 38 #113

Open REALERvolker1 opened 1 year ago

REALERvolker1 commented 1 year ago

Hello. I decided to build the latest timg on Fedora 38. I get the following output when compiling:

-- The CXX compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Found Git: /usr/bin/git (found version "2.41.0")
-- Checking for module 'libdeflate'
--   Found libdeflate, version 1.9
-- Checking for module 'libsixel'
--   Package 'libsixel', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
  CMakeLists.txt:42 (pkg_check_modules)

-- Configuring incomplete, errors occurred!

When I search for libsixel in the repos, I get no matches

 1  ~cfg/gitmgmt    dnf search libsixel
Last metadata expiration check: 6:04:03 ago on Fri 28 Jul 2023 11:59:45 AM CDT.
No matches found.

I have not removed any repositories, and I have the RPMfusion repositories enabled.

hzeller commented 1 year ago

You can compile timg without: If you don't have a libsixel library, you can exclude that feature from compilation

cmake -DWITH_LIBSIXEL=OFF ../

Here is the set of cmake options: https://github.com/hzeller/timg#get-repo-and-compile-timg

If you want to use sixel in timg, then you probably have to compile the library yourself on your machine or ask your distribution to package it.

ErrorNoInternet commented 9 months ago

Oh I forgot to mention, libsixel is in Fedora Rawhide now: https://packages.fedoraproject.org/pkgs/libsixel/libsixel/

Edit: Now in Fedora 40.