xterm/xterm-man-paths.patch

52 lines
2.0 KiB
Diff
Raw Normal View History

2014-12-08 10:57:13 +00:00
diff -up xterm-313/minstall.in.man-paths xterm-313/minstall.in
--- xterm-313/minstall.in.man-paths 2014-02-28 00:43:50.000000000 +0100
+++ xterm-313/minstall.in 2014-12-08 11:47:33.071962479 +0100
@@ -138,6 +138,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^
2013-01-10 11:36:25 +00:00
USE_Name=${USE_chr0}${USE_chr1}
USE_NAME=`echo "$USE_name" | tr '[a-z]' '[A-Z]'`
2010-02-02 17:29:15 +00:00
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
+X_MANSECT=7
2012-10-09 16:32:56 +00:00
+
2013-01-10 11:36:25 +00:00
sed -e 's%__vendorversion__%"X Window System"%' \
-e 's%__app_version__%Patch\ \#'$PATCH_NUM% \
-e 's%__app_date__%'$PATCH_YMD% \
2014-12-08 10:57:13 +00:00
@@ -161,6 +166,9 @@ sed -e 's%__vendorversion__%"X Window Sy
2010-02-02 17:29:15 +00:00
-e s%/etc/utmp%$UTMP_PATH%g \
-e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
-e s%/etc/wtmp%$WTMP_PATH%g \
+ -e s%__fontpath__%$fontpath%g \
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
$OLD_FILE >$NEW_FILE
2013-01-10 11:36:25 +00:00
# diff -u $OLD_FILE $NEW_FILE
2010-02-02 17:29:15 +00:00
2014-12-08 10:57:13 +00:00
diff -up xterm-313/xterm.man.man-paths xterm-313/xterm.man
--- xterm-313/xterm.man.man-paths 2014-12-08 11:47:33.072962481 +0100
+++ xterm-313/xterm.man 2014-12-08 11:50:03.248282304 +0100
@@ -2096,19 +2096,18 @@ Since X11R6, bitmap fonts have been scal
2012-10-09 16:32:56 +00:00
The font server claims to provide the bold font that \fI\*n\fP requests,
but the result is not always readable.
2011-08-30 13:56:40 +00:00
XFree86 introduced a feature which can be used to suppress the scaling.
2014-12-08 10:57:13 +00:00
-In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''
-or \*(``/etc/X11/xorg.conf\*(''), you
2011-07-15 11:41:31 +00:00
+In the X server's configuration file (e.g., \*(``__xorgcfgdir__/__xorgcfgfil__\*(''), you
can add \*(``:unscaled\*('' to the end of the directory specification for the
\*(``misc\*('' fonts,
2012-10-09 16:32:56 +00:00
which comprise the fixed-pitch fonts that are used by \fI\*n\fP.
For example
2011-08-30 13:56:40 +00:00
.NS
-FontPath "/usr/lib/X11/fonts/misc/"
2012-10-09 16:32:56 +00:00
+FontPath "__fontpath__/misc/"
2011-08-30 13:56:40 +00:00
.NE
2012-11-26 16:33:21 +00:00
.IP
would become
2011-08-30 13:56:40 +00:00
.NS
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
+FontPath "__fontpath__/misc/:unscaled"
.NE
2012-11-26 16:33:21 +00:00
.IP
Depending on your configuration, the font server may have its own configuration