Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
xterm
> xterm-276-man-page_paths.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xterm-276-man-page_paths.patch of Package xterm
diff -ruN --exclude='*~' xterm-276.orig/minstall.in xterm-276/minstall.in --- xterm-276.orig/minstall.in 2011-10-20 10:46:50.639578261 +0300 +++ xterm-276/minstall.in 2011-10-20 10:51:30.350707878 +0300 @@ -114,6 +114,10 @@ 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 @@ -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 -ruN --exclude='*~' xterm-276.orig/xterm.man xterm-276/xterm.man --- xterm-276.orig/xterm.man 2011-10-20 10:46:50.670578944 +0300 +++ xterm-276/xterm.man 2011-10-20 10:53:01.105695526 +0300 @@ -1835,17 +1835,17 @@ 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.