File: README.html

package info (click to toggle)
kshutdown 2.0beta9-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,232 kB
  • ctags: 432
  • sloc: cpp: 3,241; sh: 197; makefile: 5
file content (132 lines) | stat: -rw-r--r-- 4,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>KShutdown - README</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<style type="text/css">
	body {
		font-family: sans-serif;
		margin: 5%;
		padding: 5%;
	}
	
	code, pre {
		background-color: #eeeeee;
		font-size: larger;
		padding: 2px;
	}
	
	h2 {
		margin-top: 2em;
	}
	
	h4 {
		color: #990000;
	}
	
	p.footer {
		font-size: smaller;
	}
	</style>
</head>
<body>

<h1>KShutdown - README</h1>

<p>
Visit <a href="http://kshutdown.sourceforge.net/">KShutdown Home Page</a> and
<a href="http://kshutdown.wiki.sourceforge.net/">Wiki</a> for more info.
</p>

<p>Note: Configuration and command line options of KShutdown 2.x
may be not fully compatible with the older versions (0.x-1.0.x).</p>

<h2>KDE 4/Linux</h2>

<h3>Minimal Requirements</h3>
<ol>
	<li>KDE 4.3+, KDM (KDE Display Manager)</li>
	<li>Qt 4.5+</li>
</ol>

<h3>Compilation &amp; Installation</h3>
<ol>
	<li>Additional requirements: installed <code>"kdelibs-dev"</code> package, CMake 2.4, and Gettext Utilities</li>
	<li>To compile and install KShutdown run: <code>./Setup-kde4.sh</code></li>
	<li>To change the installation directory (prefix) run: <code>./Setup-kde4.sh "/your/prefix/dir"</code></li>
</ol>

<h3>Common Errors</h3>

<h4>CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72</h4>
<p>
<pre>
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
...;/usr/lib/kde4/share/kde4/apps
</pre>
</p>
<p>Install "kdelibs-dev" (sometimes called kdelibs5-dev) and "kdebase-workspace-dev" packages for your KDE version.</p>

<h4>CMake Error at (...) Phonon library or includes NOT found!</h4>
<p>This may happed after Ubuntu upgrade
even if required Phonon files are already installed. [<a href="http://osdir.com/ml/digikam-users/2009-11/msg00024.html">Solution</a>]</p>

<h4>"pushd: not found" error</h4>
<p>
Try to run
<code>./Setup-kde4.sh</code> and
<code>cd build.tmp; sudo make install</code> instead of 
<code>sudo sh Setup-kde4.sh</code>
</p>

<h3>Compilation &amp; Installation (alternate method; for Geeks only)</h3>
<p>
<i>BUILDTYPE</i> can be <code>Release</code> or <code>Debug</code>.
You can change the installation directory (prefix) by settings the <code>CMAKE_INSTALL_PREFIX</code> variable.
To display default prefix for KDE 4 applications, run <code>kde4-config --prefix</code>.
</p>
<ol>
	<li>Create output directory: <code>mkdir build &amp;&amp; cd build</code></li>
	<li>Generate Makefiles: <code>cmake -DCMAKE_BUILD_TYPE=<i>BUILDTYPE</i> -DCMAKE_INSTALL_PREFIX="/usr/local" ..</code></li>
	<li>Compile: <code>make</code></li>
	<li>Install: <code>make install</code></li>
</ol>

<h2>Qt 4/Linux</h2>

<h3>Minimal Requirements</h3>
<ol>
	<li>Qt 4.5+ (KDE libraries are not required)</li>
</ol>

<h3>Compilation &amp; Installation</h3>
<ol>
	<li>Sorry, under construction</li>
	<!-- !!!<li>To compile KShutdown run: <code>./Setup-qt4.sh</code></li>-->
</ol>

<h2>Qt 4/Windows</h2>

<h3>Minimal Requirements (for compilation)</h3>
<ol>
	<li><a href="http://trolltech.com/developer/downloads/qt/windows">Qt/Windows Open Source Edition</a> 4.5+ (<b>static</b> library)</li>
	<li><a href="http://www.mingw.org/">MinGW</a></li>
	<li><a href="http://nsis.sourceforge.net/">Nullsoft Scriptable Install System</a> (NSIS)</li>
	<li>Windows XP or compatible (including <a href="http://www.winehq.org/">Wine</a>)</li>
</ol>

<h3>Compilation &amp; Installation</h3>
<ol>
	<li>To compile and install KShutdown run: <code>Setup-qt4.bat</code> (this will build both portable and installable version)</li>
	<li><b>Experimental:</b> To compile KShutdown under Wine/Linux run: <code>./Setup-wine.sh</code></li>
</ol>

<h2><a href="http://kshutdown.sourceforge.net/contact.html">Contact</a></h2>

<h2><a href="http://www.gnu.org/copyleft/gpl.html">License</a> (GPL)</h2>

<p class="footer">&copy; Konrad Twardowski</p>

</body>
</html>