Compare commits
10 commits
e41a20fefd
...
8d4398f07d
Author | SHA1 | Date | |
---|---|---|---|
|
8d4398f07d | ||
|
4aa62787a6 | ||
|
afc7dc17eb | ||
|
8dde00d8e5 | ||
|
7619be0708 | ||
|
218d97541c | ||
|
ee82fdbbc3 | ||
|
3276c68071 | ||
|
710202f191 | ||
|
0cf4c6de35 |
8 changed files with 131 additions and 1 deletions
17
Makefile
17
Makefile
|
@ -1,5 +1,5 @@
|
|||
imcat: imcat.c
|
||||
cc -Wall -g -o imcat imcat.c -lm
|
||||
$(CC) -D_POSIX_C_SOURCE=2 -std=c99 -Wall -g -o imcat imcat.c -lm
|
||||
|
||||
run: imcat
|
||||
./imcat ~/Desktop/*.png
|
||||
|
@ -7,3 +7,18 @@ run: imcat
|
|||
clean:
|
||||
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
Normal file
11
debian/changelog
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
Normal file
15
debian/control
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
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
Normal file
11
debian/copyright
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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.
|
1
debian/imcat.manpages
vendored
Normal file
1
debian/imcat.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
imcat.1
|
20
debian/rules
vendored
Executable file
20
debian/rules
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/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 $@
|
||||
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
56
imcat.1
Normal file
56
imcat.1
Normal file
|
@ -0,0 +1,56 @@
|
|||
'\" 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
|
Loading…
Reference in a new issue