summaryrefslogtreecommitdiff
path: root/graphics/picat
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2022-02-22 10:11:01 +0000
committerpin <pin@pkgsrc.org>2022-02-22 10:11:01 +0000
commit4564f71b7005801bd65a648ec2baa5502f468d0b (patch)
treef655a7c2394fab254a33ccb75fec75e20aae9d43 /graphics/picat
parenta282ba9548467c8d484dc2d4e94dc7fd4e5e3f1d (diff)
downloadpkgsrc-4564f71b7005801bd65a648ec2baa5502f468d0b.tar.gz
graphics/picat: import package
picat - picture cat Picat converts images to sixel graphics, and outputs them to stdout. The tool achieves high quality output by making use of the libimagequant, https://pngquant.org/lib/ library for converting RGBA images to the sixel palette.
Diffstat (limited to 'graphics/picat')
-rw-r--r--graphics/picat/DESCR5
-rw-r--r--graphics/picat/Makefile21
-rw-r--r--graphics/picat/PLIST2
-rw-r--r--graphics/picat/cargo-depends.mk38
-rw-r--r--graphics/picat/distinfo113
5 files changed, 179 insertions, 0 deletions
diff --git a/graphics/picat/DESCR b/graphics/picat/DESCR
new file mode 100644
index 00000000000..117e79dd8e9
--- /dev/null
+++ b/graphics/picat/DESCR
@@ -0,0 +1,5 @@
+picat - picture cat
+Picat converts images to sixel graphics, and outputs them to stdout. The tool
+achieves high quality output by making use of the
+libimagequant, https://pngquant.org/lib/ library for converting RGBA images
+to the sixel palette.
diff --git a/graphics/picat/Makefile b/graphics/picat/Makefile
new file mode 100644
index 00000000000..794b2fcca1a
--- /dev/null
+++ b/graphics/picat/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/02/22 10:11:01 pin Exp $
+
+DISTNAME= picat-0.1.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=SimonPersson/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/SimonPersson/picat/
+COMMENT= Converts images to sixel graphics and outputs them to stdout
+LICENSE= mit
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/picat \
+ ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/picat/PLIST b/graphics/picat/PLIST
new file mode 100644
index 00000000000..5ca92544ea1
--- /dev/null
+++ b/graphics/picat/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/22 10:11:01 pin Exp $
+bin/picat
diff --git a/graphics/picat/cargo-depends.mk b/graphics/picat/cargo-depends.mk
new file mode 100644
index 00000000000..1e27b02c077
--- /dev/null
+++ b/graphics/picat/cargo-depends.mk
@@ -0,0 +1,38 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/02/22 10:11:01 pin Exp $
+
+CARGO_CRATE_DEPENDS+= adler-1.0.2
+CARGO_CRATE_DEPENDS+= adler32-1.2.0
+CARGO_CRATE_DEPENDS+= ahash-0.7.6
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= bitflags-1.3.2
+CARGO_CRATE_DEPENDS+= bytemuck-1.7.2
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= cc-1.0.72
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= color_quant-1.1.0
+CARGO_CRATE_DEPENDS+= crc32fast-1.2.2
+CARGO_CRATE_DEPENDS+= deflate-0.8.6
+CARGO_CRATE_DEPENDS+= fallible_collections-0.4.3
+CARGO_CRATE_DEPENDS+= getrandom-0.2.3
+CARGO_CRATE_DEPENDS+= gif-0.11.3
+CARGO_CRATE_DEPENDS+= hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+= image-0.23.14
+CARGO_CRATE_DEPENDS+= imagequant-3.1.0
+CARGO_CRATE_DEPENDS+= imagequant-sys-3.1.1+sys2.17.0
+CARGO_CRATE_DEPENDS+= jpeg-decoder-0.1.22
+CARGO_CRATE_DEPENDS+= lexopt-0.2.0
+CARGO_CRATE_DEPENDS+= libc-0.2.108
+CARGO_CRATE_DEPENDS+= miniz_oxide-0.3.7
+CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.4
+CARGO_CRATE_DEPENDS+= num-integer-0.1.44
+CARGO_CRATE_DEPENDS+= num-iter-0.1.42
+CARGO_CRATE_DEPENDS+= num-rational-0.3.2
+CARGO_CRATE_DEPENDS+= num-traits-0.2.14
+CARGO_CRATE_DEPENDS+= once_cell-1.8.0
+CARGO_CRATE_DEPENDS+= png-0.16.8
+CARGO_CRATE_DEPENDS+= rgb-0.8.29
+CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
+CARGO_CRATE_DEPENDS+= tiff-0.6.1
+CARGO_CRATE_DEPENDS+= version_check-0.9.3
+CARGO_CRATE_DEPENDS+= wasi-0.10.2+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+= weezl-0.1.5
diff --git a/graphics/picat/distinfo b/graphics/picat/distinfo
new file mode 100644
index 00000000000..827ab8bb256
--- /dev/null
+++ b/graphics/picat/distinfo
@@ -0,0 +1,113 @@
+$NetBSD: distinfo,v 1.1 2022/02/22 10:11:01 pin Exp $
+
+BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
+SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
+Size (adler-1.0.2.crate) = 12778 bytes
+BLAKE2s (adler32-1.2.0.crate) = 8bc63ca383f40390bb522c750ef33e14b5e49bc48eb0ec33a140f615c598a6df
+SHA512 (adler32-1.2.0.crate) = 8ed72612fb78e213fc92963fdae0508ef26988656c939e6c9cddccbe2658d4a956a8ae934d9658262a8b2687dc446b3f1ee7614128b440487c81e606526dfda3
+Size (adler32-1.2.0.crate) = 6411 bytes
+BLAKE2s (ahash-0.7.6.crate) = 5a260485860dccfc4af4ad41b107d11c1a1a0fadb036ef801484ecc98d4a6bc8
+SHA512 (ahash-0.7.6.crate) = 61354688b6fb096359faefb6f34be958cd2215d56b88c22c737d24183eaad433f811bc9e64f927e4852c87d2799c22fda82b55cfbef2ed6357ff74f0c4ffec68
+Size (ahash-0.7.6.crate) = 38030 bytes
+BLAKE2s (autocfg-1.0.1.crate) = 5ed71afef2e7ff6595833cf457df844e3f461a1b7a8f0d541b1b2c5c5e6394a0
+SHA512 (autocfg-1.0.1.crate) = 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+Size (autocfg-1.0.1.crate) = 12908 bytes
+BLAKE2s (bitflags-1.3.2.crate) = e3a3b45a4403823875a03dbda329ca16068fa8f847cef81987c6b780101f2415
+SHA512 (bitflags-1.3.2.crate) = 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+Size (bitflags-1.3.2.crate) = 23021 bytes
+BLAKE2s (bytemuck-1.7.2.crate) = a9fe2eb04448c1b73a2eaaf2564ba1fc838bdc545b3a8991aab1ec4e9e30266b
+SHA512 (bytemuck-1.7.2.crate) = fae361f5abe67215a7591d421a0b713b77b437123c56e21dd00421e95ab86d9dd9b0bf1daa6623b833ea65681fbeeb58f6feab9d323964304a3250f24df1ace2
+Size (bytemuck-1.7.2.crate) = 27489 bytes
+BLAKE2s (byteorder-1.4.3.crate) = 980d5e4ac6d39901b2368959edd7a811f91dbd5bcf899699f3885a5c5e492491
+SHA512 (byteorder-1.4.3.crate) = 8c8000eb8ecf40351c9ce36a3a8acd7a02f81786d1b11aab85adfeffa0f2267ed74df29b2ca5d1d38128484d1d3cad2b673aa0d0441dcd0620dfd3934bb888fa
+Size (byteorder-1.4.3.crate) = 22512 bytes
+BLAKE2s (cc-1.0.72.crate) = d7c813ce55ba3261f533abd6ff1428db11b296901bef18e733f859452d7705f9
+SHA512 (cc-1.0.72.crate) = e9a5b283b2a1fee1030009068c1f87291ec1dab7584a0892f27cc7e523c8fdfd5d986281d9aec1a00af706af1e61d7e64c245c74be7b39c8c022ae2d4f87de8d
+Size (cc-1.0.72.crate) = 57495 bytes
+BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+BLAKE2s (color_quant-1.1.0.crate) = 1aecde4105fac2b5caed5200763780f18edfcf9ddcbad72d63b41e149d1885ea
+SHA512 (color_quant-1.1.0.crate) = 690c928bda4b7b57425f38ea68ac89cde2473b7a91b7e62c04a8f2c5a0fa3505e26b065d48b7ad0a8bb491f92f600f896fefdad3ce0e86e43cbf4f9a89e94201
+Size (color_quant-1.1.0.crate) = 6649 bytes
+BLAKE2s (crc32fast-1.2.2.crate) = f0f5756780b6407d158b15d932854bf8e206e48d56c704c671ff9b4a22b4ebdc
+SHA512 (crc32fast-1.2.2.crate) = a8dd0ebc180acf47ea89391949c58c430751663c07fa2476176aed6a6e19f58c5737ce4afc1a7ab9781370eab6515f25416456b3fa77e475e2c8abdb3ae3e918
+Size (crc32fast-1.2.2.crate) = 38113 bytes
+BLAKE2s (deflate-0.8.6.crate) = 47224ae65c4f2171b14da3b556df0e1e794ae381fef9259d38e2779e4d86927f
+SHA512 (deflate-0.8.6.crate) = 7e2e23205c56cc4c834ade2a6a22b056253c32e29346907558117714a18d8433882a712711413addb15da79f9f59e089a06dfd680b756ab2725b500a49dc16b2
+Size (deflate-0.8.6.crate) = 62365 bytes
+BLAKE2s (fallible_collections-0.4.3.crate) = 6ac54bed1219955d856e89fa4c2ec0593803c8829212768b1fe20a880d5aba76
+SHA512 (fallible_collections-0.4.3.crate) = fa99a89131431a04676f72d44de16eaafa06f37f79ee5ce151ff4afeb4c1548550a68999f9f098b72fda4c39f1d711c605ab0d69b0e54c43086f8578cbd99730
+Size (fallible_collections-0.4.3.crate) = 48532 bytes
+BLAKE2s (getrandom-0.2.3.crate) = c451e4c9701d09c79572625708c12711e2a0a14a925b614b8be72f231a601f18
+SHA512 (getrandom-0.2.3.crate) = e6da64ed529cb0fc000b613f75187ed6b20f716e721d8a02ac2ae39c507fb9f6189ebb66b522d28584eff1e7e9efc274cad6bfe43f464f58053701e1d51c603d
+Size (getrandom-0.2.3.crate) = 26261 bytes
+BLAKE2s (gif-0.11.3.crate) = 271c498b468375ad279e39dfd4109dd68a44f7c41bbb3cdca078b6d858d7d49b
+SHA512 (gif-0.11.3.crate) = e581ce1e9099a7ebc913e20ace1cacb2c87a7fba178bce43bf7285fc1dc9b9eda55848204923cd18eaab9012a814232f9e587e4c0db6bad89cb91bf197591e46
+Size (gif-0.11.3.crate) = 36151 bytes
+BLAKE2s (hashbrown-0.11.2.crate) = abc7a6572c0284c484fdb4f678d265bc7a1571c78272b16a4a924565bc14063c
+SHA512 (hashbrown-0.11.2.crate) = c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
+Size (hashbrown-0.11.2.crate) = 85713 bytes
+BLAKE2s (image-0.23.14.crate) = 36a7116e2c3a5d5a4ebc29847743a68cac5220d7eba2cf19e2ac7f76014a2049
+SHA512 (image-0.23.14.crate) = 4eb07fd698c2d902979ab06ae0baef4a53db74da78493c45f0c32d5903c5399cb8a1a25a2e89bf504ffb612e8153eaba4ae41df3d17f02c27e7991fdca518f63
+Size (image-0.23.14.crate) = 226804 bytes
+BLAKE2s (imagequant-3.1.0.crate) = 13284fef2c00ee9b220745ebc359f39cbad3a681426f57dd992341d35917a130
+SHA512 (imagequant-3.1.0.crate) = 91c487cebfa72fac07d8d455317eddf288d4a2efbd06d6bfc6f457ccdf4c2a18d6a78bbf456fefd76c20621b8c6b1a638884df6419024be5d8dab52a4ad93fbc
+Size (imagequant-3.1.0.crate) = 21002 bytes
+BLAKE2s (imagequant-sys-3.1.1+sys2.17.0.crate) = f3058a4cc73447fed6687a711e8635f3b6c898cba49c4682e1008bfaeb167f11
+SHA512 (imagequant-sys-3.1.1+sys2.17.0.crate) = 0efe1690a6655c4e63d0126554b66139005cb894807cef890d2beaaeacfdb64f94e84525d02c41e2032a1e000e02bd708920605d7d12b29b7a749cc79038d32b
+Size (imagequant-sys-3.1.1+sys2.17.0.crate) = 96869 bytes
+BLAKE2s (jpeg-decoder-0.1.22.crate) = 7a875ec85cd521440b7952a1457e631ba03d11892ea6d4dce1c4a0f5da8599ab
+SHA512 (jpeg-decoder-0.1.22.crate) = 3edf415eb11909b7b16755f54c6a5b082200f81e6ce5dede413e41be221c8be5c14035a171fa1c21771c8d11f30cd990f57e6e98e3204e34e3f0e7ca2c3e38b4
+Size (jpeg-decoder-0.1.22.crate) = 228366 bytes
+BLAKE2s (lexopt-0.2.0.crate) = 11564020dc34eeb488f08a13e2ad165e5a93606f39cc5dd9883f4156826feddb
+SHA512 (lexopt-0.2.0.crate) = 21bddf7206080093511afbb361e39d1fc0964ac28bf75f67c7261aefc9e2358041468ce363a665d474ea3c6abfb1b8fbc3fe3dfcb033b125575414b2fff7daaa
+Size (lexopt-0.2.0.crate) = 21041 bytes
+BLAKE2s (libc-0.2.108.crate) = d91b2efef87721a8f42ad3f3b345c694b11a53c71fd9c262f2e49a183cbc1b31
+SHA512 (libc-0.2.108.crate) = a29f0c5cc7e4b653c2bc33c92dc90b5d3a7132d4409d6b92b94fa9fe1391d8cf57a63d339ca0602f2efac28d3dc3beb854cf9a6d03bf027fef5e5276fc5b1487
+Size (libc-0.2.108.crate) = 559475 bytes
+BLAKE2s (miniz_oxide-0.3.7.crate) = ff4e7beba126aa0942db2261163b8f129a58a239068f8aab2037d3bfdd35ad2e
+SHA512 (miniz_oxide-0.3.7.crate) = d4eff239f8d6e947b94619e80fe03ed32aabd1a6393f63145d70ed7f08c51c45c7261d8157bf61c78d1637ea1f71ef15f9813ec733efd8afe6aa14810888718e
+Size (miniz_oxide-0.3.7.crate) = 44996 bytes
+BLAKE2s (miniz_oxide-0.4.4.crate) = 46acb405ff6a26e8421ff8bb8000f4bb5f751fd824b4865147ec36a35f364f3c
+SHA512 (miniz_oxide-0.4.4.crate) = 2c6e484a8a53c6b1fb84e2bf9518919e6e5ba84e7716c0bb8e33b53dc0d3432c35f28f19c18368e27c94f6df66b7674f514ef889cf1b19f546bedfb6e6ebaf6f
+Size (miniz_oxide-0.4.4.crate) = 49938 bytes
+BLAKE2s (num-integer-0.1.44.crate) = fa6d646926fd6f152cf08933c1808c00cac80956fb97f477f59e390d82961312
+SHA512 (num-integer-0.1.44.crate) = d07e27ede02a1d007373935fd91e57a26e0e84ae14bbe24be66763baae6850788bd64ad2598d2bde4f4fad6c8a4675c40bfe0927164b16b9b69de5e9a83d9771
+Size (num-integer-0.1.44.crate) = 22216 bytes
+BLAKE2s (num-iter-0.1.42.crate) = defe0ec57ebf80418d0516455462889bf74ea9d1073f89597cea09c5c62b32b5
+SHA512 (num-iter-0.1.42.crate) = 46b0e05c4f4587121ec300da51cbf02e04ee8f8441eb4dcaab5a2ccee3b40210f1badde56addf053fb876aed3749dfb5f01e757042573fdf99defc77fb265f3e
+Size (num-iter-0.1.42.crate) = 10450 bytes
+BLAKE2s (num-rational-0.3.2.crate) = d3b83c738dc961fb7c04de26d502bff8bb2d981d51ae27a1fcacdde57df2a851
+SHA512 (num-rational-0.3.2.crate) = 31141c147ace16505cf63023d399ec7d6824b1cf3a31160419cc8ed8c9e4392993910419ac113b23913f710eff13f730d04328e66328375c61c28010718fb837
+Size (num-rational-0.3.2.crate) = 26359 bytes
+BLAKE2s (num-traits-0.2.14.crate) = 48d2aaed24229916ffd8a1ad6afe298ae4004fe76bde2ec2126bbce91485bbcf
+SHA512 (num-traits-0.2.14.crate) = c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e
+Size (num-traits-0.2.14.crate) = 45476 bytes
+BLAKE2s (once_cell-1.8.0.crate) = 470e772ff993357770098866a652eb8151d693ded8e8f967706f8b267a56acf0
+SHA512 (once_cell-1.8.0.crate) = 88e55c9433225ce85a08353168c87fca2237615482160a5c28f3ac17f06d48c63e0c21b5f7ef81f82ca133436e371802ea099453844f1c111003bcb6ba89e827
+Size (once_cell-1.8.0.crate) = 28925 bytes
+BLAKE2s (picat-0.1.0.tar.gz) = 854a15ecab7f0b9dc0312d8d36d41fd575e3844a2f45365e97633df09b03a279
+SHA512 (picat-0.1.0.tar.gz) = db07862497c71307d1b09c919d4c58764ae934bfcd51b5adbbfc5151a4ceb5b57806ec3466de40191eed43b92e317a88c3b226cd6ab9cb01e8f2bfb9291a94b6
+Size (picat-0.1.0.tar.gz) = 43115 bytes
+BLAKE2s (png-0.16.8.crate) = 8a25691dc9d8bf7f2745fd332de419d8cd31fbd19d1c45881f6e4f0f625b0b99
+SHA512 (png-0.16.8.crate) = df96f8580d8cc11df54788ff64ab3269b14369a467d7c29964a5b19add5e7a82258e6bfda40eedf135bffa98a2a86afbb725cd085cf37f6c433abf9a7485edee
+Size (png-0.16.8.crate) = 52598 bytes
+BLAKE2s (rgb-0.8.29.crate) = 310e55f8c9316ce035f5100bb53b35fd5668fa77290490d9899b3457115e31b9
+SHA512 (rgb-0.8.29.crate) = afc29c8b7fb3bb4d7b47316c3e415a6a2e0b6974430003d33992ecbba8b09fe2d479f8bf165b4d5ecdaec3dae0e87ec5f14e8d330086da11200a98edaeac3ee9
+Size (rgb-0.8.29.crate) = 15800 bytes
+BLAKE2s (scoped_threadpool-0.1.9.crate) = df94e6952fdc6f3e36bbe8ee6451835aec0553ccef54f8e43dd9b07508b91e72
+SHA512 (scoped_threadpool-0.1.9.crate) = df8034b347fb489735895d75e5489c264aea1b50f46a8dd512963df05cb9ba9274317b26aeca63b9b4edcf792e796659bad435ad3f3446cb397340e2bf0a5f33
+Size (scoped_threadpool-0.1.9.crate) = 7800 bytes
+BLAKE2s (tiff-0.6.1.crate) = 1e03651596c5a7cc4e990729345b84ce0dee51da6e405b4931d6880b453ad3d5
+SHA512 (tiff-0.6.1.crate) = ece5aaef610e0a7bcdea8c40571d497cd3ec79931e25129060b4f51cb40a28ef03fc131494bc841fa5b08eaa49a5acbc9332553cbc542019f1ec5eb5945d3538
+Size (tiff-0.6.1.crate) = 1399263 bytes
+BLAKE2s (version_check-0.9.3.crate) = 4f560ca94e86f6c27f91488f46e33630816faa21057a43c5cc1e04390d768d2e
+SHA512 (version_check-0.9.3.crate) = 4b3b428214a0322af536a18e6f050438398766af6589389f20a804121a6721962ba411e2dcfded60aaa74313128fb0e831bea31378e2695c29b29bdc24d7cbfd
+Size (version_check-0.9.3.crate) = 12547 bytes
+BLAKE2s (wasi-0.10.2+wasi-snapshot-preview1.crate) = a99255257c1a9724a1e5a6c5bde6fd95cc850c6bcd881d2030755acc62bb8c23
+SHA512 (wasi-0.10.2+wasi-snapshot-preview1.crate) = 06977a294d76369a3867c45abdd8a87ea5c84e5a3681075ba0d14af1aee3114ff24495c7e7f7fe1e6e42230e65fba0e062898e69bc89e0209af62c2d14094ec7
+Size (wasi-0.10.2+wasi-snapshot-preview1.crate) = 27505 bytes
+BLAKE2s (weezl-0.1.5.crate) = f0a863c78cf277e5cb11183a47e622a56e1a8f1dec1a927c74925da92b199feb
+SHA512 (weezl-0.1.5.crate) = 1fe4352dc8c773ac1297ba23ca3236dece6cec44887116afb1b3760dd0cf3ffcf5faae3aa98814775fddc38032c97c26a14684b47e7aa9deaecafe8c908e0735
+Size (weezl-0.1.5.crate) = 34944 bytes