- update to groff 1.22.2
* gropdf: A new driver for generating PDF output directly, contributed by Deri James and written in Perl * The -mom macro package has reached version 2.0, focusing on PDF output with gropdf (using the new `pdfmom' wrapper script). See the file`version-2.html' of the -mom documentation for a list of the many changes. * pdfmom: A new wrapper around groff that facilitates the production of PDF documents from files formatted with the -mom macros. * and a lot more, see NEWS for details - obsoletes: groff-1.21-groffer-libexecdir.patch, already fixed upstream config-guess-sub-update.patch, dtto groff_1.21-6.debian.diff, replaced by - added groff_1.22.2-2.debian.diff - create a stripped-down version of groff usable for viewing of manual pages - new groff-full package contains the rest of groff tools capable to work with images, html or pdf. It contains the devx fonts, thus obsoletes groff-devx it aims to fix bnc#755533 - grohtml built without pnm* tools in PATH - gxdview.spec is removed as gxdview is built from groff-full.spec - verify the tarball using gpg-offline - this is done in groff-full only to retain a limited list of dependencies for base groff - config-guess-sub-update.patch: Update config.guess/sub for aarch64 - update license to new format - add explicit buildrequire makeinfo - Remove redundant tags/sections from specfile OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=39
This commit is contained in:
parent
ab5b18d0fb
commit
320d9e9c7e
File diff suppressed because it is too large
Load Diff
@ -1,63 +0,0 @@
|
||||
Index: groff-1.21/contrib/groffer/Makefile.sub
|
||||
===================================================================
|
||||
--- groff-1.21.orig/contrib/groffer/Makefile.sub 2010-12-31 08:33:09.000000000 +0100
|
||||
+++ groff-1.21/contrib/groffer/Makefile.sub 2011-06-27 13:10:49.646150367 +0200
|
||||
@@ -63,7 +63,7 @@
|
||||
GROFFER_PERL_=`echo $(GROFFER_PERL) | sed 's|$(srcdir)/perl/||g'`
|
||||
GROFFER_SHELL_=`echo $(GROFFER_SHELL) | sed 's|$(srcdir)/shell||g'`
|
||||
|
||||
-groffer_dir=$(libdir)/groff/groffer
|
||||
+groffer_dir=$(libexecdir)/groff/groffer
|
||||
|
||||
# TODO: Add perl check to configure script.
|
||||
groffer: $(GROFFER_PERL) $(GROFFER_SHELL) \
|
||||
@@ -74,7 +74,7 @@
|
||||
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|@libdir@|$(DESTDIR)$(libexecdir)|g" \
|
||||
-e "s|@VERSION@|$(version)$(revision)|g" \
|
||||
-e "$(SH_SCRIPT_SED_CMD)" \
|
||||
$(srcdir)/perl/groffer.pl >$@; \
|
||||
@@ -88,7 +88,7 @@
|
||||
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|@libdir@|$(DESTDIR)$(libexecdir)|g" \
|
||||
-e "s|@VERSION@|$(version)$(revision)|g" \
|
||||
-e "$(SH_SCRIPT_SED_CMD)" \
|
||||
$(srcdir)/shell/groffer.sh >$@; \
|
||||
@@ -137,7 +137,7 @@
|
||||
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
|
||||
|
||||
########################################################################
|
||||
# Emacs settings
|
||||
Index: groff-1.21/Makefile.in
|
||||
===================================================================
|
||||
--- groff-1.21.orig/Makefile.in 2011-06-27 13:10:49.595148562 +0200
|
||||
+++ groff-1.21/Makefile.in 2011-06-27 13:10:49.647150402 +0200
|
||||
@@ -139,6 +139,9 @@
|
||||
libdir=@libdir@
|
||||
libprogramdir=$(libdir)/groff
|
||||
|
||||
+# `libexecdir` says where to install script not intended to run as user
|
||||
+libexecdir=@libexecdir@
|
||||
+
|
||||
# `datasubdir' says where to install platform-independent data files.
|
||||
datadir=@datadir@
|
||||
datarootdir=@datarootdir@
|
||||
@@ -786,7 +789,7 @@
|
||||
fi; \
|
||||
test -d $@ || $(mkinstalldirs) $@; \
|
||||
cd $@; \
|
||||
- $(MAKE) $(MAKE_K_FLAG) $(MDEFINES) srcdir=$$srcdir VPATH=$$srcdir \
|
||||
+ $(MAKE) $(MAKE_K_FLAG) $(MDEFINES) srcdir=$$srcdir libexecdir=$(libexecdir) VPATH=$$srcdir \
|
||||
-f $(top_srcdir)/Makefile.comm \
|
||||
-f $$srcdir/Makefile.sub \
|
||||
-f $(top_srcdir)/Makefile.man $(do)
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:344e6af5480e7ab4ec51e2a2ed10acd69ba3e062d285b6d5f6d49fb5ed2f9f7a
|
||||
size 3863837
|
3
groff-1.22.2.tar.gz
Normal file
3
groff-1.22.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076
|
||||
size 4019913
|
7
groff-1.22.2.tar.gz.sig
Normal file
7
groff-1.22.2.tar.gz.sig
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
|
||||
iD8DBQBRE5wPwaYOrOcH/aURAgDcAJ9TpxrNc3iy1K2vJEaVmPy7yJi3awCcCW1s
|
||||
rOJRFSOkfgPX3Ppa1VUMmkM=
|
||||
=t2pa
|
||||
-----END PGP SIGNATURE-----
|
722
groff-full.changes
Normal file
722
groff-full.changes
Normal file
@ -0,0 +1,722 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 14:40:06 UTC 2013 - schwab@suse.de
|
||||
|
||||
- config-guess-sub-update.patch: Update config.guess/sub for aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 14:33:41 UTC 2013 - coolo@suse.com
|
||||
|
||||
- update license to new format
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 7 13:02:36 UTC 2012 - coolo@suse.com
|
||||
|
||||
- add explicit buildrequire makeinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 18 00:14:49 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Enable parallel build with %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 12:49:28 UTC 2011 - adrian@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS for compile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 08:09:33 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- implemented FATE#312586 - Add locales support for groff papersize
|
||||
* the default papersize is now determined from system locale (LC_PAPER)
|
||||
* /etc/papersize is no longer owned by the groff package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 12:50:27 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#703665 - VUL-1: groff: missing checks for mktemp failures
|
||||
(CVE-2009-5080)
|
||||
- fix bnc#703666 - VUL-1: groff: insufficient number of X for mktemp
|
||||
(CVE-2009-5081)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 11:14:25 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.21 a bugfix release
|
||||
* use new groff_1.21-6.debian.diff
|
||||
* refresh libexecdir and pdfroff patch
|
||||
- fix FATE#311297: Get rid of SuSEconfig.groff
|
||||
* removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 8 09:06:44 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#698290: insecure temporary file handling in pdfroff
|
||||
* groff-1.20.1-CVE-2009-5044.patch
|
||||
- fix bnc#683857: Unicode characters in use properly
|
||||
* change the soft hyphenation char to - in tty.tmac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 6 10:10:08 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
-
|
||||
- fix bnc#682913: device X100 is missing
|
||||
* create new groff-devx package containing all devX devices, as they
|
||||
need X for build
|
||||
- fix bnc#683857: Unicode characters in use
|
||||
* groff-1.20.1-deunicode.patch adds deunicode.tmac to tty.tmac removes
|
||||
all unecessary unicode characters in tty output
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 08:34:56 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#679585 - groff.info is not installed
|
||||
* install info files as %{name}.info.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 09:33:18 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#644467: SuSEconfig.groff overwrites /etc/papersize
|
||||
use the check_md5_and_move to prevent it
|
||||
- deprecation warning for GROFF* variables in /etc/sysconfig/suseconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 5 12:25:28 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#633128: Update groff to 1.20.1
|
||||
this update obsoletes a big number of SUSE patches
|
||||
* groff_1.18.1.1-1-debian.diff.bz2 - adds Japanese support, which is now
|
||||
upstreamed. However new groff_1.20.1-10.debian.diff has been added
|
||||
* suse.patch - not needed
|
||||
* pic-html.patch - probably not needed
|
||||
* gcc4.patch - already fixed by upstream
|
||||
* groff-1.17.2-gcc3.patch - seems not needed
|
||||
* utf8.patch - http://www.mail-archive.com/groff@gnu.org/msg05273.html says
|
||||
iconv hack is no longer needed, new version uses preconv
|
||||
* debian-fix.patch - already fixed by upstream
|
||||
* double-free.patch - already fixed by upstream
|
||||
* groffer-security.patch - in debian diff
|
||||
* groff-1.18.1.1-gcc41.patch - already fixed by upstream
|
||||
* bugzilla-217106-too-few-arguments-in-function-call.patch - makes sense
|
||||
only with ENABLE_MULTIBYTE, which was added by old debian diff
|
||||
* bugzilla-292412-special-encoding-handling-also-for-chinese.patch - seems not necessary
|
||||
* gcc43.patch - already fixed by upstream
|
||||
* fgets-overflow.patch - already fixed by upstream
|
||||
* bnc446710.patch - seems not needed anymore
|
||||
* groff-1.18.1.1-debian-538330.patch - part of debian diff
|
||||
- fix bnc#643083 - groff: default /etc/papersize should be "a4"
|
||||
no "papersize a4" without SuSEconfig anymore
|
||||
- move docs and examples to groff-docs subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 14 13:48:20 UTC 2009 - mvyskocil@suse.cz
|
||||
|
||||
- fixed bnc#529557 - groff: insecure file handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 21 11:11:05 CEST 2009 - tiwai@suse.de
|
||||
|
||||
- fix broken output of man page when $LANGUAGE is set empty
|
||||
(bnc#540600)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 02 18:47:32 CET 2009 - mfabian@suse.de
|
||||
|
||||
- bnc#470921: add more workarounds for Korean to fix the truncation
|
||||
of some non-Korean man-pages in ko_KR.UTF-8 locale.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 22 15:18:31 CET 2008 - mls@suse.de
|
||||
|
||||
- keep zzz-groff.csh from aborting if LANG is unset
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 25 15:15:44 CET 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#448185: improve workaround for bnc#446710. After the
|
||||
tmandocdb workaround was removed from "man", the new
|
||||
workaround in groff failed in some locales.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 21 15:54:34 CET 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#401952: Add a workaround to /usr/bin/nroff to make Korean
|
||||
man-pages display correctly again.
|
||||
- /etc/profile.d/groff.{sh,csh} moved to
|
||||
/etc/profile.d/zzz-groff.{sh,csh} to be able to check for LANG.
|
||||
Changes in these scripts:
|
||||
• Don’t set GROFF_NO_SGR by default anymore, it causes problems
|
||||
with Korean man pages.
|
||||
• For CJK languages, set MAN_KEEP_FORMATTING by default.
|
||||
Without MAN_KEEP_FORMATTING man will use GROFF_NO_SGR when
|
||||
writing to a pipe or file and will also pipe the result
|
||||
through "col -b -p -x". This doesn’t work well for CJK, at
|
||||
least not with the current version of groff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 20 17:48:24 CET 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#446710: add the workarounds from
|
||||
/usr/share/groff/site-tmac/tmac.andocdb (man package) directly
|
||||
to groff. These workarounds are to avoid rendering - as
|
||||
U+2010 (HYPHEN), \- as U+2212 (MINUS SIGN), ` as U+2018
|
||||
(LEFT SINGLE QUOTATION MARK), and ' as U+2019 (RIGHT SINGLE
|
||||
QUOTATION MARK). Using these non-ASCII characters for rendering
|
||||
man-pages with programm examples and command line options is
|
||||
confusing and prevents cut and paste of code examples
|
||||
impossible.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 8 02:10:33 CEST 2008 - crrodriguez@suse.de
|
||||
|
||||
- fix buffer overflow in ps.cc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 22:15:13 CEST 2008 - meissner@suse.de
|
||||
|
||||
- fixed fgets overflow
|
||||
- fixed some rpmlint issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 21 17:25:52 CEST 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#381905: remove the hack in /usr/bin/nroff to convert
|
||||
UTF-8 encoded man-pages back to the appropriate legacy encoding
|
||||
because newer versions of “man” also do this conversion now
|
||||
and doing the same conversion twice breaks it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 25 13:11:08 CET 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#373284: fix wrong spelling of UTF-8 in iconv call used in
|
||||
nroff.sh (Thanks to Bruno Haible <bruno@clisp.org> for the fix).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 7 09:37:39 CET 2007 - meissner@suse.de
|
||||
|
||||
- fixed gcc4.3 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 24 11:51:08 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #292412: make the hacks for Chinese less weird by
|
||||
applying the patch from comment #31 by Peng Wu <pwu@novell.com>
|
||||
and adapting the patch to /usr/bin/nroff.
|
||||
- remove shebang from SuSEconfig.groff (is sourced, not executed).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 23 19:41:27 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #292412: add some more hacks to /usr/bin/nroff to
|
||||
support Chinese man pages as well.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:50:16 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- add bison BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 14:33:50 CET 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #217106: too few arguments in function call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 09 22:01:52 CET 2007 - mfabian@suse.de
|
||||
|
||||
- do not build as root.
|
||||
- make it build in the openSUSE build service.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 02 18:58:35 CET 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #230030: make Russian and Czech man-pages display
|
||||
correctly again in UTF-8 locales (has been broken by the
|
||||
update to man-2.4.3).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 11:59:42 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Split gxdview to a separate spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 14:41:08 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Remove unneeded build dependency on ghostscript-mini.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 6 15:19:35 CEST 2006 - cthiel@suse.de
|
||||
|
||||
- fix build with X.org 7.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 18:12:58 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #148472: use -Tlatin1 instead of -Tascii8 for
|
||||
languages which used ISO-8859-1 as legacy encoding.
|
||||
With -Tascii8, "\(:u" for ü won't work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 09 15:34:48 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #148922: nroff hangs when input comes from a file
|
||||
and not from a pipe: Improfe UTF-8 workaround to handle this
|
||||
case as well by parsing the options with getopt to find out
|
||||
whether a file was given as an argument.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 01:40:24 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Added %install_info_prereq.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 18:31:45 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #144726: add workaround to allow UTF-8 encoded sources
|
||||
of man-pages. Some packages already contain man-pages with
|
||||
UTF-8 encoded man-page sources, for example "mc". Hopefully
|
||||
one day groff will really support this. Until then a workaround
|
||||
is better than nothing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 9 15:04:53 CET 2005 - meissner@suse.de
|
||||
|
||||
- -fno-strict-aliasing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 10:11:33 CEST 2005 - meissner@suse.de
|
||||
|
||||
- fixed build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 21:14:11 CEST 2005 - meissner@suse.de
|
||||
|
||||
- fixed implicits.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 12:37:18 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #105807: /etc/papersize can be changed by SuSEconfig,
|
||||
don't verify md5, size, mtime.
|
||||
/usr/share/groff/1.18.1/tmac/mm/locale and
|
||||
/usr/share/groff/1.18.1/tmac/mm/se_locale are empty by default,
|
||||
don't verify md5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 22 11:39:33 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- improve papersize detection in SuSEconfig.groff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 02 15:01:11 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- add symbolic link for tetex (and others):
|
||||
/usr/share/groff/%{version} -> /usr/share/groff/current
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 06 22:13:15 CET 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #47862: fix insecure creation of temporary directory
|
||||
in groffer.sh, see also CAN-2004-0969.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 11:41:38 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- add gcc4 patch received from Andreas Jaeger.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 17:06:37 CEST 2004 - schwab@suse.de
|
||||
|
||||
- Fix double free.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 12:37:19 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #44115: add groff.{sh,csh} and set GROFF_NO_SGR to
|
||||
disable the use of ANSI colour sequences by default. They don't
|
||||
work well with many pagers (e.g. lv, (X)Emacs) and they cause
|
||||
problems when searching in man-pages when using less as the
|
||||
pager.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 19:23:18 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 1.18.1.1
|
||||
- remove bison patch, voiddecl patch and patch to node.cc
|
||||
(fixed upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 14:57:21 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Declare void functions as such, and make int functions return such
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 01:11:37 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #28394: add workaround to display the euro symbol in
|
||||
'man iso-8859-15' correctly in UTF-8 locales.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 17:12:41 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #28945: add missing activation metadata to
|
||||
sysconfig template
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 13:44:11 CEST 2003 - coolo@suse.de
|
||||
|
||||
- making /etc/papersize noreplace (the chances are very small the
|
||||
package knows the papersize better than the user)
|
||||
- installing the info pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 17:19:49 CET 2003 - ro@suse.de
|
||||
|
||||
- readd ghostscript-mini to neededforbuild (fix docu)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 13:26:37 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #24758: fix segfault on copying an empty bracket_node
|
||||
was reproducible with echo ' \b"" ' | troff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 16:51:04 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #22693: add missing metadata to sysconfig.suseconfig-groff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 19:50:43 CET 2003 - mfabian@suse.de
|
||||
|
||||
- fix file list to include /usr/share/man{5,7}/*
|
||||
- extend workaround for non-latin1 man-page sources in UTF-8
|
||||
locales to Hungarian, Croatian, Polish, and Russian
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 23:11:19 CET 2002 - olh@suse.de
|
||||
|
||||
- remove ghostscript-mini-packages to build groff anyway
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 17:11:35 CET 2002 - ro@suse.de
|
||||
|
||||
- use ghostscript-mini-packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 08:40:10 CET 2002 - ro@suse.de
|
||||
|
||||
- fix build with current bison (end all rules with ";")
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 13 19:30:45 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- remove bogus "Requires: bc".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 14:48:04 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- fix display of Czech man pages in cs_CZ.UTF-8 locale
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 14:09:54 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- add %fillup_prereq to Prereq:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 20:06:46 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- fix typo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 18:22:29 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- fix display of Japanese man pages in ja_JP.UTF-8 locale
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 14:02:51 CEST 2002 - meissner@suse.de
|
||||
|
||||
- Fixed g++ 3 issue (do not link C++ libraries with gcc)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 7 17:42:44 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix for new autoconf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 00:11:05 CET 2002 - mfabian@suse.de
|
||||
|
||||
- fix bug #15052: add 'libgimpprint glib glib-devel' to
|
||||
'# neededforbuild' because 'gs' needs this to run. When 'gs'
|
||||
doesn't run, some .png pictures in the 'doc' directory
|
||||
can't be created and remain empty.
|
||||
- add groff-1.17.2-pic-html.diff to avoid using the process ID
|
||||
in the names of the created .png files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 10 15:56:25 CET 2002 - mfabian@suse.de
|
||||
|
||||
- write just 'a4' or 'letter' into /etc/papersize, not
|
||||
'papersize a4' or 'papersize letter'. All this papersize
|
||||
stuff doesn't seem to matter much anyway as groff calls
|
||||
grops with the '-g' option (guess page length).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 14:25:36 CET 2002 - ro@suse.de
|
||||
|
||||
- replaced plp by lprng in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 13:43:08 CET 2002 - mfabian@suse.de
|
||||
|
||||
- fix /sbin/conf.d/SuSEconfig.groff:
|
||||
prefer paper size information from the locale, use GROFF_PAGESIZE
|
||||
as an override.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:07 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 16:01:50 CET 2002 - ro@suse.de
|
||||
|
||||
- moved variables to sysconfig/suseconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 14:59:01 CET 2002 - mfabian@suse.de
|
||||
|
||||
- move *GROFF* variables from /etc/rc.config to
|
||||
/etc/sysconfig/groff (fix Bug #12739)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 15 16:20:23 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- add /etc/papersize (fix Bug #11810)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 13:37:56 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- add obsoletes jgroff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 30 11:41:16 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- upgrade debian patch to groff_1.17.2-7.diff
|
||||
(fixes the problem with bold utf-8 characters, i.e. obsoletes
|
||||
groff_1.17.2-6.1-debian-fix-minus.diff and includes a fix
|
||||
for the troff man-page)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 21 18:48:29 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- upgrade debian patch to groff_1.17.2-6.1.diff
|
||||
(fix hyphen character problem in EUC-JP encoding,
|
||||
Fumitoshi UKAI <ukai@debian.or.jp> Fri, 17 Aug 2001)
|
||||
- fix problem with bold minus characters in utf-8 caused by
|
||||
debian patch (thanks to <mls@suse.de>)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 17 12:11:48 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- include patch for Japanese support from Debian
|
||||
- security fix from Sebastian Krahmer <krahmer@suse.de> seems
|
||||
to be included upstream, removed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 12:06:42 CEST 2001 - kukuk@suse.de
|
||||
|
||||
- changed neededforbuild <gs_fonts> to <ghostscript-fonts-std>
|
||||
- changed neededforbuild <gs_lib> to <ghostscript-library>
|
||||
- changed neededforbuild <gs_serv> to <ghostscript-serv>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 12 12:33:45 CEST 2001 - fehr@suse.de
|
||||
|
||||
- update to version 1.17.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 6 11:22:27 CEST 2001 - fehr@suse.de
|
||||
|
||||
- add security fix from Sebastian Krahmer <krahmer@suse.de>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 12:48:25 CEST 2001 - fehr@suse.de
|
||||
|
||||
- update to version 1.17.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 12:01:43 CEST 2001 - fehr@suse.de
|
||||
|
||||
- make it build with newer compilers (ia64, axp)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 22 18:40:53 CEST 2001 - fehr@suse.de
|
||||
|
||||
- update to version 1.17
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 7 12:39:47 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- bzip2 source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 21 21:25:32 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Fix C++ constraint violation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 7 16:23:29 CET 2001 - uli@suse.de
|
||||
|
||||
- added xf86 to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 10:16:37 CET 2000 - mfabian@suse.de
|
||||
|
||||
- added "Provides: normal-groff". This enables the japanized
|
||||
groff to use "Provides: groff" and "Conflicts: normal-groff".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 8 11:03:15 MET 2000 - fehr@suse.de
|
||||
|
||||
- add conflicts to jgroff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 16:24:15 MEST 2000 - fehr@suse.de
|
||||
|
||||
- check for writable fontdir in SuSEconfig.groff (#2787)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 15 10:26:06 CEST 2000 - mfabian@suse.de
|
||||
|
||||
- update to version 1.16.1
|
||||
- added 'BuildRoot'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 4 10:11:08 MEST 2000 - fehr@suse.de
|
||||
|
||||
- changes to new version 1.16.1 of groff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 21 16:47:13 MEST 2000 - fehr@suse.de
|
||||
|
||||
- add patch to display japanese man pages again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 7 16:23:40 MEST 2000 - fehr@suse.de
|
||||
|
||||
- change comment in rc.config part of package (bugzilla #3256)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 13:21:03 MEST 2000 - fehr@suse.de
|
||||
|
||||
- changes to new version 1.16 of groff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 14:13:18 MEST 2000 - fehr@suse.de
|
||||
|
||||
- move documentation to /usr/share/doc/packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 21:32:54 MET 2000 - werner@suse.de
|
||||
|
||||
- nroff script
|
||||
* Allow other ISO latin character sets because they use the same
|
||||
8 bit table: use -Tlatin1
|
||||
* Allow wide ANSI character maps (e.g. Japanese) because they use
|
||||
multiple 8 bit characters: use -Tlatin1
|
||||
* Map -Tnippon to -Tlatin1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 15:50:30 CET 2000 - schwab@suse.de
|
||||
|
||||
- Update tmac.m from CVS.
|
||||
- Fix tmac.mse reference to tmac.m.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 25 16:37:03 CET 2000 - schwab@suse.de
|
||||
|
||||
- /usr/man -> /usr/share/man
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 3 10:39:24 CET 2000 - schwab@suse.de
|
||||
|
||||
- Update to 1.15 (Y2K fix).
|
||||
- Get rid of Makefile.Linux.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 27 16:31:01 CEST 1999 - bs@suse.de
|
||||
|
||||
- fixed requirements for sub packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 2 19:14:18 CEST 1999 - werner@suse.de
|
||||
|
||||
- Fix Makefle.Linux to make (g)xditview with the values
|
||||
set in Imakefile
|
||||
- Split up a new package gxdview to avoid dependencies
|
||||
of groff on the X11 system.
|
||||
- Correct version number of groff in pac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 08:15:50 MET 1999 - ro@suse.de
|
||||
|
||||
- don't redclare strchr for glibc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 15 00:38:04 MET 1998 - bs@suse.de
|
||||
|
||||
- fixed SuSEconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 13 22:48:48 MET 1998 - bs@suse.de
|
||||
|
||||
- made SuSEconfig.groff a little bit more silent.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 14:34:32 MET 1998 - ro@suse.de
|
||||
|
||||
- commented out "find" in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 17 14:54:13 MET 1998 - werner@suse.de
|
||||
|
||||
- Remove hint during SuSEconfig.groff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 3 17:50:05 MET DST 1998 - werner@suse.de
|
||||
|
||||
- Add three missed files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 16:36:47 MEST 1998 - werner@suse.de
|
||||
|
||||
- Skipt warn message if printer isn't configured
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 16:24:02 MEST 1998 - werner@suse.de
|
||||
|
||||
- New version 1.11a
|
||||
- Make docs and install them
|
||||
- Add a auto configure script for SuSEconfig
|
||||
- Make tmac/tmac.safer more safer: do not open files via .so
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 26 19:50:30 MEST 1998 - bs@suse.de
|
||||
|
||||
- fixed name of GXDITVIEW
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Oct 7 11:00:38 CEST 1997 - florian@suse.de
|
||||
|
||||
- prepared spec file
|
||||
- "bash 2.0" Fix in Makefile
|
||||
|
28
groff-full.keyring
Normal file
28
groff-full.keyring
Normal file
@ -0,0 +1,28 @@
|
||||
pub 1024D/E707FDA5 2003-10-25
|
||||
uid Werner Lemberg <wl@gnu.org>
|
||||
sub 1024g/A5638324 2003-10-25
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQGiBD+Z+pwRBACnK1FszJzA033xBE6MVbjhP1DLFNBLwhw+2hcTLOWvcsdbQh74
|
||||
BTSjR61QnFj0JcfmGXa2Qk6wsLL8r3mY2CrAtYf3MnXDU7ZImmVO4VJ4YvVO7FMz
|
||||
7Xl7TyEfz32aWT/FUMRbFsT8HTIv0gVimpvnOC5z0U53LbgI7TK2gp+UXwCgiNJC
|
||||
+/0b9pskbjH8V5lyNPTR6pMD/0pjqPrWynPfuG015Bpc4GtfduB7RR7wWJwQq1s7
|
||||
5E/peGYqPk/yyGWfnSlhyW9+OuPxnCIxtoosqD5/gcaEK64qTzSmvdhP7csU6zk6
|
||||
Emb2RLfMX17fOWKTF5cfjpvGvhr0P4jukJ3q3q4JL+ZQLNuxW0ZrItujorG44jlc
|
||||
dSIZA/9VEegNNz5OnvrvWfU/jK/inXoSisdNunkxDpIshxCpph0xdMJqKcIsAfG0
|
||||
CsuNkDlDQSW1bGIS9zrK41PcYWs/2P/6lgEStiEPVXziqMZsXnDKuMRN32edLM9Z
|
||||
oGCoUFxWkGl8gtZqJUtOS86IABPG/5unldCfAulL1qDU267QcLQbV2VybmVyIExl
|
||||
bWJlcmcgPHdsQGdudS5vcmc+iF8EExECABcFAj+Z+pwFCwcKAwQDFQMCAxYCAQIX
|
||||
gAASCRDBpg6s5wf9pQdlR1BHAAEBTb0An2+FGaqF6B+L98SwovRKTj6RNHRDAKCH
|
||||
8XAgZBXmnJkuFZdehXUeaELcMLkBDQQ/mfqiEAQA/GIc47GVhBUfmH1QzUhm4Y6W
|
||||
YY+i2Rc6+ZpY94VUgZfF4Uc6T7bcNI/lsKfp7JlU3NOMnCbSpPDbWnlJk3O/w79y
|
||||
Eq5uxSGxIkXQSNd6X7K31DpgdhO05GDXGlmy9uQIknqxyT5J2LVp3T8UXFMDdPkh
|
||||
MfDLwo5Ku9PxTmMajUsAAwUEAKIZgRV4Hn4sbgFz0oYVuwa/RywQ25t5j4fCh2D9
|
||||
F2dN+RvacgqZS4JJVKJgXT9dVkXMo/3CBPx5gXTyJv/Xfk5GZxX3i1Cf6xn7Bz4z
|
||||
sy5P1dapDdI+wpnqn/S7Zm6oqJQJkrKl3F0JiReo7xZZuuoEyOxPI/6MLSKpBnjL
|
||||
Vx6giE4EGBECAAYFAj+Z+qIAEgkQwaYOrOcH/aUHZUdQRwABAVwZAKCBYF9/CYty
|
||||
NErAzbX8HQVZqExjKwCfctp0iVHu49WYBxGYpTb6kiuRL7c=
|
||||
=wMZR
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
330
groff-full.spec
Normal file
330
groff-full.spec
Normal file
@ -0,0 +1,330 @@
|
||||
#
|
||||
# spec file for package groff-full
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
##### WARNING: please do not edit this auto generated spec file. Use the groff.spec! #####
|
||||
%global groff_base_only 0
|
||||
|
||||
Name: groff-full
|
||||
Version: 1.22.2
|
||||
Release: 0
|
||||
Summary: GNU troff Document Formatting System
|
||||
License: BSD-3-Clause and GPL-2.0+
|
||||
Group: Productivity/Publishing/Troff
|
||||
Url: http://www.gnu.org/software/groff/groff.html
|
||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz.sig
|
||||
Source2: groff-full.keyring
|
||||
Source3: zzz-groff.sh
|
||||
Source4: zzz-groff.csh
|
||||
# for file in `cat series | grep -v '^#' | grep '^[a-z]' `; do
|
||||
# cat $file >> groff_1.21-6.debian.diff
|
||||
# done
|
||||
Patch0: groff_1.22.2-2.debian.diff
|
||||
Patch1: groff-1.20.1-destbufferoverflow.patch
|
||||
Patch2: groff-1.20.1-nroff-empty-LANGUAGE.patch
|
||||
# obsoleted by 1.22.2 - groffer is installed to /usr/lib on 64bit
|
||||
#Patch3: groff-1.21-groffer-libexecdir.patch
|
||||
Patch4: groff-1.20.1-deunicode.patch
|
||||
Patch5: groff-1.21-CVE-2009-5044.patch
|
||||
#PATCH-FIX-OPENSUSE: splitted patch6 and patch7 from
|
||||
#http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff?rev=1.2;content-type=text%2Fplain
|
||||
Patch6: groff-1.21-CVE-2009-5080.patch
|
||||
Patch7: groff-1.21-CVE-2009-5081.patch
|
||||
#PATCH-FIX-OPENSUSE: FATE#312586
|
||||
#sent upstream http://lists.gnu.org/archive/html/bug-groff/2011-09/msg00002.html
|
||||
#so they would be available on next release of groff
|
||||
Patch8: 0001-locale-support-in-papersize-definition.patch
|
||||
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
|
||||
# obsoleted by 1.22.2
|
||||
#Patch11: config-guess-sub-update.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRequires: makeinfo
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
Recommends: groff-full
|
||||
%else
|
||||
BuildRequires: ghostscript-library
|
||||
BuildRequires: gpg-offline
|
||||
BuildRequires: groff
|
||||
BuildRequires: netpbm
|
||||
BuildRequires: psutils
|
||||
# for gxditview and X fontx
|
||||
BuildRequires: xorg-x11-devel
|
||||
|
||||
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
|
||||
components to read manual pages in ASCII, Latin-1, and UTF-8, plus the
|
||||
PostScript device (groff's default). Users who want a full groff installation,
|
||||
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.
|
||||
|
||||
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/.
|
||||
|
||||
%package -n groff-doc
|
||||
Summary: HTML documentation and examples for groff
|
||||
Group: Productivity/Publishing/Troff
|
||||
|
||||
%description -n groff-doc
|
||||
The groff package provides compatible versions of troff, nroff, eqn,
|
||||
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/.
|
||||
|
||||
%package -n gxditview
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
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}
|
||||
|
||||
%description -n gxditview
|
||||
This version of xditview is called gxditview and has some extensions
|
||||
used by the groff command. gxditview is used by groff if called with
|
||||
the -X option.
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%prep
|
||||
%if ! %{groff_base_only}
|
||||
# we do a verification on non-base package in order to not add more dependencies to Base:build ...
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
|
||||
%setup -q -n groff-%{version}
|
||||
%patch0 -p1 -b .debian
|
||||
%patch1
|
||||
%patch2 -p1 -b .bnc540600
|
||||
# % patch3 -p1 -b .groffer-libexecdir
|
||||
%patch4 -p1 -b .deunicode
|
||||
%patch5 -p1 -b .CVE-2009-5044
|
||||
%patch6 -p1 -b .CVE-2009-5080
|
||||
%patch7 -p1
|
||||
%patch8 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale
|
||||
%patch10 -p1 -b .force-locale
|
||||
# % patch11
|
||||
|
||||
%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
|
||||
PATH=$PWD/src/roff/grog:$PWD/src/roff/groff:$PWD/src/devices/grops:$PWD/src/devices/grotty:$PWD/src/devices/grodvi:$PWD/src/devices/grohtml:$PATH
|
||||
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"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%{configure} \
|
||||
--with-appresdir=%{_datadir}/X11/app-defaults
|
||||
|
||||
#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/
|
||||
%else
|
||||
%{makeinstall} docdir=%{_defaultdocdir}/groff
|
||||
%endif
|
||||
|
||||
### see Debian's groff-base.install.in ###
|
||||
for BIN in eqn groff grog grops grotty neqn nroff pic preconv soelim tbl troff; do
|
||||
|
||||
%if %{groff_base_only}
|
||||
# install binary
|
||||
install -m 0755 $(find . -type f -name ${BIN}) %{buildroot}/%{_bindir}/
|
||||
|
||||
# install man
|
||||
MAN_SOURCE=$(find src -name "${BIN}.n")
|
||||
MAN_DEST="${MAN_SOURCE%.n}.1" # replace suffix .n by .1
|
||||
MAN_DEST="${MAN_DEST##*/}" # remove the path/before/
|
||||
install -m 0644 "${MAN_SOURCE}" "%{buildroot}%{_mandir}/man1/${MAN_DEST}"
|
||||
%else
|
||||
# remove binary already in groff.rpm
|
||||
rm %{buildroot}/%{_bindir}/${BIN}
|
||||
# remove manual already in groff.rpm
|
||||
rm %{buildroot}/%{_mandir}/man1/${BIN}.*
|
||||
%endif
|
||||
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
%endif
|
||||
|
||||
for FONT in devascii devlatin1 devps devutf8; do
|
||||
%if %{groff_base_only}
|
||||
cp -pr "font/${FONT}" %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
%else
|
||||
rm -r %{buildroot}%{_datadir}/groff/%{version}/font/${FONT}
|
||||
%endif
|
||||
done
|
||||
|
||||
for TMAC in an-ext.tmac an-old.tmac an.tmac andoc.tmac composite.tmac cp1047.tmac cs.tmac de.tmac den.tmac \
|
||||
devtag.tmac doc.tmac doc-old.tmac eqnrc europs.tmac fr.tmac hyphen.cs hyphen.den hyphen.det \
|
||||
hyphen.fr hyphen.sv hyphen.us hyphenex.cs hyphenex.det hyphenex.us ja.tmac latin1.tmac latin2.tmac \
|
||||
latin5.tmac latin9.tmac man.tmac mandoc.tmac mdoc.tmac papersize.tmac pic.tmac ps.tmac psatk.tmac \
|
||||
psold.tmac pspic.tmac safer.tmac sv.tmac trans.tmac troffrc troffrc-end tty-char.tmac tty.tmac \
|
||||
unicode.tmac www.tmac; do
|
||||
|
||||
%if %{groff_base_only}
|
||||
cp tmac/${TMAC} %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/tmac/${TMAC}
|
||||
%endif
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
install -m 0644 tmac/doc-common tmac/doc-ditroff tmac/doc-nroff tmac/doc-syms \
|
||||
%{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
%else
|
||||
rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
|
||||
%{__ln_s} -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
|
||||
# compat symlinks
|
||||
%{__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/
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%if ! %{groff_base_only}
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc BUG-REPORT ChangeLog* COPYING FDL LICENSES MANIFEST MORE.STUFF NEWS PROBLEMS PROJECTS README REVISION VERSION
|
||||
%doc %{_mandir}/man1/*
|
||||
%{_bindir}/*
|
||||
%config %{_sysconfdir}/profile.d/zzz-%{name}.*sh
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%else #groff_base_only
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/groff/%{version}
|
||||
%doc %{_docdir}/groff
|
||||
%exclude %{_docdir}/groff/html
|
||||
%exclude %{_docdir}/groff/examples
|
||||
%doc %{_infodir}/groff*
|
||||
%doc %{_mandir}/man*/*
|
||||
%exclude %{_mandir}/man1/gxditview.1*
|
||||
%{_bindir}/*
|
||||
%exclude %{_bindir}/gxditview
|
||||
%{_datadir}/groff/%{version}/font
|
||||
%{_datadir}/groff/%{version}/oldfont
|
||||
%{_datadir}/groff/%{version}/pic
|
||||
%{_datadir}/groff/%{version}/tmac
|
||||
%{_datadir}/groff/current
|
||||
%{_datadir}/groff/site-tmac
|
||||
%{_libexecdir}/groff/groffer
|
||||
|
||||
%files -n groff-doc
|
||||
%defattr(-, root, root)
|
||||
%dir %{_docdir}/groff
|
||||
%doc %{_docdir}/groff/html
|
||||
%doc %{_docdir}/groff/examples
|
||||
|
||||
%files -n gxditview
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/X11/app-defaults
|
||||
%doc src/devices/xditview/ChangeLog
|
||||
%doc src/devices/xditview/README
|
||||
%doc src/devices/xditview/TODO
|
||||
%{_bindir}/gxditview
|
||||
%doc %{_mandir}/man1/gxditview.1*
|
||||
%{_datadir}/X11/app-defaults/GXditview
|
||||
%{_datadir}/X11/app-defaults/GXditview-color
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%changelog
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 9 09:16:49 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- update to groff 1.22.2
|
||||
* gropdf: A new driver for generating PDF output directly,
|
||||
contributed by Deri James and written in Perl
|
||||
* The -mom macro package has reached version 2.0, focusing on
|
||||
PDF output with gropdf (using the new `pdfmom' wrapper script).
|
||||
See the file`version-2.html' of the -mom documentation for a list
|
||||
of the many changes.
|
||||
* pdfmom: A new wrapper around groff that facilitates the production of PDF
|
||||
documents from files formatted with the -mom macros.
|
||||
* and a lot more, see NEWS for details
|
||||
- obsoletes:
|
||||
groff-1.21-groffer-libexecdir.patch, already fixed upstream
|
||||
config-guess-sub-update.patch, dtto
|
||||
groff_1.21-6.debian.diff, replaced by
|
||||
- added groff_1.22.2-2.debian.diff
|
||||
- create a stripped-down version of groff usable for viewing of manual pages
|
||||
- new groff-full package contains the rest of groff tools capable to work with
|
||||
images, html or pdf. It contains the devx fonts, thus obsoletes groff-devx
|
||||
it aims to fix bnc#755533 - grohtml built without pnm* tools in PATH
|
||||
- gxdview.spec is removed as gxdview is built from groff-full.spec
|
||||
- verify the tarball using gpg-offline - this is done in groff-full only
|
||||
to retain a limited list of dependencies for base groff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 14:40:06 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
237
groff.spec
237
groff.spec
@ -16,23 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%global groff_base_only 1
|
||||
|
||||
Name: groff
|
||||
Version: 1.21
|
||||
Version: 1.22.2
|
||||
Release: 0
|
||||
Summary: GNU troff Document Formatting System
|
||||
License: BSD-3-Clause and GPL-2.0+
|
||||
Group: Productivity/Publishing/Troff
|
||||
Url: http://www.gnu.org/software/groff/groff.html
|
||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz.sig
|
||||
Source2: groff-full.keyring
|
||||
Source3: zzz-groff.sh
|
||||
Source4: zzz-groff.csh
|
||||
# for file in `cat series | grep -v '^#' | grep '^[a-z]' `; do
|
||||
# cat $file >> groff_1.21-6.debian.diff
|
||||
# done
|
||||
Patch0: groff_1.21-6.debian.diff
|
||||
Patch0: groff_1.22.2-2.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
|
||||
# obsoleted by 1.22.2 - groffer is installed to /usr/lib on 64bit
|
||||
#Patch3: groff-1.21-groffer-libexecdir.patch
|
||||
Patch4: groff-1.20.1-deunicode.patch
|
||||
Patch5: groff-1.21-CVE-2009-5044.patch
|
||||
#PATCH-FIX-OPENSUSE: splitted patch6 and patch7 from
|
||||
@ -47,7 +52,8 @@ 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
|
||||
Patch11: config-guess-sub-update.patch
|
||||
# obsoleted by 1.22.2
|
||||
#Patch11: config-guess-sub-update.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
@ -56,19 +62,46 @@ BuildRequires: gcc-c++
|
||||
%if 0%{suse_version} > 1220
|
||||
BuildRequires: makeinfo
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
Recommends: groff-full
|
||||
%else
|
||||
BuildRequires: ghostscript-library
|
||||
BuildRequires: gpg-offline
|
||||
BuildRequires: groff
|
||||
BuildRequires: netpbm
|
||||
BuildRequires: psutils
|
||||
# for gxditview and X fontx
|
||||
BuildRequires: xorg-x11-devel
|
||||
|
||||
Provides: jgroff = %{version}-%{release}
|
||||
Provides: normal-groff = %{version}-%{release}
|
||||
Obsoletes: jgroff < %{version}
|
||||
Requires(pre): %fillup_prereq
|
||||
# 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
|
||||
Recommends: netpbm
|
||||
Recommends: ghostscript-library
|
||||
Recommends: pssutils
|
||||
Requires: ghostscript-library
|
||||
Requires: netpbm
|
||||
Requires: psutils
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
%description
|
||||
The groff package is a stripped-down package containing the necessary
|
||||
components to read manual pages in ASCII, Latin-1, and UTF-8, plus the
|
||||
PostScript device (groff's default). Users who want a full groff installation,
|
||||
with the standard set of devices, fonts, macros, and documentation, should
|
||||
install the groff-full package.
|
||||
|
||||
%else #groff_base_only
|
||||
|
||||
%description
|
||||
The groff package provides compatible versions of troff, nroff, eqn,
|
||||
tbl, and other Unix text formatting utilities.
|
||||
The groff-full package provides aditional tools excluded from base groff
|
||||
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
|
||||
@ -76,11 +109,11 @@ 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/.
|
||||
|
||||
%package doc
|
||||
%package -n groff-doc
|
||||
Summary: HTML documentation and examples for groff
|
||||
Group: Productivity/Publishing/Troff
|
||||
|
||||
%description doc
|
||||
%description -n groff-doc
|
||||
The groff package provides compatible versions of troff, nroff, eqn,
|
||||
tbl, and other Unix text formatting utilities.
|
||||
|
||||
@ -90,13 +123,34 @@ 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/.
|
||||
|
||||
%package -n gxditview
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
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}
|
||||
|
||||
%description -n gxditview
|
||||
This version of xditview is called gxditview and has some extensions
|
||||
used by the groff command. gxditview is used by groff if called with
|
||||
the -X option.
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch11
|
||||
%if ! %{groff_base_only}
|
||||
# we do a verification on non-base package in order to not add more dependencies to Base:build ...
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
|
||||
%setup -q -n groff-%{version}
|
||||
%patch0 -p1 -b .debian
|
||||
%patch1
|
||||
%patch2 -p1 -b .bnc540600
|
||||
%patch3 -p1 -b .groffer-libexecdir
|
||||
# % patch3 -p1 -b .groffer-libexecdir
|
||||
%patch4 -p1 -b .deunicode
|
||||
%patch5 -p1 -b .CVE-2009-5044
|
||||
%patch6 -p1 -b .CVE-2009-5080
|
||||
@ -104,6 +158,7 @@ programs store their man pages in either /usr/share/man/ or
|
||||
%patch8 -p1 -b .locale
|
||||
%patch9 -p1 -b .locale
|
||||
%patch10 -p1 -b .force-locale
|
||||
# % patch11
|
||||
|
||||
%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
|
||||
@ -117,22 +172,91 @@ export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
|
||||
#autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%{configure}
|
||||
ulimit -c unlimited
|
||||
%{configure} \
|
||||
--with-appresdir=%{_datadir}/X11/app-defaults
|
||||
|
||||
#ulimit -c unlimited
|
||||
make %{?_smp_mflags}
|
||||
pushd doc
|
||||
make %{?_smp_mflags}
|
||||
makeinfo groff.texinfo
|
||||
popd
|
||||
|
||||
%if ! %{groff_base_only}
|
||||
#pushd doc
|
||||
# make %{?_smp_mflags}
|
||||
# makeinfo groff.texinfo
|
||||
#popd
|
||||
%endif
|
||||
|
||||
%install
|
||||
%{makeinstall} docdir=%{_defaultdocdir}/%{name}
|
||||
%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/
|
||||
%else
|
||||
%{makeinstall} docdir=%{_defaultdocdir}/groff
|
||||
%endif
|
||||
|
||||
%{__rm} -f %{buildroot}%{_infodir}/dir
|
||||
### see Debian's groff-base.install.in ###
|
||||
for BIN in eqn groff grog grops grotty neqn nroff pic preconv soelim tbl troff; do
|
||||
|
||||
# documentation
|
||||
%{__cp} -pr BUG-REPORT ChangeLog* COPYING FDL LICENSES MANIFEST MORE.STUFF NEWS PROBLEMS PROJECTS README README.MinGW REVISION VERSION doc/*ps \
|
||||
%{buildroot}/%{_defaultdocdir}/%{name}/
|
||||
%if %{groff_base_only}
|
||||
# install binary
|
||||
install -m 0755 $(find . -type f -name ${BIN}) %{buildroot}/%{_bindir}/
|
||||
|
||||
# install man
|
||||
MAN_SOURCE=$(find src -name "${BIN}.n")
|
||||
MAN_DEST="${MAN_SOURCE%.n}.1" # replace suffix .n by .1
|
||||
MAN_DEST="${MAN_DEST##*/}" # remove the path/before/
|
||||
install -m 0644 "${MAN_SOURCE}" "%{buildroot}%{_mandir}/man1/${MAN_DEST}"
|
||||
%else
|
||||
# remove binary already in groff.rpm
|
||||
rm %{buildroot}/%{_bindir}/${BIN}
|
||||
# remove manual already in groff.rpm
|
||||
rm %{buildroot}/%{_mandir}/man1/${BIN}.*
|
||||
%endif
|
||||
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
# datadir
|
||||
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
||||
%endif
|
||||
|
||||
for FONT in devascii devlatin1 devps devutf8; do
|
||||
%if %{groff_base_only}
|
||||
cp -pr "font/${FONT}" %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
||||
%else
|
||||
rm -r %{buildroot}%{_datadir}/groff/%{version}/font/${FONT}
|
||||
%endif
|
||||
done
|
||||
|
||||
for TMAC in an-ext.tmac an-old.tmac an.tmac andoc.tmac composite.tmac cp1047.tmac cs.tmac de.tmac den.tmac \
|
||||
devtag.tmac doc.tmac doc-old.tmac eqnrc europs.tmac fr.tmac hyphen.cs hyphen.den hyphen.det \
|
||||
hyphen.fr hyphen.sv hyphen.us hyphenex.cs hyphenex.det hyphenex.us ja.tmac latin1.tmac latin2.tmac \
|
||||
latin5.tmac latin9.tmac man.tmac mandoc.tmac mdoc.tmac papersize.tmac pic.tmac ps.tmac psatk.tmac \
|
||||
psold.tmac pspic.tmac safer.tmac sv.tmac trans.tmac troffrc troffrc-end tty-char.tmac tty.tmac \
|
||||
unicode.tmac www.tmac; do
|
||||
|
||||
%if %{groff_base_only}
|
||||
cp tmac/${TMAC} %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
||||
%else
|
||||
rm %{buildroot}%{_datadir}/groff/%{version}/tmac/${TMAC}
|
||||
%endif
|
||||
done
|
||||
|
||||
%if %{groff_base_only}
|
||||
install -m 0644 tmac/doc-common tmac/doc-ditroff tmac/doc-nroff tmac/doc-syms \
|
||||
%{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
||||
%else
|
||||
rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
|
||||
%{__ln_s} -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
||||
|
||||
# compat symlinks
|
||||
%{__ln_s} -f eqn %{buildroot}%{_bindir}/geqn
|
||||
@ -142,31 +266,64 @@ popd
|
||||
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
||||
%{__install} -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%if ! %{groff_base_only}
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
||||
%endif
|
||||
|
||||
%if %{groff_base_only}
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{_defaultdocdir}/groff
|
||||
%doc %{_defaultdocdir}/groff/
|
||||
%exclude %{_defaultdocdir}/groff/html
|
||||
%exclude %{_defaultdocdir}/groff/examples
|
||||
%doc %{_infodir}/groff*
|
||||
%doc %{_mandir}/man?/*
|
||||
%defattr(-,root,root)
|
||||
%doc BUG-REPORT ChangeLog* COPYING FDL LICENSES MANIFEST MORE.STUFF NEWS PROBLEMS PROJECTS README REVISION VERSION
|
||||
%doc %{_mandir}/man1/*
|
||||
%{_bindir}/*
|
||||
%config %{_sysconfdir}/profile.d/zzz-%{name}.*sh
|
||||
%{_datadir}/%{name}
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%files doc
|
||||
%else #groff_base_only
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/groff/%{version}
|
||||
%doc %{_docdir}/groff
|
||||
%exclude %{_docdir}/groff/html
|
||||
%exclude %{_docdir}/groff/examples
|
||||
%doc %{_infodir}/groff*
|
||||
%doc %{_mandir}/man*/*
|
||||
%exclude %{_mandir}/man1/gxditview.1*
|
||||
%{_bindir}/*
|
||||
%exclude %{_bindir}/gxditview
|
||||
%{_datadir}/groff/%{version}/font
|
||||
%{_datadir}/groff/%{version}/oldfont
|
||||
%{_datadir}/groff/%{version}/pic
|
||||
%{_datadir}/groff/%{version}/tmac
|
||||
%{_datadir}/groff/current
|
||||
%{_datadir}/groff/site-tmac
|
||||
%{_libexecdir}/groff/groffer
|
||||
|
||||
%files -n groff-doc
|
||||
%defattr(-, root, root)
|
||||
%dir %{_defaultdocdir}/groff
|
||||
%doc %{_defaultdocdir}/groff/html
|
||||
%doc %{_defaultdocdir}/groff/examples
|
||||
%dir %{_docdir}/groff
|
||||
%doc %{_docdir}/groff/html
|
||||
%doc %{_docdir}/groff/examples
|
||||
|
||||
%files -n gxditview
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/X11/app-defaults
|
||||
%doc src/devices/xditview/ChangeLog
|
||||
%doc src/devices/xditview/README
|
||||
%doc src/devices/xditview/TODO
|
||||
%{_bindir}/gxditview
|
||||
%doc %{_mandir}/man1/gxditview.1*
|
||||
%{_datadir}/X11/app-defaults/GXditview
|
||||
%{_datadir}/X11/app-defaults/GXditview-color
|
||||
|
||||
%endif #groff_base_only
|
||||
|
||||
%changelog
|
||||
|
654
groff_1.22.2-2.debian.diff
Normal file
654
groff_1.22.2-2.debian.diff
Normal file
@ -0,0 +1,654 @@
|
||||
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
|
||||
|
||||
Index: b/src/preproc/html/pre-html.cpp
|
||||
===================================================================
|
||||
--- a/src/preproc/html/pre-html.cpp
|
||||
+++ b/src/preproc/html/pre-html.cpp
|
||||
@@ -152,6 +152,10 @@
|
||||
#define DEFAULT_IMAGE_RES 100 // number of pixels per inch resolution
|
||||
#define IMAGE_BOARDER_PIXELS 0
|
||||
#define INLINE_LEADER_CHAR '\\'
|
||||
+#define A4_LENGTH 841890 // taken from devps/Makefile.sub
|
||||
+#define LETTER_LENGTH 792000 // taken from devps/Makefile.sub
|
||||
+#define A4_OFFSET 0
|
||||
+#define LETTER_OFFSET 50 // 50/72 of an inch
|
||||
|
||||
// Don't use colour names here! Otherwise there is a dependency on
|
||||
// a file called `rgb.txt' which maps names to colours.
|
||||
@@ -199,6 +203,7 @@
|
||||
// by -D
|
||||
static int troff_arg = 0; // troff arg index
|
||||
static char *image_dir = NULL; // user specified image directory
|
||||
+static char *gsPaper = NULL; // the paper size that gs must use
|
||||
static int textAlphaBits = MAX_ALPHA_BITS;
|
||||
static int graphicAlphaBits = MAX_ALPHA_BITS;
|
||||
static char *antiAlias = NULL; // antialias arguments we pass to gs
|
||||
@@ -312,6 +317,54 @@
|
||||
}
|
||||
|
||||
/*
|
||||
+ * get_papersize - returns an integer determining the paper length from
|
||||
+ * devps/DESC
|
||||
+ */
|
||||
+
|
||||
+static int get_papersize (void)
|
||||
+{
|
||||
+ char *pathp;
|
||||
+ FILE *f;
|
||||
+ int res;
|
||||
+ f = font_path.open_file("devps/DESC", &pathp);
|
||||
+ if (f == 0)
|
||||
+ fatal("can't open devps/DESC");
|
||||
+ while (get_line(f)) {
|
||||
+ int n = sscanf(linebuf, "paperlength %d", &res);
|
||||
+ if (n >= 1) {
|
||||
+ fclose(f);
|
||||
+ return res;
|
||||
+ }
|
||||
+ if (!strncmp(linebuf, "papersize", 9)) {
|
||||
+ double length;
|
||||
+ char *p = linebuf + 9;
|
||||
+ while (*p == ' ' || *p == '\t')
|
||||
+ p++;
|
||||
+ for (p = strtok(p, " \t"); p; p = strtok(0, " \t")) {
|
||||
+ if (font::scan_papersize(p, 0, &length, 0)) {
|
||||
+ fclose(f);
|
||||
+ return int(length * postscriptRes + 0.5);
|
||||
+ }
|
||||
+ }
|
||||
+ fatal("bad argument to `papersize' keyword in devps/DESC");
|
||||
+ }
|
||||
+ }
|
||||
+ fatal("can't find `papersize' or `paperlength' keyword in devps/DESC");
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * determine_vertical_offset - works out the default vertical offset from
|
||||
+ * the page length
|
||||
+ */
|
||||
+
|
||||
+static void determine_vertical_offset (void)
|
||||
+{
|
||||
+ vertical_offset = ((A4_LENGTH-get_papersize())*72)/postscriptRes;
|
||||
+ gsPaper = "-sPAPERSIZE=a4";
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
* html_system - A wrapper for system().
|
||||
*/
|
||||
|
||||
@@ -1782,6 +1835,7 @@
|
||||
if (image_gen == NULL || (strcmp(image_gen, "") == 0))
|
||||
fatal("devhtml/DESC must set the image_generator field, exiting");
|
||||
postscriptRes = get_resolution();
|
||||
+ determine_vertical_offset();
|
||||
i = scanArguments(argc, argv);
|
||||
setupAntiAlias();
|
||||
checkImageDir();
|
||||
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) {
|
@ -1,67 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 14:40:06 UTC 2013 - schwab@suse.de
|
||||
|
||||
- config-guess-sub-update.patch: Update config.guess/sub for aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 18 00:14:49 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Enable parallel build with %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 19 18:22:20 UTC 2012 - coolo@suse.com
|
||||
|
||||
- own app-defaults directory - requiring xorg-x11 for it is heavy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 12:59:30 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.21 a bugfix release
|
||||
* use new groff_1.21-6.debian.diff
|
||||
* refresh libexecdir and pdfroff patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 8 09:52:07 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix #bnc#668254: xditview don't show tilde
|
||||
* gxditview Supplements the groff and X11 libs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 12:04:23 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#682913: device X100 is missing
|
||||
* create new groff-devx package containing all devX devices, as they
|
||||
need X for build
|
||||
- fix bnc#683857: Unicode characters in use
|
||||
* groff-1.20.1-deunicode.patch removes unicode.tmac from tty.tmac, so
|
||||
no ascii chars wil be converted to unicode
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 6 12:41:24 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#633128: Update groff to 1.20.1
|
||||
- rename to gxditview
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 11 12:01:27 CET 2007 - ro@suse.de
|
||||
|
||||
- added defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 14:33:50 CET 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #217106: too few arguments in function call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 02 18:58:35 CET 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #230030: make Russian and Czech man-pages display
|
||||
correctly again in UTF-8 locales (has been broken by the
|
||||
update to man-2.4.3).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 12:00:12 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Split from groff spec file.
|
||||
|
119
gxditview.spec
119
gxditview.spec
@ -1,119 +0,0 @@
|
||||
#
|
||||
# spec file for package gxditview
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: gxditview
|
||||
Version: 1.21
|
||||
Release: 0
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
License: MIT
|
||||
Group: Productivity/Publishing/Troff
|
||||
Url: http://www.gnu.org/software/groff/groff.html
|
||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
||||
# for file in `cat series | grep -v '^#' | grep '^[a-z]' `; do
|
||||
# cat $file >> groff_1.21-6.debian.diff
|
||||
# done
|
||||
Patch0: groff_1.21-6.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
|
||||
Patch4: groff-1.20.1-deunicode.patch
|
||||
Patch5: groff-1.21-CVE-2009-5044.patch
|
||||
Patch6: config-guess-sub-update.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: xorg-x11-devel
|
||||
Requires: groff
|
||||
# bnc#668254
|
||||
Supplements: packageand(groff:xorg-x11-libX11)
|
||||
Conflicts: jgxdview
|
||||
Provides: gxdview = %{version}-%{release}
|
||||
Obsoletes: gxdview < %{version}
|
||||
|
||||
%description
|
||||
This version of xditview is called gxditview and has some extensions
|
||||
used by the groff command. gxditview is used by groff if called with
|
||||
the -X option.
|
||||
|
||||
%package -n groff-devx
|
||||
Summary: X output devices for groff
|
||||
License: BSD-3-Clause and GPL-2.0+
|
||||
Group: Productivity/Publishing/Troff
|
||||
Requires: groff
|
||||
Supplements: groff
|
||||
|
||||
%description -n groff-devx
|
||||
The output devices X75, X75-12, devX100 and devX100-12 for groff. They are in
|
||||
separate package because of bootstrapping issues.
|
||||
|
||||
%prep
|
||||
%setup -q -n groff-%{version}
|
||||
%patch0 -p1 -b .debian
|
||||
%patch1 -p0 -b .destbufferoverflow
|
||||
%patch2 -p1 -b .bnc540600
|
||||
%patch3 -p1 -b .groffer-libexecdir
|
||||
%patch4 -p1 -b .deunicode
|
||||
%patch5 -p1 -b .CVE-2009-5044
|
||||
%patch6
|
||||
|
||||
%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
|
||||
PATH=$PWD/src/roff/grog:$PWD/src/roff/groff:$PWD/src/devices/grops:$PWD/src/devices/grotty:$PWD/src/devices/grodvi:$PWD/src/devices/grohtml:$PATH
|
||||
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
|
||||
#
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" INSTALL_PROGRAM='${INSTALL}'
|
||||
%{configure}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
||||
make DESTDIR=%{?buildroot:%{buildroot}} do=do_install font/devX*
|
||||
|
||||
#remove unwanted stuff
|
||||
rm -rf %{buildroot}/%{_bindir}
|
||||
rm -rf %{buildroot}/%{_mandir}
|
||||
|
||||
%{__install} -d -m 0755 %{buildroot}%{_bindir}
|
||||
%{__install} -d -m 0755 %{buildroot}%{_datadir}/X11/app-defaults
|
||||
%{__install} -d -m 0755 %{buildroot}%{_mandir}/man1/
|
||||
|
||||
pushd src/devices/xditview/
|
||||
%{__install} -m 0755 %{name} %{buildroot}%{_bindir}
|
||||
%{__install} -m 0644 GXditview.ad %{buildroot}%{_datadir}/X11/app-defaults/GXditview
|
||||
%{__install} -m 0644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
popd
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc src/devices/xditview/ChangeLog
|
||||
%doc src/devices/xditview/README
|
||||
%doc src/devices/xditview/TODO
|
||||
%doc
|
||||
%{_bindir}/%{name}
|
||||
%doc %{_mandir}/man1/%{name}.1*
|
||||
%dir %{_datadir}/X11/app-defaults
|
||||
%config %{_datadir}/X11/app-defaults/GXditview
|
||||
|
||||
%files -n groff-devx
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/groff
|
||||
|
||||
%changelog
|
6
pre_checkin.sh
Normal file
6
pre_checkin.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the groff.spec! #####\n"
|
||||
sed "s/^%global groff_base_only.*$/${EDIT_WARNING}%global groff_base_only 0/;
|
||||
s/^Name.*groff/Name: groff-full/;
|
||||
" < groff.spec > groff-full.spec
|
||||
cp groff.changes groff-full.changes
|
Loading…
x
Reference in New Issue
Block a user