xterm/xterm-man-paths.patch
Miroslav Lichvar 784d51218a update to 288
2013-01-10 12:36:25 +01:00

51 lines
1.9 KiB
Diff

diff -up xterm-288/minstall.in.man-paths xterm-288/minstall.in
--- xterm-288/minstall.in.man-paths 2013-01-01 02:18:24.000000000 +0100
+++ xterm-288/minstall.in 2013-01-10 12:29:33.472774530 +0100
@@ -136,6 +136,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^
USE_Name=${USE_chr0}${USE_chr1}
USE_NAME=`echo "$USE_name" | tr '[a-z]' '[A-Z]'`
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
+X_MANSECT=7
+
sed -e 's%__vendorversion__%"X Window System"%' \
-e 's%__app_version__%Patch\ \#'$PATCH_NUM% \
-e 's%__app_date__%'$PATCH_YMD% \
@@ -159,6 +164,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
# diff -u $OLD_FILE $NEW_FILE
diff -up xterm-288/xterm.man.man-paths xterm-288/xterm.man
--- xterm-288/xterm.man.man-paths 2013-01-01 00:36:19.000000000 +0100
+++ xterm-288/xterm.man 2013-01-10 12:28:15.852693216 +0100
@@ -1970,18 +1970,18 @@ Since X11R6, bitmap fonts have been scal
The font server claims to provide the bold font that \fI\*n\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 \fI\*n\fP.
For example
.NS
-FontPath "/usr/lib/X11/fonts/misc/"
+FontPath "__fontpath__/misc/"
.NE
.IP
would become
.NS
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
+FontPath "__fontpath__/misc/:unscaled"
.NE
.IP
Depending on your configuration, the font server may have its own configuration