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