Compare commits

..

No commits in common. "8d4398f07d883cdeaea18d39497991ac6189aa2f" and "e41a20fefd65667d2be29a1fc6f493a7b7e2541c" have entirely different histories.

8 changed files with 1 additions and 131 deletions

View file

@ -1,5 +1,5 @@
imcat: imcat.c imcat: imcat.c
$(CC) -D_POSIX_C_SOURCE=2 -std=c99 -Wall -g -o imcat imcat.c -lm cc -Wall -g -o imcat imcat.c -lm
run: imcat run: imcat
./imcat ~/Desktop/*.png ./imcat ~/Desktop/*.png
@ -7,18 +7,3 @@ run: imcat
clean: clean:
rm -f ./imcat rm -f ./imcat
install: imcat
install -d ${DESTDIR}/usr/bin
install -m 755 imcat ${DESTDIR}/usr/bin/
uninstall:
sudo rm -f ${DESTDIR}/usr/bin/imcat
tarball:
tar cvzf ../imcat_1.5.orig.tar.gz Makefile README.md stb_image.h imcat.c imcat.1 debian images
packageupload:
debuild -S
debsign ../imcat_1.5-1_source.changes
dput ppa:b-stolk/ppa ../imcat_1.5-1_source.changes

11
debian/changelog vendored
View file

@ -1,11 +0,0 @@
imcat (1.5-1) kinetic; urgency=medium
* Added manpage.
-- Bram Stolk <bram.stolk@canonical.com> Wed, 07 Sep 2022 18:16:00 -0700
imcat (1.4-1) kinetic; urgency=medium
* Initial release.
-- Bram Stolk <bram.stolk@canonical.com> Wed, 07 Sep 2022 14:10:00 -0700

15
debian/control vendored
View file

@ -1,15 +0,0 @@
Source: imcat
Section: contrib/utils
Priority: optional
Maintainer: Bram Stolk <bram.stolk@canonical.com>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13)
Standards-Version: 4.6.1
Homepage: https://github.com/stolk/imcat
Package: imcat
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Shows images in a terminal.
Shows images in a terminal console that supports 24 bit colour.

11
debian/copyright vendored
View file

@ -1,11 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: imcat
Upstream-Contact: Bram Stolk <b.stolk@gmail.com>
Source: https://github.com/stolk/imcat
Files: *
Copyright: 2021-2022 Bram Stolk <b.stolk@gmail.com>
License: CC0-1.0
License: CC0-1.0
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

View file

@ -1 +0,0 @@
imcat.1

20
debian/rules vendored
View file

@ -1,20 +0,0 @@
#!/usr/bin/make -f
# Output every command that modifies files on the build system.
export DH_VERBOSE = 1
# See FEATURE AREAS in dpkg-buildflags(1).
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# See ENVIRONMENT in dpkg-buildflags(1).
# Package maintainers to append CFLAGS.
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# Package maintainers to append LDFLAGS.
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@

View file

@ -1 +0,0 @@
3.0 (quilt)

56
imcat.1
View file

@ -1,56 +0,0 @@
'\" t
.\" Title: imcat
.\" Author: Bram Stolk <b.stolk@gmail.com>
.\" Date: 2019-03-04
.\" Manual: Imcat Executable Programs
.\" Source: imcat github
.\" Language: English
.\"
.TH "IMCAT" "1" "2019\-03\-04" "imcat github" "Imcat Executable Program"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.nh
.ad l
.\" -----------------------------------------------------------------
.SH "NAME"
imcat \- image concatenator for text terminals.
.SH "SYNOPSIS"
.HP \w'\fBimcat\fR\ 'u
\fBimcat\fR [\fB\fI\-options\fR\fR] \fB\fIINFILE\fR\fR...
.SH "DESCRIPTION"
.PP
\fBimcat\fR
displays the specified images on a text terminal that supports colour.
.SH "OPTIONS"
.PP
.PP
\fB\--help\fR
.RS 4
shows command line syntax.
.RE
.PP
.SH "ENVIRONMENT"
.PP
\fBIMCATBG\fR
.PP
Background colour to use when displaying transparent images.
Set this to the background colour of the terminal.
For instance, when using a white terminal background, like so:
.PP
$ export IMCATBG="#ffffff"
.br
$ imcat kitten.png
.PP
.SH "SEE ALSO"
.PP
\fBstty\fR(1)
.PP
Please visit github\&.com/stolk/imcat for more information
.SH "AUTHOR"
.PP
\fBBram Stolk\fR <b\&.stolk@gmail\&.com\&>
.RE
.SH "COPYRIGHT"
.br
Copyright \(co 2018-2019 Bram Stolk. Licensed under CC0.
.br