xterm/xterm-271-man-page_paths.patch
Miroslav Lichvar aa0216d235 update to 273
2011-08-30 15:56:40 +02:00

49 lines
2.0 KiB
Diff

diff -up xterm-273/minstall.in.man-page_paths xterm-273/minstall.in
--- xterm-273/minstall.in.man-page_paths 2011-08-16 11:50:03.000000000 +0200
+++ xterm-273/minstall.in 2011-08-30 15:33:25.176170037 +0200
@@ -114,6 +114,10 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME
X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
test -z "$X_MANSECT" && X_MANSECT=$suffix
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
+X_MANSECT=7
sed -e 's%__vendorversion__%"X Window System"%' \
-e s%__default_termname__%@default_TERM@% \
-e s%__default_termid__%@default_termid@% \
@@ -125,6 +129,9 @@ sed -e 's%__vendorversion__%"X Window Sy
-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
echo "$MINSTALL $OLD_FILE $END_FILE"
diff -up xterm-273/xterm.man.man-page_paths xterm-273/xterm.man
--- xterm-273/xterm.man.man-page_paths 2011-08-23 02:50:07.000000000 +0200
+++ xterm-273/xterm.man 2011-08-30 15:29:15.593007964 +0200
@@ -1825,17 +1825,17 @@ Since X11R6, bitmap fonts have been scal
The font server claims to provide the bold font that \fIxterm\fP requests,
but the result is not always readable.
XFree86 introduced a feature which can be used to suppress the scaling.
-In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''), you
+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,
which comprise the fixed-pitch fonts that are used by \fIxterm\fP.
For example
.NS
-FontPath "/usr/lib/X11/fonts/misc/"
+FontPath "__fontpath__"
.NE
would become
.NS
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
+FontPath "__fontpath__/misc/:unscaled"
.NE
Depending on your configuration, the font server may have its own configuration
file.