Package Details: hiptext-gif 0.2-2

Git Clone URL: https://aur.archlinux.org/hiptext-gif.git (read-only, click to copy)
Package Base: hiptext-gif
Description: Command line tool for rendering images and videos inside terminals (w/ gif patch).
Upstream URL: https://github.com/jart/hiptext
Licenses: GPL
Conflicts: hiptext
Provides: hiptext
Submitter: DanielNak
Maintainer: DanielNak
Last Packager: DanielNak
Votes: 0
Popularity: 0.000000
First Submitted: 2020-01-16 04:14 (UTC)
Last Updated: 2022-03-02 23:34 (UTC)

Latest Comments

DanielNak commented on 2022-06-23 19:21 (UTC)

@m040601 looks like the problem is just that the project is unmaintained. Looks like the author created a new project to the same thing better as mentioned in this git issue: https://github.com/jart/hiptext/issues/57

I'll be abandoning this aur package and probably making a new one for the other project if it doesn't exist.

m040601 commented on 2022-06-23 12:51 (UTC) (edited on 2022-06-23 13:06 (UTC) by m040601)

Thanks for providing this PKGBUILD. I was curious about this tool, and unfortunately, the other PKGBUILD "hiptext" seems abandoned, https://aur.archlinux.org/packages/hiptext . Maybe you have also interest in adopting it ?

Upstream development, https://github.com/jart/hiptext, also seems to have stopped, last release was 2016. But there was a commit in 2021

Commits on Dec 4, 2021

    Update movie.cc (#52) 

WindProphet committed on Dec 4, 2021 

Anyway, I tried this "hiptext-gif". All seemed to go well, downloading, verifying, checking dependencies etc.

But it is currently failing with,

src/movie.cc:34:44: error: invalid conversion from ‘AVCodec**’ to ‘const AVCodec**’ [-fpermissive]
   34 |       format_, AVMEDIA_TYPE_VIDEO, -1, -1, &codec_, 0);
      |                                            ^~~~~~~
      |                                            |
      |                                            AVCodec**
In file included from src/movie.cc:10:
/usr/include/libavformat/avformat.h:2165:41: note:   initializing argument 5 of ‘int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int)’
 2165 |                         const AVCodec **decoder_ret,
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
src/movie.cc:36:47: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   36 |   context_ = format_->streams[video_stream_]->codec;

src/movie.cc: In static member function ‘static void Movie::InitializeMain()’:
src/movie.cc:125:3: error: ‘avcodec_register_all’ was not declared in this scope
  125 |   avcodec_register_all();
      |   ^~~~~~~~~~~~~~~~~~~~
src/movie.cc:126:3: error: ‘av_register_all’ was not declared in this scope
  126 |   av_register_all();
      |   ^~~~~~~~~~~~~~~
make: *** [Makefile:1038: src/libhiptext_a-movie.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
(1/2) removing ragel                               [##########################] 100%
(2/2) removing libpng12                            [##########################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> error making: hiptext-gif

Maybe the problem is in those "avXXX" related things ? Avcodec ?

This is just an extract. Hope it helps to diagnose, as I myself have very limited knowledge of compiling and AUR PKGBUILD's.