Accepting request 284053 from M17N
- Version bump to latest release 1.22.3: * X11 resources for `gxditview', which were previously installed in /usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are now installed in appresdir=$prefix/lib/X11/app-defaults. If `appresdir' is not a standard X11 resource directory, the environment variable XFILESEARCHPATH should be set to this path. The standard default directories depends on the system `libXt'. * This new preprocessor (contributed by Bernd Warken) allows embedding of code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The data gets automatically processed and embedded as EPS images. * Bernd Warken contributed a new preprocessor to handle Perl code that can be evaluated and then processed by groff. * Another preprocessor from Bernd Warken to pretty-print Pinyin syllables like `guo2wang2' as `guówáng'. * The pdfroff utility script now activates its `--no-toc-relocation' option by default, unless a request similar to: .if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled is invoked during input file processing; (`.if !\n[PHASE] ...' ensures that the effect of the `.tm' request is restricted to the document setup phase of processing, as pdfroff sets it to 1 or 2 in the output phase, but leaves it unset in the setup phase). The bundled `spdf.tmac' macro package, which implicitly activates `-mpdfmark' for `ms' macro users, ensures that TOC relocation is appropriately enabled, when the `.TC' macro is invoked. * The -mom macro package now has full support for eqn, pic, and tbl, as well as captioning and labelling of pdf images and preprocessor output. Lists of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has a new FRAME option. * A French introduction to the -me macro package has been added (file `meintro_fr.me'). OBS-URL: https://build.opensuse.org/request/show/284053 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/groff?expand=0&rev=52
This commit is contained in:
commit
8a330809f9
@ -1,17 +1,129 @@
|
||||
Index: groff-1.21/contrib/groffer/perl/groffer.pl
|
||||
Index: groff-1.22.3/contrib/pdfmark/pdfroff.man
|
||||
===================================================================
|
||||
--- groff-1.21.orig/contrib/groffer/perl/groffer.pl 2010-12-31 08:33:09.000000000 +0100
|
||||
+++ groff-1.21/contrib/groffer/perl/groffer.pl 2011-09-22 14:23:55.756494935 +0200
|
||||
@@ -1380,7 +1380,7 @@
|
||||
########################################################################
|
||||
--- groff-1.22.3.orig/contrib/pdfmark/pdfroff.man
|
||||
+++ groff-1.22.3/contrib/pdfmark/pdfroff.man
|
||||
@@ -555,7 +555,7 @@ defaults to
|
||||
.B GROFF_TMPDIR
|
||||
Identifies the directory in which
|
||||
.B pdfroff
|
||||
-should create temporary files.
|
||||
+should create a subdirectory for its temporary files.
|
||||
.
|
||||
If
|
||||
.B \%GROFF_TMPDIR
|
||||
@@ -568,7 +568,8 @@ and
|
||||
.B TEMP
|
||||
are considered in turn, as possible temporary file repositories.
|
||||
If none of these are set, then temporary files are created
|
||||
-in the current directory.
|
||||
+in a subdirectory of
|
||||
+.BR /tmp .
|
||||
.
|
||||
.TP
|
||||
.B GROFF_GHOSTSCRIPT_INTERPRETER
|
||||
Index: groff-1.22.3/doc/fixinfo.sh
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/doc/fixinfo.sh
|
||||
+++ groff-1.22.3/doc/fixinfo.sh
|
||||
@@ -22,7 +22,9 @@
|
||||
# groff.texinfo macro code. Hopefully, a new texinfo version makes it
|
||||
# unnecessary.
|
||||
|
||||
sub main_temp {
|
||||
-t=${TMPDIR-.}/gro$$.tmp
|
||||
+t="`mktemp -t groff-fixinfo.XXXXXXXXXX`" || exit
|
||||
+trap 'rm -f -- "$t"' EXIT
|
||||
+trap 'trap - EXIT; rm -f -- "$t"; exit 1' HUP INT QUIT TERM
|
||||
|
||||
cat $1 | sed '
|
||||
1 {
|
||||
Index: groff-1.22.3/doc/groff.info-2
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/doc/groff.info-2
|
||||
+++ groff-1.22.3/doc/groff.info-2
|
||||
@@ -1697,9 +1697,9 @@ not there, 'groff' would not know when t
|
||||
time into a document:
|
||||
|
||||
.sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
|
||||
- (localtime(time))[2,1,0]' > /tmp/x\n[$$]
|
||||
- .so /tmp/x\n[$$]
|
||||
- .sy rm /tmp/x\n[$$]
|
||||
+ (localtime(time))[2,1,0]' > timefile\n[$$]
|
||||
+ .so timefile\n[$$]
|
||||
+ .sy rm timefile\n[$$]
|
||||
\nH:\nM:\nS
|
||||
|
||||
Note that this works by having the 'perl' script (run by 'sy')
|
||||
Index: groff-1.22.3/doc/groff.texinfo
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/doc/groff.texinfo
|
||||
+++ groff-1.22.3/doc/groff.texinfo
|
||||
@@ -13736,9 +13736,9 @@ into a document:
|
||||
@pindex perl
|
||||
@Example
|
||||
.sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
|
||||
- (localtime(time))[2,1,0]' > /tmp/x\n[$$]
|
||||
-.so /tmp/x\n[$$]
|
||||
-.sy rm /tmp/x\n[$$]
|
||||
+ (localtime(time))[2,1,0]' > timefile\n[$$]
|
||||
+.so timefile\n[$$]
|
||||
+.sy rm timefile\n[$$]
|
||||
\nH:\nM:\nS
|
||||
@endExample
|
||||
|
||||
Index: groff-1.22.3/gendef.sh
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/gendef.sh
|
||||
+++ groff-1.22.3/gendef.sh
|
||||
@@ -33,11 +33,9 @@ do
|
||||
#define $def"
|
||||
done
|
||||
|
||||
-# Use $TMPDIR if defined. Default to cwd, for non-Unix systems
|
||||
-# which don't have /tmp on each drive (we are going to remove
|
||||
-# the file before we exit anyway). Put the PID in the basename,
|
||||
-# since the extension can only hold 3 characters on MS-DOS.
|
||||
-t=${TMPDIR-.}/gro$$.tmp
|
||||
+t="`mktemp -t groff-gendef.XXXXXXXXXX`" || exit
|
||||
+trap 'rm -f -- "$t"' EXIT
|
||||
+trap 'trap - EXIT; rm -f -- "$t"; exit 1' HUP INT QUIT TERM
|
||||
|
||||
sed -e 's/=/ /' >$t <<EOF
|
||||
$defs
|
||||
@@ -45,8 +43,6 @@ EOF
|
||||
|
||||
test -r $file && cmp -s $t $file || cp $t $file
|
||||
|
||||
-rm -f $t
|
||||
-
|
||||
exit 0
|
||||
|
||||
# eof
|
||||
Index: groff-1.22.3/src/roff/groff/pipeline.c
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/src/roff/groff/pipeline.c
|
||||
+++ groff-1.22.3/src/roff/groff/pipeline.c
|
||||
@@ -376,6 +376,7 @@ int run_pipeline(int ncommands, char ***
|
||||
/* Don't use `tmpnam' here: Microsoft's implementation yields unusable
|
||||
file names if current directory is on network share with read-only
|
||||
root. */
|
||||
+#error AUDIT: This code is only compiled under DOS
|
||||
tmpfiles[0] = tempnam(tmpdir, NULL);
|
||||
tmpfiles[1] = tempnam(tmpdir, NULL);
|
||||
|
||||
Index: groff-1.22.3/contrib/groffer/main_subs.pl
|
||||
===================================================================
|
||||
--- groff-1.22.3.orig/contrib/groffer/main_subs.pl
|
||||
+++ groff-1.22.3/contrib/groffer/main_subs.pl
|
||||
@@ -1239,7 +1239,7 @@ sub main_temp {
|
||||
our $fh_stdin;
|
||||
our $tmp_cat;
|
||||
our $tmp_stdin;
|
||||
- my $template = 'groffer_' . "$$" . '_XXXX';
|
||||
+ my $template = 'groffer_' . "$$" . '_XXXXXXXXXX';
|
||||
foreach ($ENV{'GROFF_TMPDIR'}, $ENV{'TMPDIR'}, $ENV{'TMP'}, $ENV{'TEMP'},
|
||||
$ENV{'TEMPDIR'}, File::Spec->catfile($ENV{'HOME'}, 'tmp')) {
|
||||
if ($_ && -d $_ && -w $_) {
|
||||
@@ -1411,12 +1411,12 @@
|
||||
@@ -1271,12 +1271,12 @@ sub main_temp {
|
||||
|
||||
# further argument: SUFFIX => '.sh'
|
||||
if ($Debug{'KEEP'}) {
|
||||
@ -28,11 +140,11 @@ Index: groff-1.21/contrib/groffer/perl/groffer.pl
|
||||
DIR => $tmpdir);
|
||||
}
|
||||
} # main_temp()
|
||||
Index: groff-1.21/contrib/groffer/perl/roff2.pl
|
||||
Index: groff-1.22.3/contrib/groffer/roff2.pl
|
||||
===================================================================
|
||||
--- groff-1.21.orig/contrib/groffer/perl/roff2.pl 2010-12-31 08:33:09.000000000 +0100
|
||||
+++ groff-1.21/contrib/groffer/perl/roff2.pl 2011-09-22 14:23:55.783495865 +0200
|
||||
@@ -124,7 +124,7 @@
|
||||
--- groff-1.22.3.orig/contrib/groffer/roff2.pl
|
||||
+++ groff-1.22.3/contrib/groffer/roff2.pl
|
||||
@@ -123,7 +123,7 @@ if ($Has_Groffer) {
|
||||
last;
|
||||
}
|
||||
}
|
||||
@ -41,115 +153,3 @@ Index: groff-1.21/contrib/groffer/perl/roff2.pl
|
||||
my ($fh, $stdin);
|
||||
if ($tempdir) {
|
||||
($fh, $stdin) = tempfile($template, UNLINK => 1, DIR => $tempdir) ||
|
||||
Index: groff-1.21/contrib/pdfmark/pdfroff.man
|
||||
===================================================================
|
||||
--- groff-1.21.orig/contrib/pdfmark/pdfroff.man 2011-09-22 14:15:22.000000000 +0200
|
||||
+++ groff-1.21/contrib/pdfmark/pdfroff.man 2011-09-22 14:23:55.792496177 +0200
|
||||
@@ -529,7 +529,7 @@
|
||||
.B GROFF_TMPDIR
|
||||
Identifies the directory in which
|
||||
.B pdfroff
|
||||
-should create temporary files.
|
||||
+should create a subdirectory for its temporary files.
|
||||
If
|
||||
.B \%GROFF_TMPDIR
|
||||
is
|
||||
@@ -541,7 +541,8 @@
|
||||
.B TEMP
|
||||
are considered in turn, as possible temporary file repositories.
|
||||
If none of these are set, then temporary files are created
|
||||
-in the current directory.
|
||||
+in a subdirectory of
|
||||
+.BR /tmp .
|
||||
.
|
||||
.TP
|
||||
.B GROFF_GHOSTSCRIPT_INTERPRETER
|
||||
Index: groff-1.21/doc/fixinfo.sh
|
||||
===================================================================
|
||||
--- groff-1.21.orig/doc/fixinfo.sh 2010-12-31 08:33:09.000000000 +0100
|
||||
+++ groff-1.21/doc/fixinfo.sh 2011-09-22 14:23:55.795496280 +0200
|
||||
@@ -21,7 +21,9 @@
|
||||
# groff.texinfo macro code. Hopefully, a new texinfo version makes it
|
||||
# unnecessary.
|
||||
|
||||
-t=${TMPDIR-.}/gro$$.tmp
|
||||
+t="`mktemp -t groff-fixinfo.XXXXXXXXXX`" || exit
|
||||
+trap 'rm -f -- "$t"' EXIT
|
||||
+trap 'trap - EXIT; rm -f -- "$t"; exit 1' HUP INT QUIT TERM
|
||||
|
||||
cat $1 | sed '
|
||||
1 {
|
||||
Index: groff-1.21/doc/groff.info-2
|
||||
===================================================================
|
||||
--- groff-1.21.orig/doc/groff.info-2 2010-12-31 08:33:12.000000000 +0100
|
||||
+++ groff-1.21/doc/groff.info-2 2011-09-22 14:23:55.798496383 +0200
|
||||
@@ -1918,9 +1918,9 @@
|
||||
|
||||
|
||||
.sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
|
||||
- (localtime(time))[2,1,0]' > /tmp/x\n[$$]
|
||||
- .so /tmp/x\n[$$]
|
||||
- .sy rm /tmp/x\n[$$]
|
||||
+ (localtime(time))[2,1,0]' > timefile\n[$$]
|
||||
+ .so timefile\n[$$]
|
||||
+ .sy rm timefile\n[$$]
|
||||
\nH:\nM:\nS
|
||||
|
||||
Note that this works by having the `perl' script (run by `sy')
|
||||
Index: groff-1.21/doc/groff.texinfo
|
||||
===================================================================
|
||||
--- groff-1.21.orig/doc/groff.texinfo 2010-12-31 08:33:09.000000000 +0100
|
||||
+++ groff-1.21/doc/groff.texinfo 2011-09-22 14:23:55.803496556 +0200
|
||||
@@ -13568,9 +13568,9 @@
|
||||
@pindex perl
|
||||
@Example
|
||||
.sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
|
||||
- (localtime(time))[2,1,0]' > /tmp/x\n[$$]
|
||||
-.so /tmp/x\n[$$]
|
||||
-.sy rm /tmp/x\n[$$]
|
||||
+ (localtime(time))[2,1,0]' > timefile\n[$$]
|
||||
+.so timefile\n[$$]
|
||||
+.sy rm timefile\n[$$]
|
||||
\nH:\nM:\nS
|
||||
@endExample
|
||||
|
||||
Index: groff-1.21/gendef.sh
|
||||
===================================================================
|
||||
--- groff-1.21.orig/gendef.sh 2010-12-31 08:33:08.000000000 +0100
|
||||
+++ groff-1.21/gendef.sh 2011-09-22 14:23:55.804496590 +0200
|
||||
@@ -34,11 +34,9 @@
|
||||
#define $def"
|
||||
done
|
||||
|
||||
-# Use $TMPDIR if defined. Default to cwd, for non-Unix systems
|
||||
-# which don't have /tmp on each drive (we are going to remove
|
||||
-# the file before we exit anyway). Put the PID in the basename,
|
||||
-# since the extension can only hold 3 characters on MS-DOS.
|
||||
-t=${TMPDIR-.}/gro$$.tmp
|
||||
+t="`mktemp -t groff-gendef.XXXXXXXXXX`" || exit
|
||||
+trap 'rm -f -- "$t"' EXIT
|
||||
+trap 'trap - EXIT; rm -f -- "$t"; exit 1' HUP INT QUIT TERM
|
||||
|
||||
sed -e 's/=/ /' >$t <<EOF
|
||||
$defs
|
||||
@@ -46,8 +44,6 @@
|
||||
|
||||
test -r $file && cmp -s $t $file || cp $t $file
|
||||
|
||||
-rm -f $t
|
||||
-
|
||||
exit 0
|
||||
|
||||
# eof
|
||||
Index: groff-1.21/src/roff/groff/pipeline.c
|
||||
===================================================================
|
||||
--- groff-1.21.orig/src/roff/groff/pipeline.c 2010-12-31 08:33:08.000000000 +0100
|
||||
+++ groff-1.21/src/roff/groff/pipeline.c 2011-09-22 14:23:55.804496590 +0200
|
||||
@@ -378,6 +378,7 @@
|
||||
/* Don't use `tmpnam' here: Microsoft's implementation yields unusable
|
||||
file names if current directory is on network share with read-only
|
||||
root. */
|
||||
+#error AUDIT: This code is only compiled under DOS
|
||||
tmpfiles[0] = tempnam(tmpdir, NULL);
|
||||
tmpfiles[1] = tempnam(tmpdir, NULL);
|
||||
|
||||
|
@ -1,30 +1,32 @@
|
||||
Index: groff-1.22.2/contrib/groffer/Makefile.sub
|
||||
Index: groff-1.22.3/contrib/groffer/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.22.2.orig/contrib/groffer/Makefile.sub
|
||||
+++ groff-1.22.2/contrib/groffer/Makefile.sub
|
||||
@@ -73,7 +73,7 @@ groffer: $(GROFFER_PERL) $(GROFFER_SHELL
|
||||
sed -f "$(SH_DEPS_SED_SCRIPT)" \
|
||||
-e "s|@g@|$(g)|g" \
|
||||
--- groff-1.22.3.orig/contrib/groffer/Makefile.sub
|
||||
+++ groff-1.22.3/contrib/groffer/Makefile.sub
|
||||
@@ -57,7 +57,7 @@ groffer: $(GROFFER_PERL) $(GROFFER_REST)
|
||||
sed -f "$(SH_DEPS_SED_SCRIPT)" \
|
||||
-e "s|@g@|$(g)|g" \
|
||||
-e "s|@BINDIR@|$(DESTDIR)$(bindir)|g" \
|
||||
- -e "s|@libdir@|$(DESTDIR)$(libdir)|g" \
|
||||
+ -e "s|@libexecdir@|$(DESTDIR)$(libexecdir)|g" \
|
||||
-e "s|@groffer_dir@|$(DESTDIR)$(groffer_dir)|g" \
|
||||
-e "s|@VERSION@|$(version)$(revision)|g" \
|
||||
-e "$(SH_SCRIPT_SED_CMD)" \
|
||||
@@ -138,7 +138,7 @@ uninstall_sub:
|
||||
for f in $(GROFFER_PERL_) $(GROFFER_SHELL_) version.sh; do \
|
||||
$(RM) $(DESTDIR)$(groffer_dir)/$$f; \
|
||||
done
|
||||
- -rmdir $(DESTDIR)$(libdir)/groff/groffer
|
||||
+ -rmdir $(DESTDIR)$(libexecdir)/groff/groffer
|
||||
@@ -96,8 +96,8 @@ uninstall_sub:
|
||||
-for f in $(GROFFER_PERL) version.sh; do \
|
||||
$(RM) $(DESTDIR)$(groffer_dir)/$$f;\
|
||||
done
|
||||
- -test -d $(DESTDIR)$(libdir)/groff/groffer && \
|
||||
- rmdir $(DESTDIR)$(libdir)/groff/groffer
|
||||
+ -test -d $(DESTDIR)$(libexecdir)/groff/groffer && \
|
||||
+ rmdir $(DESTDIR)$(libexecdir)/groff/groffer
|
||||
|
||||
|
||||
########################################################################
|
||||
# Emacs settings
|
||||
Index: groff-1.22.2/Makefile.in
|
||||
Index: groff-1.22.3/Makefile.in
|
||||
===================================================================
|
||||
--- groff-1.22.2.orig/Makefile.in
|
||||
+++ groff-1.22.2/Makefile.in
|
||||
@@ -139,6 +139,9 @@ bindir=@bindir@
|
||||
--- groff-1.22.3.orig/Makefile.in
|
||||
+++ groff-1.22.3/Makefile.in
|
||||
@@ -138,6 +138,9 @@ bindir=@bindir@
|
||||
libdir=@libdir@
|
||||
libprogramdir=$(libdir)/groff
|
||||
|
||||
@ -34,7 +36,7 @@ Index: groff-1.22.2/Makefile.in
|
||||
# `datasubdir' says where to install platform-independent data files.
|
||||
datadir=@datadir@
|
||||
datarootdir=@datarootdir@
|
||||
@@ -811,7 +814,7 @@ $(INCDIRS) $(PROGDEPDIRS) $(OTHERDIRS):
|
||||
@@ -907,7 +910,7 @@ $(INCDIRS) $(PROGDEPDIRS) $(SHPROGDIRS)
|
||||
fi; \
|
||||
test -d $@ || $(mkinstalldirs) $@; \
|
||||
cd $@; \
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076
|
||||
size 4019913
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
|
||||
iD8DBQBRE5wPwaYOrOcH/aURAgDcAJ9TpxrNc3iy1K2vJEaVmPy7yJi3awCcCW1s
|
||||
rOJRFSOkfgPX3Ppa1VUMmkM=
|
||||
=t2pa
|
||||
-----END PGP SIGNATURE-----
|
3
groff-1.22.3.tar.gz
Normal file
3
groff-1.22.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a48a9d6c97750bfbd535feeb5be0111db6406ddb7bb79fc680809cda6d828a5
|
||||
size 4188772
|
7
groff-1.22.3.tar.gz.sig
Normal file
7
groff-1.22.3.tar.gz.sig
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iD8DBQBUWJSIwaYOrOcH/aURAtxrAJ9+Ou+hyN+XEP9Xy3D6oGVaiIgGKwCff7DH
|
||||
0aip4dfybulQhKv61XW6ViA=
|
||||
=QkhF
|
||||
-----END PGP SIGNATURE-----
|
@ -1,63 +1,64 @@
|
||||
Index: groff-1.21/font/devdvi/Makefile.sub
|
||||
Index: groff-1.22.3/font/devdvi/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.21.orig/font/devdvi/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
|
||||
+++ groff-1.21/font/devdvi/Makefile.sub 2011-09-29 10:20:09.299489369 +0200
|
||||
@@ -16,8 +16,8 @@
|
||||
--- groff-1.22.3.orig/font/devdvi/Makefile.sub
|
||||
+++ groff-1.22.3/font/devdvi/Makefile.sub
|
||||
@@ -43,9 +43,9 @@ MOSTLYCLEANADD=DESC
|
||||
DESC: DESC.in
|
||||
cat $(srcdir)/DESC.in >DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize /etc/papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale a4" >>DESC; \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize locale a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize /etc/papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale letter" >>DESC; \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize locale letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC
|
||||
Index: groff-1.21/font/devlbp/Makefile.sub
|
||||
|
||||
Index: groff-1.22.3/font/devlbp/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.21.orig/font/devlbp/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
|
||||
+++ groff-1.21/font/devlbp/Makefile.sub 2011-09-29 10:20:25.060031676 +0200
|
||||
@@ -13,9 +13,9 @@
|
||||
-rm -f DESC
|
||||
cat $(srcdir)/DESC.in >>DESC
|
||||
--- groff-1.22.3.orig/font/devlbp/Makefile.sub
|
||||
+++ groff-1.22.3/font/devlbp/Makefile.sub
|
||||
@@ -39,9 +39,9 @@ MOSTLYCLEANADD=DESC
|
||||
DESC: DESC.in
|
||||
cat $(srcdir)/DESC.in >DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize /etc/papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale a4" >>DESC; \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize locale a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize /etc/papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale letter" >>DESC; \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize locale letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(LBPPRINT)' || echo print '$(LBPPRINT)' >>DESC
|
||||
|
||||
Index: groff-1.21/font/devlj4/Makefile.sub
|
||||
Index: groff-1.22.3/font/devlj4/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.21.orig/font/devlj4/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
|
||||
+++ groff-1.21/font/devlj4/Makefile.sub 2011-09-29 10:20:35.332386890 +0200
|
||||
@@ -30,9 +30,9 @@
|
||||
--- groff-1.22.3.orig/font/devlj4/Makefile.sub
|
||||
+++ groff-1.22.3/font/devlj4/Makefile.sub
|
||||
@@ -58,9 +58,9 @@ DESC: DESC.in
|
||||
echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
|
||||
cat $(srcdir)/DESC.in >>DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize /etc/papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale a4" >>DESC; \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize locale a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize /etc/papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale letter" >>DESC; \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize locale letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC
|
||||
|
||||
Index: groff-1.21/font/devps/Makefile.sub
|
||||
Index: groff-1.22.3/font/devps/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.21.orig/font/devps/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
|
||||
+++ groff-1.21/font/devps/Makefile.sub 2011-09-29 10:20:45.194727208 +0200
|
||||
@@ -40,9 +40,9 @@
|
||||
--- groff-1.22.3.orig/font/devps/Makefile.sub
|
||||
+++ groff-1.22.3/font/devps/Makefile.sub
|
||||
@@ -65,9 +65,9 @@ DESC: DESC.in
|
||||
cat $(srcdir)/DESC.in >DESC
|
||||
echo broken $(BROKEN_SPOOLER_FLAGS) >>DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize /etc/papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale a4" >>DESC; \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize locale a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize /etc/papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize locale letter" >>DESC; \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize locale letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(PSPRINT)' || echo print '$(PSPRINT)' >>DESC
|
||||
|
||||
|
@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 10:30:49 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to latest release 1.22.3:
|
||||
* X11 resources for `gxditview', which were previously installed in
|
||||
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
|
||||
now installed in appresdir=$prefix/lib/X11/app-defaults. If
|
||||
`appresdir' is not a standard X11 resource directory, the environment
|
||||
variable XFILESEARCHPATH should be set to this path. The standard
|
||||
default directories depends on the system `libXt'.
|
||||
* This new preprocessor (contributed by Bernd Warken) allows embedding of
|
||||
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
|
||||
data gets automatically processed and embedded as EPS images.
|
||||
* Bernd Warken contributed a new preprocessor to handle Perl code that can
|
||||
be evaluated and then processed by groff.
|
||||
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
|
||||
like `guo2wang2' as `guówáng'.
|
||||
* The pdfroff utility script now activates its `--no-toc-relocation' option
|
||||
by default, unless a request similar to:
|
||||
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
|
||||
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
|
||||
that the effect of the `.tm' request is restricted to the document setup
|
||||
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
|
||||
but leaves it unset in the setup phase).
|
||||
The bundled `spdf.tmac' macro package, which implicitly activates
|
||||
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
|
||||
appropriately enabled, when the `.TC' macro is invoked.
|
||||
* The -mom macro package now has full support for eqn, pic, and tbl, as well
|
||||
as captioning and labelling of pdf images and preprocessor output. Lists
|
||||
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
|
||||
a new FRAME option.
|
||||
* A French introduction to the -me macro package has been added (file
|
||||
`meintro_fr.me').
|
||||
* In -mdoc, command %C is now available, providing a city or place
|
||||
reference.
|
||||
- Refreshed patches:
|
||||
* groff-1.21-CVE-2009-5081.patch
|
||||
* groff-1.21-groffer-libexecdir.patch
|
||||
* groff-force-locale-usage.patch
|
||||
- Replaced patches:
|
||||
* deleted groff_1.22.2-2.debian.diff
|
||||
* added groff_1.22.3-1.debian.diff
|
||||
- New patches:
|
||||
* groff-multi-thread.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 14:34:44 UTC 2014 - meissner@suse.com
|
||||
|
||||
|
129
groff-full.spec
129
groff-full.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package groff-full
|
||||
# spec file for package groff
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,11 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
##### WARNING: please do not edit this auto generated spec file. Use the groff.spec! #####
|
||||
%global groff_base_only 0
|
||||
|
||||
%if %{groff_base_only}
|
||||
Name: groff
|
||||
%else
|
||||
Name: groff-full
|
||||
Version: 1.22.2
|
||||
%endif
|
||||
Version: 1.22.3
|
||||
Release: 0
|
||||
Summary: GNU troff Document Formatting System
|
||||
License: BSD-3-Clause and GPL-2.0+
|
||||
@ -37,7 +39,9 @@ Source4: zzz-groff.csh
|
||||
# done
|
||||
##remove a part related to src/preproc/html/pre-html.cpp - see bnc#755533
|
||||
# filterdiff -x 'src/preproc/html/pre-html.cpp' foo > groff_1.22.2-2.debian.diff
|
||||
Patch0: groff_1.22.2-2.debian.diff
|
||||
##remove Debian package string for openSUSE package string
|
||||
##delete the papersize /etc settings patch
|
||||
Patch0: groff_1.22.3-1.debian.diff
|
||||
Patch1: groff-1.20.1-destbufferoverflow.patch
|
||||
Patch2: groff-1.20.1-nroff-empty-LANGUAGE.patch
|
||||
Patch3: groff-1.21-groffer-libexecdir.patch
|
||||
@ -55,43 +59,38 @@ Patch9: 0002-documentation-for-the-locale-keyword.patch
|
||||
# change the papersize definition to force the locale usage
|
||||
# it can be supressed by /etc/papersize if needed
|
||||
Patch10: groff-force-locale-usage.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# PATCH-FIX-UPSTREAM fix build with multiple threads ; taken from upstream
|
||||
Patch11: groff-multi-thread.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: makeinfo
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
Recommends: groff-full
|
||||
%else
|
||||
BuildRequires: ghostscript-library
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
BuildRequires: groff
|
||||
BuildRequires: netpbm
|
||||
BuildRequires: psutils
|
||||
# for gxditview and X fontx
|
||||
BuildRequires: xorg-x11-devel
|
||||
|
||||
# for pre-grohtml and pdfroff
|
||||
Requires: ghostscript-library
|
||||
# requires the -base package
|
||||
Requires: groff = %{version}
|
||||
Requires: netpbm
|
||||
Requires: psutils
|
||||
Requires(pre): %{install_info_prereq}
|
||||
Provides: jgroff = %{version}-%{release}
|
||||
Provides: normal-groff = %{version}-%{release}
|
||||
Obsoletes: jgroff < %{version}
|
||||
# X fonts were moved back
|
||||
Provides: groff-devx = %{version}-%{release}
|
||||
Obsoletes: groff-devx <= 1.21
|
||||
# requires the -base package
|
||||
Requires: groff = %{version}
|
||||
Requires(pre): %install_info_prereq
|
||||
# for pre-grohtml and pdfroff
|
||||
Requires: ghostscript-library
|
||||
Requires: netpbm
|
||||
Requires: psutils
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
%description
|
||||
The groff package is a stripped-down package containing the necessary
|
||||
@ -101,7 +100,6 @@ with the standard set of devices, fonts, macros, and documentation, should
|
||||
install the groff-full package.
|
||||
|
||||
%else #groff_base_only
|
||||
|
||||
%description
|
||||
The groff-full package provides aditional tools excluded from base groff
|
||||
package, like grohtml, X fonts et. all.
|
||||
@ -109,8 +107,8 @@ package, like grohtml, X fonts et. all.
|
||||
Groff is used to "compile" man pages stored in groff or nroff format
|
||||
for different output devices, for example, displaying to a screen or in
|
||||
PostScript(tm) format for printing on a PostScript(tm) printer. Most
|
||||
programs store their man pages in either /usr/share/man/ or
|
||||
/usr/X11R6/man/.
|
||||
programs store their man pages in either %{_mandir}/ or
|
||||
%{_prefix}/X11R6/man/.
|
||||
|
||||
%package -n groff-doc
|
||||
Summary: HTML documentation and examples for groff
|
||||
@ -124,8 +122,8 @@ tbl, and other Unix text formatting utilities.
|
||||
Groff is used to "compile" man pages stored in groff or nroff format
|
||||
for different output devices, for example, displaying to a screen or in
|
||||
PostScript(tm) format for printing on a PostScript(tm) printer. Most
|
||||
programs store their man pages in either /usr/share/man/ or
|
||||
/usr/X11R6/man/.
|
||||
programs store their man pages in either %{_mandir}/ or
|
||||
%{_prefix}/X11R6/man/.
|
||||
|
||||
%package -n gxditview
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
@ -133,9 +131,9 @@ Group: Productivity/Publishing/Troff
|
||||
Requires: groff-full = %{version}
|
||||
# bnc#668254
|
||||
Supplements: packageand(groff:xorg-x11-libX11)
|
||||
Conflicts: jgxdview
|
||||
Provides: gxdview = %{version}-%{release}
|
||||
Obsoletes: gxdview < %{version}
|
||||
Conflicts: jgxdview
|
||||
|
||||
%description -n gxditview
|
||||
This version of xditview is called gxditview and has some extensions
|
||||
@ -145,13 +143,6 @@ the -X option.
|
||||
%endif #groff_base_only
|
||||
|
||||
%prep
|
||||
%if ! %{groff_base_only}
|
||||
%if 0%{suse_version} > 1220
|
||||
# we do a verification on non-base package in order to not add more dependencies to Base:build ...
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%setup -q -n groff-%{version}
|
||||
%patch0 -p1 -b .debian
|
||||
%patch1
|
||||
@ -162,11 +153,9 @@ the -X option.
|
||||
%patch6 -p1 -b .CVE-2009-5080
|
||||
%patch7 -p1
|
||||
%patch8 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale2
|
||||
%patch10 -p1 -b .force-locale
|
||||
|
||||
#from patch7
|
||||
rm doc/groff.info-2.orig
|
||||
%patch11 -b .multithread
|
||||
|
||||
%build
|
||||
PATH=$PWD/src/roff/troff:$PWD/src/preproc/pic:$PWD/src/preproc/eqn:$PWD/src/preproc/tbl:$PWDsrc/preproc/refer:$PWD/src/preproc/soelim:$PATH
|
||||
@ -175,37 +164,25 @@ GROFF_COMMAND_PREFIX=
|
||||
GROFF_FONT_PATH=$PWD
|
||||
GROFF_TMAC_PATH=$PWD/tmac:$PWD/src/roff/troff
|
||||
export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
|
||||
#
|
||||
#libtoolize --force
|
||||
#autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIE"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIE"
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%{configure} \
|
||||
%configure \
|
||||
--with-appresdir=%{_datadir}/X11/app-defaults \
|
||||
--with-grofferdir=%{_libexecdir}/groff/groffer
|
||||
|
||||
#ulimit -c unlimited
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%if ! %{groff_base_only}
|
||||
#pushd doc
|
||||
# make %{?_smp_mflags}
|
||||
# makeinfo groff.texinfo
|
||||
#popd
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{groff_base_only}
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/site-tmac/
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/site-tmac/
|
||||
%else
|
||||
%{makeinstall} docdir=%{_defaultdocdir}/groff
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} docdir=%{_defaultdocdir}/groff
|
||||
%endif
|
||||
|
||||
### see Debian's groff-base.install.in ###
|
||||
@ -230,10 +207,10 @@ for BIN in eqn groff grog grops grotty neqn nroff pic preconv soelim tbl troff;
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
%endif
|
||||
|
||||
for FONT in devascii devlatin1 devps devutf8; do
|
||||
@ -302,15 +279,15 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
|
||||
%if %{groff_base_only}
|
||||
|
||||
%{__ln_s} -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
ln -s -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
|
||||
# compat symlinks
|
||||
%{__ln_s} -f eqn %{buildroot}%{_bindir}/geqn
|
||||
%{__ln_s} -f tbl %{buildroot}%{_bindir}/gtbl
|
||||
ln -s -f eqn %{buildroot}%{_bindir}/geqn
|
||||
ln -s -f tbl %{buildroot}%{_bindir}/gtbl
|
||||
|
||||
# install profiles to disable the use of ANSI colour sequences by default:
|
||||
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
||||
%{__install} -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
||||
install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
@ -339,6 +316,17 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%dir %{_datadir}/groff/%{version}
|
||||
%dir %{_libexecdir}/groff
|
||||
%doc %{_docdir}/groff
|
||||
%dir %{_libdir}/groff
|
||||
%dir %{_libdir}/groff/glilypond
|
||||
%{_libdir}/groff/glilypond/args.pl
|
||||
%{_libdir}/groff/glilypond/oop_fh.pl
|
||||
%{_libdir}/groff/glilypond/subs.pl
|
||||
%dir %{_libdir}/groff/gpinyin
|
||||
%{_libdir}/groff/gpinyin/subs.pl
|
||||
%{_libdir}/groff/groff_opts_no_arg.txt
|
||||
%{_libdir}/groff/groff_opts_with_arg.txt
|
||||
%dir %{_libdir}/groff/grog
|
||||
%{_libdir}/groff/grog/subs.pl
|
||||
%exclude %{_docdir}/groff/html
|
||||
%exclude %{_docdir}/groff/examples
|
||||
%doc %{_infodir}/groff*
|
||||
@ -346,6 +334,7 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%exclude %{_mandir}/man1/gxditview.1*
|
||||
%{_bindir}/*
|
||||
%exclude %{_bindir}/gxditview
|
||||
%dir %{_datadir}/groff
|
||||
%{_datadir}/groff/%{version}/font
|
||||
%{_datadir}/groff/%{version}/oldfont
|
||||
%{_datadir}/groff/%{version}/pic
|
||||
|
13
groff-multi-thread.patch
Normal file
13
groff-multi-thread.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: Makefile.in
|
||||
===================================================================
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -903,6 +903,8 @@ $(GNULIBDIRS): FORCE
|
||||
$(MAKE) ACLOCAL=: AUTOCONF=: AUTOHEADER=: AUTOMAKE=: $(do) ;; \
|
||||
esac
|
||||
|
||||
+$(SHPROGDIRS): $(PROGDEPDIRS)
|
||||
+
|
||||
$(OTHERDIRS): $(PROGDEPDIRS) $(CCPROGDIRS) $(CPROGDIRS) $(SHPROGDIRS)
|
||||
|
||||
$(INCDIRS) $(PROGDEPDIRS) $(SHPROGDIRS) $(OTHERDIRS): FORCE
|
@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 10:30:49 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to latest release 1.22.3:
|
||||
* X11 resources for `gxditview', which were previously installed in
|
||||
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
|
||||
now installed in appresdir=$prefix/lib/X11/app-defaults. If
|
||||
`appresdir' is not a standard X11 resource directory, the environment
|
||||
variable XFILESEARCHPATH should be set to this path. The standard
|
||||
default directories depends on the system `libXt'.
|
||||
* This new preprocessor (contributed by Bernd Warken) allows embedding of
|
||||
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
|
||||
data gets automatically processed and embedded as EPS images.
|
||||
* Bernd Warken contributed a new preprocessor to handle Perl code that can
|
||||
be evaluated and then processed by groff.
|
||||
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
|
||||
like `guo2wang2' as `guówáng'.
|
||||
* The pdfroff utility script now activates its `--no-toc-relocation' option
|
||||
by default, unless a request similar to:
|
||||
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
|
||||
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
|
||||
that the effect of the `.tm' request is restricted to the document setup
|
||||
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
|
||||
but leaves it unset in the setup phase).
|
||||
The bundled `spdf.tmac' macro package, which implicitly activates
|
||||
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
|
||||
appropriately enabled, when the `.TC' macro is invoked.
|
||||
* The -mom macro package now has full support for eqn, pic, and tbl, as well
|
||||
as captioning and labelling of pdf images and preprocessor output. Lists
|
||||
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
|
||||
a new FRAME option.
|
||||
* A French introduction to the -me macro package has been added (file
|
||||
`meintro_fr.me').
|
||||
* In -mdoc, command %C is now available, providing a city or place
|
||||
reference.
|
||||
- Refreshed patches:
|
||||
* groff-1.21-CVE-2009-5081.patch
|
||||
* groff-1.21-groffer-libexecdir.patch
|
||||
* groff-force-locale-usage.patch
|
||||
- Replaced patches:
|
||||
* deleted groff_1.22.2-2.debian.diff
|
||||
* added groff_1.22.3-1.debian.diff
|
||||
- New patches:
|
||||
* groff-multi-thread.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 14:34:44 UTC 2014 - meissner@suse.com
|
||||
|
||||
|
126
groff.spec
126
groff.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package groff
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,9 +17,12 @@
|
||||
|
||||
|
||||
%global groff_base_only 1
|
||||
|
||||
%if %{groff_base_only}
|
||||
Name: groff
|
||||
Version: 1.22.2
|
||||
%else
|
||||
Name: groff-full
|
||||
%endif
|
||||
Version: 1.22.3
|
||||
Release: 0
|
||||
Summary: GNU troff Document Formatting System
|
||||
License: BSD-3-Clause and GPL-2.0+
|
||||
@ -36,7 +39,9 @@ Source4: zzz-groff.csh
|
||||
# done
|
||||
##remove a part related to src/preproc/html/pre-html.cpp - see bnc#755533
|
||||
# filterdiff -x 'src/preproc/html/pre-html.cpp' foo > groff_1.22.2-2.debian.diff
|
||||
Patch0: groff_1.22.2-2.debian.diff
|
||||
##remove Debian package string for openSUSE package string
|
||||
##delete the papersize /etc settings patch
|
||||
Patch0: groff_1.22.3-1.debian.diff
|
||||
Patch1: groff-1.20.1-destbufferoverflow.patch
|
||||
Patch2: groff-1.20.1-nroff-empty-LANGUAGE.patch
|
||||
Patch3: groff-1.21-groffer-libexecdir.patch
|
||||
@ -54,43 +59,38 @@ Patch9: 0002-documentation-for-the-locale-keyword.patch
|
||||
# change the papersize definition to force the locale usage
|
||||
# it can be supressed by /etc/papersize if needed
|
||||
Patch10: groff-force-locale-usage.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# PATCH-FIX-UPSTREAM fix build with multiple threads ; taken from upstream
|
||||
Patch11: groff-multi-thread.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: makeinfo
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
Recommends: groff-full
|
||||
%else
|
||||
BuildRequires: ghostscript-library
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
BuildRequires: groff
|
||||
BuildRequires: netpbm
|
||||
BuildRequires: psutils
|
||||
# for gxditview and X fontx
|
||||
BuildRequires: xorg-x11-devel
|
||||
|
||||
# for pre-grohtml and pdfroff
|
||||
Requires: ghostscript-library
|
||||
# requires the -base package
|
||||
Requires: groff = %{version}
|
||||
Requires: netpbm
|
||||
Requires: psutils
|
||||
Requires(pre): %{install_info_prereq}
|
||||
Provides: jgroff = %{version}-%{release}
|
||||
Provides: normal-groff = %{version}-%{release}
|
||||
Obsoletes: jgroff < %{version}
|
||||
# X fonts were moved back
|
||||
Provides: groff-devx = %{version}-%{release}
|
||||
Obsoletes: groff-devx <= 1.21
|
||||
# requires the -base package
|
||||
Requires: groff = %{version}
|
||||
Requires(pre): %install_info_prereq
|
||||
# for pre-grohtml and pdfroff
|
||||
Requires: ghostscript-library
|
||||
Requires: netpbm
|
||||
Requires: psutils
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
%description
|
||||
The groff package is a stripped-down package containing the necessary
|
||||
@ -100,7 +100,6 @@ with the standard set of devices, fonts, macros, and documentation, should
|
||||
install the groff-full package.
|
||||
|
||||
%else #groff_base_only
|
||||
|
||||
%description
|
||||
The groff-full package provides aditional tools excluded from base groff
|
||||
package, like grohtml, X fonts et. all.
|
||||
@ -108,8 +107,8 @@ package, like grohtml, X fonts et. all.
|
||||
Groff is used to "compile" man pages stored in groff or nroff format
|
||||
for different output devices, for example, displaying to a screen or in
|
||||
PostScript(tm) format for printing on a PostScript(tm) printer. Most
|
||||
programs store their man pages in either /usr/share/man/ or
|
||||
/usr/X11R6/man/.
|
||||
programs store their man pages in either %{_mandir}/ or
|
||||
%{_prefix}/X11R6/man/.
|
||||
|
||||
%package -n groff-doc
|
||||
Summary: HTML documentation and examples for groff
|
||||
@ -123,8 +122,8 @@ tbl, and other Unix text formatting utilities.
|
||||
Groff is used to "compile" man pages stored in groff or nroff format
|
||||
for different output devices, for example, displaying to a screen or in
|
||||
PostScript(tm) format for printing on a PostScript(tm) printer. Most
|
||||
programs store their man pages in either /usr/share/man/ or
|
||||
/usr/X11R6/man/.
|
||||
programs store their man pages in either %{_mandir}/ or
|
||||
%{_prefix}/X11R6/man/.
|
||||
|
||||
%package -n gxditview
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
@ -132,9 +131,9 @@ Group: Productivity/Publishing/Troff
|
||||
Requires: groff-full = %{version}
|
||||
# bnc#668254
|
||||
Supplements: packageand(groff:xorg-x11-libX11)
|
||||
Conflicts: jgxdview
|
||||
Provides: gxdview = %{version}-%{release}
|
||||
Obsoletes: gxdview < %{version}
|
||||
Conflicts: jgxdview
|
||||
|
||||
%description -n gxditview
|
||||
This version of xditview is called gxditview and has some extensions
|
||||
@ -144,13 +143,6 @@ the -X option.
|
||||
%endif #groff_base_only
|
||||
|
||||
%prep
|
||||
%if ! %{groff_base_only}
|
||||
%if 0%{suse_version} > 1220
|
||||
# we do a verification on non-base package in order to not add more dependencies to Base:build ...
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%setup -q -n groff-%{version}
|
||||
%patch0 -p1 -b .debian
|
||||
%patch1
|
||||
@ -161,11 +153,9 @@ the -X option.
|
||||
%patch6 -p1 -b .CVE-2009-5080
|
||||
%patch7 -p1
|
||||
%patch8 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale2
|
||||
%patch10 -p1 -b .force-locale
|
||||
|
||||
#from patch7
|
||||
rm doc/groff.info-2.orig
|
||||
%patch11 -b .multithread
|
||||
|
||||
%build
|
||||
PATH=$PWD/src/roff/troff:$PWD/src/preproc/pic:$PWD/src/preproc/eqn:$PWD/src/preproc/tbl:$PWDsrc/preproc/refer:$PWD/src/preproc/soelim:$PATH
|
||||
@ -174,37 +164,25 @@ GROFF_COMMAND_PREFIX=
|
||||
GROFF_FONT_PATH=$PWD
|
||||
GROFF_TMAC_PATH=$PWD/tmac:$PWD/src/roff/troff
|
||||
export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
|
||||
#
|
||||
#libtoolize --force
|
||||
#autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIE"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIE"
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%{configure} \
|
||||
%configure \
|
||||
--with-appresdir=%{_datadir}/X11/app-defaults \
|
||||
--with-grofferdir=%{_libexecdir}/groff/groffer
|
||||
|
||||
#ulimit -c unlimited
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%if ! %{groff_base_only}
|
||||
#pushd doc
|
||||
# make %{?_smp_mflags}
|
||||
# makeinfo groff.texinfo
|
||||
#popd
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{groff_base_only}
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/site-tmac/
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/site-tmac/
|
||||
%else
|
||||
%{makeinstall} docdir=%{_defaultdocdir}/groff
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} docdir=%{_defaultdocdir}/groff
|
||||
%endif
|
||||
|
||||
### see Debian's groff-base.install.in ###
|
||||
@ -229,10 +207,10 @@ for BIN in eqn groff grog grops grotty neqn nroff pic preconv soelim tbl troff;
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
%endif
|
||||
|
||||
for FONT in devascii devlatin1 devps devutf8; do
|
||||
@ -301,15 +279,15 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
|
||||
%if %{groff_base_only}
|
||||
|
||||
%{__ln_s} -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
ln -s -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
|
||||
# compat symlinks
|
||||
%{__ln_s} -f eqn %{buildroot}%{_bindir}/geqn
|
||||
%{__ln_s} -f tbl %{buildroot}%{_bindir}/gtbl
|
||||
ln -s -f eqn %{buildroot}%{_bindir}/geqn
|
||||
ln -s -f tbl %{buildroot}%{_bindir}/gtbl
|
||||
|
||||
# install profiles to disable the use of ANSI colour sequences by default:
|
||||
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
||||
%{__install} -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
||||
install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
@ -338,6 +316,17 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%dir %{_datadir}/groff/%{version}
|
||||
%dir %{_libexecdir}/groff
|
||||
%doc %{_docdir}/groff
|
||||
%dir %{_libdir}/groff
|
||||
%dir %{_libdir}/groff/glilypond
|
||||
%{_libdir}/groff/glilypond/args.pl
|
||||
%{_libdir}/groff/glilypond/oop_fh.pl
|
||||
%{_libdir}/groff/glilypond/subs.pl
|
||||
%dir %{_libdir}/groff/gpinyin
|
||||
%{_libdir}/groff/gpinyin/subs.pl
|
||||
%{_libdir}/groff/groff_opts_no_arg.txt
|
||||
%{_libdir}/groff/groff_opts_with_arg.txt
|
||||
%dir %{_libdir}/groff/grog
|
||||
%{_libdir}/groff/grog/subs.pl
|
||||
%exclude %{_docdir}/groff/html
|
||||
%exclude %{_docdir}/groff/examples
|
||||
%doc %{_infodir}/groff*
|
||||
@ -345,6 +334,7 @@ rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%exclude %{_mandir}/man1/gxditview.1*
|
||||
%{_bindir}/*
|
||||
%exclude %{_bindir}/gxditview
|
||||
%dir %{_datadir}/groff
|
||||
%{_datadir}/groff/%{version}/font
|
||||
%{_datadir}/groff/%{version}/oldfont
|
||||
%{_datadir}/groff/%{version}/pic
|
||||
|
@ -1,568 +0,0 @@
|
||||
Description: Use mktemp in groffer to eliminate a race condition
|
||||
This was forwarded in
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278265#12 and addressed
|
||||
differently, but it would still be much better to use mktemp if available.
|
||||
Origin: vendor, https://bugzilla.redhat.com/show_bug.cgi?id=136313
|
||||
Author: Mark Cox <mjc@redhat.com>
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/278265
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/contrib/groffer/shell/groffer2.sh
|
||||
===================================================================
|
||||
--- a/contrib/groffer/shell/groffer2.sh
|
||||
+++ b/contrib/groffer/shell/groffer2.sh
|
||||
@@ -5222,28 +5222,7 @@
|
||||
_TMP_DIR="${mi_dir}"'/';
|
||||
;;
|
||||
esac;
|
||||
- _TMP_DIR="${_TMP_DIR}groffer${_PROCESS_ID}";
|
||||
- if obj _TMP_DIR rm_tree
|
||||
- then
|
||||
- :
|
||||
- else
|
||||
- mi_tdir_="${_TMP_DIR}"_;
|
||||
- mi_n=1;
|
||||
- mi_tdir_n="${mi_tdir_}${mi_n}";
|
||||
-### main_init()
|
||||
- while obj mi_tdir_n is_existing
|
||||
- do
|
||||
- if obj mi_tdir_n rm_tree
|
||||
- then
|
||||
- # directory could not be removed
|
||||
- mi_n="$(expr "${mi_n}" + 1)";
|
||||
- mi_tdir_n="${mi_tdir_}${mi_n}";
|
||||
- continue;
|
||||
- fi;
|
||||
- done;
|
||||
- _TMP_DIR="${mi_tdir_n}";
|
||||
- fi;
|
||||
- eval mkdir "${_TMP_DIR}";
|
||||
+ _TMP_DIR="$(mktemp -d "${_TMP_DIR}groffer.XXXXXX")";
|
||||
if is_not_equal "$?" 0
|
||||
then
|
||||
obj _TMP_DIR rm_tree;
|
||||
Description: The *2graph scripts use $RANDOM, which is bash-specific
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/contrib/eqn2graph/eqn2graph.sh
|
||||
===================================================================
|
||||
--- a/contrib/eqn2graph/eqn2graph.sh
|
||||
+++ b/contrib/eqn2graph/eqn2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# eqn2graph -- compile EQN equation descriptions to bitmap images
|
||||
#
|
||||
Index: b/contrib/grap2graph/grap2graph.sh
|
||||
===================================================================
|
||||
--- a/contrib/grap2graph/grap2graph.sh
|
||||
+++ b/contrib/grap2graph/grap2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# grap2graph -- compile graph description descriptions to bitmap images
|
||||
#
|
||||
Index: b/contrib/pic2graph/pic2graph.sh
|
||||
===================================================================
|
||||
--- a/contrib/pic2graph/pic2graph.sh
|
||||
+++ b/contrib/pic2graph/pic2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# pic2graph -- compile PIC image descriptions to bitmap images
|
||||
#
|
||||
Description: Avoid relying on awk in mdate.sh
|
||||
The results were unpredictable on mips/mipsel.
|
||||
Author: Florian Lohoff <flo@rfc822.org>
|
||||
Bug-Debian: http://bugs.debian.org/62554
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/mdate.sh
|
||||
===================================================================
|
||||
--- a/mdate.sh
|
||||
+++ b/mdate.sh
|
||||
@@ -20,41 +20,4 @@
|
||||
#
|
||||
# Print the modification date of $1 `nicely'.
|
||||
|
||||
-# Don't want foreign dates.
|
||||
-
|
||||
-LANGUAGE=
|
||||
-LC_ALL=C; export LC_ALL
|
||||
-
|
||||
-
|
||||
-(date;
|
||||
-if ls -L /dev/null 1>/dev/null 2>&1; then ls -L -l $1; else ls -l $1; fi
|
||||
-) | awk '
|
||||
-BEGIN {
|
||||
- full["Jan"] = "January"; number["Jan"] = 1;
|
||||
- full["Feb"] = "February"; number["Feb"] = 2;
|
||||
- full["Mar"] = "March"; number["Mar"] = 3;
|
||||
- full["Apr"] = "April"; number["Apr"] = 4;
|
||||
- full["May"] = "May"; number["May"] = 5;
|
||||
- full["Jun"] = "June"; number["Jun"] = 6;
|
||||
- full["Jul"] = "July"; number["Jul"] = 7;
|
||||
- full["Aug"] = "August"; number["Aug"] = 8;
|
||||
- full["Sep"] = "September"; number["Sep"] = 9;
|
||||
- full["Oct"] = "October"; number["Oct"] = 10;
|
||||
- full["Nov"] = "November"; number["Nov"] = 11;
|
||||
- full["Dec"] = "December"; number["Dec"] = 12;
|
||||
-}
|
||||
-
|
||||
-NR == 1 {
|
||||
- month = $2;
|
||||
- year = $NF;
|
||||
-}
|
||||
-
|
||||
-NR == 2 {
|
||||
- if ($(NF-1) ~ /:/) {
|
||||
- if (number[$(NF-3)] > number[month])
|
||||
- year--;
|
||||
- }
|
||||
- else
|
||||
- year = $(NF-1);
|
||||
- print $(NF-2), full[$(NF-3)], year
|
||||
-}'
|
||||
+perl -MPOSIX -le 'print strftime("%d %B %Y", localtime((stat $ARGV[0])[9]))' $1
|
||||
Description: Unset IFS at nroff startup
|
||||
It's questionable whether we should forward this; as noted in the bug
|
||||
trail, there's a decent argument that this is a dash bug.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/541621
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/src/roff/nroff/nroff.sh
|
||||
===================================================================
|
||||
--- a/src/roff/nroff/nroff.sh
|
||||
+++ b/src/roff/nroff/nroff.sh
|
||||
@@ -22,6 +22,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
+unset IFS
|
||||
+
|
||||
prog="$0"
|
||||
|
||||
# Default device.
|
||||
Description: '+' isn't a regex metacharacter in sed by default
|
||||
Why are we only doing this for devascii? Probably a bug one way or
|
||||
another, but needs review before forwarding.
|
||||
Author: Fumitoshi UKAI <ukai@debian.or.jp>
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/font/devascii/Makefile.sub
|
||||
===================================================================
|
||||
--- a/font/devascii/Makefile.sub
|
||||
+++ b/font/devascii/Makefile.sub
|
||||
@@ -12,8 +12,8 @@
|
||||
@-rm -f $@
|
||||
@(charwidth=`expr $(RES) / $(CPI)` ; \
|
||||
sed -e "s/^name [A-Z]*$$/name $@/" \
|
||||
- -e "s/^\\([^ ]*\\) [0-9]+ /\\1 $$charwidth /" \
|
||||
- -e "s/^spacewidth [0-9]+$$/spacewidth $$charwidth/" \
|
||||
+ -e "s/^\\([^ ]*\\) [0-9][0-9]* /\\1 $$charwidth /" \
|
||||
+ -e "s/^spacewidth [0-9][0-9]*$$/spacewidth $$charwidth/" \
|
||||
-e "s/^internalname .*$$/internalname $@/" \
|
||||
-e "/^internalname/s/BI/3/" \
|
||||
-e "/^internalname/s/B/2/" \
|
||||
Description: Adjust #! line of font/devlj4/generate/special.awk
|
||||
awk is in /usr/bin/awk on Debian, not /bin/awk.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/font/devlj4/generate/special.awk
|
||||
===================================================================
|
||||
--- a/font/devlj4/generate/special.awk
|
||||
+++ b/font/devlj4/generate/special.awk
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/awk -f
|
||||
+#! /usr/bin/awk -f
|
||||
|
||||
# Correct Intellifont-based height metrics for several glyphs in
|
||||
# special font for TrueType CG Times (LaserJet 4000 and later).
|
||||
Description: Set appropriate papersize when calling gs from HTML preprocessor
|
||||
This patch seems fishy. get_papersize was removed upstream in r335.1.348,
|
||||
so should we even be applying this any more? Furthermore, we don't use
|
||||
gsPaper anywhere, and looking at devps/DESC here is just nasty. Needs
|
||||
review.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Description: Add GFDL references to manual pages licensed under GFDL
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/292229
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Index: b/contrib/mom/groff_mom.man
|
||||
===================================================================
|
||||
--- a/contrib/mom/groff_mom.man
|
||||
+++ b/contrib/mom/groff_mom.man
|
||||
@@ -15,6 +15,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.do nr groff_mom_C \n[.C]
|
||||
.cp 0
|
||||
Index: b/man/ditroff.man
|
||||
===================================================================
|
||||
--- a/man/ditroff.man
|
||||
+++ b/man/ditroff.man
|
||||
@@ -17,6 +17,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
Index: b/man/groff.man
|
||||
===================================================================
|
||||
--- a/man/groff.man
|
||||
+++ b/man/groff.man
|
||||
@@ -18,6 +18,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
.\" Setup
|
||||
Index: b/man/groff_diff.man
|
||||
===================================================================
|
||||
--- a/man/groff_diff.man
|
||||
+++ b/man/groff_diff.man
|
||||
@@ -22,6 +22,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
Index: b/man/groff_out.man
|
||||
===================================================================
|
||||
--- a/man/groff_out.man
|
||||
+++ b/man/groff_out.man
|
||||
@@ -19,6 +19,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
.\" Setup
|
||||
Index: b/man/groff_tmac.man
|
||||
===================================================================
|
||||
--- a/man/groff_tmac.man
|
||||
+++ b/man/groff_tmac.man
|
||||
@@ -19,6 +19,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.ds Ellipsis \&.\|.\|.\&\"
|
||||
.
|
||||
.TH GROFF_TMAC @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@"
|
||||
Index: b/man/roff.man
|
||||
===================================================================
|
||||
--- a/man/roff.man
|
||||
+++ b/man/roff.man
|
||||
@@ -18,6 +18,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
Index: b/src/roff/groff/groff.man
|
||||
===================================================================
|
||||
--- a/src/roff/groff/groff.man
|
||||
+++ b/src/roff/groff/groff.man
|
||||
@@ -14,6 +14,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff-base/copyright.
|
||||
+..
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
Index: b/src/roff/troff/troff.man
|
||||
===================================================================
|
||||
--- a/src/roff/troff/troff.man
|
||||
+++ b/src/roff/troff/troff.man
|
||||
@@ -21,6 +21,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff-base/copyright.
|
||||
+..
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
.\" Title
|
||||
Index: b/tmac/groff_trace.man
|
||||
===================================================================
|
||||
--- a/tmac/groff_trace.man
|
||||
+++ b/tmac/groff_trace.man
|
||||
@@ -21,6 +21,10 @@
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+Debian package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.ds Ellipsis .\|.\|.\&\"
|
||||
.
|
||||
Description: Adjust documentation references to account for compression
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/498356
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/contrib/pdfmark/pdfroff.man
|
||||
===================================================================
|
||||
--- a/contrib/pdfmark/pdfroff.man
|
||||
+++ b/contrib/pdfmark/pdfroff.man
|
||||
@@ -796,7 +796,7 @@
|
||||
in PDF format, in the reference guide
|
||||
.BR "\*(lqPortable Document Format Publishing with GNU Troff\*(rq" ,
|
||||
included in the installed documentation set as
|
||||
-.BR \%@PDFDOCDIR@/pdfmark.pdf .
|
||||
+.BR \%@PDFDOCDIR@/pdfmark.pdf.gz .
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
Index: b/src/preproc/pic/pic.man
|
||||
===================================================================
|
||||
--- a/src/preproc/pic/pic.man
|
||||
+++ b/src/preproc/pic/pic.man
|
||||
@@ -227,7 +227,7 @@
|
||||
A complete documentation is available in the file
|
||||
.LP
|
||||
.RS
|
||||
-.B @DOCDIR@/pic.ms
|
||||
+.B @DOCDIR@/pic.ms.gz
|
||||
.RE
|
||||
.
|
||||
.SS \*(tx mode
|
||||
Description: Adjust default recursive make targets
|
||||
This has been in the groff packaging since records began, and the reason
|
||||
for it is unclear. Needs investigation.
|
||||
Author: unknown
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Index: b/Makefile.in
|
||||
===================================================================
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -702,7 +702,7 @@
|
||||
fi
|
||||
|
||||
do=all
|
||||
-dodirs=$(ALLDIRS) $(OTHERDIRS) dot
|
||||
+dodirs=$(DISTDIRS)
|
||||
# Default target for subdir_Makefile
|
||||
subdir=src/roff/troff
|
||||
|
||||
Description: Inhibit -wmac warnings due to pic and eqn
|
||||
Define .PS and .PE to empty strings in pic output to inhibit -wmac
|
||||
warnings; similarly, define .EQ and .EN to empty strings in eqn output.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/495713
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Index: b/src/preproc/eqn/main.cpp
|
||||
===================================================================
|
||||
--- a/src/preproc/eqn/main.cpp
|
||||
+++ b/src/preproc/eqn/main.cpp
|
||||
@@ -374,6 +374,8 @@
|
||||
}
|
||||
init_table(device);
|
||||
init_char_table();
|
||||
+ printf(".if !dEQ .ds EQ\n"
|
||||
+ ".if !dEN .ds EN\n");
|
||||
if (output_format == troff) {
|
||||
printf(".if !'\\*(.T'%s' "
|
||||
".if !'\\*(.T'html' " // the html device uses `-Tps' to render
|
||||
Index: b/src/preproc/pic/main.cpp
|
||||
===================================================================
|
||||
--- a/src/preproc/pic/main.cpp
|
||||
+++ b/src/preproc/pic/main.cpp
|
||||
@@ -616,7 +616,11 @@
|
||||
out = make_fig_output();
|
||||
else
|
||||
#endif
|
||||
+ {
|
||||
out = make_troff_output();
|
||||
+ printf(".if !dPS .ds PS\n"
|
||||
+ ".if !dPE .ds PE\n");
|
||||
+ }
|
||||
#ifdef FIG_SUPPORT
|
||||
if (whole_file_flag) {
|
||||
if (optind >= argc)
|
||||
Description: Allow adding a version-independent directory to the macro path
|
||||
This allows us to put /usr/share/groff/tmac at the end of groff's macro
|
||||
path in Debian.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Index: b/Makefile.in
|
||||
===================================================================
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -195,7 +195,11 @@
|
||||
# directory will be always added.
|
||||
# `troffrc' and `troffrc-end' (and `eqnrc') are searched neither in the
|
||||
# current nor in the home directory.
|
||||
+ifeq (,$(extratmacdirs))
|
||||
tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)
|
||||
+else
|
||||
+tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)$(RT_SEP)$(extratmacdirs)
|
||||
+endif
|
||||
|
||||
# `sys_tmac_prefix' is prefix (if any) for system macro packages.
|
||||
sys_tmac_prefix=@sys_tmac_prefix@
|
||||
Description: Use /etc/papersize in preference to configure-time selection
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Index: b/font/devdvi/Makefile.sub
|
||||
===================================================================
|
||||
--- a/font/devdvi/Makefile.sub
|
||||
+++ b/font/devdvi/Makefile.sub
|
||||
@@ -16,8 +16,8 @@
|
||||
DESC: DESC.in
|
||||
cat $(srcdir)/DESC.in >DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC
|
||||
Index: b/font/devlbp/Makefile.sub
|
||||
===================================================================
|
||||
--- a/font/devlbp/Makefile.sub
|
||||
+++ b/font/devlbp/Makefile.sub
|
||||
@@ -13,9 +13,9 @@
|
||||
-rm -f DESC
|
||||
cat $(srcdir)/DESC.in >>DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(LBPPRINT)' || echo print '$(LBPPRINT)' >>DESC
|
||||
|
||||
Index: b/font/devlj4/Makefile.sub
|
||||
===================================================================
|
||||
--- a/font/devlj4/Makefile.sub
|
||||
+++ b/font/devlj4/Makefile.sub
|
||||
@@ -30,9 +30,9 @@
|
||||
echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
|
||||
cat $(srcdir)/DESC.in >>DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC
|
||||
|
||||
Index: b/font/devps/Makefile.sub
|
||||
===================================================================
|
||||
--- a/font/devps/Makefile.sub
|
||||
+++ b/font/devps/Makefile.sub
|
||||
@@ -40,9 +40,9 @@
|
||||
cat $(srcdir)/DESC.in >DESC
|
||||
echo broken $(BROKEN_SPOOLER_FLAGS) >>DESC
|
||||
if test "$(PAGE)" = A4; then \
|
||||
- echo "papersize a4" >>DESC; \
|
||||
+ echo "papersize /etc/papersize a4" >>DESC; \
|
||||
else \
|
||||
- echo "papersize letter" >>DESC; \
|
||||
+ echo "papersize /etc/papersize letter" >>DESC; \
|
||||
fi
|
||||
test -z '$(PSPRINT)' || echo print '$(PSPRINT)' >>DESC
|
||||
|
||||
Description: Display more helpful output when failing to load a device
|
||||
If the device is known to be one of the devices in the groff binary package
|
||||
rather than groff-base, refer the user to that.
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Index: b/src/roff/groff/groff.cpp
|
||||
===================================================================
|
||||
--- a/src/roff/groff/groff.cpp
|
||||
+++ b/src/roff/groff/groff.cpp
|
||||
@@ -333,8 +333,16 @@
|
||||
commands[PIC_INDEX].append_arg("-U");
|
||||
}
|
||||
font::set_unknown_desc_command_handler(handle_unknown_desc_command);
|
||||
- if (!font::load_desc())
|
||||
- fatal("invalid device `%1'", device);
|
||||
+ if (!font::load_desc()) {
|
||||
+ if (strcmp(device, "X100") == 0 || strcmp(device, "X100-12") == 0 ||
|
||||
+ strcmp(device, "X75") == 0 || strcmp(device, "X75-12") == 0 ||
|
||||
+ strcmp(device, "dvi") == 0 || strcmp(device, "html") == 0 ||
|
||||
+ strcmp(device, "lbp") == 0 || strcmp(device, "lj4") == 0)
|
||||
+ fatal("invalid device `%1' (try installing the `groff' package?)",
|
||||
+ device);
|
||||
+ else
|
||||
+ fatal("invalid device `%1'", device);
|
||||
+ }
|
||||
if (!postdriver)
|
||||
fatal("no `postpro' command in DESC file for device `%1'", device);
|
||||
if (predriver && !zflag) {
|
676
groff_1.22.3-1.debian.diff
Normal file
676
groff_1.22.3-1.debian.diff
Normal file
@ -0,0 +1,676 @@
|
||||
From 10fefc49ea1116524fbafacb637de8605e303cdf Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:09 +0000
|
||||
Subject: The *2graph scripts use $RANDOM, which is bash-specific
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Patch-Name: bash-scripts.patch
|
||||
---
|
||||
contrib/eqn2graph/eqn2graph.sh | 2 +-
|
||||
contrib/grap2graph/grap2graph.sh | 2 +-
|
||||
contrib/pic2graph/pic2graph.sh | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/contrib/eqn2graph/eqn2graph.sh b/contrib/eqn2graph/eqn2graph.sh
|
||||
index ee7cc5f..fb6f7f5 100644
|
||||
--- a/contrib/eqn2graph/eqn2graph.sh
|
||||
+++ b/contrib/eqn2graph/eqn2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# eqn2graph -- compile EQN equation descriptions to bitmap images
|
||||
#
|
||||
diff --git a/contrib/grap2graph/grap2graph.sh b/contrib/grap2graph/grap2graph.sh
|
||||
index 58544e1..721c2b0 100644
|
||||
--- a/contrib/grap2graph/grap2graph.sh
|
||||
+++ b/contrib/grap2graph/grap2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# grap2graph -- compile graph description descriptions to bitmap images
|
||||
#
|
||||
diff --git a/contrib/pic2graph/pic2graph.sh b/contrib/pic2graph/pic2graph.sh
|
||||
index 72c5477..c4a7781 100644
|
||||
--- a/contrib/pic2graph/pic2graph.sh
|
||||
+++ b/contrib/pic2graph/pic2graph.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#! /bin/bash
|
||||
#
|
||||
# pic2graph -- compile PIC image descriptions to bitmap images
|
||||
#
|
||||
From fb0bfc4eb5a8eb57554793712fee07de080678f0 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Lohoff <flo@rfc822.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:10 +0000
|
||||
Subject: Avoid relying on awk in mdate.sh
|
||||
|
||||
The results were unpredictable on mips/mipsel.
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/62554
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Patch-Name: mdate-perl.patch
|
||||
---
|
||||
mdate.sh | 39 +--------------------------------------
|
||||
1 file changed, 1 insertion(+), 38 deletions(-)
|
||||
|
||||
diff --git a/mdate.sh b/mdate.sh
|
||||
index 2c24a00..d5ef413 100644
|
||||
--- a/mdate.sh
|
||||
+++ b/mdate.sh
|
||||
@@ -19,41 +19,4 @@
|
||||
#
|
||||
# Print the modification date of $1 `nicely'.
|
||||
|
||||
-# Don't want foreign dates.
|
||||
-
|
||||
-LANGUAGE=
|
||||
-LC_ALL=C; export LC_ALL
|
||||
-
|
||||
-
|
||||
-(date;
|
||||
-if ls -L /dev/null 1>/dev/null 2>&1; then ls -L -l $1; else ls -l $1; fi
|
||||
-) | awk '
|
||||
-BEGIN {
|
||||
- full["Jan"] = "January"; number["Jan"] = 1;
|
||||
- full["Feb"] = "February"; number["Feb"] = 2;
|
||||
- full["Mar"] = "March"; number["Mar"] = 3;
|
||||
- full["Apr"] = "April"; number["Apr"] = 4;
|
||||
- full["May"] = "May"; number["May"] = 5;
|
||||
- full["Jun"] = "June"; number["Jun"] = 6;
|
||||
- full["Jul"] = "July"; number["Jul"] = 7;
|
||||
- full["Aug"] = "August"; number["Aug"] = 8;
|
||||
- full["Sep"] = "September"; number["Sep"] = 9;
|
||||
- full["Oct"] = "October"; number["Oct"] = 10;
|
||||
- full["Nov"] = "November"; number["Nov"] = 11;
|
||||
- full["Dec"] = "December"; number["Dec"] = 12;
|
||||
-}
|
||||
-
|
||||
-NR == 1 {
|
||||
- month = $2;
|
||||
- year = $NF;
|
||||
-}
|
||||
-
|
||||
-NR == 2 {
|
||||
- if ($(NF-1) ~ /:/) {
|
||||
- if (number[$(NF-3)] > number[month])
|
||||
- year--;
|
||||
- }
|
||||
- else
|
||||
- year = $(NF-1);
|
||||
- print $(NF-2), full[$(NF-3)], year
|
||||
-}'
|
||||
+perl -MPOSIX -le 'print strftime("%d %B %Y", localtime((stat $ARGV[0])[9]))' $1
|
||||
From c5b8fb2e9c2d998677a92e73b280bbc49b87f13a Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:12 +0000
|
||||
Subject: Unset IFS at nroff startup
|
||||
|
||||
It's questionable whether we should forward this; as noted in the bug
|
||||
trail, there's a decent argument that this is a dash bug.
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/541621
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Patch-Name: nroff-ifs.patch
|
||||
---
|
||||
src/roff/nroff/nroff.sh | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
|
||||
index fb227b3..82e85fd 100644
|
||||
--- a/src/roff/nroff/nroff.sh
|
||||
+++ b/src/roff/nroff/nroff.sh
|
||||
@@ -20,6 +20,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
+unset IFS
|
||||
+
|
||||
prog="$0"
|
||||
|
||||
# Default device.
|
||||
From 4298a68066f08589ea9d68318f67cf9e63a734c7 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:14 +0000
|
||||
Subject: Adjust #! line of font/devlj4/generate/special.awk
|
||||
|
||||
awk is in /usr/bin/awk on Debian, not /bin/awk.
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Patch-Name: awk-path.patch
|
||||
---
|
||||
font/devlj4/generate/special.awk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/font/devlj4/generate/special.awk b/font/devlj4/generate/special.awk
|
||||
index 26e8b92..318c53f 100644
|
||||
--- a/font/devlj4/generate/special.awk
|
||||
+++ b/font/devlj4/generate/special.awk
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/awk -f
|
||||
+#! /usr/bin/awk -f
|
||||
|
||||
# Correct Intellifont-based height metrics for several glyphs in
|
||||
# special font for TrueType CG Times (LaserJet 4000 and later).
|
||||
From 9a2ccf4225d8a8d6eb92861f2e3dfc3502840cd5 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:16 +0000
|
||||
Subject: Add GFDL references to manual pages licensed under GFDL
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/292229
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2014-11-05
|
||||
|
||||
Patch-Name: doc-gfdl.patch
|
||||
---
|
||||
contrib/hdtbl/groff_hdtbl.man | 4 ++++
|
||||
contrib/pdfmark/pdfroff.man | 4 ++++
|
||||
man/ditroff.man | 4 ++++
|
||||
man/groff.man | 4 ++++
|
||||
man/groff_diff.man | 4 ++++
|
||||
man/groff_out.man | 4 ++++
|
||||
man/groff_tmac.man | 4 ++++
|
||||
man/roff.man | 4 ++++
|
||||
src/roff/groff/groff.man | 4 ++++
|
||||
src/roff/troff/troff.man | 4 ++++
|
||||
tmac/groff_trace.man | 4 ++++
|
||||
11 files changed, 44 insertions(+)
|
||||
|
||||
diff --git a/contrib/hdtbl/groff_hdtbl.man b/contrib/hdtbl/groff_hdtbl.man
|
||||
index 74012ae..e611b79 100644
|
||||
--- a/contrib/hdtbl/groff_hdtbl.man
|
||||
+++ b/contrib/hdtbl/groff_hdtbl.man
|
||||
@@ -21,6 +21,10 @@ Front-Cover Texts, and with no Back-Cover Texts.
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This document was written by
|
||||
diff --git a/contrib/pdfmark/pdfroff.man b/contrib/pdfmark/pdfroff.man
|
||||
index ec412bb..60a75a2 100644
|
||||
--- a/contrib/pdfmark/pdfroff.man
|
||||
+++ b/contrib/pdfmark/pdfroff.man
|
||||
@@ -34,6 +34,10 @@ available in the internet at
|
||||
the GNU copyleft site
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
It was originally written by
|
||||
diff --git a/man/ditroff.man b/man/ditroff.man
|
||||
index 16a6feb..ef01e04 100644
|
||||
--- a/man/ditroff.man
|
||||
+++ b/man/ditroff.man
|
||||
@@ -23,6 +23,10 @@ available on-line at the
|
||||
GNU copyleft site
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.de au
|
||||
It was written by
|
||||
.MT groff-bernd.warken-72@\:web.de
|
||||
diff --git a/man/groff.man b/man/groff.man
|
||||
index ca80f02..31b91e1 100644
|
||||
--- a/man/groff.man
|
||||
+++ b/man/groff.man
|
||||
@@ -26,6 +26,10 @@ available in the internet at
|
||||
.UR http://\:www.gnu.org/\:copyleft/\:fdl.html
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This documentation was written by
|
||||
diff --git a/man/groff_diff.man b/man/groff_diff.man
|
||||
index eacccd3..fb5f142 100644
|
||||
--- a/man/groff_diff.man
|
||||
+++ b/man/groff_diff.man
|
||||
@@ -29,6 +29,10 @@ available in the internet at
|
||||
GNU FDL license
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This document was written by
|
||||
diff --git a/man/groff_out.man b/man/groff_out.man
|
||||
index f9ef631..ce13615 100644
|
||||
--- a/man/groff_out.man
|
||||
+++ b/man/groff_out.man
|
||||
@@ -32,6 +32,10 @@ available in the internet at
|
||||
GNU FDL license
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
In 2001, this document was rewritten from scrach by
|
||||
diff --git a/man/groff_tmac.man b/man/groff_tmac.man
|
||||
index 5017dcb..b85ab0c 100644
|
||||
--- a/man/groff_tmac.man
|
||||
+++ b/man/groff_tmac.man
|
||||
@@ -28,6 +28,10 @@ available on\-line at the
|
||||
GNU copyleft site
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This file was written by
|
||||
diff --git a/man/roff.man b/man/roff.man
|
||||
index 6ce18e7..b970f5b 100644
|
||||
--- a/man/roff.man
|
||||
+++ b/man/roff.man
|
||||
@@ -26,6 +26,10 @@ The license text is also available on-line at the
|
||||
GNU copyleft site
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This man-page was written by
|
||||
diff --git a/src/roff/groff/groff.man b/src/roff/groff/groff.man
|
||||
index e30d1b5..e5a6235 100644
|
||||
--- a/src/roff/groff/groff.man
|
||||
+++ b/src/roff/groff/groff.man
|
||||
@@ -31,6 +31,10 @@ It is also available in the internet at the
|
||||
GNU copyleft site
|
||||
.UE .
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff-base/copyright.
|
||||
+..
|
||||
.
|
||||
.\" Authors
|
||||
.de au
|
||||
diff --git a/src/roff/troff/troff.man b/src/roff/troff/troff.man
|
||||
index 684f441..07fdff1 100644
|
||||
--- a/src/roff/troff/troff.man
|
||||
+++ b/src/roff/troff/troff.man
|
||||
@@ -25,6 +25,10 @@ Front-Cover Texts, and with no Back-Cover Texts.
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff-base/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
This file was originally written by James Clark, it was modified by
|
||||
diff --git a/tmac/groff_trace.man b/tmac/groff_trace.man
|
||||
index 7b04373..67990db 100644
|
||||
--- a/tmac/groff_trace.man
|
||||
+++ b/tmac/groff_trace.man
|
||||
@@ -24,6 +24,10 @@ Front-Cover Texts, and with no Back-Cover Texts.
|
||||
A copy of the Free Documentation License is included as a file called
|
||||
FDL in the main directory of the groff source package.
|
||||
..
|
||||
+.ig
|
||||
+A copy of the GNU Free Documentation License is also available in this
|
||||
+openSUSE package as /usr/share/doc/groff/copyright.
|
||||
+..
|
||||
.
|
||||
.de au
|
||||
Written by
|
||||
From 1e53207d1ee0986e9db4135bea80b5922dfaea00 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:17 +0000
|
||||
Subject: Adjust documentation references to account for compression
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/498356
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2010-03-01
|
||||
|
||||
Patch-Name: doc-gzipped.patch
|
||||
---
|
||||
contrib/pdfmark/pdfroff.man | 2 +-
|
||||
src/preproc/pic/pic.man | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/contrib/pdfmark/pdfroff.man b/contrib/pdfmark/pdfroff.man
|
||||
index 60a75a2..ad87159 100644
|
||||
--- a/contrib/pdfmark/pdfroff.man
|
||||
+++ b/contrib/pdfmark/pdfroff.man
|
||||
@@ -839,7 +839,7 @@ Detailed documentation on the use of these packages may be found,
|
||||
in PDF format, in the reference guide
|
||||
.BR "\*(lqPortable Document Format Publishing with GNU Troff\*(rq" ,
|
||||
included in the installed documentation set as
|
||||
-.BR \%@PDFDOCDIR@/pdfmark.pdf .
|
||||
+.BR \%@PDFDOCDIR@/pdfmark.pdf.gz .
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
diff --git a/src/preproc/pic/pic.man b/src/preproc/pic/pic.man
|
||||
index 04ea3e0..6dd8654 100644
|
||||
--- a/src/preproc/pic/pic.man
|
||||
+++ b/src/preproc/pic/pic.man
|
||||
@@ -261,7 +261,7 @@ A complete documentation is available in the file
|
||||
.
|
||||
.LP
|
||||
.RS
|
||||
-.B @DOCDIR@/pic.ms
|
||||
+.B @DOCDIR@/pic.ms.gz
|
||||
.RE
|
||||
.
|
||||
.
|
||||
From 15e68316a5f77c1a3f6554340f21e9a4c5cd1175 Mon Sep 17 00:00:00 2001
|
||||
From: unknown <unknown>
|
||||
Date: Thu, 2 Jan 2014 13:13:18 +0000
|
||||
Subject: Adjust default recursive make targets
|
||||
|
||||
This has been in the groff packaging since records began, and the reason
|
||||
for it is unclear. Needs investigation.
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Patch-Name: make-targets.patch
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index bc156ce..d29e856 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -793,7 +793,7 @@ ENVSETUP=\
|
||||
fi
|
||||
|
||||
do=all
|
||||
-dodirs=$(ALLDIRS) $(OTHERDIRS) dot
|
||||
+dodirs=$(DISTDIRS)
|
||||
# Default target for subdir_Makefile
|
||||
subdir=src/roff/troff
|
||||
|
||||
From 369fdcbedc7f63479c31f69cae2edc025f45b491 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:19 +0000
|
||||
Subject: Inhibit -wmac warnings due to pic and eqn
|
||||
|
||||
Define .PS and .PE to empty strings in pic output to inhibit -wmac
|
||||
warnings; similarly, define .EQ and .EN to empty strings in eqn output.
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/495713
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Patch-Name: pic-eqn-warnings.patch
|
||||
---
|
||||
src/preproc/eqn/main.cpp | 2 ++
|
||||
src/preproc/pic/main.cpp | 4 ++++
|
||||
2 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/preproc/eqn/main.cpp b/src/preproc/eqn/main.cpp
|
||||
index 57347f1..52615c4 100644
|
||||
--- a/src/preproc/eqn/main.cpp
|
||||
+++ b/src/preproc/eqn/main.cpp
|
||||
@@ -373,6 +373,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
init_table(device);
|
||||
init_char_table();
|
||||
+ printf(".if !dEQ .ds EQ\n"
|
||||
+ ".if !dEN .ds EN\n");
|
||||
if (output_format == troff) {
|
||||
printf(".if !'\\*(.T'%s' "
|
||||
".if !'\\*(.T'html' " // the html device uses `-Tps' to render
|
||||
diff --git a/src/preproc/pic/main.cpp b/src/preproc/pic/main.cpp
|
||||
index 19065a6..236121d 100644
|
||||
--- a/src/preproc/pic/main.cpp
|
||||
+++ b/src/preproc/pic/main.cpp
|
||||
@@ -615,7 +615,11 @@ int main(int argc, char **argv)
|
||||
out = make_fig_output();
|
||||
else
|
||||
#endif
|
||||
+ {
|
||||
out = make_troff_output();
|
||||
+ printf(".if !dPS .ds PS\n"
|
||||
+ ".if !dPE .ds PE\n");
|
||||
+ }
|
||||
#ifdef FIG_SUPPORT
|
||||
if (whole_file_flag) {
|
||||
if (optind >= argc)
|
||||
From dc0df203931b4509918cf978ea6674808c1f05fd Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:20 +0000
|
||||
Subject: Allow adding a version-independent directory to the macro path
|
||||
|
||||
This allows us to put /usr/share/groff/tmac at the end of groff's macro
|
||||
path in Debian.
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Patch-Name: extratmacdirs.patch
|
||||
---
|
||||
Makefile.in | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index d29e856..9b9d0e0 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -199,7 +199,11 @@ referdir=@referdir@
|
||||
# directory will be always added.
|
||||
# `troffrc' and `troffrc-end' (and `eqnrc') are searched neither in the
|
||||
# current nor in the home directory.
|
||||
+ifeq (,$(extratmacdirs))
|
||||
tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)
|
||||
+else
|
||||
+tmacpath=$(systemtmacdir)$(RT_SEP)$(localtmacdir)$(RT_SEP)$(tmacdir)$(RT_SEP)$(extratmacdirs)
|
||||
+endif
|
||||
|
||||
# `sys_tmac_prefix' is prefix (if any) for system macro packages.
|
||||
sys_tmac_prefix=@sys_tmac_prefix@
|
||||
From 293492eff0f0597dfe10d98823508ff5072e5baa Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 2 Jan 2014 13:13:22 +0000
|
||||
Subject: Display more helpful output when failing to load a device
|
||||
|
||||
If the device is known to be one of the devices in the groff binary package
|
||||
rather than groff-base, refer the user to that.
|
||||
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2013-01-07
|
||||
|
||||
Patch-Name: load-desc-failure.patch
|
||||
---
|
||||
src/roff/groff/groff.cpp | 12 ++++++++++--
|
||||
1 file changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/roff/groff/groff.cpp b/src/roff/groff/groff.cpp
|
||||
index 9c613b1..63f620e 100644
|
||||
--- a/src/roff/groff/groff.cpp
|
||||
+++ b/src/roff/groff/groff.cpp
|
||||
@@ -338,8 +338,16 @@ int main(int argc, char **argv)
|
||||
commands[PIC_INDEX].append_arg("-U");
|
||||
}
|
||||
font::set_unknown_desc_command_handler(handle_unknown_desc_command);
|
||||
- if (!font::load_desc())
|
||||
- fatal("invalid device `%1'", device);
|
||||
+ if (!font::load_desc()) {
|
||||
+ if (strcmp(device, "X100") == 0 || strcmp(device, "X100-12") == 0 ||
|
||||
+ strcmp(device, "X75") == 0 || strcmp(device, "X75-12") == 0 ||
|
||||
+ strcmp(device, "dvi") == 0 || strcmp(device, "html") == 0 ||
|
||||
+ strcmp(device, "lbp") == 0 || strcmp(device, "lj4") == 0)
|
||||
+ fatal("invalid device `%1' (try installing the `groff' package?)",
|
||||
+ device);
|
||||
+ else
|
||||
+ fatal("invalid device `%1'", device);
|
||||
+ }
|
||||
if (!postdriver)
|
||||
fatal("no `postpro' command in DESC file for device `%1'", device);
|
||||
if (predriver && !zflag) {
|
||||
From eef761fe222fef4b32ce8f5b2f2e6bbad0931b80 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Wed, 22 Jan 2014 09:46:26 +0000
|
||||
Subject: Remove the W3C validation icons from generated HTML
|
||||
|
||||
As the Lintian privacy-breach-w3c-valid-html tag puts it:
|
||||
|
||||
"These badges may be displayed to tell readers that care has been
|
||||
taken to make a page compliant with W3C standards. Unfortunately,
|
||||
downloading the image from www.w3.org might expose the reader's IP
|
||||
address to potential tracking."
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2014-11-05
|
||||
|
||||
Patch-Name: no-validation-icons.patch
|
||||
---
|
||||
doc/Makefile.in | 4 ++--
|
||||
doc/Makefile.sub | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/doc/Makefile.in b/doc/Makefile.in
|
||||
index 759b4b2..c1da5e4 100644
|
||||
--- a/doc/Makefile.in
|
||||
+++ b/doc/Makefile.in
|
||||
@@ -96,7 +96,7 @@ imagedir=img
|
||||
|
||||
.ms.html:
|
||||
$(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
|
||||
- -P-D$(imagedir) -P-V -Thtml -ms >$@
|
||||
+ -P-D$(imagedir) -Thtml -ms >$@
|
||||
.ms.txt:
|
||||
$(GROFF) -Tascii -ms -mwww >$@
|
||||
.ms.ps:
|
||||
@@ -135,7 +135,7 @@ gnu.eps: gnu.xpm
|
||||
pic.html: pic.ms
|
||||
$(GROFF) -P-p -P-I`basename $< | sed -e 's|.ms$$||'` \
|
||||
-P-D$(imagedir) -P-j`basename $< | sed -e 's|.ms$$||'` \
|
||||
- -Thtml -P-V -ms >$@
|
||||
+ -Thtml -ms >$@
|
||||
|
||||
webpage.html: webpage.ms gnu.eps groff.css
|
||||
$(GROFF) -P-j`basename $< | sed -e 's|.ms$$||'` \
|
||||
diff --git a/doc/Makefile.sub b/doc/Makefile.sub
|
||||
index b2325f9..3c9c560 100644
|
||||
--- a/doc/Makefile.sub
|
||||
+++ b/doc/Makefile.sub
|
||||
@@ -118,7 +118,7 @@ RM=rm -f
|
||||
|
||||
.ms.html:
|
||||
$(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
|
||||
- -P-D$(imagedir) -P-V -Thtml -ms >$@
|
||||
+ -P-D$(imagedir) -Thtml -ms >$@
|
||||
.ms.ps:
|
||||
$(GROFF) -Tps -ms -mwww >$@
|
||||
|
||||
@@ -158,7 +158,7 @@ gnu.eps: gnu.xpm
|
||||
pic.html: pic.ms
|
||||
$(GROFF) -P-p -P-I`basename $< | sed -e 's|.ms$$||'` \
|
||||
-P-D$(imagedir) -P-j`basename $< | sed -e 's|.ms$$||'` \
|
||||
- -Thtml -P-V -ms >$@
|
||||
+ -Thtml -ms >$@
|
||||
|
||||
webpage.html: webpage.ms gnu.eps groff.css
|
||||
$(GROFF) -P-j`basename $< | sed -e 's|.ms$$||'` \
|
||||
From ec536f7cfd47346856a9966512ae2893383132e7 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Sun, 26 Jan 2014 19:34:00 +0000
|
||||
Subject: Note that groff_mmse(7) is only available in Swedish locales
|
||||
|
||||
Bug-Debian: http://bugs.debian.org/710431
|
||||
Forwarded: no
|
||||
Last-Update: 2014-11-05
|
||||
|
||||
Patch-Name: mmse-note.patch
|
||||
---
|
||||
contrib/mm/groff_mm.man | 1 +
|
||||
contrib/mm/mmroff.man | 3 ++-
|
||||
man/groff_tmac.man | 3 ++-
|
||||
src/roff/groff/groff.man | 3 ++-
|
||||
4 files changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/contrib/mm/groff_mm.man b/contrib/mm/groff_mm.man
|
||||
index a58ce5d..0321c2b 100644
|
||||
--- a/contrib/mm/groff_mm.man
|
||||
+++ b/contrib/mm/groff_mm.man
|
||||
@@ -3965,6 +3965,7 @@ then assigns the argument to the string variable
|
||||
.BR @g@eqn (@MAN1EXT@)
|
||||
.br
|
||||
.BR groff_mmse (@MAN7EXT@)
|
||||
+(only in Swedish locales)
|
||||
.
|
||||
.
|
||||
.\" --------------------------------------------------------------------
|
||||
diff --git a/contrib/mm/mmroff.man b/contrib/mm/mmroff.man
|
||||
index dbd50b9..1fc5885 100644
|
||||
--- a/contrib/mm/mmroff.man
|
||||
+++ b/contrib/mm/mmroff.man
|
||||
@@ -101,7 +101,8 @@ will only be run once.
|
||||
.\" --------------------------------------------------------------------
|
||||
.
|
||||
.BR groff_mm (@MAN7EXT@),
|
||||
-.BR groff_mmse (@MAN7EXT@),
|
||||
+.BR groff_mmse (@MAN7EXT@)
|
||||
+(only in Swedish locales),
|
||||
.BR groff (@MAN1EXT@),
|
||||
.BR @g@troff (@MAN1EXT@),
|
||||
.BR @g@tbl (@MAN1EXT@),
|
||||
diff --git a/man/groff_tmac.man b/man/groff_tmac.man
|
||||
index b85ab0c..882e3b6 100644
|
||||
--- a/man/groff_tmac.man
|
||||
+++ b/man/groff_tmac.man
|
||||
@@ -254,7 +254,8 @@ sets the input encoding to latin-9 to get proper support of the
|
||||
Swedish localization support, including the me, mom, and ms macro packages.
|
||||
.
|
||||
Note that Swedish for the mm macros is handled separately; see
|
||||
-.BR groff_mmse (@MAN7EXT@).
|
||||
+.BR groff_mmse (@MAN7EXT@)
|
||||
+(only in Swedish locales).
|
||||
.
|
||||
It should be used as the last macro package on the command line.
|
||||
.
|
||||
diff --git a/src/roff/groff/groff.man b/src/roff/groff/groff.man
|
||||
index e5a6235..1bb8c3a 100644
|
||||
--- a/src/roff/groff/groff.man
|
||||
+++ b/src/roff/groff/groff.man
|
||||
@@ -1993,7 +1993,8 @@ Groff macro packages and macro-specific utilities:
|
||||
.BR \%groff_mdoc (@MAN7EXT@),
|
||||
.BR \%groff_me (@MAN7EXT@),
|
||||
.BR \%groff_mm (@MAN7EXT@),
|
||||
-.BR \%groff_mmse (@MAN7EXT@),
|
||||
+.BR \%groff_mmse (@MAN7EXT@)
|
||||
+(only in Swedish locales),
|
||||
.BR \%groff_mom (@MAN7EXT@),
|
||||
.BR \%groff_ms (@MAN7EXT@),
|
||||
.BR \%groff_www (@MAN7EXT@),
|
Loading…
Reference in New Issue
Block a user