website diff en/doc/scratchbook/gtk-apps.html @ rev 226

en: Add scratchbook pages
author Paul Issott <paul@slitaz.org>
date Tue Dec 23 14:10:23 2008 +0000 (2008-12-23)
parents
children 1fb71a0b7347
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/doc/scratchbook/gtk-apps.html	Tue Dec 23 14:10:23 2008 +0000
     1.3 @@ -0,0 +1,303 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     1.5 +    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<head>
     1.8 +    <title>SliTaz Scratchbook - GTK+ Applications</title>
     1.9 +    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    1.10 +    <meta name="description" content="" />
    1.11 +    <meta name="expires" content="never" />
    1.12 +    <meta name="modified" content="2008-11-22 17:00:00" />
    1.13 +    <meta name="publisher" content="www.slitaz.org" />
    1.14 +    <meta name="author" content="Christophe Lincoln"/>
    1.15 +    <link rel="shortcut icon" href="favicon.ico" />
    1.16 +    <link rel="stylesheet" type="text/css" href="book.css" />
    1.17 +</head>
    1.18 +<body bgcolor="#ffffff">
    1.19 +
    1.20 +<!-- Header and quick navigation -->
    1.21 +<div id="header">
    1.22 +<div id="quicknav" align="right">
    1.23 +    <a name="top"></a>
    1.24 +    <a href="gtk-libs.html">Gtk-libs</a> |
    1.25 +    <a href="index.html">Table of contents</a>
    1.26 +</div>
    1.27 +<h1><font color="#3e1220">SliTaz Scratchbook</font></h1>
    1.28 +</div>
    1.29 +
    1.30 +<!-- Content. -->
    1.31 +<div id="content">
    1.32 +<div class="content-right"></div>
    1.33 +
    1.34 +
    1.35 +<h2><font color="#df8f06">GTK+ Applications</font></h2>
    1.36 +<p>
    1.37 +Compiliation and installation of applications using GTK+.
    1.38 +</p>
    1.39 +<ul>
    1.40 +    <li><a href="#about">About this chapter.</a> - Description and environmental variable ($fs)</li>
    1.41 +    <li><a href="#leafpad">leafpad-0.8.10</a> - Simple text editor.</li>
    1.42 +    <li><a href="#gitmail">gitmail-0.4</a> -  Ghost In The Mail, mail client.</li>
    1.43 +    <li><a href="#gqview">gqview-2.0.4</a>  - Images Manager.</li>
    1.44 +    <li><a href="#mtpaint">mtpaint-3.11</a>  - Image creation and processing.</li>
    1.45 +    <li><a href="#transmission">Transmission-0.72</a> - Lightweight BitTorrent client.</li>
    1.46 +    <li><a href="#emelfm2">emelfm2-0.3.5</a> - File Manager.</li>
    1.47 +    <li><a href="#geany">geany-0.11</a> - Integrated Development Environment.</li>
    1.48 +    <li><a href="#gftp">gftp-2.0.18</a> - Fast and simple FTP client.</li>
    1.49 +    <li><a href="#xpad">xpad-2.12</a> - Mini note taking application.</li>
    1.50 +</ul>
    1.51 +<a name="about"></a>
    1.52 +<h3><font color="#6c0023">About</font></h3>
    1.53 +<p>
    1.54 +This chapter describes the commands for the compilation and installation of
    1.55 +GTK+ applications distributed by default on the SliTaz LiveCD. The installation 
    1.56 +of GTK+ libraries are described in the
    1.57 +<a href="http://www.slitaz.org/doc/scratchbook/gtk-libs.html">GTK+ libs</a> chapter.
    1.58 +</p>
    1.59 +<h4>Environmental variable ($fs)</h4>
    1.60 +<p>
    1.61 +If you do not specify any path to the rootfs directory, export the environmental variable:
    1.62 +</p>
    1.63 +<pre> # export fs=$PWD/rootfs
    1.64 +</pre>
    1.65 +<p>
    1.66 +To check:
    1.67 +</p>
    1.68 +<pre> # echo $fs
    1.69 +</pre>
    1.70 +<a name="leafpad"></a>
    1.71 +<h3><font color="#6c0023">leafpad-0.8.10 - Simple text editor</font></h3>
    1.72 +<p>
    1.73 +Website: <a href="http://tarot.freeshell.org/leafpad/">http://tarot.freeshell.org/leafpad/</a>
    1.74 +</p>
    1.75 +<pre> # wget http://savannah.nongnu.org/download/leafpad/leafpad-0.8.10.tar.gz
    1.76 + # tar xzf leafpad-0.8.10.tar.gz
    1.77 + # cd leafpad-0.8.10
    1.78 + # ./configure --prefix=/usr
    1.79 + # make
    1.80 + # make DESTDIR=$PWD/_pkg install
    1.81 + # strip _pkg/usr/bin/*
    1.82 +</pre>
    1.83 +<h4>Install in rootfs</h4>
    1.84 +<pre> # cp _pkg/usr/bin/* $fs/usr/bin
    1.85 + # cp _pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
    1.86 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
    1.87 +</pre>
    1.88 +<a name="gitmail"></a>
    1.89 +<h3><font color="#6c0023">gitmail-0.4 - Ghost In The Mail, mail client</font></h3>
    1.90 +<p>
    1.91 +Ghost in the mail allows users to quickly and easily send mail via SMTP.
    1.92 +</p>
    1.93 +<p>
    1.94 +Website: <a href="http://gitmail.sourceforge.net/">http://gitmail.sourceforge.net/</a>
    1.95 +</p>
    1.96 +<pre> # wget http://switch.dl.sourceforge.net/sourceforge/gitmail/gitmail-0.4.tar.gz
    1.97 + # tar xzf gitmail-0.4.tar.gz
    1.98 + # cd GhostInTheMail-0.4
    1.99 + # ./configure --prefix=/usr
   1.100 + # make
   1.101 + # make DESTDIR=$PWD/_pkg \
   1.102 +   gitmaildocdir=/usr/share/doc/GhostInTheMail \
   1.103 +   install
   1.104 + # strip _pkg/usr/bin/*
   1.105 +</pre>
   1.106 +<h4>Install in rootfs</h4>
   1.107 +<pre> # cp _pkg/usr/bin/* $fs/usr/bin
   1.108 +</pre>
   1.109 +<a name="gqview"></a>
   1.110 +<h3><font color="#6c0023">gqview-2.0.4 - Images Manager</font></h3>
   1.111 +<p>
   1.112 +Website: <a href="http://gqview.sourceforge.net/">http://gqview.sourceforge.net/</a>
   1.113 +</p>
   1.114 +<pre> # wget http://belnet.dl.sourceforge.net/sourceforge/gqview/gqview-2.0.4.tar.gz
   1.115 + # tar xzf gqview-2.0.4.tar.gz
   1.116 + # cd gqview-2.0.4
   1.117 + # ./configure --prefix=/usr --mandir=/usr/share/man
   1.118 + # make
   1.119 + # make DESTDIR=$PWD/_pkg install
   1.120 + # strip _pkg/usr/bin/*
   1.121 +</pre>
   1.122 +<h4>Install in rootfs</h4>
   1.123 +<pre> # cp _pkg/usr/bin/* $fs/usr/bin
   1.124 + # cp _pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
   1.125 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
   1.126 +</pre>
   1.127 +<a name="mtpaint"></a>
   1.128 +<h3><font color="#6c0023">mtpaint-3.11 - Image creation and processing</font></h3>
   1.129 +<p>
   1.130 +Website: <a href="http://mtpaint.sourceforge.net/">http://mtpaint.sourceforge.net/</a>
   1.131 +</p>
   1.132 +<pre> # wget http://switch.dl.sourceforge.net/sourceforge/mtpaint/mtpaint-3.11.tar.bz2
   1.133 + # tar xjf mtpaint-3.11.tar.bz2
   1.134 + # cd mtpaint-3.11
   1.135 + # ./configure --cpu=i486 --prefix=/usr intl
   1.136 + # make
   1.137 + # strip src/mtpaint
   1.138 +</pre>
   1.139 +<h4>Install in rootfs</h4>
   1.140 +<pre> # cp src/mtpaint $fs/usr/bin
   1.141 + # cp po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
   1.142 + # cp src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
   1.143 +</pre>
   1.144 +<a name="transmission"></a>
   1.145 +<h3><font color="#6c0023">Transmission-0.72 - Lightweight BitTorrent client</font></h3>
   1.146 +<p>
   1.147 +Tranmission BitTorrent client is fast, lightweight and easy to use. The compiled package provides 
   1.148 +the command line client (transmissioncli) and a GTK+ client (transmission-gtk). We install the GTK+ client, 
   1.149 +the command line client is distributed as a separate SliTaz package (*.tazpkg).
   1.150 +</p>
   1.151 +<p>
   1.152 +Website: <a href="http://transmission.m0k.org/">http://transmission.m0k.org/</a>
   1.153 +</p>
   1.154 +<pre> # wget http://download.m0k.org/transmission/files/Transmission-0.72.tar.gz
   1.155 + # tar xzf Transmission-0.72.tar.gz
   1.156 +
   1.157 + La version 0.72 est mal archivée:
   1.158 + # mv "Transmission .72" Transmission-0.72
   1.159 +
   1.160 + # cd Transmission-0.72
   1.161 + # ./configure --prefix=/usr  --disable-openssl
   1.162 + # make
   1.163 + # strip gtk/transmission-gtk
   1.164 + # strip cli/transmissioncli
   1.165 +</pre>
   1.166 +<h4>Install in rootfs</h4>
   1.167 +<pre> # cp gtk/transmission-gtk $fs/usr/bin
   1.168 + # cp gtk/transmission.png $fs/usr/share/pixmaps
   1.169 + # cp gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
   1.170 +</pre>
   1.171 +<a name="emelfm2"></a>
   1.172 +<h3><font color="#6c0023">emelfm2-0.3.5 - File Manager</font></h3>
   1.173 +<p>
   1.174 +The emelFM2 application is a file manager providing lots of useful functions, such as mounting 
   1.175 +devices, a text viewer, opening a terminal in the current directory and so on.
   1.176 +</p>
   1.177 +<p>
   1.178 +Website: <a href="http://emelfm2.net/">http://emelfm2.net/</a>
   1.179 +</p>
   1.180 +<pre> # cd ..
   1.181 + # wget http://emelfm2.net/rel/emelfm2-0.3.5.tar.gz
   1.182 + # tar xzf emelfm2-0.3.5.tar.gz
   1.183 + # cd emelfm2-0.3.5
   1.184 + # make PREFIX=/usr
   1.185 + # make i18n PREFIX=/usr
   1.186 + # make install PREFIX=$PWD/_pkg/usr
   1.187 + # make install_i18n PREFIX=$PWD/_pkg/usr
   1.188 + # strip -v _pkg/usr/bin/*
   1.189 + # strip -v _pkg/usr/lib/emelfm2/plugins/*
   1.190 +</pre>
   1.191 +<h4>Install in rootfs</h4>
   1.192 +<pre> # cp _pkg/usr/bin/* $fs/usr/bin
   1.193 + # cp -a _pkg/usr/lib/* $fs/usr/lib
   1.194 + # cp -a _pkg/usr/share/pixmaps $fs/usr/share
   1.195 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
   1.196 +</pre>
   1.197 +<a name="geany"></a>
   1.198 +<h3><font color="#6c0023">geany-0.11 - Integrated Development Environment</font></h3>
   1.199 +<p>
   1.200 +Geany is a simple, fast and light IDE offering colored syntax, tabs, autocompletion, aids to scripts and much more.
   1.201 +</p>
   1.202 +<p>
   1.203 +Website: <a href="http://geany.uvena.de/">http://geany.uvena.de/</a>
   1.204 +</p>
   1.205 +<p>
   1.206 +To compile and run geany on SliTaz, you must have the libstdc++ and libgcc1 libraries, 
   1.207 +both provided by gcc (we recompiled with gcc-4.1.1), but you can copy the libraries from the host system.
   1.208 +</p>
   1.209 +<p>
   1.210 +Note: The force is with you, if you activate it via the option --enable-the-force.
   1.211 +</p>
   1.212 +<pre> # wget http://mesh.dl.sourceforge.net/sourceforge/geany/geany-0.11.tar.gz
   1.213 + # tar xzf geany-0.11.tar.gz
   1.214 + # cd geany-0.11
   1.215 + # ./configure --prefix=/usr --mandir=/usr/share/man \
   1.216 +   --disable-vte --enable-the-force
   1.217 + # make
   1.218 + # make DESTDIR=$PWD/_pkg install
   1.219 + # strip -v _pkg/usr/bin/*
   1.220 +</pre>
   1.221 +<h4>Install in rootfs</h4>
   1.222 +<pre> # cp _pkg/usr/bin/* $fs/usr/bin
   1.223 + # cp -a _pkg/usr/share/geany $fs/usr/share
   1.224 + # cp _pkg/usr/share/pixmaps/geany.png $fs/usr/share/pixmaps
   1.225 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
   1.226 +</pre>
   1.227 +<a name="gftp"></a>
   1.228 +<h3><font color="#6c0023">gftp-2.0.18 - Fast and simple FTP client</font></h3>
   1.229 +<p>
   1.230 +The gFTP application is a fast and efficient FTP client with a GTK+ graphical interface. 
   1.231 +Note that we compile without support for a text interface and ssl support. Get, untar, 
   1.232 +configure, compile and install.
   1.233 +</p>
   1.234 +<p>
   1.235 +Website: <a href="http://www.gftp.org/">http://www.gftp.org/</a>
   1.236 +</p>
   1.237 +<pre> # wget http://www.gftp.org/gftp-2.0.18.tar.gz
   1.238 + # tar xzf gftp-2.0.18.tar.gz
   1.239 + # cd gftp-2.0.18
   1.240 + # ./configure --prefix=/usr --mandir=/usr/share/man \
   1.241 +   --disable-ssl --disable-textport \
   1.242 +   --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
   1.243 + # make
   1.244 + # make DESTDIR=$PWD/_pkg install
   1.245 + # strip _pkg/usr/bin/*
   1.246 +</pre>
   1.247 +<h4>Install in rootfs</h4>
   1.248 +<p>
   1.249 +SliTaz provides only the GTK+ client on the CD. Note that <code>gftp</code> is just a small 
   1.250 +script that detects the environment (console or X) and launches the right interface:
   1.251 +</p>
   1.252 +<pre> # cp _pkg/usr/bin/gftp $fs/usr/bin
   1.253 + # cp _pkg/usr/bin/gftp-gtk $fs/usr/bin
   1.254 + # cp -a _pkg/usr/share/gftp $fs/usr/share
   1.255 + # cp -a _pkg/usr/share/pixmaps $fs/usr/share
   1.256 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
   1.257 +</pre>
   1.258 +<p>
   1.259 +To save a little space and avoid duplication, you can delete 'COPYING' (17 KB) 
   1.260 +included in /usr/share/gftp. The GNU licence is already present in /usr/share/licence, 
   1.261 +if you want to create a symbolic link.
   1.262 +</p>
   1.263 +<a name="xpad"></a>
   1.264 +<h3><font color="#6c0023">xpad-2.12 - Mini note taking application</font></h3>
   1.265 +<p>
   1.266 +The Xpad application can quickly take notes via various customizable (GTK+) windows.
   1.267 +</p>
   1.268 +<p>
   1.269 +Website: <a href="http://xpad.sourceforge.net/">http://xpad.sourceforge.net/</a>
   1.270 +</p>
   1.271 +<pre> # wget http://surfnet.dl.sourceforge.net/sourceforge/xpad/xpad-2.12.tar.bz2
   1.272 + # tar xjf xpad-2.12.tar.bz2
   1.273 + # cd xpad-2.12
   1.274 + # ./configure --prefix=/usr --mandir=/usr/share/man \
   1.275 +   --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
   1.276 + # make
   1.277 + # make DESTDIR=$PWD/_pkg install
   1.278 + # strip _pkg/usr/bin/*
   1.279 +</pre>
   1.280 +<h4>Install in rootfs</h4>
   1.281 +<pre> # cp _pkg/usr/bin/xpad $fs/usr/bin
   1.282 + # cp -a _pkg/usr/share/pixmaps $fs/usr/share
   1.283 + # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
   1.284 +</pre>
   1.285 +
   1.286 +
   1.287 +<!-- End of content -->
   1.288 +</div>
   1.289 +
   1.290 +<!-- Footer. -->
   1.291 +<div id="footer">
   1.292 +	<div class="footer-right"></div>
   1.293 +	<a href="#top">Top of the page</a> | 
   1.294 +	<a href="index.html">Table of contents</a>
   1.295 +</div>
   1.296 +
   1.297 +<div id="copy">
   1.298 +    Copyright &copy; 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
   1.299 +    <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
   1.300 +    Documentation is under
   1.301 +    <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
   1.302 +    and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
   1.303 +</div>
   1.304 +
   1.305 +</body>
   1.306 +</html>