Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README #64

Closed
ghuls opened this issue Jul 8, 2019 · 4 comments
Closed

README #64

ghuls opened this issue Jul 8, 2019 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ghuls
Copy link

ghuls commented Jul 8, 2019

PREVIEWERS

hunter comes with definitions to enable previewing certain file typse. To use this you need to install some programs first. You can also define your own. See below. Defaults are:

bat / highlight for syntax highlighting
7z for archives
w3m / links / elinks / lynx for html
pdftotext / mutool for pdf

Debian/Ubuntu

**apt install gcc libmagic-dev gstreamer1.0-devel gst-plugins-base gst-plugins-good**

Fix typo: typse ==> types

The installation dependencies are not for Debian/Ubuntu.

This works for me (Ubuntu 18.04):

apt-get gcc libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good

libmagic.so is provided by libmagic1 package, but I have the feeling it is not required anymore by hunter as tree_magic is now used instead of mime_detective.

@ghuls
Copy link
Author

ghuls commented Jul 8, 2019

From commit 072b39b, the following is also needed for hunter-media
apt-get install libsixel-bin

@rabite0
Copy link
Owner

rabite0 commented Jul 8, 2019

Thanks for pointing out the typo and the list of dependencies. I will update the README soon.

And yes, I haven't yet added any info about SIXEL/kitty yet, mostly because it's not completely done and I'm still working on parts of it.

@rabite0 rabite0 self-assigned this Jul 8, 2019
@rabite0 rabite0 added bug Something isn't working enhancement New feature or request labels Jul 8, 2019
@ghuls
Copy link
Author

ghuls commented Jul 22, 2019

The gstreamer-player-sys crate requires gstreamer-player-1.0 which is provided by libgstreamer-plugins-bad1.0-dev.

I think this are all the needed dependencies:

apt-get gcc libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good libgstreamer-plugins-bad1.0-dev libsixel-bin

@rabite0
Copy link
Owner

rabite0 commented Jul 25, 2019

Thanks, just added this to the README.

Note that sixel is optional, if you don't want it you can disable it.

@rabite0 rabite0 closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants