Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [963ff0] /
History



File Date Author Commit
admin 2002-01-08 Thomas Eschenbacher Thomas Eschenbacher [9913be] replaced with fresh versions
bin 2002-06-11 Thomas Eschenbacher Thomas Eschenbacher [ffe738] another lost \
doc 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
kwave 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
libaudiofile 2002-06-02 Thomas Eschenbacher Thomas Eschenbacher [c08533] registered mime types for IRCAM and AIFC in KDE
libgui 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
libkwave 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
mt 2002-05-19 Thomas Eschenbacher Thomas Eschenbacher [e47bad] integrated libkwavemt into libkwave
plugins 2002-06-26 Thomas Eschenbacher Thomas Eschenbacher [c46faa] put some more tools into configure.in
po 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
CHANGES 2002-06-11 Thomas Eschenbacher Thomas Eschenbacher [098332] prepared for v0.6.4
GNU-LICENSE 1998-12-12 Martin Wilz Martin Wilz [429088] checkin of historic release 1998-12-13-v0.29-pre2
Hall-Of-Shame.txt 2001-11-25 Thomas Eschenbacher Thomas Eschenbacher [f6477f] fixed the QString.sprintf bug
Makefile.am 2002-06-27 Thomas Eschenbacher Thomas Eschenbacher [20c83d] chmod in rpm_prep was wrong
Makefile.dist 2002-06-13 Thomas Eschenbacher Thomas Eschenbacher [7c2fb9] automake-1.5 should shut up now
README 2002-06-26 Thomas Eschenbacher Thomas Eschenbacher [c46faa] put some more tools into configure.in
TODO 2002-06-24 Thomas Eschenbacher Thomas Eschenbacher [4f1db5] v0.6.4-pre2
VERSION 2002-06-11 Thomas Eschenbacher Thomas Eschenbacher [098332] prepared for v0.6.4
acconfig.h 2002-05-03 Thomas Eschenbacher Thomas Eschenbacher [1083fc] added KDE2/KDE3 compatibility
acinclude.m4 2002-01-08 Thomas Eschenbacher Thomas Eschenbacher [9913be] replaced with fresh versions
config.h.in 2002-06-24 Thomas Eschenbacher Thomas Eschenbacher [4f1db5] v0.6.4-pre2
configure.in 2002-06-26 Thomas Eschenbacher Thomas Eschenbacher [c46faa] put some more tools into configure.in
doxy.cfg.in 2001-05-20 Thomas Eschenbacher Thomas Eschenbacher [c5c04b] some \#include cleanups
install-sh 2000-07-12 Thomas Eschenbacher Thomas Eschenbacher [5113e1] version 0.5.4
kwave.kdevprj 2002-06-24 Thomas Eschenbacher Thomas Eschenbacher [4f1db5] v0.6.4-pre2
kwave.lsm 2002-06-28 Thomas Eschenbacher Thomas Eschenbacher [963ff0] v0.6.4-pre3
kwave.spec.in 2002-05-30 Thomas Eschenbacher Thomas Eschenbacher [4c0bd2] cleaning up after rpm creation
stamp-h.in 1998-12-12 Martin Wilz Martin Wilz [429088] checkin of historic release 1998-12-13-v0.29-pre2

Read Me

This is the "Kwave" source distribution, a sound editor for KDE2 and KDE3.

 ----------------------------------------------------------------------------
| It is now hosted on SourceForge, so you are welcome to visit               |
| the Kwave homepage at: "http://kwave.sourceforge.net". Normally the        |
| informations you can get there are more up to date than the stuff          |
| you get in this file. This file is only intended for users who do          |
| not have the possibility or do not like to read online.                    |
 ----------------------------------------------------------------------------

If you are interested what has been done and what has to be done, then
look at the files "CHANGES" and "TODO" included in this package.

The project is developed and published under the GNU GENERAL PUBLIC LICENSE
(Version 2, from June 1991), take a look at the file "GNU-LICENSE" included
in the source package.

0. PREFACE:
==========

If you run in problems when compiling, maybe your Qt/KDE paths are not
properly set up. So try the following before the first make and watch
carefully what the output of the compile/make system says:

(for SuSE + Qt2/KDE2)
export QTDIR=/usr/lib/qt2
export KDEDIRS=/opt/kde2

(for SuSE + Qt3/KDE3)
export QTDIR=/usr/lib/qt3
export KDEDIRS=/opt/kde3

Note: You might have to change the Qt and KDE paths above according
      to your distribution

Hint: If you have a multiprocessor system, you can speed up the compile
      by compiling multiple targets at once by setting:

      export MAKE_FLAGS="-j4"

      where "4" is some number higher than the number of CPUs you have
      (factor 2 seemed to be reasonable on my dual-processor board)


1. COMPILING MANUALLY:
=====================

>>> NOTE: You don't have to do this on an rpm based system, you can
          easily build a rpm package of Kwave. Please skip this and
	  advance to section 2.

It's quite simple. First get the source archive, unpack it under your
favorite source-code directory (or under /tmp), change to this directory
and then type:

make -f Makefile.dist
make
make install

2. RPM-SUPPORT:
==============

You can build nice binary and/or source rpm packages of kwave in one
of the following ways. Note: Either you do everything as root or you
must have write permissions in the following directories:

* /tmp
* /usr/src/packages/BUILD
* /usr/src/packages/RPMS
* /usr/src/packages/SOURCES
* /usr/src/packages/SPECS
* /usr/src/packages/SRPMS

Installing the rpm package normally requires root permissions.

2.1 Building a binary rpm from archive file:
-------------------------------------------

Simply get the source archive (for example kwave-0.6.4.tar.gz) and
then type:

rpm -ta kwave-0.6.4.tar.gz

If you want to build for a different architecture than your current, you
might want to add the parameter "--target ...", for example:

rpm -ta --target i586 kwave-0.6.4.tar.gz

compiles for pentium architecture.


2.2 Building a source and binary rpm from the source tree (CVS):
---------------------------------------------------------

Assuming that you already have unpacked the source archive in some
directory you can simply type

make -f Makefile.dist
make src.rpm          (and you get only a source rpm)
***OR***
make rpm              (and you get both, a binary and a source rpm)

Instructions on how to get the sources via CVS can be found in the
Kwave handbook and on the Kwave project homepage at SourceForge
(see "http://sourceforge.net/cvs/?group_id=6478").

Please note that the online documentation in not included in CVS, so you
have to go to the "doc" subdirectory, remove the file "changes.docbook"
and type "make" there. This requires a working docbook/sgml environment
that is sometimes problematic (see below).


3. RELOCATING THE BINARY RPM:
============================

The binary rpm package of kwave is "relocatable". This means that you can
build the package on a system with the KDE base directory set to some
location (like for example /usr/local) and install it on an other system
and/or into a different directory.

For example: you got the binary rpm from a friend who has a SuSE system
(where the KDE base dir is /opt/kde2 or /opt/kde3) and want to install it
on RedHat (where the KDE base dir is /usr). Then just give a different
prefix when installing the rpm:

rpm -ivh --prefix=/usr kwave-0.6.4.i386.rpm

This modifies the path where the program is installed and it is strongly
recommended that this is a directory that is contained in the KDEDIRS
environment variable, otherwise Kwave would be unable to find it's menu
configuration, plugins, preset files and so on...

4. PENTIUM OPTIMIZATION:
=======================

Yes, you can compile the RPM packages for pentium and pentium pro by using
some defines in your rpmrc file. There are also some instructions on how to
build optimized for AMDs Athlon in the online documentation (The Kwave
Handbook).

You can either modify your system's /etc/rpmrc file or the .rpmrc file in
your home directory. There you can specify option lines like these:

optflags: i386 -O2 -m486 -DNDEBUG
optflags: i586 -O2 -march=pentium -DNDEBUG -fomit-frame-pointer
optflags: i686 -O2 -march=pentiumpro -DNDEBUG -fomit-frame-pointer

(found that at "http://www.keywarrior.net/duesti/rpmopt.en.html")

This means that on an i586 architecture the rpm package will be compiled
using -march=pentium and so on, you might extend or adapt these to your
own needs.

The options specified here are set into the environment variable
RPM_OPT_FLAGS during compilation, so if you don't have an rpm based
environment and have to compile like in (1) you can set this variable
manually and get the same effect. For example:

export RPM_OPT_FLAGS="-O2 -march=pentium -fomit-frame-pointer"

Then go to chapter 1 and do ./configure / make / make install...


5. REQUIREMENTS FOR BUILDING THE ONLINE HELP:
============================================

(NOTE: you don't have to do this if you have the sources from a
tar.gz archive or source RPM - but it is the only way to get the
online help if you checked out via CVS)

Since version 0.6.3 you do no longer need the docbook utils :)
Instead you will need

- po2xml and xml2pot (included in the "kdesdk" package)
- msgmerge (included in the "gettext" package)
- kbabel (also included in kdesdk)
- checkXML (included in kdelibs)


6. REQUIREMENTS:
===============

For compilation you need a working autoconf/automake environment, a good
C/C++ compiler, the qt and the kde libraries. I am currently developing
under a SuSE-7.3 distribution (i386 architecture) using at least the
following packages:

* autoconf-2.52-73
* automake-1.4-p5-67
* make-3.79.1-180
* gcc-2.95.3-136                     (the C / C++ compiler)
* libgpp-2.95.3-136                  (C++ library, including STL)
* glibc-2.2.4-64                     (the GNU C library)
* glibc-devel-2.2.4-64               (header files of the GNU C library)
* kernel-headers                     (needed by glibc-devel)
* gettext-0.10.37-86                 (for internationalization)
* rpm-3.0.6-165                      (for rpm support)
* sed-3.02, awk-3.1.0, bash-2.05     (used by some scripts)
* convert from ImageMagick           (needed to create scaled Kwave icons)
* recode                             (for online help)

Some tools that are normally installed in every distribution:
* msgmerge, msgfmt, xgettext, expand, cat, sort, uniq, find

Nearly everything from ftp.kde.org, especially the following
packets should be sufficient for building:

* qt-2.3.1-80 + qtdevel-2.3.1-80     (the Qt library)
* qt-designer-2.3.1-149              (for designing new-style dialogue windows)
* kdelibs-(devel-)2.2.2-4            (the KDE base libraries)
* kdemultimedia-(devel-)2.2.2-2      (multimedia/aRts support)
* kdesdk-2.2.2-5                     (some additional tools)
* kdelibs-artsd-2.2.2-42             (aRts sound server support)

Depending on your distribution, one ore more components might require
additional packages. For example if there is a package like
kdelibs-artsd-devel, install it too!

Instead of the Qt/KDE libraries above, you can also use the Qt3/KDE3 libraries!

known distributions / architectures:
------------------------------------

* SuSE-8.0 / i386 (with KDE2 and KDE3)
  [should work]

* Debian on alpha, arm, i386, ia64, m68k, mips, mipsel, powerpc, s390
  and sparc (packages provided by Aurelien Jarno <aurelien@aurel32.net>)

* Mandrake Linux 8.1, (packages provided by Gilles Caulier)

* SuSE-7.3 / i386, i686 (with KDE-2.2.2 from ftp.kde.org)
  [where I currently develop]

* SuSE-7.2 / i386, i686 (also with KDE-2.2 from ftp.kde.org)
  [no longer explictely supported, but should work the same as SuSE-7.3]

* SuSE-7.1 / i386, i586
  [no longer explictely supported, but should work the same as SuSE-7.3]

* SuSE-7.0 / i386, i586
  [nearly the same as SuSE-6.4]

* SuSE-6.4 / i386, i586
  [no longer tested, needs an update of rpm]

* SuSE-6.2 / i386, i586
  [where I started to develop it, now untested]

* RedHat-6.1 (Halloween IV) / i386
  [tested v0.5.x with it, but now no longer tested]

Compilation might also work on many other distributions and different
versions of compilers and libraries, or even on different architectures.

So if you have success in compiling and using kwave under a different system,
please let me know !

If the program does NOT compile, please let me know too - and/or consider
an update of your system if your packages are older than those mentioned
above.

You need at least glibc > 2.07 for pthreads support - earlier versions of
libpthread (included in glibc) seem to crash...


7. SOME HISTORY:
===============

This project has been started by Martin Wilz in summer 1998 and has been
developed and improved by him an some other people. In November 1999 I started
to fix some little bugs here and there and stepped into the source code of
the program deeper and deeper. Up to today I have extended, rewritten or 
revised nearly every component of the program and spend much time on it.
Since summer 1999 I have taken over the project leadership and I am still
working on it.

So good luck, and feel free to keep me informed about bugs and wishes...

   Thomas Eschenbacher <Thomas.Eschenbacher@gmx.de>