website annotate 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
rev   line source
paul@226 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
paul@226 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
paul@226 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
paul@226 4 <head>
paul@226 5 <title>SliTaz Scratchbook - GTK+ Applications</title>
paul@226 6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
paul@226 7 <meta name="description" content="" />
paul@226 8 <meta name="expires" content="never" />
paul@226 9 <meta name="modified" content="2008-11-22 17:00:00" />
paul@226 10 <meta name="publisher" content="www.slitaz.org" />
paul@226 11 <meta name="author" content="Christophe Lincoln"/>
paul@226 12 <link rel="shortcut icon" href="favicon.ico" />
paul@226 13 <link rel="stylesheet" type="text/css" href="book.css" />
paul@226 14 </head>
paul@226 15 <body bgcolor="#ffffff">
paul@226 16
paul@226 17 <!-- Header and quick navigation -->
paul@226 18 <div id="header">
paul@226 19 <div id="quicknav" align="right">
paul@226 20 <a name="top"></a>
paul@226 21 <a href="gtk-libs.html">Gtk-libs</a> |
paul@226 22 <a href="index.html">Table of contents</a>
paul@226 23 </div>
paul@226 24 <h1><font color="#3e1220">SliTaz Scratchbook</font></h1>
paul@226 25 </div>
paul@226 26
paul@226 27 <!-- Content. -->
paul@226 28 <div id="content">
paul@226 29 <div class="content-right"></div>
paul@226 30
paul@226 31
paul@226 32 <h2><font color="#df8f06">GTK+ Applications</font></h2>
paul@226 33 <p>
paul@226 34 Compiliation and installation of applications using GTK+.
paul@226 35 </p>
paul@226 36 <ul>
paul@226 37 <li><a href="#about">About this chapter.</a> - Description and environmental variable ($fs)</li>
paul@226 38 <li><a href="#leafpad">leafpad-0.8.10</a> - Simple text editor.</li>
paul@226 39 <li><a href="#gitmail">gitmail-0.4</a> - Ghost In The Mail, mail client.</li>
paul@226 40 <li><a href="#gqview">gqview-2.0.4</a> - Images Manager.</li>
paul@226 41 <li><a href="#mtpaint">mtpaint-3.11</a> - Image creation and processing.</li>
paul@226 42 <li><a href="#transmission">Transmission-0.72</a> - Lightweight BitTorrent client.</li>
paul@226 43 <li><a href="#emelfm2">emelfm2-0.3.5</a> - File Manager.</li>
paul@226 44 <li><a href="#geany">geany-0.11</a> - Integrated Development Environment.</li>
paul@226 45 <li><a href="#gftp">gftp-2.0.18</a> - Fast and simple FTP client.</li>
paul@226 46 <li><a href="#xpad">xpad-2.12</a> - Mini note taking application.</li>
paul@226 47 </ul>
paul@226 48 <a name="about"></a>
paul@226 49 <h3><font color="#6c0023">About</font></h3>
paul@226 50 <p>
paul@226 51 This chapter describes the commands for the compilation and installation of
paul@226 52 GTK+ applications distributed by default on the SliTaz LiveCD. The installation
paul@226 53 of GTK+ libraries are described in the
paul@226 54 <a href="http://www.slitaz.org/doc/scratchbook/gtk-libs.html">GTK+ libs</a> chapter.
paul@226 55 </p>
paul@226 56 <h4>Environmental variable ($fs)</h4>
paul@226 57 <p>
paul@226 58 If you do not specify any path to the rootfs directory, export the environmental variable:
paul@226 59 </p>
paul@226 60 <pre> # export fs=$PWD/rootfs
paul@226 61 </pre>
paul@226 62 <p>
paul@226 63 To check:
paul@226 64 </p>
paul@226 65 <pre> # echo $fs
paul@226 66 </pre>
paul@226 67 <a name="leafpad"></a>
paul@226 68 <h3><font color="#6c0023">leafpad-0.8.10 - Simple text editor</font></h3>
paul@226 69 <p>
paul@226 70 Website: <a href="http://tarot.freeshell.org/leafpad/">http://tarot.freeshell.org/leafpad/</a>
paul@226 71 </p>
paul@226 72 <pre> # wget http://savannah.nongnu.org/download/leafpad/leafpad-0.8.10.tar.gz
paul@226 73 # tar xzf leafpad-0.8.10.tar.gz
paul@226 74 # cd leafpad-0.8.10
paul@226 75 # ./configure --prefix=/usr
paul@226 76 # make
paul@226 77 # make DESTDIR=$PWD/_pkg install
paul@226 78 # strip _pkg/usr/bin/*
paul@226 79 </pre>
paul@226 80 <h4>Install in rootfs</h4>
paul@226 81 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
paul@226 82 # cp _pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
paul@226 83 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 84 </pre>
paul@226 85 <a name="gitmail"></a>
paul@226 86 <h3><font color="#6c0023">gitmail-0.4 - Ghost In The Mail, mail client</font></h3>
paul@226 87 <p>
paul@226 88 Ghost in the mail allows users to quickly and easily send mail via SMTP.
paul@226 89 </p>
paul@226 90 <p>
paul@226 91 Website: <a href="http://gitmail.sourceforge.net/">http://gitmail.sourceforge.net/</a>
paul@226 92 </p>
paul@226 93 <pre> # wget http://switch.dl.sourceforge.net/sourceforge/gitmail/gitmail-0.4.tar.gz
paul@226 94 # tar xzf gitmail-0.4.tar.gz
paul@226 95 # cd GhostInTheMail-0.4
paul@226 96 # ./configure --prefix=/usr
paul@226 97 # make
paul@226 98 # make DESTDIR=$PWD/_pkg \
paul@226 99 gitmaildocdir=/usr/share/doc/GhostInTheMail \
paul@226 100 install
paul@226 101 # strip _pkg/usr/bin/*
paul@226 102 </pre>
paul@226 103 <h4>Install in rootfs</h4>
paul@226 104 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
paul@226 105 </pre>
paul@226 106 <a name="gqview"></a>
paul@226 107 <h3><font color="#6c0023">gqview-2.0.4 - Images Manager</font></h3>
paul@226 108 <p>
paul@226 109 Website: <a href="http://gqview.sourceforge.net/">http://gqview.sourceforge.net/</a>
paul@226 110 </p>
paul@226 111 <pre> # wget http://belnet.dl.sourceforge.net/sourceforge/gqview/gqview-2.0.4.tar.gz
paul@226 112 # tar xzf gqview-2.0.4.tar.gz
paul@226 113 # cd gqview-2.0.4
paul@226 114 # ./configure --prefix=/usr --mandir=/usr/share/man
paul@226 115 # make
paul@226 116 # make DESTDIR=$PWD/_pkg install
paul@226 117 # strip _pkg/usr/bin/*
paul@226 118 </pre>
paul@226 119 <h4>Install in rootfs</h4>
paul@226 120 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
paul@226 121 # cp _pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
paul@226 122 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 123 </pre>
paul@226 124 <a name="mtpaint"></a>
paul@226 125 <h3><font color="#6c0023">mtpaint-3.11 - Image creation and processing</font></h3>
paul@226 126 <p>
paul@226 127 Website: <a href="http://mtpaint.sourceforge.net/">http://mtpaint.sourceforge.net/</a>
paul@226 128 </p>
paul@226 129 <pre> # wget http://switch.dl.sourceforge.net/sourceforge/mtpaint/mtpaint-3.11.tar.bz2
paul@226 130 # tar xjf mtpaint-3.11.tar.bz2
paul@226 131 # cd mtpaint-3.11
paul@226 132 # ./configure --cpu=i486 --prefix=/usr intl
paul@226 133 # make
paul@226 134 # strip src/mtpaint
paul@226 135 </pre>
paul@226 136 <h4>Install in rootfs</h4>
paul@226 137 <pre> # cp src/mtpaint $fs/usr/bin
paul@226 138 # cp po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
paul@226 139 # cp src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
paul@226 140 </pre>
paul@226 141 <a name="transmission"></a>
paul@226 142 <h3><font color="#6c0023">Transmission-0.72 - Lightweight BitTorrent client</font></h3>
paul@226 143 <p>
paul@226 144 Tranmission BitTorrent client is fast, lightweight and easy to use. The compiled package provides
paul@226 145 the command line client (transmissioncli) and a GTK+ client (transmission-gtk). We install the GTK+ client,
paul@226 146 the command line client is distributed as a separate SliTaz package (*.tazpkg).
paul@226 147 </p>
paul@226 148 <p>
paul@226 149 Website: <a href="http://transmission.m0k.org/">http://transmission.m0k.org/</a>
paul@226 150 </p>
paul@226 151 <pre> # wget http://download.m0k.org/transmission/files/Transmission-0.72.tar.gz
paul@226 152 # tar xzf Transmission-0.72.tar.gz
paul@226 153
paul@226 154 La version 0.72 est mal archivée:
paul@226 155 # mv "Transmission .72" Transmission-0.72
paul@226 156
paul@226 157 # cd Transmission-0.72
paul@226 158 # ./configure --prefix=/usr --disable-openssl
paul@226 159 # make
paul@226 160 # strip gtk/transmission-gtk
paul@226 161 # strip cli/transmissioncli
paul@226 162 </pre>
paul@226 163 <h4>Install in rootfs</h4>
paul@226 164 <pre> # cp gtk/transmission-gtk $fs/usr/bin
paul@226 165 # cp gtk/transmission.png $fs/usr/share/pixmaps
paul@226 166 # cp gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
paul@226 167 </pre>
paul@226 168 <a name="emelfm2"></a>
paul@226 169 <h3><font color="#6c0023">emelfm2-0.3.5 - File Manager</font></h3>
paul@226 170 <p>
paul@226 171 The emelFM2 application is a file manager providing lots of useful functions, such as mounting
paul@226 172 devices, a text viewer, opening a terminal in the current directory and so on.
paul@226 173 </p>
paul@226 174 <p>
paul@226 175 Website: <a href="http://emelfm2.net/">http://emelfm2.net/</a>
paul@226 176 </p>
paul@226 177 <pre> # cd ..
paul@226 178 # wget http://emelfm2.net/rel/emelfm2-0.3.5.tar.gz
paul@226 179 # tar xzf emelfm2-0.3.5.tar.gz
paul@226 180 # cd emelfm2-0.3.5
paul@226 181 # make PREFIX=/usr
paul@226 182 # make i18n PREFIX=/usr
paul@226 183 # make install PREFIX=$PWD/_pkg/usr
paul@226 184 # make install_i18n PREFIX=$PWD/_pkg/usr
paul@226 185 # strip -v _pkg/usr/bin/*
paul@226 186 # strip -v _pkg/usr/lib/emelfm2/plugins/*
paul@226 187 </pre>
paul@226 188 <h4>Install in rootfs</h4>
paul@226 189 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
paul@226 190 # cp -a _pkg/usr/lib/* $fs/usr/lib
paul@226 191 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
paul@226 192 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 193 </pre>
paul@226 194 <a name="geany"></a>
paul@226 195 <h3><font color="#6c0023">geany-0.11 - Integrated Development Environment</font></h3>
paul@226 196 <p>
paul@226 197 Geany is a simple, fast and light IDE offering colored syntax, tabs, autocompletion, aids to scripts and much more.
paul@226 198 </p>
paul@226 199 <p>
paul@226 200 Website: <a href="http://geany.uvena.de/">http://geany.uvena.de/</a>
paul@226 201 </p>
paul@226 202 <p>
paul@226 203 To compile and run geany on SliTaz, you must have the libstdc++ and libgcc1 libraries,
paul@226 204 both provided by gcc (we recompiled with gcc-4.1.1), but you can copy the libraries from the host system.
paul@226 205 </p>
paul@226 206 <p>
paul@226 207 Note: The force is with you, if you activate it via the option --enable-the-force.
paul@226 208 </p>
paul@226 209 <pre> # wget http://mesh.dl.sourceforge.net/sourceforge/geany/geany-0.11.tar.gz
paul@226 210 # tar xzf geany-0.11.tar.gz
paul@226 211 # cd geany-0.11
paul@226 212 # ./configure --prefix=/usr --mandir=/usr/share/man \
paul@226 213 --disable-vte --enable-the-force
paul@226 214 # make
paul@226 215 # make DESTDIR=$PWD/_pkg install
paul@226 216 # strip -v _pkg/usr/bin/*
paul@226 217 </pre>
paul@226 218 <h4>Install in rootfs</h4>
paul@226 219 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
paul@226 220 # cp -a _pkg/usr/share/geany $fs/usr/share
paul@226 221 # cp _pkg/usr/share/pixmaps/geany.png $fs/usr/share/pixmaps
paul@226 222 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 223 </pre>
paul@226 224 <a name="gftp"></a>
paul@226 225 <h3><font color="#6c0023">gftp-2.0.18 - Fast and simple FTP client</font></h3>
paul@226 226 <p>
paul@226 227 The gFTP application is a fast and efficient FTP client with a GTK+ graphical interface.
paul@226 228 Note that we compile without support for a text interface and ssl support. Get, untar,
paul@226 229 configure, compile and install.
paul@226 230 </p>
paul@226 231 <p>
paul@226 232 Website: <a href="http://www.gftp.org/">http://www.gftp.org/</a>
paul@226 233 </p>
paul@226 234 <pre> # wget http://www.gftp.org/gftp-2.0.18.tar.gz
paul@226 235 # tar xzf gftp-2.0.18.tar.gz
paul@226 236 # cd gftp-2.0.18
paul@226 237 # ./configure --prefix=/usr --mandir=/usr/share/man \
paul@226 238 --disable-ssl --disable-textport \
paul@226 239 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
paul@226 240 # make
paul@226 241 # make DESTDIR=$PWD/_pkg install
paul@226 242 # strip _pkg/usr/bin/*
paul@226 243 </pre>
paul@226 244 <h4>Install in rootfs</h4>
paul@226 245 <p>
paul@226 246 SliTaz provides only the GTK+ client on the CD. Note that <code>gftp</code> is just a small
paul@226 247 script that detects the environment (console or X) and launches the right interface:
paul@226 248 </p>
paul@226 249 <pre> # cp _pkg/usr/bin/gftp $fs/usr/bin
paul@226 250 # cp _pkg/usr/bin/gftp-gtk $fs/usr/bin
paul@226 251 # cp -a _pkg/usr/share/gftp $fs/usr/share
paul@226 252 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
paul@226 253 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 254 </pre>
paul@226 255 <p>
paul@226 256 To save a little space and avoid duplication, you can delete 'COPYING' (17 KB)
paul@226 257 included in /usr/share/gftp. The GNU licence is already present in /usr/share/licence,
paul@226 258 if you want to create a symbolic link.
paul@226 259 </p>
paul@226 260 <a name="xpad"></a>
paul@226 261 <h3><font color="#6c0023">xpad-2.12 - Mini note taking application</font></h3>
paul@226 262 <p>
paul@226 263 The Xpad application can quickly take notes via various customizable (GTK+) windows.
paul@226 264 </p>
paul@226 265 <p>
paul@226 266 Website: <a href="http://xpad.sourceforge.net/">http://xpad.sourceforge.net/</a>
paul@226 267 </p>
paul@226 268 <pre> # wget http://surfnet.dl.sourceforge.net/sourceforge/xpad/xpad-2.12.tar.bz2
paul@226 269 # tar xjf xpad-2.12.tar.bz2
paul@226 270 # cd xpad-2.12
paul@226 271 # ./configure --prefix=/usr --mandir=/usr/share/man \
paul@226 272 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
paul@226 273 # make
paul@226 274 # make DESTDIR=$PWD/_pkg install
paul@226 275 # strip _pkg/usr/bin/*
paul@226 276 </pre>
paul@226 277 <h4>Install in rootfs</h4>
paul@226 278 <pre> # cp _pkg/usr/bin/xpad $fs/usr/bin
paul@226 279 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
paul@226 280 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
paul@226 281 </pre>
paul@226 282
paul@226 283
paul@226 284 <!-- End of content -->
paul@226 285 </div>
paul@226 286
paul@226 287 <!-- Footer. -->
paul@226 288 <div id="footer">
paul@226 289 <div class="footer-right"></div>
paul@226 290 <a href="#top">Top of the page</a> |
paul@226 291 <a href="index.html">Table of contents</a>
paul@226 292 </div>
paul@226 293
paul@226 294 <div id="copy">
paul@226 295 Copyright &copy; 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
paul@226 296 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
paul@226 297 Documentation is under
paul@226 298 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
paul@226 299 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
paul@226 300 </div>
paul@226 301
paul@226 302 </body>
paul@226 303 </html>