summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-06-11 13:33:22 +0000
committernia <nia@pkgsrc.org>2022-06-11 13:33:22 +0000
commitd65a3a25dd1a217dd6ca71fcc60e1160087073a6 (patch)
tree9636c47ba38a6fb345774c5f381f3a62bc47c5c8
parentf21a5d276c346bbd1b01209076862edf1e2df298 (diff)
downloadpkgsrc-d65a3a25dd1a217dd6ca71fcc60e1160087073a6.tar.gz
scrot: update to 1.7. take maintainership.
Version 1.7 * Fixed: code style, add missing final newline. * Fixed: autogen.sh: fix some shellcheck issues. * Replace insecure c-strings functions (following libbsd integration). * New option: --select=hole (-shole), hole selection area. * New option: --select=hide (-shide), hide selection area, support image. * New option: --select=blur (-sblur), blur selection area. * New option: (-) add redirection to standard output (format PNG). * Improvement option: --stack, add an optional join direction (v/h). * Fixed: free memory image and font resources. * Bug fixed: segfault if mouse cursor image was not obtained. * Use err/warn functions (following libbsd integration). * Others various code improvement. * Added new library dependency: libbsd. * Autotools: added option --without-libbsd. * Improvement: Autotools: remove unused files, remove obsolete macros, assume C89 functions exist, delete scrot.spec. * Improvement: remove unused C macro, use strndup function, use designated initializers (C99). * Improvement: Doc: polish the txt2man manual, CONTRIBUTING.md, TODO.md. * Others various code improvement. * New option: --file (-F), provide the filename as an option. * Fixed: code style guideline violations (WebKit). * Use strlcpy/strlcat (following libbsd integration). * Fixed a mistake in README.md. * Convert all source files to the WebKit style. * New option: --ignorekeyboard (-i), Don't exit for keyboard input. ESC still exits.
-rw-r--r--graphics/scrot/Makefile10
-rw-r--r--graphics/scrot/distinfo8
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile
index 7778430178b..0efc496e877 100644
--- a/graphics/scrot/Makefile
+++ b/graphics/scrot/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.42 2021/08/14 08:12:46 nia Exp $
+# $NetBSD: Makefile,v 1.43 2022/06/11 13:33:22 nia Exp $
-DISTNAME= scrot-1.6
+DISTNAME= scrot-1.7
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=resurrecting-open-source-projects/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/resurrecting-open-source-projects/scrot
COMMENT= Command line screen capture util like "import", but using imlib2
LICENSE= mit
@@ -13,6 +13,10 @@ 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"
diff --git a/graphics/scrot/distinfo b/graphics/scrot/distinfo
index b5b8eb6c156..55ce40ce76d 100644
--- a/graphics/scrot/distinfo
+++ b/graphics/scrot/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:46:54 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/06/11 13:33:22 nia Exp $
-BLAKE2s (scrot-1.6.tar.gz) = edce4b38b884cca0605907e4b1ff309380f6c9a6b815c74a0d32519718e23e99
-SHA512 (scrot-1.6.tar.gz) = 5ecdefe2a8dce5150ef7d7af0cc8cc8a8396dccff2a321c02d633629a60ac6fc90286268b74afad7987ca16ccce30d0b1f87e7b7217738af52d1a6003c316606
-Size (scrot-1.6.tar.gz) = 182032 bytes
+BLAKE2s (scrot-1.7.tar.gz) = f4d7d487ca9cde1099dc40b60f4af3ed05be6bd86eff802a42000d750b8a5e1b
+SHA512 (scrot-1.7.tar.gz) = 3ef2b547d561a85213ef0075af3034020f00168253d3b84ef94578f0b8534f9a7389c808f8fcd0c619358a14f41601fee407d08d63c397b9892ba9fc2db23f88
+Size (scrot-1.7.tar.gz) = 178463 bytes