From ad7138a6b619b63663182aa824ddbc4b52843654 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 24 Oct 2020 21:39:29 +0000 Subject: user/scrot: Add --- user/scrot/0001-remove-ax-forbid.patch | 21 +++++++++++++++++ user/scrot/APKBUILD | 41 ++++++++++++++++++++++++++++++++++ user/scrot/config.h | 29 ++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 user/scrot/0001-remove-ax-forbid.patch create mode 100644 user/scrot/APKBUILD create mode 100644 user/scrot/config.h (limited to 'user/scrot') diff --git a/user/scrot/0001-remove-ax-forbid.patch b/user/scrot/0001-remove-ax-forbid.patch new file mode 100644 index 000000000..60894d04b --- /dev/null +++ b/user/scrot/0001-remove-ax-forbid.patch @@ -0,0 +1,21 @@ +diff --git a/configure.ac b/configure.ac +index e89ac2c..df64719 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,8 +3,6 @@ dnl Process this file with autoconf to create configure. + AC_INIT([scrot], [1.4], [https://github.com/resurrecting-open-source-projects/scrot/issues]) + AC_CONFIG_SRCDIR([src/main.c]) + AM_INIT_AUTOMAKE +-AC_CONFIG_HEADER([src/config.h]) +-AX_PREFIX_CONFIG_H([src/scrot_config.h]) + + AC_PROG_CC + AM_PROG_CC_STDC +@@ -29,7 +27,5 @@ AC_SUBST(GIBLIB_CFLAGS) + AC_CHECK_FUNC(getopt_long,,[LIBOBJS="$LIBOBJS getopt.o getopt1.o"]) + AC_SUBST(LIBOBJS) + +-m4_pattern_forbid([^AX_],[=> GNU autoconf-archive not present. <=]) +- + AC_CONFIG_FILES([Makefile src/Makefile]) + AC_OUTPUT diff --git a/user/scrot/APKBUILD b/user/scrot/APKBUILD new file mode 100644 index 000000000..e9828b5ad --- /dev/null +++ b/user/scrot/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Nathan +# Maintainer: Nathan +pkgname=scrot +pkgver=1.4 +pkgrel=0 +pkgdesc="Simple command-line screenshot utility for X" +options="!check" # No testsuite +url="https://github.com/resurrecting-open-source-projects/scrot" +arch="all" +license="MIT" +depends="" +makedepends="giblib-dev imlib2-dev libx11-dev libxfixes-dev libxcomposite-dev + automake libtool autoconf autoconf-archive sed" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/resurrecting-open-source-projects/scrot/archive/$pkgver/$pkgname-$pkgver.tar.gz + 0001-remove-ax-forbid.patch + config.h" + +prepare() { + default_prepare + autoreconf -fiv +} + +build() { + sed -ie '2531d' configure + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man + cp $srcdir/config.h src/scrot_config.h + make +} + +package() { + make DESTDIR="$pkgdir" docsdir=/usr/share/doc/scrot install +} + +sha512sums="8423e7b2658f3e0ccf30f61e122016469226328adf8b1e511aeb031dd2655ae66582651e2d046c7c35d23efb98656369a02b59e711980481ddc4db24c299ee11 scrot-1.4.tar.gz +ca7a40345b031c84ccc083202184dbff2418feb97472aca9fd441ba21501608562bdda061283db7793ad07a6d80e302c8f15a2819ac20dff8b741c6c539cbcd2 0001-remove-ax-forbid.patch +95429feb7c107c5adeadf33b5a3e3ff9dc4fb95f0d58f92c6a8de27d776a07256fa9f1825896d569eb32beb77300f46995dcafd1359f305d22861eb5748de84a config.h" diff --git a/user/scrot/config.h b/user/scrot/config.h new file mode 100644 index 000000000..e048745b5 --- /dev/null +++ b/user/scrot/config.h @@ -0,0 +1,29 @@ +/* src/config.h. Generated from config.h.in by configure. */ +/* src/config.h.in. Generated from configure.ac by autoheader. */ + +/* Name of package */ +#define SCROT_PACKAGE "scrot" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "https://github.com/resurrecting-open-source-projects/scrot/issues" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "scrot" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "scrot 1.4" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "scrot" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.4" + +/* Version number of package */ +#define SCROT_VERSION "1.4" + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ -- cgit v1.2.3-70-g09d2 From 033f657cad25c6b2c635269bea901654b7ab8d9e Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 13:43:34 -0500 Subject: {user,system} Reassign 'Nathan' --> 'Zach van Rijn' --- system/libcap-ng/APKBUILD | 2 +- user/byobu/APKBUILD | 2 +- user/doas/APKBUILD | 2 +- user/felinks/APKBUILD | 2 +- user/genext2fs/APKBUILD | 2 +- user/giblib/APKBUILD | 2 +- user/gnu-netcat/APKBUILD | 2 +- user/gobject-introspection/APKBUILD | 2 +- user/imlib2/APKBUILD | 2 +- user/libseccomp/APKBUILD | 2 +- user/rpm/APKBUILD | 2 +- user/scrot/APKBUILD | 2 +- user/vorbis-tools/APKBUILD | 2 +- user/wget/APKBUILD | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) (limited to 'user/scrot') diff --git a/system/libcap-ng/APKBUILD b/system/libcap-ng/APKBUILD index 44479ae49..05713698b 100644 --- a/system/libcap-ng/APKBUILD +++ b/system/libcap-ng/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=libcap-ng pkgver=0.8 pkgrel=0 diff --git a/user/byobu/APKBUILD b/user/byobu/APKBUILD index 1d67bd11e..9d91403aa 100644 --- a/user/byobu/APKBUILD +++ b/user/byobu/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=byobu pkgver=5.133 pkgrel=0 diff --git a/user/doas/APKBUILD b/user/doas/APKBUILD index c38cb62bd..99b3ac5c0 100644 --- a/user/doas/APKBUILD +++ b/user/doas/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=doas pkgver=6.6.1 pkgrel=0 diff --git a/user/felinks/APKBUILD b/user/felinks/APKBUILD index 408763e13..bc263b9df 100644 --- a/user/felinks/APKBUILD +++ b/user/felinks/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=felinks pkgver=0.13.5 pkgrel=0 diff --git a/user/genext2fs/APKBUILD b/user/genext2fs/APKBUILD index ac59e8e22..9d16a2792 100644 --- a/user/genext2fs/APKBUILD +++ b/user/genext2fs/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=genext2fs pkgver=1.5.0 pkgrel=0 diff --git a/user/giblib/APKBUILD b/user/giblib/APKBUILD index 9754a38df..b6bc48c99 100644 --- a/user/giblib/APKBUILD +++ b/user/giblib/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=giblib pkgver=1.2.4 pkgrel=12 diff --git a/user/gnu-netcat/APKBUILD b/user/gnu-netcat/APKBUILD index c021fad6e..6123aee0e 100644 --- a/user/gnu-netcat/APKBUILD +++ b/user/gnu-netcat/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=gnu-netcat pkgver=0.7.1 pkgrel=0 diff --git a/user/gobject-introspection/APKBUILD b/user/gobject-introspection/APKBUILD index f61e5bfc2..24655fb08 100644 --- a/user/gobject-introspection/APKBUILD +++ b/user/gobject-introspection/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=gobject-introspection pkgver=1.66.1 pkgrel=0 diff --git a/user/imlib2/APKBUILD b/user/imlib2/APKBUILD index 698485e04..b7256e65d 100644 --- a/user/imlib2/APKBUILD +++ b/user/imlib2/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=imlib2 pkgver=1.7.0 pkgrel=0 diff --git a/user/libseccomp/APKBUILD b/user/libseccomp/APKBUILD index 3a26c908a..f666e777f 100644 --- a/user/libseccomp/APKBUILD +++ b/user/libseccomp/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: Nathan +# Maintainer: Zach van Rijn # Contributor: Natanael Copa # Contributor: Carlo Landmeter # Contributor: Dan Williams diff --git a/user/rpm/APKBUILD b/user/rpm/APKBUILD index 950f60478..f6b4d7a69 100644 --- a/user/rpm/APKBUILD +++ b/user/rpm/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=rpm pkgver=4.16.0 pkgrel=0 diff --git a/user/scrot/APKBUILD b/user/scrot/APKBUILD index e9828b5ad..9bb69ee27 100644 --- a/user/scrot/APKBUILD +++ b/user/scrot/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=scrot pkgver=1.4 pkgrel=0 diff --git a/user/vorbis-tools/APKBUILD b/user/vorbis-tools/APKBUILD index 4ce488428..eaf358c07 100644 --- a/user/vorbis-tools/APKBUILD +++ b/user/vorbis-tools/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=vorbis-tools pkgver=1.4.0 pkgrel=1 diff --git a/user/wget/APKBUILD b/user/wget/APKBUILD index 6b4444ce8..967995609 100644 --- a/user/wget/APKBUILD +++ b/user/wget/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Nathan -# Maintainer: Nathan +# Maintainer: Zach van Rijn pkgname=wget pkgver=1.20.3 pkgrel=0 -- cgit v1.2.3-70-g09d2