Xref: utzoo comp.unix.ultrix:6957 comp.windows.x:35586 Newsgroups: comp.unix.ultrix,comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!agate!ICSI.Berkeley.EDU!stolcke From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Subject: Re: guidelines for installation of MIT X11R4 on DECstation 5000 Message-ID: <1991Apr23.073954.1004@agate.berkeley.edu> Sender: root@agate.berkeley.edu (Charlie Root) Organization: International Computer Science Institute, Berkeley, CA References: <1991Apr22.221828.2193@ice9.uucp> Date: Tue, 23 Apr 1991 07:39:54 GMT Lines: 138 In article <1991Apr22.221828.2193@ice9.uucp>, bgh@ice9.uucp (barry hannigan) writes: |> i am looking for some pointers on the best method of installing X11R4 on |> a DECstation which already has UWS 4.0 (X11R3). |> |> points needing mention: |> |> - UWS uses .pcf fonts, X uses .snf, so no font sharing The .cf file below will use the UWS font tools to install .pcf versions of the X11R4 fonts in /usr/lib/X11/fonts if BuildServer is set to NO. This assumes you want to stick to the DEC's DPS server. |> - the fix for the "illegal lhs" error in ./clients/xterm/main.c *** main.c.dist Sat Jan 27 01:33:46 1990 --- main.c Tue Feb 5 19:34:06 1991 *************** *** 104,109 **** --- 104,114 ---- #endif /* !SYSV */ #include + #ifdef ultrix + #undef fileno + #define fileno(p) ((p)->_file) + #endif + #include #include |> |> - a nice template file for imake |> See below. -- Andreas Stolcke stolcke@icsi.berkeley.edu International Computer Science Institute stolcke@ucbicsi.bitnet 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126 ---- /* * SET VERSION NUMBERS BEFORE MAKING MAKEFILES */ #define OSName Ultrix V4.0 #define OSMajorVersion 4 #define OSMinorVersion 0 #define SystemV NO #define HasVoidSignalReturn YES #define HasPutenv YES #define HasBsearch YES #define BuildServer NO #undef ExtensionDefines #define ExtensionDefines -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMISC #ifdef VaxArchitecture #define XqvssServer Xqvss #define XqdssServer Xqdss #define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */ #define HasSaberC YES #define ServerDefines StandardDefines ExtensionDefines -DXDMCP -DNOSTDHDRS -DX11R4 /* gcc is *VERY USEFUL*, especially for the server; GET it */ /* #define HasGcc YES */ #endif #ifdef MipsArchitecture #define XmfbpmaxServer Xmfbpmax #define XcfbpmaxServer Xcfbpmax #define StandardDefines #define DefaultCCOptions -Wf,-XNh2000 -Olimit 2000 #define ServerDefines StandardDefines ExtensionDefines -DXDMCP #endif #ifndef HasFortran #define HasFortran YES #define FortranDebugFlags -g #endif #if !BuildServer /* * MakeFonts - generate rules to build font databases. */ #ifndef MakeFonts #define MakeFonts() @@\ all:: $(OBJS) fonts.dir @@\ @@\ fonts.dir: $(OBJS) @@\ dxmkfontdir . @@\ @@\ clean:: @@\ $(RM) *.snf fonts.dir #endif /* MakeFonts */ /* * InstallFonts - generate rules to install font files */ #ifndef InstallFonts #define InstallFonts(dest) @@\ install:: $(OBJS) @@\ @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ for i in $(OBJS); do \ @@\ (set -x; $(INSTALL) -c $(INSTDATFLAGS) $$i dest/`basename $$i .snf`.pcf); \ @@\ done @@\ @@\ install:: fonts.dir @@\ $(INSTALL) -c $(INSTDATFLAGS) fonts.dir dest #endif /* InstallFonts */ /* * FontTarget - generate rules to convert a .bdf file into a .snf file. */ #ifndef FontTarget #define FontTarget(basename) @@\ basename.snf: basename.bdf @@\ dxfc $(FONTCFLAGS) $? >$@ #endif /* FontTarget */ /* * CompressedFontTarget - generate rules to convert a .bdf file into a * compressed .snf file. */ #ifndef CompressedFontTarget #define CompressedFontTarget(basename) @@\ basename.snf.Z: basename.bdf @@\ dxfc $(FONTCFLAGS) $? >basename.snf @@\ $(COMPRESS) basename.snf @@\ rm -f basename.snf #endif /* CompressedFontTarget */ #endif /**/# platform: $XConsortium: ultrix.cf,v 1.20 89/12/22 15:56:14 rws Exp $ /**/# operating system: OSName