cvs commit: hints/PREVIOUS_FORMAT xaw3d.txt

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sun Jan 25 00:52:48 PST 2004


tushar      04/01/25 01:52:48

  Modified:    MAINTAINER STATUS
  Added:       OLD      xaw3d.txt
  Removed:     PREVIOUS_FORMAT xaw3d.txt
  Log:
  Removed xaw3d hint, converted into a patch
  
  Revision  Changes    Path
  1.38      +0 -1      hints/MAINTAINER/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvsroot/hints/MAINTAINER/STATUS,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -u -r1.37 -r1.38
  --- STATUS	9 Dec 2003 05:35:08 -0000	1.37
  +++ STATUS	25 Jan 2004 08:52:47 -0000	1.38
  @@ -75,7 +75,6 @@
      * uml: No response from author.
      * windowmaker: Could not contact author.
      * xasroot: Could not contact author.
  -   * xaw3d: No response from author.
      * xawtv: Could not contact author.
      * xconsole_setup: Conversion in progress.
      * xfig: No response from author.
  
  
  
  1.1                  hints/OLD/xaw3d.txt
  
  Index: xaw3d.txt
  ===================================================================
  TITLE:		Xaw3d
  LFS VERSION:	any
  AUTHOR:		Philipp Niemann <lfshints at azagtoth.de>
  
  SYNOPSIS:
  	Installing Xaw3d.
  
  HINT:
  Get the source for Xaw3d from:
  ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/
  Version this hint used was: Xaw3d-1.5.tar.gz (284420 bytes)
  
  You unpack the tar-archiv in your preferred compile- Directory
  and follow the steps:
  
  1. tar xzvf Xaw3d-1.5.tar.gz
  2. cd xc/lib/Xaw3d
  3. vim +32 XawI18n.h
      Before doing anything else type:
      4dd:w
      :q
  
      With that you remove the lines
  
      #include <widec.h>
      #define wcslen(c) wslen(c)
      #define wcscpy(d,s) wscpy(d,s)
      #define wcsncpy(d,s,l) wsncpy(d,s,l)
  
      from the file.
      The file <widec.h> was not found on my System. I found references to
      it on Google with "wslen" as search. Seems to be some old curses
      stuff. That's my guess. Anyway, with my installed libs I found the
      functions wcslen wcscpy and wcsncpy in /usr/include/wchar.h
      If this hint doesn't work for you check the make-output for
      implicitly declared functions wcslen wcscpy or wcsncpy.
  
  There is an option in the Imakefile which does changes something. Refer
  to the README.XAW3D for details. (Change is about Motif look, I think).
  
  4. xmkmf
  5. make includes
  6. make depend
  7. make # Look out for warnings about implicit declarations
      # I did "make > /dev/null" add "| grep impl" if you like
  8. su
  9. make install
      Things are now installed in /usr/X11R6/include/Xaw3d and
      /usr/X11R6/lib/Xaw3d.so*. Optionally, as libXaw3d.so is linked to
      libXaw3d.so.7.0, you may want to do
  9a. ln -sf libXaw3d.so.7.0 /usr/X11R6/lib/libXaw3d.so.7
  9b. ln -sf libXaw3d.so.7 /usr/X11R6/lib/libXaw3d.so
  
  10. ldconfig -v
  11 exit
  +++++++++++++++++++++
  
  That was verified by compiling gv. Looks like it works. I should
  have installed ghostscript in the first place, though ;-)
  
  
  



More information about the hints mailing list