
For initially checking out the sources you will need some disk space
(about 25 megabytes) in a directory of your choice, the svn package
of your favorite distribution and full access to the internet. If you
get error messages about rejected connections you either have typed
something wrong or your provider doesn't give you full access.
A good place for the source files will be "$HOME/src".
First create the directory that will receive the subdirectoy with Kwave sources and change into it:
%mkdir -p$HOME/src%cd$HOME/src
Then check out the latest sources from the SVN server:
% svn checkout https://kwave.svn.sourceforge.net/svnroot/kwave/trunk kwave
or you can check out a specific release with the following command:
You can look up the names of the release tags in the web svn page at "http://svn.sourceforge.net/viewvc/kwave/tags/". The release tags are always built out of the word%svn checkout https://kwave.svn.sourceforge.net/svnroot/kwave/tags/[release-tag]kwave
Release- and
the version number of the release, with underscores instead of dots.
For example "Release-0_7_9" for v0.7.9.
There must not be a directory named
kwave under
the directory you want to check out. Otherwise the svn program will
complain about already existing files and the checkout will
not work.
The procedure described in the previous section is only necessary once. For further updates it is much easier. Just change into the directory where you have the checked out sources and do the following:
% svn update
Then go on to the next section and compile as usual.
If you think that you have messed up your local source or if there
are conflicts during updating, you can remove all files and
directories from your Kwave source directory, except
the .svn directory and then try again.
Building rpm package from a SVN snapshot is quite simple. The procedure
is nearly the same as described in the last section, so it unhappily also
has the same problem with the rpmbuild -ta command
our method internally uses.
Like in the previous chapter, [arch] stands
for the platform you have Built the package and might be something
like i386, i586,
sparc or whatever,
XXX stands
for the version number you have checked out.
Note for SuSE users:
here you have to specify the directory
/usr/src/packages instead
of /usr/src/redhat too!
Assuming that you are in the root of where you checked out from SVN, do the following to create a Makefile, the Kwave package and install it. If you already have a version of Kwave installed, please remove it first or use rpm -U instead of rpm -i for updating instead of installing.
%mkdir /tmp/kwave-build%cd /tmp/kwave-build%cmake$HOME/src/kwave%make rpm%rpm -ivh /usr/src/redhat/BUILD/[arch]/kwave-XXX.[arch].rpm
If you still have problems with make rpm,
you will find the tar.gz
archive that was produced in /tmp.
Please follow the instructions in the
previous chapter.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team