Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ca766a0f1d413fa2efd37454cca4563c > files > 21

kshutdown-2.0-0.beta8.1mdv2010.0.i586.rpm

<!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" />
</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.1+ and Qt 4.4+</li>
	<li>GNU/Linux and X11</li>
	<li>Gettext Utilities</li>
</ol>

<h3>Compilation &amp; Installation</h3>
<ol>
	<li>Additional requirements: installed <code>"kdelibs-dev"</code> package and CMake 2.4</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 <code>"kdelibs-dev"</code> package.</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.4+ (KDE libraries are not required)</li>
	<li>GNU/Linux and X11</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</h3>
<ol>
	<li><a href="http://trolltech.com/developer/downloads/qt/windows">Qt/Windows Open Source Edition</a> 4.4+ (<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>

</body>
</html>