Add manual-update option for Matt Rogers, and tweak the documentation a little.

svn path=/trunk/kdenonbeta/kdecvs-build/; revision=354110
wilder
Michael Pyne 22 years ago
parent c2b9ea4ba1
commit 4de809526d
  1. 5
      HISTORY
  2. 99
      doc.html.in
  3. 35
      kdecvs-build
  4. 1
      option-list

@ -1,3 +1,8 @@
Version history: 0.87
* Added manual-update option.
* Don't warn when specifying modules on the command line along with the
--install option.
Version history: 0.86
* Add support for latest unsermake.
* make options are no longer added when installing, it seems to confuse

@ -48,11 +48,14 @@ REMOVE_FOR_INDEX-->
Download <a href="kdecvs-build-$VERSION.tar.gz">kdecvs-build v$VERSION: ($SIZE)</a><br/>
The file includes the script, documentation, and a sample configuration file.
</p>
<p>You can also download kdecvs-manager, a GUI configuration tool for the
script. <a href="kdecvsmanager-0.5.tar.bz2">kdecvs-manager-0.5.tar.bz2: (622.1K)</a><br/>
It uses the standard configure/make/make install motif, and includes a help
handbook.
</p>
<p>Do you need help with the configuration file? Then you may want to try the
<b><a href="/cgi-bin/kdecvs-build-wizard">online build wizard</a></b> to help
you generate a configuration that only needs slightly tweaked.</p>
<p>Also, <b>kdecvs-pywizard</b> is included with the script, so if you have
PyQt (included with recent kdebindings) installed, you can generate a new
configuration file using that program.</p>
REMOVE_FOR_INDEX-->
<a name="intro"></a>
<h3>Introduction</h3>
@ -65,6 +68,20 @@ those who either can't or don't feel like installing it.</p>
<p id="emailaddy">It is authored by Michael Pyne (mpyne (AT) grammarian (DOT) homelinux
(DOT) net), and is one of several build scripts for this purpose.</p>
<p><b>?</b> v0.87<br/>
New features:
<ul>
<li>Added option <a href="#conf-manual-update">manual-update</a>, which
prevents a module from updating, building, and installing unless it is
specified on the command line.</li>
</ul>
Bug fixes:
<ul>
<li>Don't warn when specifying modules on the command line along with the
<a href="#cmdline-install">--install</a> option.</li>
</ul>
<p><b>2004-Oct-12:</b> v0.86<br/>
New features:
<ul>
@ -132,68 +149,6 @@ request of Matt Rogers.</li>
<li>Also, kdecvs-build is now hosted in KDE's kdenonbeta CVS module.</li>
</ul>
<p><b>2004-Aug-12:</b> v0.82<br/>
New features:
<ul>
<li>You should no longer get a build error with kdebindings due to the
argument length being too long. This is done by using an alternate method
of implementing builddir != srcdir that isn't quite as nice, but seems to
work well in practice. Bug reports on this are appreciated. Note that
kdebindings (at least for me), still refuses to build, even without unsermake,
but it does get a little farther along.</li>
<li>kdecvs-pywizard improvements. It's still nothing super-impressive yet,
but it now can enable unsermake for you (with certain modules automatically
having unsermake support disabled), and save the generated file to disk.
Also, the qt-copy module has better default configure options.</li>
<li>The valgrind module has the same hack applied to it as kdebindings, so now
it builds successfully for me.</li>
<li>Nothing super-impressive, but the building module line now lists what
module number you're on so you have something to look forward to. Based
loosely on a suggestion by David Saxton.</li>
</ul>
<p><b>2004-Aug-03:</b> v0.81<br/>
New features:
<ul>
<li>New quick-config-generators to help you quickly generate a bare, but
working configuration. There is an <a
href="/cgi-bin/kdecvs-build-wizard">online wizard</a>, and the source tarball
includes a <a
href="http://www.riverbankcomputing.co.uk/pyqt/index.php">PyQt</a>-based
program called <b>kdecvs-pywizard</b>. PyQt will also be included in the
kdebindings modules of the upcoming KDE 3.3. Note that both programs, and in
particular kdecvs-pywizard, still need work, but they should be useful for
generating a shell configuration file for new users to tweak.</li>
<li>Add a warning if you're using qt-copy but <a href="#conf-qtdir">qtdir</a>
is set incorrectly.</li>
</ul>
Bugfixes:
<ul>
<li>Fixed <a href="#conf-use-qt-builddir-hack">use-qt-builddir-hack</a> to
work on the second and subsequent runs of kdecvs-build.</li>
</ul>
<p><b>2004-Jul-25:</b> v0.80<br/>
New features:
<ul>
<li>Since I won't be able to predict what environment variables will need to
be set in the future, I've added an option to allow you to set environment
variables (either globally or per module). This option is called <a
href="#conf-set-env">set-env</a>, and it's a special option in that you can
repeat the option without overwriting the previous value you gave it, as long
as it is during the same section. The format is (in the config file):<br/>
<pre>set-env ENV-VAR value</pre><br/>
Those who have had to run the cron job for this script from a wrapper shell
script to read in /etc/profile should be able to use this option instead. If
not, I'm thinking of a way to source /etc/profile from a Perl script without
having to write my own Bourne-shell, so let me know if you need it.</li>
</ul>
Bugfixes:
<ul>
<li>Fixed an output alignment error discovered by Michal Rokos.</li>
</ul>
<hr>
<a name="features"></a>
<h3>Features</h3>
@ -327,6 +282,7 @@ using the address you can find <a href="#emailaddy">above</a>.
<li><a href="#conf-make-install-prefix">make-install-prefix</a></li>
<li><a href="#conf-make-options">make-options</a></li>
<li><a href="#conf-manual-build">manual-build</a></li>
<li><a href="#conf-manual-update">manual-update</a></li>
<li><a href="#conf-no-cvs">no-cvs</a></li>
<li><a href="#conf-no-rebuild-on-fail">no-rebuild-on-fail</a></li>
<li><a href="#conf-pretend">pretend</a></li>
@ -628,6 +584,15 @@ href="#cmdline-no-build">--no-build</a> command line option.
</td>
</tr>
<tr id="conf-manual-update">
<td valign="top">manual-update</td>
<td valign="top">Overrides global</td>
<td>Set the option value to 'true' to keep the build process from attempting to
update (and by extension, build or install) this module. If you set this
option for a module, then you have pretty much commented it out.
</td>
</tr>
<tr id="conf-no-cvs">
<td valign="top">no-cvs</td>
<td valign="top">Overrides global</td>

@ -49,6 +49,8 @@ my %global_opts = (
"lockfile" => "$ENV{HOME}/.kdecvs-lock",
"log-dir" => "log",
"make-install-prefix" => "",
"manual-build" => "",
"manual-update" => "",
"no-cvs" => "",
"no-rebuild-on-fail" => "",
"qtdir" => "",
@ -1019,8 +1021,15 @@ sub adjust_update_list
# as a list. Parse the command-line arguments first.
sub get_update_list
{
return @update_list if $#ARGV == -1;
return @ARGV;
return @ARGV unless $#ARGV == -1;
my @return_list;
for (@update_list)
{
push @return_list, $_ if not get_option($_, "manual-update");
}
return @return_list;
}
# Subroutine to get the list of CVS modules to build. Returned
@ -1114,8 +1123,15 @@ sub get_build_list
return @build_list;
}
return @build_list if $#ARGV == -1;
return @ARGV;
return @ARGV unless $#ARGV == -1;
my @list;
for (@build_list)
{
push @list, $_ unless get_option($_, 'manual-update');
}
return @list;
}
# Helper subroutine for debugging purposes. Dumps all of the
@ -2438,16 +2454,9 @@ eval
}
else
{
# Installation mode. Check to make sure nothing's
# being updated.
if ($#ARGV > 0)
{
# We have packages specified on the command line.
print "Parameters ignored because we are installing:\n\t",
join (', ', @ARGV), "\n";
}
# Installation mode.
$result = handle_install (get_install_list());
output_failed_module_list ("failed to install", @install_fail);
}

@ -21,6 +21,7 @@ lockfile
make-install-prefix
make-options
manual-build
manual-update
no-cvs
no-rebuild-on-fail
pretend

Loading…
Cancel
Save