[BACK]Return to README CVS log [TXT][DIR] Up to [local] / xenocara

Diff for /xenocara/README between version 1.23 and 1.24

version 1.23, 2008/10/05 08:08:33 version 1.24, 2008/10/05 08:10:05
Line 27 
Line 27 
 - lib:       libraries  - lib:       libraries
 - proto:     X protocol headers  - proto:     X protocol headers
 - util:      utilities that don't fit anywhere else  - util:      utilities that don't fit anywhere else
 - xserver:   the source for the X servers  - xserver:   the source for the X servers
   
 In addition Xenocara uses the following directories:  In addition Xenocara uses the following directories:
   
Line 70 
Line 70 
   
 A freshly checked out xenocara tree is buildable without any external  A freshly checked out xenocara tree is buildable without any external
 tool. Only the xenocara and the src (currently only the  tool. Only the xenocara and the src (currently only the
 src/sys/dev/pci/pcidevs file) trees are needed.  src/sys/dev/pci/pcidevs file) trees are needed.
   
 However if you start modifying things in the automake build  However if you start modifying things in the automake build
 system used by many packages, you will need to have the following  system used by many packages, you will need to have the following
Line 87 
Line 87 
   
   Path    Path
   
 To build Xenocara, you need to have /usr/X11R6/bin in your PATH.  To build Xenocara, you need to have /usr/X11R6/bin in your PATH.
   
   Sudo    Sudo
   
Line 98 
Line 98 
   
 If you have installed the full Xenocara X sets on your system, you  If you have installed the full Xenocara X sets on your system, you
 don't need to build all of Xenocara to patch one element. You can go  don't need to build all of Xenocara to patch one element. You can go
 to any module sub-directory and run 'make build' from there.  to any module sub-directory and run 'make build' from there.
   
   Source directory    Source directory
   
Line 110 
Line 110 
   
 Xenocara supports objdirs (and it's even the recommended way to build  Xenocara supports objdirs (and it's even the recommended way to build
 things). Just run 'make obj' at any level before 'make build' to make  things). Just run 'make obj' at any level before 'make build' to make
 sure that the object directories are created.  sure that the object directories are created.
 XOBJDIR defines the obj directory that is used (defaults to /usr/xobj).  XOBJDIR defines the obj directory that is used (defaults to /usr/xobj).
 It should be created before running 'make obj'.  It should be created before running 'make obj'.
   
   Shadow trees    Shadow trees
   
 Alternatively, the old 'lndir(1)' method can still be used to build  Alternatively, the old 'lndir(1)' method can still be used to build
 Xenocara outside of its source tree. Just don't use 'make obj' in this  Xenocara outside of its source tree. Just don't use 'make obj' in this
 case.  case.
   
 o Regenerating configure scripts  o Regenerating configure scripts
   ------------------------------    ------------------------------
   
 Whenever you touched an import file for GNU autotools (Makefile.am,  Whenever you touched an import file for GNU autotools (Makefile.am,
 configure.ac mostly), you need to rebuild the configure script and  configure.ac mostly), you need to rebuild the configure script and
 makefiles skeletons. For that use the following command in the  makefiles skeletons. For that use the following command in the
 directory where you edited the autotools source files:  directory where you edited the autotools source files:
   
  env XENOCARA_RERUN_AUTOCONF=Yes make -f Makefile.bsd-wrapper build   env XENOCARA_RERUN_AUTOCONF=Yes make -f Makefile.bsd-wrapper build
   
 You can also set XENOCARA_RERUN_AUTOCONF in /etc/mk.conf or in the  You can also set XENOCARA_RERUN_AUTOCONF in /etc/mk.conf or in the
 environment to force the regeneration of configure scripts  environment to force the regeneration of configure scripts
 in every component during a make build.  in every component during a make build.
   
 o Cleaning in packages managed by autotools  o Cleaning in packages managed by autotools
Line 139 
Line 139 
   
 One common problem when building xenocara is the case where the obj  One common problem when building xenocara is the case where the obj
 directory didn't exist (or the symbolic link pointed to a non-existent  directory didn't exist (or the symbolic link pointed to a non-existent
 directory) when the source was first built. After fixing this problem,  directory) when the source was first built. After fixing this problem,
 'configure' will refuse to work in the obj dir, because the source  'configure' will refuse to work in the obj dir, because the source
 is already configured.  is already configured.
   
 To recover from this in one package:  To recover from this in one package:
   
Line 153 
Line 153 
   
 or from the root of the xenocara tree:  or from the root of the xenocara tree:
   
  find . -type l -name obj | xargs rm -f   find . -type l -name obj | xargs rm -f
  make cleandir   make cleandir
  mkdir XOBJDIR   mkdir XOBJDIR
  make obj   make obj
Line 178 
Line 178 
 Several things are needed:  Several things are needed:
   
 1) set kern.nosuidcoredump=2 in /etc/sysctl.conf  1) set kern.nosuidcoredump=2 in /etc/sysctl.conf
 2) put  2) put
   
         Option  "NoTrapSignals" "true"          Option  "NoTrapSignals" "true"
   
    in the "ServerFlags" section of /etc/X11/xorg.conf. If such a section     in the "ServerFlags" section of /etc/X11/xorg.conf. If such a section
    doesn't exist, it can be added as follow:     doesn't exist, it can be added as follow:
   
    Section "ServerFlags"     Section "ServerFlags"
         Option  "NoTrapSignals" "true"          Option  "NoTrapSignals" "true"
    EndSection     EndSection
   
    anywhere in the configuration file.     anywhere in the configuration file.
   
 3) start the X server as root, with the -keepPriv option. A regular  3) start the X server as root, with the -keepPriv option. A regular
    user is not allowed to use this option. If you use xdm, you can add     user is not allowed to use this option. If you use xdm, you can add

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24