Up to [cvs.NetBSD.org] / pkgsrc / graphics / scrot
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
graphics/scrot: update to 1.11.1 1.11.1 - Minor fix in Makefile.am 1.11 - New feature: zsh and bash completion - Improvement: more detailed --help output and new --list-options flag - Improvement: better error reporting on newer imlib2 versions - Improvement: better handle mutually exclusive options - Improvement: --stack no longer errors out if no compositor is running - Improvement: print a warning if output file was changed - Improvement: default file-name extension is now based on the format used - Improvement: selection line mode will be automatically set to "edge" mode if no compositors is running - Improvement: rewrite autogen.sh to be simpler and more robust - Document: add examples of using scrot with other utilities in manpage - Document: Correct strftime section in the manual - Fixes: selection borders appearing in the screenshot - Fixes: reject filenames with trailing slash - Fixes: incorrect line opacity mapping - Fixes: don't return 0 on exec failure - Fixes: bad extension detection - Fixes: stricter optional argument parsing - Fixes: buffer overrun due to bad x,y in imlib_create_image_from_ximage call - Fixes: printing potentially truncated file-size - Fixes: various memory leaks - Fixes: replace dprintf() calls to fix the SmartOS port
*: revebump for new brotli option for freetype2 Addresses PR 57693
*: Recursive revbump from devel/libmd This affects all packages requiring libbsd/libmd on Linux.
graphics/scrot: update to 1.10 1.10 - New option: --compression to specify a compression level. Note that certain formats (such as PNG) will now use --compression instead of --quality. - Improvement: Timing in scrot --delay. - Improvement: Screenshot timestamps timing. - Improvement: Robustness of default CFLAGS. - Document: Not all compositors support opacity. - Document: Depend on an interface, not an implementation. - Document: Fixed license to MIT-feh. NOTE: this is NOT a license change, we simply fixed the document to correctly identify the license. - Document: Make it clear --window option takes an argument. - Document: Clarify imlib2 feature requirement. - Document: Fix --quality description in manpage. - Improvement: Use -O3 and do not build debug info by default if no CFLAGS was set by the user. - Improvement: Fatally error out in case the mouse pointer image cannot be acquired. - Deprecate: --note. - Fixes: Memory leak. - Several other fixes. 1.9 - Fixes: Add delay to all capture options - New option: --window - Deprecate -S - Fixes: compilation on CentOS 7 - Fixes: multiple bugs in output file handling - Fixes: multiple bugs in scrot's -C option - Fixes: restore "keep ratio" functionality in --thumb - New option: add --format flag - Improvement: allow b prefix in --delay argument - Fixes: memory leak on multiple -F options - Fixes: hostname potentially getting truncated - Several internal fixes
scrot: update to 1.8.1 Fri Jan 20 23:46:15 -03:00 2023 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.8.1 [ Guilherme Janczak ] alias @guijan * Fixed libbsd feature test confusion. Rationale: users expressed confusion when using the old "--without-libbsd" configure flag. Some assumed that it compiles scrot without libbsd, but it only made the build script error if libbsd is a dependency. This is useful to package maintainers: it gives them a yes/no answer on whether the library is a dependency on their system. The old configure flag has been replaced by a more verbose "--enable-libbsd-feature-test". [ Joao Eriberto Mota Filho ] alias @eribertomota * Fixed 'make dist', adding some files to bootstrapped tarballs. Mon Jan 09 23:33:55 -03:00 2023 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.8 [ Daniel T. Borelli ] alias @daltomi * Created FAQ file. * README.md: added a reference to libXinerama. * Improvement: added new format specifier $W: name of the window. * Fixes: automake: using default compression format. * Bug fixed: issue when not showing counting progress in terminal. * Several other code improvements. [ Guilherme Janczak ] alias @guijan * Improvement: modified logo image, shown logo image in README.md. * Improvement: added estrdup function, renamed identifiers that use reserved names. * Improvement: untangle headers files, removed reference to oldstable in CONTRIBUTING.md. * Improvement: small CI revamp: added cygwin, added distcheck, updated MacOS CI. * Improvement: added informative error messages when parsing args. * Fixes: C99: empty initializer braces. * Fixes: removed VLA and imlib2 deprecated DATA32 type. * Fixes: MacOS CI build failures. * Autotools: removed stamp-h.in, check for more libbsd functions, added link time optimization(-flto) and warnings. [ Joao Eriberto Mota Filho ] alias @eribertomota * Removed copyright symbol from some source files. * Updated copyright notices. * Added SEE ALSO section to manpage. * Updated manpage. [ N-R-K ] * Fixes: memleak and potentially bad free data. * Fixes: shift error (undefined behavior) and remove deprecated type DATA32. [ Sam James ] alias @thesamesam * Fixes: autotools: respect --docdir. [ Zev Weiss ] alias @zevweiss * New option: added -M/--monitor option to capture a Xinerama display. * Added new library dependency: libXinerama.
*: Recursive revbup from graphics/freetype2
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.
scrot: update to 1.6 Version 1.6 [ Christopher R. Nelson ] alias @languidnights * Removed dependence on giblib library. [ Daniel T. Borelli ] alias @daltomi * Fixed the capture when a window is hidden behind another. * Fixed the capture of the edge of the focused window. * Avoid capturing the selection box when drag and drop quickly. * Fixed issue when selection reaches the end of screen. * New feature: resize the selection with the arrow keys. * New feature: support script Imlib2 commands. * New feature: added WM_CLASS to exclude selection mode edge from some composite window managers. * Improvement: selection option, capture the mouse cursor when the delay option is used. * Removed forced compiler options: -g -O3 [ Guilherme Janczak ] alias @guijan * Removed the local implementation function: strdup. * Removed the local implementation function: getopt_long. * Removed unused file debug.h. [ Martin C ] alias @Cationiz3r * New feature: change the cursor pointer according to the movement of the selection. [ Shawn Webb ] alias @lattera * Fixed Control Flow Integrity complain in HardenedBSD.
scrot: Update to 1.5 Changes Do not record pointer when selecting an area. Fixed compilation on Sparc64. Fixed a possible overflow in src/options.c. Fixed a segfault with --multidisp option. Fixed issues when file extension is more than 3 characters. New feature: allow save thumbnail without extension. New feature: retry to grab the keyboard for 1s in 50ms intervals if it is still being grabbed by the windows manager. New option --class (-C): discriminate windows by class name. Support various modes of drawing selection.
scrot: needs libXcomposite
scrot: Update to 1.4 Sat Jul 18 23:23:00 -03:00 2020 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.4 [ ideal ] * Fix SIGSEGV, if running without DISPLAY environment variable. [ Jeroen Roovers ] * README.md: mention libXcomposite in build requirements. * Removed libXcursor references. [ Joao Eriberto Mota Filho ] * Added a new logo 128x128. * Added rights for "ideal", Jeroen Roovers and spycapitan. * Fixed spelling errors in manpage. * Prepare for new release. * Updated manpage. * Using create-man.sh 2.0 from txt2man package from Debian. [ spycapitan ] * Call XCloseDisplay on exit. This is the right thing in every X server program, to release acquired resources. * Fixed autoselect. * Fixed capturing partially hidden windows on the edge of the desktop. * Fixed required number. * Fixed SIGSEGV, option --note. * Minor fix: variable is assigned that is never used. * New Feature: capture stack/overlapping windows. Depends of libXcomposite (X11). New option: --stack or -k. * Stack windows: client list spec EWMH. Sun Apr 16 00:08:00 -03:00 2020 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.3 [ Joao Eriberto Mota Filho ] * Added rights for Hinigatsu and Sean Brennan. * Created full-check.yml to provide CI tests. * Prepare for new release. * Updated manpage. * Using an updated README.md as replace for README. [ Hinigatsu ] * Added delay option to autoselect. * Fixed bug #39, mouse pointer not captured with -a -p options. [ Sean Brennan ] * Added -D option to specify the display to use.
Needs libXcursor.
scrot: Needs libXfixes
scrot: Update to 1.2 Removes patch-src_getopt.c since the changes have been integrated to upstream. Changes since 1.1.1: Sun Aug 19 08:35:00 -03:00 2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.2 [ Daniel T. Borelli ] * Changed the cursor to indicate the selection mode. * Fixed GCC >=8.0 warning: -Wstringop-truncation. * Evaluate return of strftime. [ Jade Auer ] * Added a gitignore to prevent accidentally including any files generated by autotools. [ Santhosh Raju ] * Fixes ambiguous else warning by providing proper braces for if in src/getopt.c. * Fixed missing <string.h> warnings. [ Joao Eriberto Mota Filho ] * Added rights for Santhosh Raju. * Prepare for new release.
scrot: Update to 1.1.1 Removes patch-aa and patch-ab since they are no longer applicable to 1.1.1 Thanks to ng0 for coming up with the update patch. Changes since 0.8: Tue Jul 11 23:45:00 -03:00 2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.1.1 [ Daniel T. Borelli ] * Update manpage and help. [ Joao Eriberto Mota Filho ] * New release. Tue Jul 09 18:51:00 -03:00 2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.1 [ Daniel T. Borelli ] * Added (-n, --note) to draw a text. * Added (-l, --line) to define the line to use to select an area to capture. [ Jade Auer ] * Added a specifier ($a) to embed hostname in output file. [ Joao Eriberto Mota Filho ] * Added a check for autoconf-archive presence in configure.ac. * Added rights for Jade. * Adjusted Makefile.am to remove src/scrot_config.h when distclean. * Updated manpage. * Final adjustments for a new release. * Several tests in Debian. Sun Jun 11 11:01:00 -03:00 2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 1.0 [ Daniel Lublin ] * Added EXIT_FAILURE when are no arguments required by some options. Fix Debian bug #685173. * Improved the manpage to show undocumented options. [ Daniel T. Borelli ] * Added option: --overwrite or -o. Now, by default do not overwrite the file. Fix Debian bug #807139. * Added support to grab mouse pointer (-p option). Fix Ubuntu bug #1698375. * Added support to freeze the screen when selection is activated (-f option). * Do not use gib_eprintf in calls to X11 functions. Fix Ubuntu bug #1523212. * Fix: scrot can't save files without extension. Fix Ubuntu bug #148659. * Fix: scrot don't complain about invalid numeric argument. Fix Ubuntu bug #371784. * Fixed some compiling warnings. [ Joao Eriberto Mota Filho ] * Final adjustments for a new release. * Several tests in Debian. * Updated AUTHORS file. Tue Feb 12 19:06:11 -03:00 2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Version 0.9 * Added --autoselect rectangle option. Thanks to Stoney Sauce <stoneysauce@gmail.com>. * Added --focused option. Thanks to James Cameron <quozl@us.netrek.org>. * Added an autogen.sh file. * Added some explanation about how to help the project. * Character cleanup for UTF-8 compatibility. Thanks to William Vera <billy@billy.com.mx>. * Fixed a missing option for beep prevention. Thanks to Ibragimov Rinat <ibragimovrinat@mail.ru>. * Fixed spelling errors in final binary. Thanks to William Vera <billy@billy.com.mx>. * Improved the autotools (acinclude.m4, configure.ac, Makefile.am and src/Makefile.am). * Improved the GCC hardening. * Prevent arbitrary long file names. Thanks to George Danchev <danchev@spnet.net>. * Several fixes in manpage.
Comment out dead sites.
Recursive revbump from graphics/giflib update to 5.0.4.
Try to fix the fallout caused by the fix for PR pkg/47882. Part 3: Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
Bump freetype2 and fontconfig dependencies to current pkgsrc versions, to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
Recursive bump for png-1.6.
Revbump after graphics/jpeg and textproc/icu
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
Recursive bump for graphics/freetype2 buildlink addition.
png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
Second try at jpeg-8 recursive PKGREVISION bump.
Recursive bump for libltdl
bump revision because of graphics/jpeg update
Drop maintainership.
DESTDIR support.
Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.
Recursive revision bump / recommended bump for gettext ABI change.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Update linkage to libltdl (via imlib2), now in its own package.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
I'll maintain this. While here, make a few aesthetic adjustments.
Drop maintainership; I don't have the enough free time to maintain all these packages.
Bump PKGREVISION due to imlib2 update.
bl3ify
Bump package revisions for tiff update. Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
Bump PKGREVISION (libxml2, libxslt and imlib2 were updated).
Change my email address to the NetBSD one, ok'ed by wiz@
PKGREVISION bump for libiconv update.
Update to 0.8 with patch provided by Juan RP in PR pkg/21974: * Patch from Claes Nasten <pekdon@gmx.net> * Enhances thumbnail related options: First, specifying -t would break the $f param to -exec. Second, the thumbnail and the screenshot got different timestamps. Third, one weren't able to specify geometry with -t. * Update for latest giblib. Requires latest release now.
Dependency bumps, needed because of devel/pth's major bump, and related dependency bumps.
Move documentation to share/doc/scrot. Bump PKGREVISION to 1.
Initial import of graphics/scrot (version 0.6) scrot is a commandline screen capture util like "import", but using imlib2 Provided by Juan RP in PR#19604.
Initial revision