pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jj-fzf: add



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Apr 4 23:09:09 2025 +0200
Changeset:	af23581a686ef3f85d04991d8e87f09b9abd44e6

Modified Files:
	Makefile
Added Files:
	jj-fzf/DESCR
	jj-fzf/Makefile
	jj-fzf/PLIST
	jj-fzf/distinfo

Log Message:
jj-fzf: add

finished package, please test for usefulness

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=af23581a686ef3f85d04991d8e87f09b9abd44e6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  8 ++++++++
 jj-fzf/DESCR    | 13 +++++++++++++
 jj-fzf/Makefile | 32 ++++++++++++++++++++++++++++++++
 jj-fzf/PLIST    |  3 +++
 jj-fzf/distinfo |  5 +++++
 5 files changed, 61 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 226ede0ad5..bea7af4e40 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ SUBDIR+=	ARC
 SUBDIR+=	Aseprite
 SUBDIR+=	Bear
 SUBDIR+=	Chinput
+SUBDIR+=	Coin
 SUBDIR+=	CuraEngine
 SUBDIR+=	ETL
 SUBDIR+=	FLIF
@@ -235,6 +236,7 @@ SUBDIR+=	ascii2binary
 SUBDIR+=	asm-lsp
 SUBDIR+=	aspell-dictionaries
 SUBDIR+=	asql
+SUBDIR+=	aster
 SUBDIR+=	asterisk11-vicidial
 SUBDIR+=	astguiclient-vicidial
 SUBDIR+=	asymptote
@@ -1502,6 +1504,7 @@ SUBDIR+=	haxor-news
 SUBDIR+=	haydar-fonts
 SUBDIR+=	haze
 SUBDIR+=	hcloud
+SUBDIR+=	hdf5_110
 SUBDIR+=	hdparm
 SUBDIR+=	heaptrack
 SUBDIR+=	heatshrink
@@ -1700,6 +1703,7 @@ SUBDIR+=	i686-elf-binutils
 SUBDIR+=	i686-elf-gcc
 SUBDIR+=	iText
 SUBDIR+=	iTextXML
+SUBDIR+=	ibm-semeru-jdk21
 SUBDIR+=	ibus-tutcode
 SUBDIR+=	ical2pcal
 SUBDIR+=	icann-rdap
@@ -1842,6 +1846,7 @@ SUBDIR+=	jira-cli-git
 SUBDIR+=	jitsi
 SUBDIR+=	jitsi-meet
 SUBDIR+=	jitsi-sctp
+SUBDIR+=	jj-fzf
 SUBDIR+=	jjui
 SUBDIR+=	jlibtool
 SUBDIR+=	jmol
@@ -2332,6 +2337,7 @@ SUBDIR+=	mcwm
 SUBDIR+=	mdadm
 SUBDIR+=	mdbtools
 SUBDIR+=	mdpress
+SUBDIR+=	med
 SUBDIR+=	mediawiki-mode
 SUBDIR+=	meka-git
 SUBDIR+=	melonds
@@ -4353,6 +4359,7 @@ SUBDIR+=	py-pipenv-setup
 SUBDIR+=	py-pipfile
 SUBDIR+=	py-piquant
 SUBDIR+=	py-pithos
+SUBDIR+=	py-pivy
 SUBDIR+=	py-pixiedust
 SUBDIR+=	py-plac
 SUBDIR+=	py-plete
@@ -4468,6 +4475,7 @@ SUBDIR+=	py-pyside
 SUBDIR+=	py-pyside-setup
 SUBDIR+=	py-pyside-shiboken
 SUBDIR+=	py-pyside-tools
+SUBDIR+=	py-pyside6
 SUBDIR+=	py-pyslha
 SUBDIR+=	py-pyspark
 SUBDIR+=	py-pysph
diff --git a/jj-fzf/DESCR b/jj-fzf/DESCR
new file mode 100644
index 0000000000..2d47e6bc33
--- /dev/null
+++ b/jj-fzf/DESCR
@@ -0,0 +1,13 @@
+JJ-FZF is a text UI for jj based on fzf, implemented as a bash
+shell script.
+
+The main view centers around `jj log`, providing previews for the
+`jj diff` or `jj obslog` of every revision.
+
+Several key bindings are available to quickly perform actions such
+as squashing, swapping, rebasing, splitting, branching, committing,
+abandoning revisions and more.
+
+A separate view for the operations log `jj op log` enables fast
+previews of old commit histories or diffs between operations, making
+it easy to `jj undo` any previous operation.
diff --git a/jj-fzf/Makefile b/jj-fzf/Makefile
new file mode 100644
index 0000000000..a930ddf5ea
--- /dev/null
+++ b/jj-fzf/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	jj-fzf-0.25.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=tim-janik/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/tim-janik/jj-fzf/
+COMMENT=	Text UI for Jujutsu based on fzf
+LICENSE=	mpl-2.0
+
+#TOOL_DEPENDS+=	shellcheck-[0-9]*:../../shells/shellcheck
+DEPENDS+=	jj-[0-9]*:../../devel/jj
+DEPENDS+=	fzf-[0-9]*:../../sysutils/fzf
+
+USE_LANGUAGES=	# none
+USE_TOOLS+=	gmake bash:run
+MAKE_FLAGS+=	SHELL=${BASH}
+
+REPLACE_BASH+=	jj-fzf
+
+INSTALLATION_DIRS+=	bin share/doc/jj-fzf
+
+# https://github.com/tim-janik/jj-fzf/issues/7
+do-build:
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/jj-fzf ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/jj-fzf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/jj-fzf/PLIST b/jj-fzf/PLIST
new file mode 100644
index 0000000000..6702d96ba1
--- /dev/null
+++ b/jj-fzf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/jj-fzf
+share/doc/jj-fzf/README.md
diff --git a/jj-fzf/distinfo b/jj-fzf/distinfo
new file mode 100644
index 0000000000..5dacfec51c
--- /dev/null
+++ b/jj-fzf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (jj-fzf-0.25.0.tar.gz) = 9f8793b0c542af600a45bdbe70dc7af286f391e8bf5c1f47056de59292f62c1e
+SHA512 (jj-fzf-0.25.0.tar.gz) = 13838921e4e89ddf8865998a75b3a526e0d636af4f73cebb1bca8a8cd2c6ff8d3729b7f2698a8da5f547fb1ce7bc050ac3f472eca9a8fed21566db6df9afea20
+Size (jj-fzf-0.25.0.tar.gz) = 44967 bytes


Home | Main Index | Thread Index | Old Index