diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-03-03 21:42:42 +0100 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2021-03-04 15:33:33 +0100 |
commit | 48deaabecefea835f81c9e6e8ba73ee8881c314c (patch) | |
tree | 308142fdae63e149d93c3fd5ab37d8debe6b8919 /INSTALL | |
parent | ac5847e869954149361463d62e68d6081c97dad5 (diff) | |
download | kstreamripper-48deaabecefea835f81c9e6e8ba73ee8881c314c.tar.gz kstreamripper-48deaabecefea835f81c9e6e8ba73ee8881c314c.zip |
Drop scons build support.
Deleted empty file ChangeLog.
Update some cmake files with latest macros.
Add basic cmake build instructions.
Few cosmetics.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 101 |
1 files changed, 17 insertions, 84 deletions
@@ -1,84 +1,17 @@ -sctest REQUIREMENTS ------------------------- - -tde is needed to run sctest - -To compile sctest, the tde development packages -are needed: tdelibs-devel, tdebase-devel and python - -scons is also needed http://www.scons.org -(this tool also used by Blender, ..) -Make sure scons is at least v0.96.1, otherwise -the compilation will fail. In case if you do not have -it, a minimum distribution is provided (see SCONS below) - --> One should only have to run : -$ scons -# scons install -(do "scons install" as root - the menus may not -show up if you skip this step) - - -SCONS ------ - --> If scons is missing, use the one bundled with PROGRAMNAME : -./unpack_local_scons.sh -python scons.py -python scons.py install -(run the last command as root) - - --> For your convenience, a quick makefile is created : -./unpack_local_scons.sh -make -make install - - -USEFUL SCONS COMMANDS ---------------------- - -build the targets : scons -install them : scons install -clean the project : scons -c -uninstall : scons -c install -build in parallel : scons -j2 - -CONFIGURATION NOTES -------------------- - -The installation scripts are relying on the tde-config program. -The programs tde-config, qmake, uic and moc must be accesssible -through your PATH. - -Qt and tde may not be installed as expected (in TQTDIR and TDEDIR) -So until tde-config is able to give that information, you may -have to give those paths. - -Here are some examples : -On Fedora/Redhat - scons configure kdeincludes=/usr/include/tde/ -On Debian - scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/tde/ -To install in some particular location with additional include paths - scons configure prefix=~/tmp extraincludes=/tmp/include:/usr/local/include - -For more options to tune the build look at the .py files available on -the top-level directory : -generic.py, kde.py, ... - -The build system is based on bksys, a build system that replaces -autoconf, automake and make in a row. Feel free to report your opinion -about it to the authors. - -BUILDING RPMS OR DEBS WITH CHECKINSTALL ---------------------------------------- - -With checkinstall 1.6, use -$ scons -# checkinstall --fstrans=no --nodoc scons install -# scons uninstall - ---------------------------------------- -enjoy KStreamRipper -Michael Goettsche +Basic Installation +================== + +kstreamripper relies on cmake to build. + +Here are suggested default options: + + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" |