From 491e4cff736389004584daf8ec788d18fcc59e32 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Nov 2011 14:49:42 -0600 Subject: Update kio-locate INSTALL and AUTHORS information --- INSTALL | 64 ++++++++++++++-------------------------------------------------- 1 file changed, 14 insertions(+), 50 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index f5825c7..5998725 100644 --- a/INSTALL +++ b/INSTALL @@ -1,55 +1,19 @@ -QUICKSTART +This package requires CMake and tdelibs to build -kio-locate uses scons for configuring and building. In general -it should suffice to execute (if you have scons installed): +==================== BUILDING ==================== -$ scons configure -$ scons -$ sudo scons install +mkdir /tmp/kio-locate +cd /tmp/kio-locate -If you don't have scons installed, you can use the stripped -down version shipping with kio-locate. This can be found in the -file scons-mini.tar.bz2 and has to be unpacked. +cmake \ + -DCMAKE_INSTALL_PREFIX=/opt/trinity \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_QT3=ON \ + -DQTDIR=/opt/qt \ + -DQT_LIBRARY_DIRS=/opt/qt/lib \ + -DBUILD_ALL=ON +make VERBOSE=1 -$ tar xjf scons-mini.tar.bz2 -$ python configure -$ python -$ sudo python install +================== INSTALLATION =================== -As you can see the command "python" replaces executing -"scons" if you don't have that installed. In the following you -have to bear this in mind. - - -SPECIAL CONFIGURING - -On some systems, it might be necessary to configure the project -using scons configure qtincludes=path1 kdeincludes=path2 -like this: -$ scons configure qtincludes=/usr/include/qt3/include \ -> kdeincludes=/usr/lib/trinity/include -When in doubt, use scons --help or scons -h to display the options. - -As when using ./configure you can specify using prefix=... where to -install the package. -$ scons configure prefix=/usr - -To enable debug mode you can use: -$ scons configure debug=1 - -To clean the project: -$ scons -c - -And to uninstall kio-locate: -$ scons -c install - - -NOTE THIS - -This is just a very overview about what you can do. - -If you encounter problems, please post them (or better their solutions) -to me, so that I can include them into this guide. - -Armin Straub +make install -- cgit v1.2.1