<commit_before>#==============================================================================
# jobber.cfg
#
# Copyright (C) 2000-2004 by <NAME> <<EMAIL>>
#
# Crystal Space-specific configuration for jobber.pl, a generalized tool for
# performing maintenance tasks on a project's source base and documentation.
# The configuration file is just normal Perl code.
#
# For Crystal Space, we configure jobber.pl to checkout the Crystal Space
# source tree from the CVS repository and then perform the following tasks,
# after which it commits any changes back to the repository:
#
# * Repair broken @node directives and @menu blocks in Texinfo files.
# * Convert Texinfo documentation to HTML format.
# * Build the public API reference manual.
# * Build the developer's API reference manual.
# * Re-build Visual-C++ DSW/DSP and SLN/VCPROJ project files.
# * Re-build the Swig-generated Python and Perl5 files.
# * Make all generated HTML (manual and API) available online for browsing.
# * Make archives of the generated HTML available for download.
#
#==============================================================================

# Minimum jobber.pl version expected by this configuration.
jobber_require(32);


#==============================================================================
# *** External Client Configuration Section ***
#
# Use this section to configure tools or environment which might impact
# jobber.pl indirectly. For instance, you might augment the PATH environment
# variable or set the CVS_RSH environment variable. At the command-line,
# jobber.pl allows users to define arbitrary run-time properties via the --set
# option. These properties can be accessed by consulting the %jobber_properties
# hash. For instance, the command-line argument "--set foo=bar" sets "bar" as
# the value of $jobber_properties{foo}.
#==============================================================================

#------------------------------------------------------------------------------
# We prefer that the CVS username is specified on the command-line via
# "--set cvsuser=someone".
#------------------------------------------------------------------------------
exists $jobber_properties{'cvsuser'} or
    die "ERROR: You must set the CVS username via `--set cvsuser=someone'\n";
my $cvsuser = $jobber_properties{'cvsuser'};

#------------------------------------------------------------------------------
# The parent location where browseable and downloadable Crystal Space
# documentation is placed. Used in the composition of $jobber_browseable_dir
# and $jobber_package_dir.
#------------------------------------------------------------------------------
my $cs_base_doc_dir = '/home/groups/c/cr/crystal/htdocs/docs';

#------------------------------------------------------------------------------
# SourceForge's shell machine does not have compilers or other build tools
# installed, so we can not invoke Crystal Space's configure script to prepare
# the project.  Instead, we fake up project configuration by manually creating
# a minimal Jamconfig and Jamfile.
#------------------------------------------------------------------------------
my $configure = 
    "csver=`./configure --version | awk '/crystal/ { print \$3 }'`\n" .
    "csverlist=`echo \$csver | tr '.' ' '`\n" .
    "cscopy=`sed '/\\[[Cc]opyright/!d;s/[^[]*\\[\\([^]]*\\)\\].*/\\1/'" .
    "  < configure.ac`\n" .
    "cat << EOF > Jamconfig\n" .
    "CMD.C++ ?= \"g++\" ;\n" .
    "CMD.CC ?= \"gcc\" ;\n" .
    "CMD.DOXYGEN ?= \"doxygen\" ;\n" .
    "CMD.DVIPS ?= \"dvips\" ;\n" .
    "CMD.LINK ?= \"\\\$(CMD.C++)\" ;\n" .
    "CMD.MAKEINFO ?= \"makeinfo\" ;\n" .
    "CMD.MKDIR ?= \"mkdir\" ;\n" .
    "CMD.MKDIRS ?= \"mkdir -p\" ;\n" .
    "CMD.OBJC ?= \"gcc\" ;\n" .
    "CMD.OBJC++ ?= \"g++\" ;\n" .
    "CMD.SWIG ?= \"swig\" ;\n" .
    "CMD.TEXI2DVI ?= \"texi2dvi\" ;\n" .
    "JAM ?= \"jam\" ;\n" .
    "MODE ?= \"optimize\" ;\n" .
    "MSVCGEN_SILENT ?= \"yes\" ;\n" .
    "PACKAGE_COPYRIGHT ?= \"\$cscopy\" ;\n" .
    "PACKAGE_HOMEPAGE ?= \"http://www.crystalspace3d.org/\" ;\n" .
    "PACKAGE_LONGNAME ?= \"Crystal Space\" ;\n" .
    "PACKAGE_NAME ?= \"crystalspace\" ;\n" .
    "PACKAGE_STRING ?= \"crystalspace \$csver\" ;\n" .
    "PACKAGE_VERSION ?= \"\$csver\" ;\n" .
    "PACKAGE_VERSION_LIST ?= \$csverlist ;\n" .
    "PERL ?= \"perl\" ;\n" .
    "PERL5.AVAILABLE ?= \"yes\" ;\n" .
    "PYTHON ?= \"python\" ;\n" .
    "PYTHON.AVAILABLE ?= \"yes\" ;\n" .
    "TARGET.OS ?= \"UNIX\" ;\n" .
    "EOF\n" .
    "sed 's/\@top_srcdir\@/./;s/\@top_builddir\@//' < Jamfile.in > Jamfile\n";

#------------------------------------------------------------------------------
# For write-access, SourceForge requires SSH access.
#------------------------------------------------------------------------------
$ENV{'CVS_RSH'} = 'ssh';

#------------------------------------------------------------------------------
# Ensure that Doxygen, Swig, and Jam can be found. The SourceForge shell
# machine does not always have every tool installed which we require, so we
# provide our own copies.
#------------------------------------------------------------------------------
$ENV{'PATH'} =
    '/home/groups/c/cr/crystal/bin:' .
    '/home/groups/c/cr/crystal/swig/bin:' .
    $ENV{'PATH'} .
    ':/usr/local/bin';

<commit_msg>E<NAME> removed TemplateToolkit2 and AppConfig Perl modules re-distributions from CS/mk/perl5.  Very few people need to generate MSVC project files for CS, so this extra bulk is hardly warranted.  Developers wanting to generate project files can install these Perl packages locally using normal Perl package installation mechanisms, such as CPAN (Unix) or PPM (Windows).<commit_after>#==============================================================================
# jobber.cfg
#
# Copyright (C) 2000-2004 by <NAME> <<EMAIL>>
#
# Crystal Space-specific configuration for jobber.pl, a generalized tool for
# performing maintenance tasks on a project's source base and documentation.
# The configuration file is just normal Perl code.
#
# For Crystal Space, we configure jobber.pl to checkout the Crystal Space
# source tree from the CVS repository and then perform the following tasks,
# after which it commits any changes back to the repository:
#
# * Repair broken @node directives and @menu blocks in Texinfo files.
# * Convert Texinfo documentation to HTML format.
# * Build the public API reference manual.
# * Build the developer's API reference manual.
# * Re-build Visual-C++ DSW/DSP and SLN/VCPROJ project files.
# * Re-build the Swig-generated Python and Perl5 files.
# * Make all generated HTML (manual and API) available online for browsing.
# * Make archives of the generated HTML available for download.
#
#==============================================================================

# Minimum jobber.pl version expected by this configuration.
jobber_require(32);


#==============================================================================
# *** External Client Configuration Section ***
#
# Use this section to configure tools or environment which might impact
# jobber.pl indirectly. For instance, you might augment the PATH environment
# variable or set the CVS_RSH environment variable. At the command-line,
# jobber.pl allows users to define arbitrary run-time properties via the --set
# option. These properties can be accessed by consulting the %jobber_properties
# hash. For instance, the command-line argument "--set foo=bar" sets "bar" as
# the value of $jobber_properties{foo}.
#==============================================================================

#------------------------------------------------------------------------------
# We prefer that the CVS username is specified on the command-line via
# "--set cvsuser=someone".
#------------------------------------------------------------------------------
exists $jobber_properties{'cvsuser'} or
    die "ERROR: You must set the CVS username via `--set cvsuser=someone'\n";
my $cvsuser = $jobber_properties{'cvsuser'};

#------------------------------------------------------------------------------
# The parent location where browseable and downloadable Crystal Space
# documentation is placed. Used in the composition of $jobber_browseable_dir
# and $jobber_package_dir.
#------------------------------------------------------------------------------
my $cs_base_doc_dir = '/home/groups/c/cr/crystal/htdocs/docs';

#------------------------------------------------------------------------------
# SourceForge's shell machine does not have compilers or other build tools
# installed, so we can not invoke Crystal Space's configure script to prepare
# the project.  Instead, we fake up project configuration by manually creating
# a minimal Jamconfig and Jamfile.
#------------------------------------------------------------------------------
my $configure = 
    "csver=`./configure --version | awk '/crystal/ { print \$3 }'`\n" .
    "csverlist=`echo \$csver | tr '.' ' '`\n" .
    "cscopy=`sed '/\\[[Cc]opyright/!d;s/[^[]*\\[\\([^]]*\\)\\].*/\\1/'" .
    "  < configure.ac`\n" .
    "cat << EOF > Jamconfig\n" .
    "CMD.C++ ?= \"g++\" ;\n" .
    "CMD.CC ?= \"gcc\" ;\n" .
    "CMD.DOXYGEN ?= \"doxygen\" ;\n" .
    "CMD.DVIPS ?= \"dvips\" ;\n" .
    "CMD.LINK ?= \"\\\$(CMD.C++)\" ;\n" .
    "CMD.MAKEINFO ?= \"makeinfo\" ;\n" .
    "CMD.MKDIR ?= \"mkdir\" ;\n" .
    "CMD.MKDIRS ?= \"mkdir -p\" ;\n" .
    "CMD.OBJC ?= \"gcc\" ;\n" .
    "CMD.OBJC++ ?= \"g++\" ;\n" .
    "CMD.SWIG ?= \"swig\" ;\n" .
    "CMD.TEXI2DVI ?= \"texi2dvi\" ;\n" .
    "JAM ?= \"jam\" ;\n" .
    "MODE ?= \"optimize\" ;\n" .
    "MSVCGEN_SILENT ?= \"yes\" ;\n" .
    "PACKAGE_COPYRIGHT ?= \"\$cscopy\" ;\n" .
    "PACKAGE_HOMEPAGE ?= \"http://www.crystalspace3d.org/\" ;\n" .
    "PACKAGE_LONGNAME ?= \"Crystal Space\" ;\n" .
    "PACKAGE_NAME ?= \"crystalspace\" ;\n" .
    "PACKAGE_STRING ?= \"crystalspace \$csver\" ;\n" .
    "PACKAGE_VERSION ?= \"\$csver\" ;\n" .
    "PACKAGE_VERSION_LIST ?= \$csverlist ;\n" .
    "PERL ?= \"perl\" ;\n" .
    "PERL5.AVAILABLE ?= \"yes\" ;\n" .
    "PYTHON ?= \"python\" ;\n" .
    "PYTHON.AVAILABLE ?= \"yes\" ;\n" .
    "RUN_TTREE ?= \"ttree\" ;\n" .
    "TARGET.OS ?= \"UNIX\" ;\n" .
    "EOF\n" .
    "sed 's/\@top_srcdir\@/./;s/\@top_builddir\@//' < Jamfile.in > Jamfile\n";

#------------------------------------------------------------------------------
# For write-access, SourceForge requires SSH access.
#------------------------------------------------------------------------------
$ENV{'CVS_RSH'} = 'ssh';

#------------------------------------------------------------------------------
# Ensure that Doxygen, Swig, Jam, and TemplateToolkit2 can be found. The
# SourceForge shell machine does not always have every tool installed which we
# require, so we provide our own copies.
#------------------------------------------------------------------------------
$ENV{'PATH'} =
    '/home/groups/c/cr/crystal/bin:' .
    '/home/groups/c/cr/crystal/swig/bin:' .
    '/home/groups/c/cr/crystal/tt2/bin:' .
    $ENV{'PATH'} .
    ':/usr/local/bin';
$ENV{'PERL5LIB'} = '/home/groups/c/cr/crystal/tt2/lib';


{'fraction_non_alphanumeric': 0.3299255672137028, 'fraction_numerical': 0.003587122231190028, 'mean_word_length': 1.9970438054286481, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2042208', 'n_tokens_mistral': 3318, 'n_tokens_neox': 3139, 'n_words': 963}