]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - xterm/patches/xterm-256-man-page_paths.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / xterm / patches / xterm-256-man-page_paths.patch
CommitLineData
70451f7e
SS
1diff -up xterm-256/minstall.sh.man-page_paths xterm-256/minstall.sh
2--- xterm-256/minstall.sh.man-page_paths 2010-03-04 00:44:49.000000000 +0100
3+++ xterm-256/minstall.sh 2010-03-09 12:11:26.000000000 +0100
4@@ -109,6 +109,10 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME
5 X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
6 test -z "$X_MANSECT" && X_MANSECT=$suffix
7
8+fontpath=/usr/share/X11/fonts
9+xorgcfgdir=/etc/X11
10+xorgcfgfil=xorg.conf
11+X_MANSECT=7
12 sed -e 's%__vendorversion__%"X Window System"%' \
13 -e s%__apploaddir__%$APPS_DIR% \
14 -e s%__mansuffix__%$MY_MANSECT%g \
15@@ -117,6 +121,9 @@ sed -e 's%__vendorversion__%"X Window Sy
16 -e s%/etc/utmp%$UTMP_PATH%g \
17 -e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
18 -e s%/etc/wtmp%$WTMP_PATH%g \
19+ -e s%__fontpath__%$fontpath%g \
20+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
21+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
22 $OLD_FILE >$NEW_FILE
23
24 echo "$MINSTALL $OLD_FILE $END_FILE"
25diff -up xterm-256/xterm.man.man-page_paths xterm-256/xterm.man
26--- xterm-256/xterm.man.man-page_paths 2010-03-03 23:30:35.000000000 +0100
27+++ xterm-256/xterm.man 2010-03-09 12:11:26.000000000 +0100
28@@ -1699,17 +1699,17 @@ Since X11R6, bitmap fonts have been scal
29 The font server claims to provide the bold font that \fIxterm\fP requests,
30 but the result is not always readable.
31 XFree86 provides a feature which can be used to suppress the scaling.
32-In the X server's configuration file (e.g., "/etc/X11/XFree86"), you
33+In the X server's configuration file (e.g., __xorgcfgdir__/__xorgcfgfil__), you
34 can add ":unscaled" to the end of the directory specification for the
35 "misc" fonts, which comprise the fixed-pitch fonts that are used by \fIxterm\fP.
36 For example
37 .RS
38- FontPath "/usr/lib/X11/fonts/misc/"
39+ FontPath "__fontpath__"
40 .RE
41 .IP
42 would become
43 .RS
44- FontPath "/usr/lib/X11/fonts/misc/:unscaled"
45+ FontPath "__fontpath__/misc/:unscaled"
46 .RE
47 .IP
48 Depending on your configuration, the font server may have its own configuration