<commit_before>This package contains johannes, a very scary *ix build system for DeVIDE.

johannes is copyright 2007,2008 <NAME> <<EMAIL>>
and is made available under the New BSD License.

Before starting, you need at least the following packages (or
equivalents) on your system:
gcc, g++, cvs, svn, chrpath
bzip2-dev | libbz2-dev, ncurses-dev, gtk2-dev | libgtk2.0-dev,
libfreetype-dev, libpng-dev, libzlib-dev (these three for matplotlib)
libatlas-dev (*optional* for faster numpy)
libgl-dev, lubglu-dev

A. For a NORMAL full build (the default), do the following:
  
  1. sh bootstrap_stage1.sh workingdir
  2. sh bootstrap_stage2.sh workingdir
  3. . workingdir/python_setup_env.sh
  4. python johannes.py -w workingdir

B. To make a fully self-contained source tarball that can be built
  later, do the following (not often used):

  1. sh bootstrap_stage1.sh workingdir
  2. python johannes.py -w workingdir -m get_only
  3. cp -r johannes workingdir

  workingdir can now be tarred up and shipped.  The end-user will:
  1. unpack
  2. sh workingdir/johannes/bootstrap_stage2.sh
  3. . workingdir/python_setup_env.sh
  4. python workingdir/johannes/johannes.py -w workingdir
  
C. To make a fully self-contained vl-e compatible tarball (not often
   used):
  
  1. follow B
  2. cd workingdir/johannes/vle
  3. cp Makefile.in configure README.txt ../..
  4. cd ../../..
  5. mv workingdir devide-xxxx.yyyy.0
  6. tar czvf devide-xxxx.yyyy.0.tar.gz devide-xxxx.yyyy.0

RESULTS
-------

After following strategy A above (or its Windows equivalent as
explained in WINDOWS.txt), you will have three batch files / shell
scripts in your working directory:

* setup_env.sh/cmd: This sets up your environment so that you can work
  with everything you have built.  This has to be run ONCE for every
  console in which you want to make use of the development
  environment.

* devide.sh/cmd: AFTER having run setup_env, use this to invoke DeVIDE
  directly from its build directory.  This is useful if you're doing
  development on the core DeVIDE sources or any of the libraries it
  uses.

* make_devide_package.sh/cmd: AFTER having run setup_env, use this to
  build redistributable, self-contained binaries. These will be
  generated in workingdir/build/devide/installer/distdevide and an
  installer exe or binary tarball will be waiting in
  workingdir/build/devide/installer.  You can send this to your
  friends!
  
Note on Windows
---------------

Due to certain issues on Windows (primarily the difficulty of building
Python extensions automatically if you don't have the exact same
compiler as Python), johannes can NOT build the basic stuff on
Windows.

However, it IS able to build the more complex stuff, such as dcmtk,
itk, vtk and all the other high-level dependencies of DeVIDE.
Please see WINDOWS.txt for more details on what johannes can do for
you on Windows.




<commit_msg>Added note about installing libxt-dev (VTK 5.2 bombs badly if this is not present during build).<commit_after>This package contains johannes, a very scary *ix build system for DeVIDE.

johannes is copyright 2007-2009 <NAME> <<EMAIL>>
and is made available under the New BSD License.

Before starting, you need at least the following packages (or
equivalents) on your system:
gcc, g++, cvs, svn, chrpath
bzip2-dev | libbz2-dev, ncurses-dev, gtk2-dev | libgtk2.0-dev,
libxt-dev,
libfreetype-dev, libpng-dev, libzlib-dev (these three for matplotlib)
libatlas-dev (*optional* for faster numpy)
libgl-dev, lubglu-dev

A. For a NORMAL full build (the default), do the following:
  
  1. sh bootstrap_stage1.sh workingdir
  2. sh bootstrap_stage2.sh workingdir
  3. . workingdir/python_setup_env.sh
  4. python johannes.py -w workingdir

B. To make a fully self-contained source tarball that can be built
  later, do the following (not often used):

  1. sh bootstrap_stage1.sh workingdir
  2. python johannes.py -w workingdir -m get_only
  3. cp -r johannes workingdir

  workingdir can now be tarred up and shipped.  The end-user will:
  1. unpack
  2. sh workingdir/johannes/bootstrap_stage2.sh
  3. . workingdir/python_setup_env.sh
  4. python workingdir/johannes/johannes.py -w workingdir
  
C. To make a fully self-contained vl-e compatible tarball (not often
   used):
  
  1. follow B
  2. cd workingdir/johannes/vle
  3. cp Makefile.in configure README.txt ../..
  4. cd ../../..
  5. mv workingdir devide-xxxx.yyyy.0
  6. tar czvf devide-xxxx.yyyy.0.tar.gz devide-xxxx.yyyy.0

RESULTS
-------

After following strategy A above (or its Windows equivalent as
explained in WINDOWS.txt), you will have three batch files / shell
scripts in your working directory:

* setup_env.sh/cmd: This sets up your environment so that you can work
  with everything you have built.  This has to be run ONCE for every
  console in which you want to make use of the development
  environment.

* devide.sh/cmd: AFTER having run setup_env, use this to invoke DeVIDE
  directly from its build directory.  This is useful if you're doing
  development on the core DeVIDE sources or any of the libraries it
  uses.

* make_devide_package.sh/cmd: AFTER having run setup_env, use this to
  build redistributable, self-contained binaries. These will be
  generated in workingdir/build/devide/installer/distdevide and an
  installer exe or binary tarball will be waiting in
  workingdir/build/devide/installer.  You can send this to your
  friends!
  
Note on Windows
---------------

Due to certain issues on Windows (primarily the difficulty of building
Python extensions automatically if you don't have the exact same
compiler as Python), johannes can NOT build the basic stuff on
Windows.

However, it IS able to build the more complex stuff, such as dcmtk,
itk, vtk and all the other high-level dependencies of DeVIDE.
Please see WINDOWS.txt for more details on what johannes can do for
you on Windows.





{'fraction_non_alphanumeric': 0.07227891156462585, 'fraction_numerical': 0.01292517006802721, 'mean_word_length': 3.544822256568779, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6554301', 'n_tokens_mistral': 1912, 'n_tokens_neox': 1834, 'n_words': 796}