pkgsrc-WIP-changes archive

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

Add a package for new scrot



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Mar 17 09:26:24 2026 +0100
Changeset:	83f6c84f8643bead030bd967aa7304b735bf2b40

Modified Files:
	Makefile
Added Files:
	scrot/COMMIT_MSG
	scrot/DESCR
	scrot/Makefile
	scrot/PLIST
	scrot/distinfo

Log Message:
Add a package for new scrot

I don't want to wait until after the freeze to use this.

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

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

diffstat:
 Makefile         |  1 +
 scrot/COMMIT_MSG | 14 ++++++++++++++
 scrot/DESCR      |  4 ++++
 scrot/Makefile   | 27 +++++++++++++++++++++++++++
 scrot/PLIST      | 12 ++++++++++++
 scrot/distinfo   |  5 +++++
 6 files changed, 63 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 916791e446..c264d87884 100644
--- a/Makefile
+++ b/Makefile
@@ -5371,6 +5371,7 @@ SUBDIR+=	scourge
 SUBDIR+=	scr2png
 SUBDIR+=	scrc
 SUBDIR+=	scrcpy
+SUBDIR+=	scrot
 SUBDIR+=	scsh-install-lib
 SUBDIR+=	scummvm-bass
 SUBDIR+=	scummvm-fotaq
diff --git a/scrot/COMMIT_MSG b/scrot/COMMIT_MSG
new file mode 100644
index 0000000000..3d542ab262
--- /dev/null
+++ b/scrot/COMMIT_MSG
@@ -0,0 +1,14 @@
+graphics/scrot: update to 2.0.0
+
+ - Fixes: --line mode=edge glitches under compositors (#423).
+ - Fixes: Selection border getting into the screenshot with --freeze (#409).
+ - Fixes: Ringing the bell after taking screenshot (#413).
+ - Fixes: Mutually exclusive zsh completion (#415).
+ - Improvement: Use Xrandr instead of Xinerama for monitor capture (#406).
+ - Improvement: Default line width is derived from the display DPI (#420).
+ - Improvement: Install zsh and bash completion by default (#415).
+ - Document: Correct description of $f and $m format specifier (#419).
+ - Document: Correct image magick example (#414).
+ - Document: Minimum required version for the required libraries (#420).
+ - Removed: --note and --script options (#420).
+ - Upgrade: Upgrade minimum requiring Imlib2 version to 1.11.0 (#420).
diff --git a/scrot/DESCR b/scrot/DESCR
new file mode 100644
index 0000000000..65cefc75ac
--- /dev/null
+++ b/scrot/DESCR
@@ -0,0 +1,4 @@
+scrot (SCReenshOT) is a simple command line screen capture
+utility that uses imlib2 to grab and save images. Multiple
+image formats are supported through imlib2's dynamic saver
+modules.
diff --git a/scrot/Makefile b/scrot/Makefile
new file mode 100644
index 0000000000..da938dcc8d
--- /dev/null
+++ b/scrot/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.51 2025/04/06 14:51:49 pin Exp $
+
+DISTNAME=	scrot-2.0.0
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=resurrecting-open-source-projects/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/resurrecting-open-source-projects/scrot
+COMMENT=	Command line screen capture util like "import", but using imlib2
+LICENSE=	mit
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+.  include "../../devel/libbsd/buildlink3.mk"
+.endif
+
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../x11/libXcomposite/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXfixes/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scrot/PLIST b/scrot/PLIST
new file mode 100644
index 0000000000..697b709e3c
--- /dev/null
+++ b/scrot/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+bin/scrot
+man/man1/scrot.1
+share/bash-completion/completions/scrot
+share/doc/scrot/AUTHORS
+share/doc/scrot/CONTRIBUTING.md
+share/doc/scrot/ChangeLog
+share/doc/scrot/FAQ.md
+share/doc/scrot/README.md
+share/doc/scrot/TODO.md
+share/doc/scrot/scrot.png
+share/zsh/site-functions/_scrot
diff --git a/scrot/distinfo b/scrot/distinfo
new file mode 100644
index 0000000000..af27f4ceac
--- /dev/null
+++ b/scrot/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.19 2025/04/06 14:51:49 pin Exp $
+
+BLAKE2s (scrot-2.0.0.tar.gz) = ffe610fd42fc7cb8a99eca7f4fa13f050cc7d3d42e531e768b33ddb1db17a7d5
+SHA512 (scrot-2.0.0.tar.gz) = 64352a074c97a8215578f4b1d3d4f5bc9d93517f0dd5e8925c4899ee47d4aa20ed22d3a0807c2673b4167c4d592527dd65815ee5ff7a60bd7f6c8b2466958395
+Size (scrot-2.0.0.tar.gz) = 187496 bytes


Home | Main Index | Thread Index | Old Index