website view en/doc/scratchbook/gtk-apps.html @ rev 866
pt: add contribution box
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Jun 07 12:49:59 2011 -0300 (2011-06-07) |
parents | 0e0bc81a63ee |
children | c2f9d5d0f314 |
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="gtk-apps.html#about">About this chapter.</a> - Description and environmental variable ($fs)</li>
38 <li><a href="gtk-apps.html#leafpad">leafpad-0.8.10</a> - Simple text editor.</li>
39 <li><a href="gtk-apps.html#gitmail">gitmail-0.4</a> - Ghost In The Mail, mail client.</li>
40 <li><a href="gtk-apps.html#gqview">gqview-2.0.4</a> - Images Manager.</li>
41 <li><a href="gtk-apps.html#mtpaint">mtpaint-3.11</a> - Image creation and processing.</li>
42 <li><a href="gtk-apps.html#transmission">Transmission-0.72</a> - Lightweight BitTorrent client.</li>
43 <li><a href="gtk-apps.html#emelfm2">emelfm2-0.3.5</a> - File Manager.</li>
44 <li><a href="gtk-apps.html#geany">geany-0.11</a> - Integrated Development Environment.</li>
45 <li><a href="gtk-apps.html#gftp">gftp-2.0.18</a> - Fast and simple FTP client.</li>
46 <li><a href="gtk-apps.html#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,
172 such as the mounting of devices, a text viewer, opening a terminal in the current
173 directory and so on.
174 </p>
175 <p>
176 Website: <a href="http://emelfm2.net/">http://emelfm2.net/</a>
177 </p>
178 <pre> # cd ..
179 # wget http://emelfm2.net/rel/emelfm2-0.3.5.tar.gz
180 # tar xzf emelfm2-0.3.5.tar.gz
181 # cd emelfm2-0.3.5
182 # make PREFIX=/usr
183 # make i18n PREFIX=/usr
184 # make install PREFIX=$PWD/_pkg/usr
185 # make install_i18n PREFIX=$PWD/_pkg/usr
186 # strip -v _pkg/usr/bin/*
187 # strip -v _pkg/usr/lib/emelfm2/plugins/*
188 </pre>
189 <h4>Install in rootfs</h4>
190 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
191 # cp -a _pkg/usr/lib/* $fs/usr/lib
192 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
193 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
194 </pre>
195 <a name="geany"></a>
196 <h3><font color="#6c0023">geany-0.11 - Integrated Development Environment</font></h3>
197 <p>
198 Geany is a simple, fast and light IDE offering colored syntax, tabs, autocompletion, aids to scripts and much more.
199 </p>
200 <p>
201 Website: <a href="http://geany.uvena.de/">http://geany.uvena.de/</a>
202 </p>
203 <p>
204 To compile and run geany on SliTaz, you must have the libstdc++ and libgcc1 libraries,
205 both provided by gcc (we recompiled with gcc-4.1.1), but you can copy the libraries from the host system.
206 </p>
207 <p>
208 Note: The force is with you, if you activate it via the option --enable-the-force.
209 </p>
210 <pre> # wget http://mesh.dl.sourceforge.net/sourceforge/geany/geany-0.11.tar.gz
211 # tar xzf geany-0.11.tar.gz
212 # cd geany-0.11
213 # ./configure --prefix=/usr --mandir=/usr/share/man \
214 --disable-vte --enable-the-force
215 # make
216 # make DESTDIR=$PWD/_pkg install
217 # strip -v _pkg/usr/bin/*
218 </pre>
219 <h4>Install in rootfs</h4>
220 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
221 # cp -a _pkg/usr/share/geany $fs/usr/share
222 # cp _pkg/usr/share/pixmaps/geany.png $fs/usr/share/pixmaps
223 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
224 </pre>
225 <a name="gftp"></a>
226 <h3><font color="#6c0023">gftp-2.0.18 - Fast and simple FTP client</font></h3>
227 <p>
228 The gFTP application is a fast and efficient FTP client with a GTK+ graphical interface.
229 Note that we compile without support for a text interface and ssl support. Get, untar,
230 configure, compile and install.
231 </p>
232 <p>
233 Website: <a href="http://www.gftp.org/">http://www.gftp.org/</a>
234 </p>
235 <pre> # wget http://www.gftp.org/gftp-2.0.18.tar.gz
236 # tar xzf gftp-2.0.18.tar.gz
237 # cd gftp-2.0.18
238 # ./configure --prefix=/usr --mandir=/usr/share/man \
239 --disable-ssl --disable-textport \
240 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
241 # make
242 # make DESTDIR=$PWD/_pkg install
243 # strip _pkg/usr/bin/*
244 </pre>
245 <h4>Install in rootfs</h4>
246 <p>
247 SliTaz provides only the GTK+ client on the CD. Note that <code>gftp</code> is just a small
248 script that detects the environment (console or X) and launches the right interface:
249 </p>
250 <pre> # cp _pkg/usr/bin/gftp $fs/usr/bin
251 # cp _pkg/usr/bin/gftp-gtk $fs/usr/bin
252 # cp -a _pkg/usr/share/gftp $fs/usr/share
253 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
254 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
255 </pre>
256 <p>
257 To save a little space and avoid duplication, you can delete 'COPYING' (17 KB)
258 included in /usr/share/gftp. The GNU licence is already present in /usr/share/licence,
259 if you want to create a symbolic link.
260 </p>
261 <a name="xpad"></a>
262 <h3><font color="#6c0023">xpad-2.12 - Mini note taking application</font></h3>
263 <p>
264 The Xpad application can quickly take notes via various customizable (GTK+) windows.
265 </p>
266 <p>
267 Website: <a href="http://xpad.sourceforge.net/">http://xpad.sourceforge.net/</a>
268 </p>
269 <pre> # wget http://surfnet.dl.sourceforge.net/sourceforge/xpad/xpad-2.12.tar.bz2
270 # tar xjf xpad-2.12.tar.bz2
271 # cd xpad-2.12
272 # ./configure --prefix=/usr --mandir=/usr/share/man \
273 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
274 # make
275 # make DESTDIR=$PWD/_pkg install
276 # strip _pkg/usr/bin/*
277 </pre>
278 <h4>Install in rootfs</h4>
279 <pre> # cp _pkg/usr/bin/xpad $fs/usr/bin
280 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
281 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
282 </pre>
285 <!-- End of content -->
286 </div>
288 <!-- Footer. -->
289 <div id="footer">
290 <div class="footer-right"></div>
291 <a href="gtk-apps.html#top">Top of the page</a> |
292 <a href="index.html">Table of contents</a>
293 </div>
295 <div id="copy">
296 Copyright © <span class="year"></span> <a href="http://www.slitaz.org/en/">SliTaz</a> -
297 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
298 Documentation is under
299 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
300 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
301 </div>
303 </body>
304 </html>