Date: Wednesday, March 15, 2023 @ 07:53:35
Author: arojas
Revision: 470906
archrelease: copy trunk to testing-x86_64
Added:
a2ps/repos/testing-x86_64/
a2ps/repos/testing-x86_64/PKGBUILD
(from rev 470905, a2ps/trunk/PKGBUILD)
a2ps/repos/testing-x86_64/a2ps-4.13c-emacs.patch
(from rev 470905, a2ps/trunk/a2ps-4.13c-emacs.patch)
a2ps/repos/testing-x86_64/a2ps-adhere-source-date-epoch.patch
(from rev 470905, a2ps/trunk/a2ps-adhere-source-date-epoch.patch)
a2ps/repos/testing-x86_64/keys/
-------------------------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++
a2ps-4.13c-emacs.patch | 10 ++++++++
a2ps-adhere-source-date-epoch.patch | 22 ++++++++++++++++++
3 files changed, 72 insertions(+)
Copied: a2ps/repos/testing-x86_64/PKGBUILD (from rev 470905,
a2ps/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-03-15 07:53:35 UTC (rev 470906)
@@ -0,0 +1,40 @@
+# Maintainer: Eric Bélanger <[email protected]>
+
+pkgname=a2ps
+pkgver=4.15.1
+pkgrel=1
+pkgdesc="An Any to PostScript filter"
+arch=('x86_64')
+url="https://www.gnu.org/software/a2ps/"
+license=('GPL3')
+depends=('psutils' 'imagemagick' 'perl')
+makedepends=('gperf')
+backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
+source=(https://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
+ a2ps-4.13c-emacs.patch
+ a2ps-adhere-source-date-epoch.patch)
+sha256sums=('9797708ba02805afc3b5b91e06cb8eac97b85843a90e66cfde6a7c63ca042b2a'
+ 'SKIP'
+ '943739a788db47f10942477754f42c8c9b22cdaad4463bea4103c31a330de76a'
+ '305ba7b9a44e7d6480a23098efb27aab5daedde71defcfe2f1b01b70d025e3db')
+validpgpkeys=('24093F016FFE8602EF449BB84C8EF3DA3FD37230') # Reuben Thomas
<[email protected]>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}/a2ps-4.13c-emacs.patch"
+ patch -p1 -i "${srcdir}/a2ps-adhere-source-date-epoch.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ libtoolize --force --copy
+ autoreconf --force --install -I m4
+ LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
+ --includedir=/usr/include --enable-shared --enable-nls
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: a2ps/repos/testing-x86_64/a2ps-4.13c-emacs.patch (from rev 470905,
a2ps/trunk/a2ps-4.13c-emacs.patch)
===================================================================
--- testing-x86_64/a2ps-4.13c-emacs.patch (rev 0)
+++ testing-x86_64/a2ps-4.13c-emacs.patch 2023-03-15 07:53:35 UTC (rev
470906)
@@ -0,0 +1,10 @@
+--- a2ps-4.13/contrib/emacs/a2ps-print.el.orig 2005-12-05 08:03:48.000000000
+0100
++++ a2ps-4.13/contrib/emacs/a2ps-print.el 2005-12-06 16:38:14.000000000
+0100
+@@ -93,6 +93,7 @@
+ (concat "--center-title=" name)
+ (concat "--footer=" (concat name " Emacs buffer"))
+ (concat "--pretty-print=" filetype)
++ (concat "-d")
+ ;Uncommenting the following gives a print preview (only):
+ ; (concat "--output=/tmp/foo.ps")
+ )
Copied: a2ps/repos/testing-x86_64/a2ps-adhere-source-date-epoch.patch (from rev
470905, a2ps/trunk/a2ps-adhere-source-date-epoch.patch)
===================================================================
--- testing-x86_64/a2ps-adhere-source-date-epoch.patch
(rev 0)
+++ testing-x86_64/a2ps-adhere-source-date-epoch.patch 2023-03-15 07:53:35 UTC
(rev 470906)
@@ -0,0 +1,22 @@
+diff -aur a2ps-4.14.old/etc/Makefile.am a2ps-4.14/etc/Makefile.am
+--- a2ps-4.14.old/etc/Makefile.am 2020-05-15 16:22:46.236954254 +0200
++++ a2ps-4.14/etc/Makefile.am 2020-05-15 16:58:42.382348094 +0200
+@@ -44,5 +44,5 @@
+
+ # Building a time stamp to know the version.
+ README: README.in Makefile
+- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g" \
++ sed "s!@date@!$(shell date --utc --date="@${SOURCE_DATE_EPOCH:-$(date
+%s)}")!g;s!@version@!$(VERSION)!g" \
+ $(srcdir)/README.in > README
+diff -aur a2ps-4.14.old/etc/Makefile.in a2ps-4.14/etc/Makefile.in
+--- a2ps-4.14.old/etc/Makefile.in 2020-05-15 16:22:46.236954254 +0200
++++ a2ps-4.14/etc/Makefile.in 2020-05-15 16:59:00.132720058 +0200
+@@ -486,7 +486,7 @@
+
+ # Building a time stamp to know the version.
+ README: README.in Makefile
+- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g" \
++ sed "s!@date@!$(shell date --utc --date="@${SOURCE_DATE_EPOCH:-$(date
+%s)}")!g;s!@version@!$(VERSION)!g" \
+ $(srcdir)/README.in > README
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.