Package Details: imgcat-git 2.6.0.r281.2ff5475-2

Git Clone URL: https://aur.archlinux.org/imgcat-git.git (read-only, click to copy)
Package Base: imgcat-git
Description: It's like cat, but for images
Upstream URL: https://github.com/eddieantonio/imgcat
Licenses: ISC
Submitter: jat255
Maintainer: deneb
Last Packager: deneb
Votes: 3
Popularity: 0.000000
First Submitted: 2019-04-16 15:52 (UTC)
Last Updated: 2024-04-17 23:06 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

Wennadocta commented on 2022-11-07 08:47 (UTC)

Doesn't build now:

==> Validating source files with md5sums...
    imgcat ... Skipped
==> Extracting sources...
  -> Creating working copy of imgcat git repo...
Cloning into 'imgcat'...
done.
==> Starting pkgver()...
==> Starting build()...
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for term.h... yes
checking for sysexits.h... yes
checking to compile C++ with -std=c++11... yes
checking to link with libncurses [using tigetnum()]... yes
checking to link with libpng using pkg-config [using png_create_info_struct()]... yes
checking to link with libjpeg using pkg-config [using jpeg_set_defaults()]... yes
checking for pandoc... no
warning: ignoring requirement for pandoc...
creating config.mk
creating src/config.h
creating src/cimg_config.h
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -std=c11 -Wall -I/usr/include/libpng16     -c -MMD -MP -o src/imgcat.o src/imgcat.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -std=c11 -Wall -I/usr/include/libpng16     -c -MMD -MP -o src/print_image.o src/print_image.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -std=c11 -Wall -I/usr/include/libpng16     -c -MMD -MP -o src/rgbtree.o src/rgbtree.c
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -Wall -I/usr/include/libpng16   -Wno-char-subscripts -I./CImg   -c -MMD -MP -o src/load_image.o src/load_image.cc
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now src/imgcat.o src/print_image.o src/rgbtree.o src/load_image.o  -lncurses -lpng16  -ljpeg  -ltermcap -lm -lpthread -o imgcat
/usr/bin/ld: cannot find -ltermcap: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:81: imgcat] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

gbin commented on 2021-10-11 17:24 (UTC)

This package failed to build without termcap on my machine so I propose to add the dependency:

commit e4e6ce223f0e2b97419edc9197e23a94db2cddc9 (HEAD -> master)
Author: Guillaume Binet <gbin@gootz.net>
Date:   Mon Oct 11 13:18:32 2021 -0400

    add termcap dependency.

diff --git a/PKGBUILD b/PKGBUILD
index a2fbc7f..5da356f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@ pkgdesc="It's like cat, but for images"
 arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
 url="https://github.com/eddieantonio/imgcat"
 license=('ISC')
-depends=('ncurses' 'libjpeg' 'libpng')
-makedepends=('cimg' 'git')  
+depends=('ncurses' 'libjpeg' 'libpng' 'termcap')
+makedepends=('cimg' 'git')
 source=("git+https://github.com/eddieantonio/${pkgname%-git}.git")
 md5sums=('SKIP')

jat255 commented on 2020-10-25 18:00 (UTC)

@greut and @gavinbeatty, I don't actually use this program any longer, so I have disowned the AUR build. Please feel free to adopt it if you would like to maintain it.

gavinbeatty commented on 2020-10-25 17:42 (UTC)

arch=(any) implies the built package is architecture agnostic. But this is an executable built from C code, so for example, imgcat built on x86_64 will not run on i686.

arch=(i686 x86_64) would be more appropriate, or arch=(i686 x86_64 armv6h armv7h aarch64) if it also works on those arm architectures.

greut commented on 2020-10-25 10:03 (UTC)

cimg seems to be missing from the build dependencies.