diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-03-03 21:42:42 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-05 10:42:12 +0900 |
commit | 38c6a406f3b082bcd57edf1c477564d26a9cb6c8 (patch) | |
tree | 7c418ed8bff0857ac221ce748a576a57a2f08ddf /INSTALL | |
parent | 02835b2f5219a8eb8c6c9477bd6dd7ce7d54ac0e (diff) | |
download | kstreamripper-38c6a406f3b082bcd57edf1c477564d26a9cb6c8.tar.gz kstreamripper-38c6a406f3b082bcd57edf1c477564d26a9cb6c8.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>
(cherry picked from commit 48deaabecefea835f81c9e6e8ba73ee8881c314c)
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 QTDIR 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" |