Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2023 22:24:12 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c84bcb76f0f7 - main - textproc/code-minimap: New port textproc/code-minimap
Message-ID:  <202303062224.326MOCXT000450@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c84bcb76f0f76d2f56cf25953c42eeac8dbe4419

commit c84bcb76f0f76d2f56cf25953c42eeac8dbe4419
Author:     Derek Schrock <dereks@lifeofadishwasher.com>
AuthorDate: 2023-03-04 20:38:06 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-06 22:23:44 +0000

    textproc/code-minimap: New port textproc/code-minimap
    
    A high performance code minimap render.
    
    This tool [1] is for generating text minimaps at speed. You can use it
    to implement IDE-like minimap plugin for a terminal text editor,
    minimap.vim [2] for example.
    
    [1] https://github.com/wfxr/code-minimap
    [2] https://github.com/wfxr/minimap.vim
    
    Submitter becomes maintainer.  Already maintainer of other ports.
    
    PR:             269951
---
 textproc/Makefile               |  1 +
 textproc/code-minimap/Makefile  | 81 ++++++++++++++++++++++++++++++++++++++++
 textproc/code-minimap/distinfo  | 83 +++++++++++++++++++++++++++++++++++++++++
 textproc/code-minimap/pkg-descr |  3 ++
 4 files changed, 168 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 3b0a5f1a759f..f053af486b83 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -104,6 +104,7 @@
     SUBDIR += clucene
     SUBDIR += cmark
     SUBDIR += coccigrep
+    SUBDIR += code-minimap
     SUBDIR += code2html
     SUBDIR += codesearch
     SUBDIR += codespell
diff --git a/textproc/code-minimap/Makefile b/textproc/code-minimap/Makefile
new file mode 100644
index 000000000000..46d3dcaea230
--- /dev/null
+++ b/textproc/code-minimap/Makefile
@@ -0,0 +1,81 @@
+PORTNAME=	code-minimap
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.6.4
+CATEGORIES=	textproc
+
+MAINTAINER=	dereks@lifeofadishwasher.com
+COMMENT=	High performance code minimap render
+WWW=		https://github.com/wfxr/code-minimap
+
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
+
+USES=		cargo
+USE_GITHUB=	yes
+GH_ACCOUNT=	wfxr
+
+CARGO_CRATES=	anyhow-1.0.52 \
+		atty-0.2.14 \
+		autocfg-1.0.1 \
+		bitflags-1.2.1 \
+		cfg-if-1.0.0 \
+		clap-3.0.0 \
+		clap_complete-3.0.0 \
+		clap_derive-3.0.0 \
+		either-1.6.1 \
+		hashbrown-0.11.2 \
+		heck-0.3.2 \
+		hermit-abi-0.1.18 \
+		indexmap-1.7.0 \
+		itertools-0.10.3 \
+		lazy_static-1.4.0 \
+		libc-0.2.88 \
+		memchr-2.4.1 \
+		os_str_bytes-6.0.0 \
+		proc-macro-error-1.0.4 \
+		proc-macro-error-attr-1.0.4 \
+		proc-macro2-1.0.28 \
+		quote-1.0.9 \
+		rstest-0.12.0 \
+		rustc_version-0.4.0 \
+		rustversion-1.0.6 \
+		semver-1.0.4 \
+		strsim-0.10.0 \
+		strum-0.23.0 \
+		strum_macros-0.23.1 \
+		syn-1.0.80 \
+		termcolor-1.1.2 \
+		terminal_size-0.1.17 \
+		textwrap-0.14.2 \
+		unicode-segmentation-1.7.1 \
+		unicode-xid-0.2.1 \
+		version_check-0.9.2 \
+		winapi-0.3.9 \
+		winapi-i686-pc-windows-gnu-0.4.0 \
+		winapi-util-0.1.5 \
+		winapi-x86_64-pc-windows-gnu-0.4.0
+
+PLIST_FILES=	bin/code-minimap \
+		etc/bash_completion.d/code-minimap \
+		share/fish/vendor_completions.d/code-minimap \
+		share/zsh/site-functions/code-minimap
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/code-minimap
+
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ \
+		 ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ \
+		 ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
+
+	${STAGEDIR}${PREFIX}/bin/code-minimap completion bash > \
+		${STAGEDIR}${PREFIX}/etc/bash_completion.d/code-minimap
+
+	${STAGEDIR}${PREFIX}/bin/code-minimap completion fish > \
+		${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/code-minimap
+
+	${STAGEDIR}${PREFIX}/bin/code-minimap completion zsh > \
+		${STAGEDIR}${PREFIX}/share/zsh/site-functions/code-minimap
+
+.include <bsd.port.mk>
diff --git a/textproc/code-minimap/distinfo b/textproc/code-minimap/distinfo
new file mode 100644
index 000000000000..3cc0e04c6b41
--- /dev/null
+++ b/textproc/code-minimap/distinfo
@@ -0,0 +1,83 @@
+TIMESTAMP = 1677881604
+SHA256 (rust/crates/anyhow-1.0.52.crate) = 84450d0b4a8bd1ba4144ce8ce718fbc5d071358b1e5384bace6536b3d1f2d5b3
+SIZE (rust/crates/anyhow-1.0.52.crate) = 44224
+SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
+SIZE (rust/crates/atty-0.2.14.crate) = 5470
+SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
+SIZE (rust/crates/autocfg-1.0.1.crate) = 12908
+SHA256 (rust/crates/bitflags-1.2.1.crate) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
+SIZE (rust/crates/bitflags-1.2.1.crate) = 16745
+SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
+SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
+SHA256 (rust/crates/clap-3.0.0.crate) = d17bf219fcd37199b9a29e00ba65dfb8cd5b2688b7297ec14ff829c40ac50ca9
+SIZE (rust/crates/clap-3.0.0.crate) = 189026
+SHA256 (rust/crates/clap_complete-3.0.0.crate) = 60d123fbea4c5d9799cffd44051e2125c880efd23b3b7c529baf3ea5508c8736
+SIZE (rust/crates/clap_complete-3.0.0.crate) = 22154
+SHA256 (rust/crates/clap_derive-3.0.0.crate) = e1b9752c030a14235a0bd5ef3ad60a1dcac8468c30921327fc8af36b20c790b9
+SIZE (rust/crates/clap_derive-3.0.0.crate) = 24684
+SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457
+SIZE (rust/crates/either-1.6.1.crate) = 13641
+SHA256 (rust/crates/hashbrown-0.11.2.crate) = ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e
+SIZE (rust/crates/hashbrown-0.11.2.crate) = 85713
+SHA256 (rust/crates/heck-0.3.2.crate) = 87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac
+SIZE (rust/crates/heck-0.3.2.crate) = 54718
+SHA256 (rust/crates/hermit-abi-0.1.18.crate) = 322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c
+SIZE (rust/crates/hermit-abi-0.1.18.crate) = 9936
+SHA256 (rust/crates/indexmap-1.7.0.crate) = bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5
+SIZE (rust/crates/indexmap-1.7.0.crate) = 50363
+SHA256 (rust/crates/itertools-0.10.3.crate) = a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3
+SIZE (rust/crates/itertools-0.10.3.crate) = 118661
+SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
+SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
+SHA256 (rust/crates/libc-0.2.88.crate) = 03b07a082330a35e43f63177cc01689da34fbffa0105e1246cf0311472cac73a
+SIZE (rust/crates/libc-0.2.88.crate) = 514138
+SHA256 (rust/crates/memchr-2.4.1.crate) = 308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a
+SIZE (rust/crates/memchr-2.4.1.crate) = 64977
+SHA256 (rust/crates/os_str_bytes-6.0.0.crate) = 8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64
+SIZE (rust/crates/os_str_bytes-6.0.0.crate) = 21046
+SHA256 (rust/crates/proc-macro-error-1.0.4.crate) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c
+SIZE (rust/crates/proc-macro-error-1.0.4.crate) = 25293
+SHA256 (rust/crates/proc-macro-error-attr-1.0.4.crate) = a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869
+SIZE (rust/crates/proc-macro-error-attr-1.0.4.crate) = 7971
+SHA256 (rust/crates/proc-macro2-1.0.28.crate) = 5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612
+SIZE (rust/crates/proc-macro2-1.0.28.crate) = 38732
+SHA256 (rust/crates/quote-1.0.9.crate) = c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7
+SIZE (rust/crates/quote-1.0.9.crate) = 25042
+SHA256 (rust/crates/rstest-0.12.0.crate) = d912f35156a3f99a66ee3e11ac2e0b3f34ac85a07e05263d05a7e2c8810d616f
+SIZE (rust/crates/rstest-0.12.0.crate) = 919939
+SHA256 (rust/crates/rustc_version-0.4.0.crate) = bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366
+SIZE (rust/crates/rustc_version-0.4.0.crate) = 12175
+SHA256 (rust/crates/rustversion-1.0.6.crate) = f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f
+SIZE (rust/crates/rustversion-1.0.6.crate) = 18380
+SHA256 (rust/crates/semver-1.0.4.crate) = 568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012
+SIZE (rust/crates/semver-1.0.4.crate) = 29375
+SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
+SIZE (rust/crates/strsim-0.10.0.crate) = 11355
+SHA256 (rust/crates/strum-0.23.0.crate) = cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb
+SIZE (rust/crates/strum-0.23.0.crate) = 5429
+SHA256 (rust/crates/strum_macros-0.23.1.crate) = 5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38
+SIZE (rust/crates/strum_macros-0.23.1.crate) = 18203
+SHA256 (rust/crates/syn-1.0.80.crate) = d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194
+SIZE (rust/crates/syn-1.0.80.crate) = 234102
+SHA256 (rust/crates/termcolor-1.1.2.crate) = 2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4
+SIZE (rust/crates/termcolor-1.1.2.crate) = 17287
+SHA256 (rust/crates/terminal_size-0.1.17.crate) = 633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df
+SIZE (rust/crates/terminal_size-0.1.17.crate) = 9141
+SHA256 (rust/crates/textwrap-0.14.2.crate) = 0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80
+SIZE (rust/crates/textwrap-0.14.2.crate) = 52016
+SHA256 (rust/crates/unicode-segmentation-1.7.1.crate) = bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796
+SIZE (rust/crates/unicode-segmentation-1.7.1.crate) = 93066
+SHA256 (rust/crates/unicode-xid-0.2.1.crate) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564
+SIZE (rust/crates/unicode-xid-0.2.1.crate) = 14392
+SHA256 (rust/crates/version_check-0.9.2.crate) = b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed
+SIZE (rust/crates/version_check-0.9.2.crate) = 11979
+SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
+SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178
+SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (wfxr-code-minimap-v0.6.4_GH0.tar.gz) = 4e2f15e4a0f7bd31e33f1c423e3120318e13de1b6800ba673037e38498b3a423
+SIZE (wfxr-code-minimap-v0.6.4_GH0.tar.gz) = 20042
diff --git a/textproc/code-minimap/pkg-descr b/textproc/code-minimap/pkg-descr
new file mode 100644
index 000000000000..1b053578ca31
--- /dev/null
+++ b/textproc/code-minimap/pkg-descr
@@ -0,0 +1,3 @@
+A high performance code minimap render.  This tool is for generating text
+minimaps at speed. You can use it to implement IDE-like minimap plugin for a
+terminal text editor, minimap.vim for example.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303062224.326MOCXT000450>