m13253 / TermView

An image viewer in an ANSI terminal with 24-bit color support
GNU General Public License v3.0
6 stars 0 forks source link

Feature request: Make libopencv optional #1

Open clort81 opened 4 years ago

clort81 commented 4 years ago

not sure if it's possible but building this seems to require a lot of packages

libopencv-dev wants to pull in

libopencv-calib3d-dev libopencv-contrib-dev libopencv-features2d-dev libopencv-highgui-dev libopencv-objdetect-dev libopencv-stitching-dev libopencv-superres-dev libopencv-videoio-dev libopencv-videostab-dev libgphoto2-dev libgphoto2-6

and on my system libgphoto2-dev : Depends: libgphoto2-6 (= 2.5.22-3) but 2.5.23-2 is to be installed

Is it do-able to just pull-in needed opencv functions to a local header file?

cheers

m13253 commented 4 years ago

It is possible to reduce the dependencies. I just didn't care when I wrote this program -- I wanted to make the development quick.

And of course I can even eliminate the need of OpenCV if I can do the image loading and resampling all by myself. The use of OpenCV is solely for quick development.

If you have any idea about how to reduce the dependencies, please let me know.