summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2023-06-24 16:40:32 -0400
committerBoyuan Yang <byang@debian.org>2023-06-24 16:40:32 -0400
commit97173b4b18eda780803674d0ad2b2a661b9d9994 (patch)
tree4a009d596d191de4712929397f6f9455ff11df72 /debian/patches
parent1110cfafc6b92837549bcc4f74f670adc46c1241 (diff)
parent771a28a34fffce137f8d9b52b789fb7eaab5b3d7 (diff)
a2ps (1:4.15.5-1) unstable; urgency=medium
* QA upload. * New upstream release. [dgit import unpatched a2ps 1:4.15.5-1]
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/06-encoding.diff11
-rw-r--r--debian/patches/doca2ps.texi-remove-dates-from-generated.patch29
-rw-r--r--debian/patches/etcmakefile.-pass-arguments-to-date-to-s.patch34
-rw-r--r--debian/patches/series3
4 files changed, 77 insertions, 0 deletions
diff --git a/debian/patches/06-encoding.diff b/debian/patches/06-encoding.diff
new file mode 100644
index 0000000..1b10766
--- /dev/null
+++ b/debian/patches/06-encoding.diff
@@ -0,0 +1,11 @@
+--- a/doc/sheets.texi
++++ b/doc/sheets.texi
+@@ -382,7 +382,7 @@
+ @end deftp
+
+ @deftp {Style Sheet} {Matlab} (@file{matlab.ssh})
+-Written by Joakim Lübeck.
++Written by Joakim L@"{u}beck.
+ This style highlights function definitions and a limited
+ number of keywords, mostly control constructs, and is
+ therefore usable for many Matlab versions. Special care
diff --git a/debian/patches/doca2ps.texi-remove-dates-from-generated.patch b/debian/patches/doca2ps.texi-remove-dates-from-generated.patch
new file mode 100644
index 0000000..3ce02a9
--- /dev/null
+++ b/debian/patches/doca2ps.texi-remove-dates-from-generated.patch
@@ -0,0 +1,29 @@
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Tue, 29 Dec 2020 07:52:21 +0000
+X-Dgit-Generated: 1:4.14-6 2a97e1ccbcc82182cf631cbc5d4d2a86a5483b16
+Subject: doc/a2ps.texi: Remove dates from generated documentation. (Closes: #978610)
+
+
+---
+
+--- a2ps-4.14.orig/doc/a2ps.texi
++++ a2ps-4.14/doc/a2ps.texi
+@@ -103,7 +103,7 @@ approved by the author.
+ @titlepage
+ @title GNU a2ps, version @value{VERSION}
+ @subtitle General Purpose PostScript Generating Utility
+-@subtitle Edition @value{EDITION}, @value{UPDATED}
++@subtitle Edition @value{EDITION}
+ @author Akim Demaille
+ @author Miguel Santana
+
+@@ -141,8 +141,7 @@ GNU @pack{} is a filter which generates
+ with pretty-printing features, strong support for many alphabets, and
+ customizable layout.
+
+-This is Edition @value{VERSION} of the @pack{} documentation, updated
+-@value{UPDATED}.
++This is Edition @value{VERSION} of the @pack{} documentation.
+
+ @menu
+ * Introduction:: Foreword
diff --git a/debian/patches/etcmakefile.-pass-arguments-to-date-to-s.patch b/debian/patches/etcmakefile.-pass-arguments-to-date-to-s.patch
new file mode 100644
index 0000000..a9dfe87
--- /dev/null
+++ b/debian/patches/etcmakefile.-pass-arguments-to-date-to-s.patch
@@ -0,0 +1,34 @@
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Tue, 29 Dec 2020 07:16:56 +0000
+Subject: etc/Makefile.*: Pass arguments to date to support SOURCE_DATE_EPOCH
+ when generating README. (Closes: #978610)
+
+---
+ etc/Makefile.am | 2 +-
+ etc/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index fa53029..400b9ca 100644
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -59,5 +59,5 @@ a2ps.cfg: a2ps_cfg Makefile
+
+ # Building a timestamp to know the version.
+ README: README.in Makefile
+- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g" \
++ sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g" \
+ $(srcdir)/README.in > README
+diff --git a/etc/Makefile.in b/etc/Makefile.in
+index 9264bf7..c4a45cc 100644
+--- a/etc/Makefile.in
++++ b/etc/Makefile.in
+@@ -1663,7 +1663,7 @@ a2ps.cfg: a2ps_cfg Makefile
+
+ # Building a timestamp to know the version.
+ README: README.in Makefile
+- sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g" \
++ sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g" \
+ $(srcdir)/README.in > README
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..79c2a2f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+06-encoding.diff
+etcmakefile.-pass-arguments-to-date-to-s.patch
+doca2ps.texi-remove-dates-from-generated.patch