diff options
author | Jan Vcelak <jvcelak@redhat.com> | 2013-01-01 17:04:33 +0100 |
---|---|---|
committer | Jan Vcelak <jvcelak@redhat.com> | 2013-01-01 17:04:33 +0100 |
commit | 6aae928db34dc8e7da20e065467d8e519ce16117 (patch) | |
tree | 97f40e6f084274719152ccec284eaf853baf4622 /0002-load-site-font-and-site-tmac-from-etc-groff.patch | |
parent | 167204087ba5d89e608473d2dbf4268de3826c9a (diff) | |
download | groff-6aae928db34dc8e7da20e065467d8e519ce16117.tar.gz groff-6aae928db34dc8e7da20e065467d8e519ce16117.tar.xz groff-6aae928db34dc8e7da20e065467d8e519ce16117.zip |
new upstream release (1.22.1)
Resolves: #890973 #682857 #885225
Diffstat (limited to '0002-load-site-font-and-site-tmac-from-etc-groff.patch')
-rw-r--r-- | 0002-load-site-font-and-site-tmac-from-etc-groff.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/0002-load-site-font-and-site-tmac-from-etc-groff.patch b/0002-load-site-font-and-site-tmac-from-etc-groff.patch new file mode 100644 index 0000000..163f784 --- /dev/null +++ b/0002-load-site-font-and-site-tmac-from-etc-groff.patch @@ -0,0 +1,43 @@ +From c6d8bb3e0ebc03274564d7b2c768e9932cc5f79d Mon Sep 17 00:00:00 2001 +From: Jan Vcelak <jvcelak@redhat.com> +Date: Tue, 1 Jan 2013 15:33:45 +0100 +Subject: [PATCH] load site-font and site-tmac from /etc/groff + +Move site-font and site-tmac configuration from /usr/share/groff to +/etc/groff. That allows permanent custom changes. (Symlinking brought +a lot of problems with RPM. This is safer and cleaner.) + +Signed-off-by: Jan Vcelak <jvcelak@redhat.com> +--- + Makefile.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 7534e56..d97d1b9 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -167,7 +167,7 @@ fontdir=$(datasubdir)/font + oldfontdir=$(datasubdir)/oldfont + + # `localfontdir' says where local fonts will be installed (as dev*/*). +-localfontdir=$(dataprogramdir)/site-font ++localfontdir=@sysconfdir@/groff/site-font + + # `legacyfontdir' is for compatibility with non-GNU troff. + legacyfontdir=/usr/lib/font +@@ -179,10 +179,10 @@ fontpath=$(localfontdir)$(RT_SEP)$(fontdir)$(RT_SEP)$(legacyfontdir) + tmacdir=$(datasubdir)/tmac + + # `systemtmacdir' says where to install platform-dependent macros. +-systemtmacdir=$(libprogramdir)/site-tmac ++systemtmacdir=@sysconfdir@/groff/site-tmac + + # `localtmacdir' says where local files will be installed. +-localtmacdir=$(dataprogramdir)/site-tmac ++localtmacdir=@sysconfdir@/groff/site-tmac + + # `appresdir' says where to install the application resource file for + # gxditview. +-- +1.8.0.2 + |