Commit 62b45e1a authored by Michael Pyne's avatar Michael Pyne

SVN_SILENT Tag kdesvn-build 1.4.

svn path=/tags/kdesvn-build/1.4/; revision=660553
parents 30b26d7f 05f1f7c4
########### install files ###############
kde4_create_handbook(index.docbook)
kde4_install_handbook()
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,7 +6,7 @@
# Please also see the documentation that should be included with this program,
# from the kdesdk/doc/scripts/kdesvn-build directory.
#
# Copyright © 2003 - 2006 Michael Pyne. <michael.pyne@kdemail.net>
# Copyright © 2003 - 2007 Michael Pyne. <michael.pyne@kdemail.net>
# Home page: http://kdesvn-build.kde.org/
#
# You may use, alter, and redistribute this software under the terms
......@@ -18,7 +18,7 @@
=over
=item B<kdesvn-build> - automate the kde svn build process
=item B<kdesvn-build> - automate the KDE build process from its source repository
=back
......@@ -36,7 +36,7 @@ The B<kdesvn-build> script is used to automate the download, build,
and install process for KDE (using Subversion).
It is recommended that you first setup a F<.kdesvn-buildrc> file
in your home directory. Please refer to B<kdesvn-build> help file
in your home directory. Please refer to the B<kdesvn-build> help file
in KDE help for information on how to write F<.kdesvn-buildrc>,
or consult the sample file which should have been included
with this program. If you don't setup a F<.kdesvn-buildrc>, a
......@@ -51,9 +51,9 @@ You can use this program to install KDE as well,
if you are building KDE for a single user. Note that B<kdesvn-build>
will try to install the modules by default.
If you DO specify a package name, then your settings will still be
read, but the script will try to build / install the package
regardless of F<.kdesvn-buildrc>
If you DO specify module names on the command line, then your settings will
still be read from F<.kdesvn-buildrc>, but the script will try to build and
install the given modules in the order given on the command line.
kdesvn-build reads options in the following order:
......@@ -153,25 +153,29 @@ Forces update to revision <rev> from Subversion.
=item B<--refresh-build>
Start the build from scratch. This means that the build directory for the
module B<will be deleted> before make -f Makefile.cvs is run again. You can
use B<--recreate-configure> to do the same thing without deleting the module
build directory.
module B<will be deleted> before make -f Makefile.cvs or cmake is run again.
You can use B<--recreate-configure> to do the same thing without deleting the
module build directory for KDE 3 modules. KDE 4 modules have no separate
configure command, use the B<--reconfigure> option to get the same effect.
=item B<--reconfigure>
Run configure again, but don't clean the build directory or re-run
make -f Makefile.cvs.
Run configure again, but don't clean the build directory or recreate the
configure script. For KDE 4 modules, this option runs cmake again without
deleting the build directory.
=item B<--recreate-configure>
Run make -f Makefile.cvs again to redo the configure script. The build
directory is not deleted.
directory is not deleted. This command is ignored for KDE 4 modules, where
it is not applicable.
=item B<--no-rebuild-on-fail>
Do not try to rebuild a module from scratch if it failed building. Normally
kdesvn-build will try progressively harder to build the module before giving
up.
up. This option is always enabled for KDE 4 modules, where the build system
is accurate enough that the rebuilding behavior is not necessary.
=item B<--build-system-only>
......@@ -268,7 +272,7 @@ use constant {
ERROR => 5,
};
my $versionNum = '1.4-rc1';
my $versionNum = '1.4';
# Some global variables
# Remember kids, global variables are evil! I only get to do this
......@@ -2665,11 +2669,6 @@ sub setup_module_environment
# KDE from Subversion. Change this section if a dependency changes later.
sub initialize_environment
{
# With latest detect-autoconf.pl in /admin I don't *think* it's necessary
# to specify a specific automake any longer.
# $ENV{"WANT_AUTOMAKE"} = "1.7";
# $ENV{"WANT_AUTOCONF_2_5"} = "1";
if(-t STDOUT and get_option('global', 'colorful-output'))
{
$RED = "\e[31m";
......@@ -2880,7 +2879,7 @@ sub clone_options
sub process_arguments
{
my $arg;
my $version = "kdesvn-build $versionNum (Development Edition)";
my $version = "kdesvn-build $versionNum";
my $author = <<DONE;
$version was written (mostly) by:
Michael Pyne <michael.pyne\@kdemail.net>
......@@ -2920,14 +2919,14 @@ if you\'re building KDE for a single user. Note that kdesvn-build will try
by default to install the modules.
Basic synopsis, after setting up .kdesvn-buildrc:
\$ kdesvn-build [package names] (Download, build, and install KDE)
\$ kdesvn-build [module names] (Download, build, and install KDE)
If you don\'t specify any particular package names, then your settings
in .kdesvn-buildrc will be used. If you DO specify a package name, then
If you don\'t specify any particular module names, then your settings
in .kdesvn-buildrc will be used. If you DO specify a module name, then
your settings will still be read, but the script will try to build/install
the package regardless of .kdesvn-buildrc
the modules in the order given on the command line.
Copyright (c) 2003 - 2006 $author
Copyright (c) 2003 - 2007 $author
The script is distributed under the terms of the GNU General Public License
v2, and includes ABSOLUTELY NO WARRANTY!!!
......@@ -2990,8 +2989,10 @@ Options:
--author Output the author(s)\'s name.
--version Output the program version.
You can get more help by reading the included HTML documentation, or going
online to http://kdesvn-build.kde.org/
You can get more help by going online to http://kdesvn-build.kde.org/ to view
the online documentation. The documentation is installed with the kdesdk
module, so you may be able to view the documentation using KHelpCenter or
Konqueror at help:/kdesvn-build
DONE
# We haven't done any locking... no need to finish()
# Avoids log-dir errors due to having not performed.
......@@ -4791,6 +4792,9 @@ sub make_apidox_supported
{
my $module = shift;
# TODO: Implement APIDOX for CMake.
return 0 if module_uses_cmake($module);
return $module =~ /^(KDE\/)?(kde(base|games|graphics|libs|pim|velop)|koffice)$/;
}
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- This goes into $KDEDIR/share/apps/katepart/syntax, or
it can go to $KDEHOME/share/apps/katepart/syntax
-->
<language name="kdesvn-buildrc" version="0.2" kateversion="2.4" section="Configuration" extensions=".kdesvn-buildrc;kdesvn-buildrc" author="Michael Pyne &lt;michael.pyne@kdemail.net&gt;" license="LGPL">
<highlighting>
<list name="bools">
<item>true</item>
<item>false</item>
<item>TRUE</item>
<item>FALSE</item>
<item>self</item> <!-- Only used by use-unsermake, don't feel like
forking a separate context for it though. -->
</list>
<list name="setEnvOptions">
<item>set-env</item> <!-- Handled separately for special syntax highlighting. -->
</list>
<!-- These options should only have a boolean value passed to them. -->
<list name="boolOptions">
<item>apidox</item>
<item>apply-qt-patches</item>
<item>build-system-only</item>
<item>colorful-output</item>
<item>debug</item>
<item>disable-agent-check</item>
<item>manual-build</item>
<item>manual-update</item>
<item>no-svn</item>
<item>no-rebuild-on-fail</item>
<item>pretend</item>
<item>reconfigure</item>
<item>recreate-configure</item>
<item>refresh-build</item>
<item>remove-after-install</item>
<item>stop-on-failure</item>
<item>use-unsermake</item>
<item>use-qt-builddir-hack</item>
</list>
<list name="options">
<item>binpath</item>
<item>branch</item>
<item>build-dir</item>
<item>checkout-only</item>
<item>configure-flags</item>
<item>cxxflags</item>
<item>debug-level</item>
<item>dest-dir</item>
<item>do-not-compile</item>
<item>email-address</item>
<item>email-on-compile-error</item>
<item>install-after-build</item>
<item>inst-apps</item>
<item>kdedir</item>
<item>libpath</item>
<item>log-dir</item>
<item>make-install-prefix</item>
<item>make-options</item>
<item>module-base-path</item>
<item>niceness</item>
<item>override-url</item>
<item>prefix</item>
<item>qtdir</item>
<item>revision</item>
<item>source-dir</item>
<item>svn-server</item>
<item>tag</item>
<item>unsermake-options</item>
<item>unsermake-path</item>
</list>
<contexts>
<context name="Module" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<RegExpr attribute="Comment" String="#.*$" context="#stay"/>
<RegExpr attribute="Global Declaration" context="Module Options" String="global" beginRegion="Global Options" firstNonSpace="true" />
<RegExpr attribute="Module Declaration" context="Module Decl" String="module\s+" firstNonSpace="true" />
</context>
<context name="Module Decl" attribute="Module Name" lineEndContext="Module Options">
<RegExpr String="[a-zA-Z0-9-]*" context="#stay" beginRegion="Module Options"/>
<RegExpr attribute="Comment" String="#.*$" context="#stay"/>
</context>
<context name="Module Options" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<RegExpr attribute="Comment" String="#.*$" context="#stay"/>
<keyword attribute="Option Name" context="Environment Name" String="setEnvOptions" />
<keyword attribute="Option Name" context="Option Value" String="options"/>
<keyword attribute="Option Name" context="Bool Option Value" String="boolOptions"/>
<RegExpr attribute="Module Declaration" context="Module" endRegion="Module Options" String="end module" firstNonSpace="true"/>
<RegExpr attribute="Module Declaration" context="Module" endRegion="Global Options" String="end global" firstNonSpace="true"/>
<!-- No kdesvn-build options start with digits or a dash. -->
<RegExpr attribute="Possible Error" context="Option Value" String="[0-9-][a-zA-Z0-9-]+" />
<RegExpr attribute="Unknown Option Name" context="Option Value" String="[a-zA-Z0-9-]+" />
</context>
<context name="Option Value" attribute="Normal Text" lineEndContext="#pop">
<RegExpr attribute="Comment" String="#.*$" />
<DetectSpaces/>
<RegExpr attribute="Variable" String="\$\{[a-zA-Z0-9-]+\}"/>
<RegExpr attribute="Option Value" String="[a-zA-Z:0-9,./+!=@-]*" context="#stay" />
<LineContinue context="#stay"/>
<AnyChar attribute="Option Value" String="\\"/>
</context>
<context name="Bool Option Value" attribute="Normal Text" lineEndContext="#pop">
<keyword attribute="Option Value" context="#stay" String="bools"/>
<RegExpr attribute="Comment" String="#.*$" />
<DetectSpaces/>
<RegExpr attribute="Possible Error" String="[^\\]*"/>
<LineContinue attribute="Possible Error" context="#stay"/>
<AnyChar attribute="Possible Error" String="\\"/>
</context>
<context name="Environment Name" attribute="Environment Variable Name" lineEndContext="#pop">
<RegExpr attribute="Comment" String="#.*$" />
<DetectSpaces/>
<RegExpr attribute="Environment Variable Name" context="Option Value" String="[a-zA-Z0-9_-]+" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Boolean" defStyleNum="dsDecVal" bold="true" color="purple"/>
<itemData name="Option Name" defStyleNum="dsKeyword" bold="false" />
<itemData name="Unknown Option Name" defStyleNum="dsKeyword" bold="false" color="#7D4C0B" />
<itemData name="Environment Variable Name" defStyleNum="dsString" color="#EE6A50" />
<itemData name="Option Value" defStyleNum="dsDecVal" />
<itemData name="Variable" defStyleNum="dsOthers" />
<itemData name="Module Declaration" defStyleNum="dsKeyword"/>
<itemData name="Module Name" defStyleNum="dsOthers" bold="true" />
<itemData name="Global Declaration" defStyleNum="dsKeyword"/>
<itemData name="Possible Error" defStyleNum="dsError" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#"/>
</comments>
<keywords weakDeliminator="-"/>
</general>
</language>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment