Changeset View
Changeset View
Standalone View
Standalone View
INSTALL
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | |||||
117 | Krusader is developed in KDE Extragear. If someone wants to download and use | 117 | Krusader is developed in KDE Extragear. If someone wants to download and use | ||
118 | the latest available Krusader sourcecode with git: | 118 | the latest available Krusader sourcecode with git: | ||
119 | $ git clone http://anongit.kde.org/krusader | 119 | $ git clone http://anongit.kde.org/krusader | ||
120 | 120 | | |||
121 | Otherwise, if someone wants to use the .tar.xz package: | 121 | Otherwise, if someone wants to use the .tar.xz package: | ||
122 | $ tar xvf krusader-xx.xx.tar.xz | 122 | $ tar xvf krusader-xx.xx.tar.xz | ||
123 | 123 | | |||
124 | 124 | | |||
125 | --- Some CMake options. Cmake execution | 125 | --- Some CMake options. CMake execution | ||
126 | 126 | | |||
127 | -DCMAKE_INSTALL_PREFIX=/usr | 127 | -DCMAKE_INSTALL_PREFIX=/usr | ||
128 | is the location where Krusader will be installed with the make command. | 128 | is the location where Krusader will be installed with the make command. | ||
129 | Another example is: -DCMAKE_INSTALL_PRFIX=/opt/krusader | 129 | Another example is: -DCMAKE_INSTALL_PRFIX=/opt/krusader | ||
130 | to install the compiled Krusader in an other directory to not overwrite | 130 | to install the compiled Krusader in an other directory to not overwrite | ||
131 | the Krusader version installed by your package manager. | 131 | the Krusader version installed by your package manager. | ||
132 | 132 | | |||
133 | -DCMAKE_CXX_FLAGS="-O2 -fPIC" | 133 | -DCMAKE_CXX_FLAGS="-O2 -fPIC" | ||
134 | this flag is required if you have a 64 bit system | 134 | this flag is required if you have a 64 bit system | ||
135 | 135 | | |||
136 | -DQT_PLUGIN_INSTALL_DIR= | 136 | -DQT_PLUGIN_INSTALL_DIR= | ||
137 | many system force this path to keep kde4 plugins separated from the kde5 ones | 137 | many system force this path to keep kde4 plugins separated from the kde5 ones | ||
138 | 138 | | |||
139 | -DKDESU_PATH=/foo/bar/kdesu | 139 | -DKDESU_PATH=/foo/bar/kdesu | ||
140 | this needs to be set on distributions that override default kdesu installation | 140 | this needs to be set on distributions that override default kdesu installation | ||
141 | path (libexec/kf5/kdesu) or if your install prefix doesn't match KDE's. | 141 | path (libexec/kf5/kdesu) or if your install prefix doesn't match KDE's. | ||
142 | 142 | | |||
143 | -DENABLE_SYNCHRONIZER=OFF | 143 | -DENABLE_SYNCHRONIZER=OFF | ||
144 | disables building the Synchronizer module. This module caused data loss, now | 144 | disables building the Synchronizer module. This module caused data loss, now | ||
145 | it is fixed, but we treat it as the thin ice. | 145 | it is fixed, but we treat it as the thin ice. | ||
146 | 146 | | |||
147 | CMake may be executed this way: | 147 | In order to make sure that the present folder is the parent directory of the "krusader" source code folder, this command can be executed: | ||
148 | ls krusader/krusader | ||||
149 | and it should answer something like: | ||||
150 | abstractpanelmanager.h Dialogs kicons.h KrJS krusaderlisterui.rc | ||||
151 | [...] | ||||
152 | then CMake can be executed this way: | ||||
148 | $ mkdir krusader-build | 153 | $ mkdir krusader-build | ||
149 | $ cd krusader-build | 154 | $ cd krusader-build | ||
150 | $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC" | 155 | $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC" | ||
151 | 156 | | |||
152 | Note: In this document there's an appendix 1 that may help. | 157 | Note: In this document there's an appendix 1 that may help. | ||
153 | 158 | | |||
154 | 159 | | |||
155 | --- Compilation and installation | 160 | --- Compilation and installation | ||
▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines |