Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scrot for openSUSE:Factory checked in at 2023-01-31 16:09:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scrot (Old) and /work/SRC/openSUSE:Factory/.scrot.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scrot" Tue Jan 31 16:09:43 2023 rev:10 rq:1062183 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/scrot/scrot.changes 2023-01-11 14:36:37.393762983 +0100 +++ /work/SRC/openSUSE:Factory/.scrot.new.32243/scrot.changes 2023-01-31 16:21:10.373946398 +0100 @@ -1,0 +2,13 @@ +Sat Jan 28 16:13:04 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.8.1: + * 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". + * Fixed 'make dist', adding some files to bootstrapped tarballs. + +------------------------------------------------------------------- Old: ---- scrot-1.8.tar.gz New: ---- scrot-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scrot.spec ++++++ --- /var/tmp/diff_new_pack.X8wrnb/_old 2023-01-31 16:21:10.745948640 +0100 +++ /var/tmp/diff_new_pack.X8wrnb/_new 2023-01-31 16:21:10.753948689 +0100 @@ -17,7 +17,7 @@ Name: scrot -Version: 1.8 +Version: 1.8.1 Release: 0 Summary: Screenshot Capture Utility License: SUSE-Scrot @@ -43,7 +43,7 @@ %autosetup -p1 %build -%configure +%configure --with-libbsd %make_build %install ++++++ scrot-1.8.tar.gz -> scrot-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/CONTRIBUTING.md new/scrot-1.8.1/CONTRIBUTING.md --- old/scrot-1.8/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/scrot-1.8.1/CONTRIBUTING.md 2023-01-21 03:42:20.000000000 +0100 @@ -0,0 +1,37 @@ +# CONTRIBUTING TO SCROT DEVELOPMENT + +#### Changes are to be sent as [pull requests on GitHub](https://github.com/resurrecting-open-source-projects/scrot/pulls). + +## Setting up the development machine + +scrot aims to build with no modifications on all the free unix systems. The +master branch is also kept in working order at all times. + +You will want to install the dependencies listed in the `Building` section of +[README.md](README.md). Look for the text `install_script` in the +[.cirrus.yml](.cirrus.yml) CI definitions for example package manager +invocations on many operating systems. + +## Style + +scrot is primarily written in C99 with +[POSIX 2008](https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/) +extensions. You're also free to make use of any documented function from our +libraries. Make sure to use +[libbsd functions](https://manpages.debian.org/unstable/libbsd-dev/libbsd.7.en.html) +where they're safer, cleaner or more convenient. + +scrot follows +[WebKit's code style guidelines](https://webkit.org/code-style-guidelines/) +with additional restrictions: +- No explicit casts. +- Use the identifier and not the type as the argument to the `sizeof` operator. + +When in doubt, make use of the `clang-format` source code formatter-it comes +with the WebKit style by default. + +## Low-hanging fruit + +Ongoing tasks will be written to [TODO.md](TODO.md). + +Regular contributors can ask to join the scrot project on GitHub. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/ChangeLog new/scrot-1.8.1/ChangeLog --- old/scrot-1.8/ChangeLog 2023-01-10 04:00:19.000000000 +0100 +++ new/scrot-1.8.1/ChangeLog 2023-01-21 03:54:03.000000000 +0100 @@ -1,3 +1,20 @@ +Fri Jan 20 23:46:15 -03:00 2023 Joao Eriberto Mota Filho <eribe...@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 <eribe...@eriberto.pro.br> Version 1.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/Makefile.am new/scrot-1.8.1/Makefile.am --- old/scrot-1.8/Makefile.am 2023-01-10 03:11:06.000000000 +0100 +++ new/scrot-1.8.1/Makefile.am 2023-01-21 03:42:20.000000000 +0100 @@ -1,7 +1,7 @@ # Copyright 1999-2000 Tom Gilbert <t...@linuxbrit.co.uk, # gilbe...@linuxbrit.co.uk, # scrot_su...@linuxbrit.co.uk> -# Copyright 2015-2019 Joao Eriberto Mota Filho <eribe...@eriberto.pro.br> +# Copyright 2015-2023 Joao Eriberto Mota Filho <eribe...@eriberto.pro.br> # Copyright 2019-2021 Daniel T. Borelli <danieltbore...@gmail.com> # Copyright 2021 Guilherme Janczak <guilherme.janc...@yandex.com> # Copyright 2022 Sam James <s...@cmpct.info> @@ -35,9 +35,9 @@ man_MANS = man/scrot.1 -dist_doc_DATA = README.md AUTHORS ChangeLog FAQ doc/scrot.png +dist_doc_DATA = AUTHORS ChangeLog CONTRIBUTING.md doc/scrot.png FAQ README.md TODO.md -EXTRA_DIST = $(man_MANS) +EXTRA_DIST = $(man_MANS) autogen.sh SUBDIRS = src diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/Makefile.in new/scrot-1.8.1/Makefile.in --- old/scrot-1.8/Makefile.in 2023-01-10 04:30:03.000000000 +0100 +++ new/scrot-1.8.1/Makefile.in 2023-01-21 04:14:34.000000000 +0100 @@ -17,7 +17,7 @@ # Copyright 1999-2000 Tom Gilbert <t...@linuxbrit.co.uk, # gilbe...@linuxbrit.co.uk, # scrot_su...@linuxbrit.co.uk> -# Copyright 2015-2019 Joao Eriberto Mota Filho <eribe...@eriberto.pro.br> +# Copyright 2015-2023 Joao Eriberto Mota Filho <eribe...@eriberto.pro.br> # Copyright 2019-2021 Daniel T. Borelli <danieltbore...@gmail.com> # Copyright 2021 Guilherme Janczak <guilherme.janc...@yandex.com> # Copyright 2022 Sam James <s...@cmpct.info> @@ -371,8 +371,8 @@ # A list of all the files in the current directory which can be regenerated MAINTAINERCLEANFILES = Makefile.in man_MANS = man/scrot.1 -dist_doc_DATA = README.md AUTHORS ChangeLog FAQ doc/scrot.png -EXTRA_DIST = $(man_MANS) +dist_doc_DATA = AUTHORS ChangeLog CONTRIBUTING.md doc/scrot.png FAQ README.md TODO.md +EXTRA_DIST = $(man_MANS) autogen.sh SUBDIRS = src all: all-recursive diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/README.md new/scrot-1.8.1/README.md --- old/scrot-1.8/README.md 2023-01-10 02:27:43.000000000 +0100 +++ new/scrot-1.8.1/README.md 2023-01-21 03:42:20.000000000 +0100 @@ -35,28 +35,60 @@ ## Building ## +This section describes the steps to build and install scrot. + +### Dependencies ### + scrot requires a few projects and libraries: - [autoconf](https://www.gnu.org/software/autoconf/autoconf.html) (build time only) - [autoconf-archive](https://www.gnu.org/software/autoconf-archive/) (build time only) - [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) (build time only) - [imlib2](https://sourceforge.net/projects/enlightenment/files/imlib2-src/) -- [libbsd](https://libbsd.freedesktop.org/wiki/) (if `./configure --without-libbsd; make` fails) +- [libbsd](https://libbsd.freedesktop.org/wiki/) (if `./configure --enable-libbsd-feature-test` returns true) - X [(e.g. X.Org)](https://www.x.org/wiki/) - libXcomposite [(can be found in X.Org)](https://gitlab.freedesktop.org/xorg/lib/libxcomposite) - libXext [(can be found in X.Org)](https://gitlab.freedesktop.org/xorg/lib/libxext) - libXfixes [(can be found in X.Org)](https://gitlab.freedesktop.org/xorg/lib/libxfixes) - libXinerama [(can be found in X.Org)](https://gitlab.freedesktop.org/xorg/lib/libxinerama) -From a Unix command line, building is simple: +### Generic installation instruction ### + +In short, if you are building from an GIT checkout of scrot (but not if you +are building from a downloaded tarball) then you will first need to run: ``` $ ./autogen.sh +``` + +TIP: if the source code does not have a configure file, you will need to run + the ```./autogen.sh``` command. + +Now, proceed as shown below for a tarball. (If you are using the tarball +but have applied additional patches then you may also need to run +```./autogen.sh```.) + +To build scrot from a downloaded tarball just type: +``` $ ./configure $ make ``` +And as root: +``` +# make install +``` +or +``` +$ sudo make install +``` + Cleaning up the build is also simple: ``` +$ make clean +``` + +To vanish the source code, removing all pre-built files, including configure, run: +``` $ make distclean ``` @@ -65,14 +97,11 @@ $ ./autogen.sh clean ``` -## Installing ## - -If you've built scrot from source, scrot needs to be installed from a root shell: +Debian users can install scrot from their package manager: ``` -# make install +# apt install scrot ``` - -Debian users can install scrot from their package manager: +or ``` $ sudo apt install scrot ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/TODO.md new/scrot-1.8.1/TODO.md --- old/scrot-1.8/TODO.md 1970-01-01 01:00:00.000000000 +0100 +++ new/scrot-1.8.1/TODO.md 2023-01-21 03:42:20.000000000 +0100 @@ -0,0 +1,54 @@ +# TODO + +#### The lists in this page summarize current efforts in the scrot project. + +## Fix bugs + +Look for any bugs reported downstream or in our github issues and fix them: +- https://github.com/resurrecting-open-source-projects/scrot/issues +- https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=scrot +- https://bugs.launchpad.net/ubuntu/+source/scrot/+bugs +- https://apps.fedoraproject.org/packages/scrot/bugs +- https://bugs.gentoo.org/buglist.cgi?quicksearch=scrot + +## Integrate [libbsd](https://libbsd.freedesktop.org/wiki/) + +The BSD systems provide nonstandard C functions; many of the functions remove +the need for some boilerplate code, and provide safer or easier to use APIs +compared to the C standard library. +scrot is in the process of auditing its source to make use of BSD extensions +to the C library where they are found to improve code quality. scrot depends on +libbsd to provide the required functions where they're missing to remain +portable. libbsd includes manuals for all the functions it implements-a list of +them can be found at libbsd(7). The manual can alternatively be accessed from +the web at [manpages.debian.org](https://manpages.debian.org/unstable/libbsd-dev/libbsd.7.en.html). +BSD systems provide manuals for these functions in the default install. + +The following libbsd integration efforts are in progress: +- ~~Replace strncpy() and strcpy() calls with strlcpy().~~ +- ~~Replace strcat() and strncat() calls with strlcat().~~ +- ~~Replace error exits with the err() family of functions.~~ +- ~~Replace local implementations of data structures with the sys/queue.h API.~~ +- Find places where other BSD functions can serve scrot well. + +## Comply with WebKit style +We're currently in the process of complying with the new obligatory C style +described in [CONTRIBUTING.md](CONTRIBUTING.md). + +The following files are yet to be converted: +- ~~src/imlib.c~~ +- ~~src/main.c~~ +- ~~src/note.c~~ +- ~~src/options.c~~ +- ~~src/scrot_selection.c~~ +- ~~src/selection_classic.c~~ +- ~~src/selection_edge.c~~ +- ~~src/note.h~~ +- ~~src/options.h~~ +- ~~src/slist.c~~ +- ~~src/scrot.h~~ +- ~~src/scrot_selection.h~~ +- ~~src/selection_classic.h~~ +- ~~src/selection_edge.h~~ +- ~~src/slist.h~~ +- ~~src/structs.h~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/autogen.sh new/scrot-1.8.1/autogen.sh --- old/scrot-1.8/autogen.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/scrot-1.8.1/autogen.sh 2023-01-21 03:42:20.000000000 +0100 @@ -0,0 +1,57 @@ +#!/bin/sh + +# autogen.sh with clean option, v0.1-scrot +# Copyright 2019 Joao Eriberto Mota Filho <eribe...@eriberto.pro.br> +# +# This file is under BSD-3-Clause license. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. Neither the name of the authors nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + + +# Use clean option +if [ "$1" = "clean" ] && [ ! -e Makefile ] +then + echo "Vanishing the code" + rm -rf aclocal.m4 autom4te.cache/ compile configure depcomp install-sh \ + Makefile.in missing src/config.h.in src/Makefile.in + exit 0 +fi + +# Do not use clean option +if [ "$1" = "clean" ] && [ -e Makefile ] +then + echo "I can not clean. Use '$ make distclean'." + exit 0 +fi + +# Do autoreconf +autoreconf -i \ + && { echo " "; \ + echo "Done. You can use the 'clean' option to vanish the source code."; \ + echo "Example of use: $ ./autogen.sh clean"; \ + echo " "; \ + echo "Now run ./configure, make, and make install."; \ + } \ +|| { echo "We have a problem..."; exit 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/configure new/scrot-1.8.1/configure --- old/scrot-1.8/configure 2023-01-10 04:30:03.000000000 +0100 +++ new/scrot-1.8.1/configure 2023-01-21 04:14:34.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for scrot 1.8. +# Generated by GNU Autoconf 2.69 for scrot 1.8.1. # # Report bugs to <https://github.com/resurrecting-open-source-projects/scrot/issues>. # @@ -581,8 +581,8 @@ # Identity of this package. PACKAGE_NAME='scrot' PACKAGE_TARNAME='scrot' -PACKAGE_VERSION='1.8' -PACKAGE_STRING='scrot 1.8' +PACKAGE_VERSION='1.8.1' +PACKAGE_STRING='scrot 1.8.1' PACKAGE_BUGREPORT='https://github.com/resurrecting-open-source-projects/scrot/issues' PACKAGE_URL='https://github.com/resurrecting-open-source-projects/scrot' @@ -739,7 +739,7 @@ enable_silent_rules enable_dependency_tracking enable_maintainer_mode -with_libbsd +enable_libbsd_feature_test ' ac_precious_vars='build_alias host_alias @@ -1317,7 +1317,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures scrot 1.8 to adapt to many kinds of systems. +\`configure' configures scrot 1.8.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1384,7 +1384,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of scrot 1.8:";; + short | recursive ) echo "Configuration of scrot 1.8.1:";; esac cat <<\_ACEOF @@ -1401,11 +1401,9 @@ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --without-libbsd Error when BSD functions are not found + --enable-libbsd-feature-test + "Do not configure the program, return true if libbsd + is needed" Some influential environment variables: CC C compiler command @@ -1510,7 +1508,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -scrot configure 1.8 +scrot configure 1.8.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1879,7 +1877,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by scrot $as_me 1.8, which was +It was created by scrot $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2738,7 +2736,7 @@ # Define the identity of the package. PACKAGE='scrot' - VERSION='1.8' + VERSION='1.8.1' cat >>confdefs.h <<_ACEOF @@ -4760,10 +4758,9 @@ fi - -# Check whether --with-libbsd was given. -if test "${with_libbsd+set}" = set; then : - withval=$with_libbsd; +# Check whether --enable-libbsd-feature-test was given. +if test "${enable_libbsd_feature_test+set}" = set; then : + enableval=$enable_libbsd_feature_test; fi for ac_func in strlcpy strlcat err errx warn warnx @@ -5191,13 +5188,28 @@ done -if test "x$LIBBSD_NEEDED" = "xyes"; then : +# libbsd is obligatory on systems that don't have the BSD functions we use. +# Pass "--enable-libbsd-feature-test" to ./configure, and the configure script +# will tell you whether the library is a dependency. This option is intended to +# be used by package maintainers. +if test "x$enable_libbsd_feature_test" = "xyes"; then : + if test "x$LIBBSD_NEEDED" = "xyes"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: scrot depends on libbsd in the current system" >&5 +$as_echo "$as_me: scrot depends on libbsd in the current system" >&6;} + exit 0 + +else - if test "x$with_libbsd" = "xno"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: scrot does not depend on libbsd in the current system" >&5 +$as_echo "$as_me: scrot does not depend on libbsd in the current system" >&6;} + exit 1 - as_fn_error $? "BSD functions not found and --without-libbsd was used" "$LINENO" 5 +fi fi +if test "x$LIBBSD_NEEDED" = "xyes"; then : + pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbsd-overlay" >&5 @@ -5846,7 +5858,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by scrot $as_me 1.8, which was +This file was extended by scrot $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5913,7 +5925,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -scrot config.status 1.8 +scrot config.status 1.8.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/configure.ac new/scrot-1.8.1/configure.ac --- old/scrot-1.8/configure.ac 2023-01-10 04:06:13.000000000 +0100 +++ new/scrot-1.8.1/configure.ac 2023-01-21 03:59:10.000000000 +0100 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to create configure. -AC_INIT([scrot], [1.8], +AC_INIT([scrot], [1.8.1], [https://github.com/resurrecting-open-source-projects/scrot/issues],, [https://github.com/resurrecting-open-source-projects/scrot]) AC_CONFIG_SRCDIR([src/scrot.c]) @@ -31,14 +31,25 @@ PKG_CHECK_MODULES([XINERAMA], [xinerama]) PKG_CHECK_MODULES([IMLIB2], [imlib2]) -AC_ARG_WITH([libbsd], - AS_HELP_STRING([--without-libbsd], [Error when BSD functions are not found])) +AC_ARG_ENABLE([libbsd-feature-test], + AS_HELP_STRING([--enable-libbsd-feature-test], + ["Do not configure the program, return true if libbsd is needed"])) AC_CHECK_FUNCS([strlcpy strlcat err errx warn warnx],, [LIBBSD_NEEDED=yes]) AC_CHECK_HEADERS([sys/queue.h],, [LIBBSD_NEEDED=yes]) -AS_IF([test "x$LIBBSD_NEEDED" = "xyes"], [ - AS_IF([test "x$with_libbsd" = "xno"], [ - AC_MSG_ERROR([BSD functions not found and --without-libbsd was used]) +# libbsd is obligatory on systems that don't have the BSD functions we use. +# Pass "--enable-libbsd-feature-test" to ./configure, and the configure script +# will tell you whether the library is a dependency. This option is intended to +# be used by package maintainers. +AS_IF([test "x$enable_libbsd_feature_test" = "xyes"], + AS_IF([test "x$LIBBSD_NEEDED" = "xyes"], [ + AC_MSG_NOTICE([scrot depends on libbsd in the current system]) + exit 0 + ], [ + AC_MSG_NOTICE([scrot does not depend on libbsd in the current system]) + exit 1 ]) +) +AS_IF([test "x$LIBBSD_NEEDED" = "xyes"], [ PKG_CHECK_MODULES([LIBBSD], [libbsd-overlay],, [AC_MSG_ERROR([BSD functions not found, libbsd is required])]) ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scrot-1.8/man/scrot.1 new/scrot-1.8.1/man/scrot.1 --- old/scrot-1.8/man/scrot.1 2023-01-10 04:02:28.000000000 +0100 +++ new/scrot-1.8.1/man/scrot.1 2023-01-21 03:55:17.000000000 +0100 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH scrot 1 "09 Jan 2023" "scrot-1.8" "command line screen capture utility" +.TH scrot 1 "20 Jan 2023" "scrot-1.8.1" "command line screen capture utility" .SH NAME \fBscrot \fP- command line screen capture utility \fB