Date: Tuesday, March 14, 2023 @ 13:39:30
  Author: tpowa
Revision: 470813

archrelease: copy trunk to testing-x86_64

Added:
  groff/repos/testing-x86_64/PKGBUILD
    (from rev 470812, groff/trunk/PKGBUILD)
  groff/repos/testing-x86_64/display-utc-times.patch
    (from rev 470812, groff/trunk/display-utc-times.patch)
  groff/repos/testing-x86_64/keys/
  groff/repos/testing-x86_64/site.tmac
    (from rev 470812, groff/trunk/site.tmac)
Deleted:
  groff/repos/testing-x86_64/PKGBUILD
  groff/repos/testing-x86_64/display-utc-times.patch
  groff/repos/testing-x86_64/keys/
  groff/repos/testing-x86_64/site.tmac

-------------------------+
 PKGBUILD                |  127 ++++++++++++++++----------------
 display-utc-times.patch |  180 +++++++++++++++++++++++-----------------------
 site.tmac               |   30 +++----
 3 files changed, 168 insertions(+), 169 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-14 13:39:21 UTC (rev 470812)
+++ PKGBUILD    2023-03-14 13:39:30 UTC (rev 470813)
@@ -1,64 +0,0 @@
-# Maintainer: 
-
-pkgname=groff
-pkgver=1.22.4
-pkgrel=9
-pkgdesc='GNU troff text-formatting system'
-arch=('x86_64')
-url='https://www.gnu.org/software/groff/groff.html'
-license=('GPL')
-groups=('base-devel')
-depends=('perl' 'gcc-libs')
-makedepends=('netpbm' 'psutils'  'libxaw' 'perl-file-homedir')
-optdepends=('netpbm: for use together with man -H command interaction in 
browsers'
-            'psutils: for use together with man -H command interaction in 
browsers'
-            'libxaw: for gxditview'
-            'perl-file-homedir: for use with glilypond')
-options=('!docs' '!emptydirs' '!makeflags')
-validpgpkeys=('2D0C08D2B0AD0D3D8626670272D23FBAC99D4E75') # Bertrand Garrigues 
<[email protected]>
-source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
-        display-utc-times.patch
-        'site.tmac')
-sha256sums=('e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293'
-            'SKIP'
-            'b1e0bcbe1e0737aed1301066ff92a1e7fa0bd8b80a36321f92f519366a1acdb3'
-            'a2f4c5657595c5961c2c2b80e77b1126a2fc0a0caea5c0660b36255b3d85b7ff')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # always use UTC times for display - using localtime is problematic for 
reproducible builds
-  # fixes FS#69123 - patch taken from Debian
-  patch -Np1 -i ../display-utc-times.patch
-}  
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-    --prefix=/usr \
-    --with-x \
-    --with-appresdir=/usr/share/X11/app-defaults
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  
-  # add compatibility symlinks
-  ln -s eqn "$pkgdir"/usr/bin/geqn
-  ln -s tbl "$pkgdir"/usr/bin/gtbl
-  ln -s soelim "$pkgdir"/usr/bin/zsoelim
-
-  # FS33760 - TERMCAP variables not followed
-  # TODO: everyone is doing this - find out why upstream does not...
-  cat "$srcdir"/site.tmac >> \
-    "$pkgdir"/usr/share/groff/site-tmac/man.local
-  cat "$srcdir"/site.tmac >> \
-    "$pkgdir"/usr/share/groff/site-tmac/mdoc.local
-}

Copied: groff/repos/testing-x86_64/PKGBUILD (from rev 470812, 
groff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-14 13:39:30 UTC (rev 470813)
@@ -0,0 +1,63 @@
+# Maintainer: 
+
+pkgname=groff
+pkgver=1.22.4
+pkgrel=10
+pkgdesc='GNU troff text-formatting system'
+arch=('x86_64')
+url='https://www.gnu.org/software/groff/groff.html'
+license=('GPL')
+depends=('perl' 'gcc-libs')
+makedepends=('netpbm' 'psutils'  'libxaw' 'perl-file-homedir')
+optdepends=('netpbm: for use together with man -H command interaction in 
browsers'
+            'psutils: for use together with man -H command interaction in 
browsers'
+            'libxaw: for gxditview'
+            'perl-file-homedir: for use with glilypond')
+options=('!docs' '!emptydirs' '!makeflags')
+validpgpkeys=('2D0C08D2B0AD0D3D8626670272D23FBAC99D4E75') # Bertrand Garrigues 
<[email protected]>
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        display-utc-times.patch
+        'site.tmac')
+sha256sums=('e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293'
+            'SKIP'
+            'b1e0bcbe1e0737aed1301066ff92a1e7fa0bd8b80a36321f92f519366a1acdb3'
+            'a2f4c5657595c5961c2c2b80e77b1126a2fc0a0caea5c0660b36255b3d85b7ff')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # always use UTC times for display - using localtime is problematic for 
reproducible builds
+  # fixes FS#69123 - patch taken from Debian
+  patch -Np1 -i ../display-utc-times.patch
+}  
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+    --prefix=/usr \
+    --with-x \
+    --with-appresdir=/usr/share/X11/app-defaults
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  
+  # add compatibility symlinks
+  ln -s eqn "$pkgdir"/usr/bin/geqn
+  ln -s tbl "$pkgdir"/usr/bin/gtbl
+  ln -s soelim "$pkgdir"/usr/bin/zsoelim
+
+  # FS33760 - TERMCAP variables not followed
+  # TODO: everyone is doing this - find out why upstream does not...
+  cat "$srcdir"/site.tmac >> \
+    "$pkgdir"/usr/share/groff/site-tmac/man.local
+  cat "$srcdir"/site.tmac >> \
+    "$pkgdir"/usr/share/groff/site-tmac/mdoc.local
+}

Deleted: display-utc-times.patch
===================================================================
--- display-utc-times.patch     2023-03-14 13:39:21 UTC (rev 470812)
+++ display-utc-times.patch     2023-03-14 13:39:30 UTC (rev 470813)
@@ -1,90 +0,0 @@
-From 69faba79256faeee8d564298855eebe8c5e9c870 Mon Sep 17 00:00:00 2001
-From: Colin Watson <[email protected]>
-Date: Fri, 6 Nov 2015 11:40:37 +0000
-Subject: Always use UTC times for display
-
-Using localtime is problematic for reproducible builds.  For now, always
-use UTC times (gmtime etc.) for display.  (Note that this changes the
-semantics of \n[hours] etc., so may need further work.)
-
-Forwarded: no
-Last-Update: 2018-03-05
-
-Patch-Name: display-utc-times.patch
----
- src/devices/grohtml/post-html.cpp | 4 ++--
- src/devices/gropdf/gropdf.pl      | 4 ++--
- src/devices/grops/ps.cpp          | 2 +-
- src/roff/troff/input.cpp          | 2 +-
- 4 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/devices/grohtml/post-html.cpp 
b/src/devices/grohtml/post-html.cpp
-index 7bc017e0..ad7ca54f 100644
---- a/src/devices/grohtml/post-html.cpp
-+++ b/src/devices/grohtml/post-html.cpp
-@@ -5016,7 +5016,7 @@ void html_printer::do_file_components (void)
- 
-       t = current_time();
-       html.begin_comment("CreationDate: ")
--      .put_string(ctime(&t), strlen(ctime(&t))-1)
-+      .put_string(asctime(gmtime(&t)), strlen(asctime(gmtime(&t)))-1)
-       .end_comment();
- 
-       if (dialect == html4)
-@@ -5129,7 +5129,7 @@ html_printer::~html_printer()
- 
-   t = current_time();
-   html.begin_comment("CreationDate: ")
--    .put_string(ctime(&t), strlen(ctime(&t))-1)
-+    .put_string(asctime(gmtime(&t)), strlen(asctime(gmtime(&t)))-1)
-     .end_comment();
- 
-   if (dialect == html4)
-diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
-index 2ec52d06..134b0962 100644
---- a/src/devices/gropdf/gropdf.pl
-+++ b/src/devices/gropdf/gropdf.pl
-@@ -280,7 +280,7 @@ elsif (exists($ppsz{$papersz}))
-     @defaultmb=@mediabox=(0,0,$ppsz{$papersz}->[0],$ppsz{$papersz}->[1]);
- }
- 
--my (@dt)=localtime($ENV{SOURCE_DATE_EPOCH} || time);
-+my (@dt)=gmtime($ENV{SOURCE_DATE_EPOCH} || time);
- my $dt=PDFDate(\@dt);
- 
- my %info=('Creator' => "(groff version $cfg{GROFF_VERSION})",
-@@ -538,7 +538,7 @@ sub GetObj
- sub PDFDate
- {
-     my $dt=shift;
--    
return(sprintf("D:%04d%02d%02d%02d%02d%02d%+03d'00'",$dt->[5]+1900,$dt->[4]+1,$dt->[3],$dt->[2],$dt->[1],$dt->[0],(
 localtime time() + 3600*( 12 - (gmtime)[2] ) )[2] - 12));
-+    
return(sprintf("D:%04d%02d%02d%02d%02d%02d+00'00'",$dt->[5]+1900,$dt->[4]+1,$dt->[3],$dt->[2],$dt->[1],$dt->[0]));
- }
- 
- sub ToPoints
-diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp
-index ab3b1d73..b0fb78e1 100644
---- a/src/devices/grops/ps.cpp
-+++ b/src/devices/grops/ps.cpp
-@@ -1392,7 +1392,7 @@ ps_printer::~ps_printer()
-     time_t
- #endif
-     t = current_time();
--    fputs(ctime(&t), out.get_file());
-+    fputs(asctime(gmtime(&t)), out.get_file());
-   }
-   for (font_pointer_list *f = font_list; f; f = f->next) {
-     ps_font *psf = (ps_font *)(f->p);
-diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
-index a1bd8eaf..f415aa6d 100644
---- a/src/roff/troff/input.cpp
-+++ b/src/roff/troff/input.cpp
-@@ -8084,7 +8084,7 @@ static void init_registers()
- #endif /* not LONG_FOR_TIME_T */
-     t = current_time();
-   // Use struct here to work around misfeature in old versions of g++.
--  struct tm *tt = localtime(&t);
-+  struct tm *tt = gmtime(&t);
-   set_number_reg("seconds", int(tt->tm_sec));
-   set_number_reg("minutes", int(tt->tm_min));
-   set_number_reg("hours", int(tt->tm_hour));

Copied: groff/repos/testing-x86_64/display-utc-times.patch (from rev 470812, 
groff/trunk/display-utc-times.patch)
===================================================================
--- display-utc-times.patch                             (rev 0)
+++ display-utc-times.patch     2023-03-14 13:39:30 UTC (rev 470813)
@@ -0,0 +1,90 @@
+From 69faba79256faeee8d564298855eebe8c5e9c870 Mon Sep 17 00:00:00 2001
+From: Colin Watson <[email protected]>
+Date: Fri, 6 Nov 2015 11:40:37 +0000
+Subject: Always use UTC times for display
+
+Using localtime is problematic for reproducible builds.  For now, always
+use UTC times (gmtime etc.) for display.  (Note that this changes the
+semantics of \n[hours] etc., so may need further work.)
+
+Forwarded: no
+Last-Update: 2018-03-05
+
+Patch-Name: display-utc-times.patch
+---
+ src/devices/grohtml/post-html.cpp | 4 ++--
+ src/devices/gropdf/gropdf.pl      | 4 ++--
+ src/devices/grops/ps.cpp          | 2 +-
+ src/roff/troff/input.cpp          | 2 +-
+ 4 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/devices/grohtml/post-html.cpp 
b/src/devices/grohtml/post-html.cpp
+index 7bc017e0..ad7ca54f 100644
+--- a/src/devices/grohtml/post-html.cpp
++++ b/src/devices/grohtml/post-html.cpp
+@@ -5016,7 +5016,7 @@ void html_printer::do_file_components (void)
+ 
+       t = current_time();
+       html.begin_comment("CreationDate: ")
+-      .put_string(ctime(&t), strlen(ctime(&t))-1)
++      .put_string(asctime(gmtime(&t)), strlen(asctime(gmtime(&t)))-1)
+       .end_comment();
+ 
+       if (dialect == html4)
+@@ -5129,7 +5129,7 @@ html_printer::~html_printer()
+ 
+   t = current_time();
+   html.begin_comment("CreationDate: ")
+-    .put_string(ctime(&t), strlen(ctime(&t))-1)
++    .put_string(asctime(gmtime(&t)), strlen(asctime(gmtime(&t)))-1)
+     .end_comment();
+ 
+   if (dialect == html4)
+diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
+index 2ec52d06..134b0962 100644
+--- a/src/devices/gropdf/gropdf.pl
++++ b/src/devices/gropdf/gropdf.pl
+@@ -280,7 +280,7 @@ elsif (exists($ppsz{$papersz}))
+     @defaultmb=@mediabox=(0,0,$ppsz{$papersz}->[0],$ppsz{$papersz}->[1]);
+ }
+ 
+-my (@dt)=localtime($ENV{SOURCE_DATE_EPOCH} || time);
++my (@dt)=gmtime($ENV{SOURCE_DATE_EPOCH} || time);
+ my $dt=PDFDate(\@dt);
+ 
+ my %info=('Creator' => "(groff version $cfg{GROFF_VERSION})",
+@@ -538,7 +538,7 @@ sub GetObj
+ sub PDFDate
+ {
+     my $dt=shift;
+-    
return(sprintf("D:%04d%02d%02d%02d%02d%02d%+03d'00'",$dt->[5]+1900,$dt->[4]+1,$dt->[3],$dt->[2],$dt->[1],$dt->[0],(
 localtime time() + 3600*( 12 - (gmtime)[2] ) )[2] - 12));
++    
return(sprintf("D:%04d%02d%02d%02d%02d%02d+00'00'",$dt->[5]+1900,$dt->[4]+1,$dt->[3],$dt->[2],$dt->[1],$dt->[0]));
+ }
+ 
+ sub ToPoints
+diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp
+index ab3b1d73..b0fb78e1 100644
+--- a/src/devices/grops/ps.cpp
++++ b/src/devices/grops/ps.cpp
+@@ -1392,7 +1392,7 @@ ps_printer::~ps_printer()
+     time_t
+ #endif
+     t = current_time();
+-    fputs(ctime(&t), out.get_file());
++    fputs(asctime(gmtime(&t)), out.get_file());
+   }
+   for (font_pointer_list *f = font_list; f; f = f->next) {
+     ps_font *psf = (ps_font *)(f->p);
+diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
+index a1bd8eaf..f415aa6d 100644
+--- a/src/roff/troff/input.cpp
++++ b/src/roff/troff/input.cpp
+@@ -8084,7 +8084,7 @@ static void init_registers()
+ #endif /* not LONG_FOR_TIME_T */
+     t = current_time();
+   // Use struct here to work around misfeature in old versions of g++.
+-  struct tm *tt = localtime(&t);
++  struct tm *tt = gmtime(&t);
+   set_number_reg("seconds", int(tt->tm_sec));
+   set_number_reg("minutes", int(tt->tm_min));
+   set_number_reg("hours", int(tt->tm_hour));

Deleted: site.tmac
===================================================================
--- site.tmac   2023-03-14 13:39:21 UTC (rev 470812)
+++ site.tmac   2023-03-14 13:39:30 UTC (rev 470813)
@@ -1,15 +0,0 @@
-.
-.if n \{\
-.  \" Character translations for non-keyboard
-.  \" characters - to make them searchable
-.  if '\*[.T]'utf8' \{\
-.    char \- \N'45'
-.    char - \N'45'
-.    char ' \N'39'
-.  \}
-.
-.  \" Shut off SGR by default (groff colors)
-.  \" Require GROFF_SGR envvar defined to turn it on
-.  if '\V[GROFF_SGR]'' \
-.    output x X tty: sgr 0
-.\}

Copied: groff/repos/testing-x86_64/site.tmac (from rev 470812, 
groff/trunk/site.tmac)
===================================================================
--- site.tmac                           (rev 0)
+++ site.tmac   2023-03-14 13:39:30 UTC (rev 470813)
@@ -0,0 +1,15 @@
+.
+.if n \{\
+.  \" Character translations for non-keyboard
+.  \" characters - to make them searchable
+.  if '\*[.T]'utf8' \{\
+.    char \- \N'45'
+.    char - \N'45'
+.    char ' \N'39'
+.  \}
+.
+.  \" Shut off SGR by default (groff colors)
+.  \" Require GROFF_SGR envvar defined to turn it on
+.  if '\V[GROFF_SGR]'' \
+.    output x X tty: sgr 0
+.\}

Reply via email to