From 07a6d98c1b4a852cfaca3ac02b388351909d7b9c Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 30 Sep 2020 07:56:33 +0200 Subject: Drop automake build support. Add basic cmake build instructions. Deleted empty file NEWS. Deleted spec file (rpm) lipstik.spec. Rework of the README file. Some cosmetics. Signed-off-by: gregory guy --- INSTALL | 102 ++++++++++------------------------------------------------------ 1 file changed, 16 insertions(+), 86 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 728c232..23ba0cd 100644 --- a/INSTALL +++ b/INSTALL @@ -1,86 +1,16 @@ ------ First of all: - -If possible, and available, try a package built specifically for your -distribution... - - ------ Building from sources: - -First make sure that you have both the QT and KDE development headers -installed. (qt and tdelibs devel) - -Then unpack the sources somewhere you have writing rights. - -In a terminal (konsole, xterm, eterm, etc.), type : - - ./configure - - make - - (Then, as root): - make install - --- - -If any of these steps fail, do: - - make -f Makefile.dist - -It may help you build it. If it still fails, mail me. - - ------ Bad configure = build failure... - -You might need to give 'configure' the path to your kde -installation. eg: /usr, /opt/kde. - - ./configure --prefix=/opt/kde - --- - -You can find your KDE base directory by typing tde-config --prefix - --- - -------------------------------------------------------------------------------- - ------ Debian notes: - -You may need to append this to the configure line: - --prefix=/usr - -And maybe this one: - --with-qt-includes=/usr/include/qt3 - - ------ Mandrake/Mandriva notes: - -Mandrake 10.0 uses KDE 3.2. I never tested lipstik against KDE 3.2 but it "should" work with -some tweaking (see Debian notes). -I dont have Mandrake around so I cant give more specific help for now, stay tuned. - -Mandriva (Mandrake's new name) is using more recent KDE releases. Lipstik should work -out of the box there. - - ------ moc troubles??? - -Some people have reported that building fails with errors related to .moc files. - eg: - lipstikconf.cpp:479:27: lipstikconf.moc: No such file or directory - -If this happens to you, dont panic. -In the source dir, there are style and style/config subdirs: - - In the style dir do: - moc -o lipstik.moc lipstik.h - - And then in the style/config subdir do - moc -o lipstikconf.moc lipstikconf.h - -Then run make again, it should work. - - ------ Lipstik's build system sucks... - -It should suck less now... maybe... +Basic Installation +================== + +tde-style-lipstik relies on cmake to build. + +Here are suggested default options: + + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc" \ + -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" -- cgit v1.2.3