rev |
line source |
al@1285
|
1 <!DOCTYPE html>
|
al@1285
|
2 <html lang="en">
|
paul@226
|
3 <head>
|
al@1285
|
4 <meta charset="UTF-8">
|
al@1285
|
5 <title>SliTaz Scratchbook - GTK+ Applications</title>
|
al@1285
|
6 <meta name="description" content="">
|
al@1285
|
7 <meta name="expires" content="never">
|
al@1285
|
8 <meta name="modified" content="2008-11-22 17:00:00">
|
al@1285
|
9 <meta name="publisher" content="www.slitaz.org">
|
al@1285
|
10 <meta name="author" content="Christophe Lincoln">
|
al@1285
|
11 <link rel="shortcut icon" href="favicon.ico">
|
al@1285
|
12 <link rel="stylesheet" href="book.css">
|
paul@226
|
13 </head>
|
al@1285
|
14 <body>
|
paul@226
|
15
|
paul@226
|
16 <!-- Header and quick navigation -->
|
paul@226
|
17 <div id="header">
|
paul@226
|
18 <div id="quicknav" align="right">
|
al@1285
|
19 <span id="top"></span>
|
paul@226
|
20 <a href="gtk-libs.html">Gtk-libs</a> |
|
paul@226
|
21 <a href="index.html">Table of contents</a>
|
paul@226
|
22 </div>
|
paul@226
|
23 <h1><font color="#3e1220">SliTaz Scratchbook</font></h1>
|
paul@226
|
24 </div>
|
paul@226
|
25
|
paul@226
|
26 <!-- Content. -->
|
paul@226
|
27 <div id="content">
|
paul@226
|
28 <div class="content-right"></div>
|
paul@226
|
29
|
paul@226
|
30
|
paul@226
|
31 <h2><font color="#df8f06">GTK+ Applications</font></h2>
|
paul@226
|
32 <p>
|
paul@226
|
33 Compiliation and installation of applications using GTK+.
|
paul@226
|
34 </p>
|
paul@226
|
35 <ul>
|
al@1006
|
36 <li><a href="#about">About this chapter.</a> - Description and environmental variable ($fs)</li>
|
al@1006
|
37 <li><a href="#leafpad">leafpad-0.8.10</a> - Simple text editor.</li>
|
al@1006
|
38 <li><a href="#gitmail">gitmail-0.4</a> - Ghost In The Mail, mail client.</li>
|
al@1006
|
39 <li><a href="#gqview">gqview-2.0.4</a> - Images Manager.</li>
|
al@1006
|
40 <li><a href="#mtpaint">mtpaint-3.11</a> - Image creation and processing.</li>
|
al@1006
|
41 <li><a href="#transmission">Transmission-0.72</a> - Lightweight BitTorrent client.</li>
|
al@1006
|
42 <li><a href="#emelfm2">emelfm2-0.3.5</a> - File Manager.</li>
|
al@1006
|
43 <li><a href="#geany">geany-0.11</a> - Integrated Development Environment.</li>
|
al@1006
|
44 <li><a href="#gftp">gftp-2.0.18</a> - Fast and simple FTP client.</li>
|
al@1006
|
45 <li><a href="#xpad">xpad-2.12</a> - Mini note taking application.</li>
|
paul@226
|
46 </ul>
|
al@1285
|
47
|
al@1285
|
48 <h3 id="about">About</h3>
|
paul@226
|
49 <p>
|
paul@226
|
50 This chapter describes the commands for the compilation and installation of
|
paul@226
|
51 GTK+ applications distributed by default on the SliTaz LiveCD. The installation
|
paul@226
|
52 of GTK+ libraries are described in the
|
paul@226
|
53 <a href="http://www.slitaz.org/doc/scratchbook/gtk-libs.html">GTK+ libs</a> chapter.
|
paul@226
|
54 </p>
|
paul@226
|
55 <h4>Environmental variable ($fs)</h4>
|
paul@226
|
56 <p>
|
paul@226
|
57 If you do not specify any path to the rootfs directory, export the environmental variable:
|
paul@226
|
58 </p>
|
paul@226
|
59 <pre> # export fs=$PWD/rootfs
|
paul@226
|
60 </pre>
|
paul@226
|
61 <p>
|
paul@226
|
62 To check:
|
paul@226
|
63 </p>
|
paul@226
|
64 <pre> # echo $fs
|
paul@226
|
65 </pre>
|
al@1285
|
66
|
al@1285
|
67 <h3 id="leafpad">leafpad-0.8.10 - Simple text editor</h3>
|
paul@226
|
68 <p>
|
paul@226
|
69 Website: <a href="http://tarot.freeshell.org/leafpad/">http://tarot.freeshell.org/leafpad/</a>
|
paul@226
|
70 </p>
|
paul@226
|
71 <pre> # wget http://savannah.nongnu.org/download/leafpad/leafpad-0.8.10.tar.gz
|
paul@226
|
72 # tar xzf leafpad-0.8.10.tar.gz
|
paul@226
|
73 # cd leafpad-0.8.10
|
paul@226
|
74 # ./configure --prefix=/usr
|
paul@226
|
75 # make
|
paul@226
|
76 # make DESTDIR=$PWD/_pkg install
|
paul@226
|
77 # strip _pkg/usr/bin/*
|
paul@226
|
78 </pre>
|
paul@226
|
79 <h4>Install in rootfs</h4>
|
paul@226
|
80 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
|
paul@226
|
81 # cp _pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
|
paul@226
|
82 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
|
paul@226
|
83 </pre>
|
al@1285
|
84
|
al@1285
|
85 <h3 id="gitmail">gitmail-0.4 - Ghost In The Mail, mail client</h3>
|
paul@226
|
86 <p>
|
paul@226
|
87 Ghost in the mail allows users to quickly and easily send mail via SMTP.
|
paul@226
|
88 </p>
|
paul@226
|
89 <p>
|
paul@226
|
90 Website: <a href="http://gitmail.sourceforge.net/">http://gitmail.sourceforge.net/</a>
|
paul@226
|
91 </p>
|
paul@226
|
92 <pre> # wget http://switch.dl.sourceforge.net/sourceforge/gitmail/gitmail-0.4.tar.gz
|
paul@226
|
93 # tar xzf gitmail-0.4.tar.gz
|
paul@226
|
94 # cd GhostInTheMail-0.4
|
paul@226
|
95 # ./configure --prefix=/usr
|
paul@226
|
96 # make
|
paul@226
|
97 # make DESTDIR=$PWD/_pkg \
|
paul@226
|
98 gitmaildocdir=/usr/share/doc/GhostInTheMail \
|
paul@226
|
99 install
|
paul@226
|
100 # strip _pkg/usr/bin/*
|
paul@226
|
101 </pre>
|
paul@226
|
102 <h4>Install in rootfs</h4>
|
paul@226
|
103 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
|
paul@226
|
104 </pre>
|
al@1285
|
105
|
al@1285
|
106 <h3 id="gqview">gqview-2.0.4 - Images Manager</h3>
|
paul@226
|
107 <p>
|
paul@226
|
108 Website: <a href="http://gqview.sourceforge.net/">http://gqview.sourceforge.net/</a>
|
paul@226
|
109 </p>
|
paul@226
|
110 <pre> # wget http://belnet.dl.sourceforge.net/sourceforge/gqview/gqview-2.0.4.tar.gz
|
paul@226
|
111 # tar xzf gqview-2.0.4.tar.gz
|
paul@226
|
112 # cd gqview-2.0.4
|
paul@226
|
113 # ./configure --prefix=/usr --mandir=/usr/share/man
|
paul@226
|
114 # make
|
paul@226
|
115 # make DESTDIR=$PWD/_pkg install
|
paul@226
|
116 # strip _pkg/usr/bin/*
|
paul@226
|
117 </pre>
|
paul@226
|
118 <h4>Install in rootfs</h4>
|
paul@226
|
119 <pre> # cp _pkg/usr/bin/* $fs/usr/bin
|
paul@226
|
120 # cp _pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
|
paul@226
|
121 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
|
paul@226
|
122 </pre>
|
al@1285
|
123
|
al@1285
|
124 <h3 id="mtpaint">mtpaint-3.11 - Image creation and processing</h3>
|
paul@226
|
125 <p>
|
paul@226
|
126 Website: <a href="http://mtpaint.sourceforge.net/">http://mtpaint.sourceforge.net/</a>
|
paul@226
|
127 </p>
|
paul@226
|
128 <pre> # wget http://switch.dl.sourceforge.net/sourceforge/mtpaint/mtpaint-3.11.tar.bz2
|
paul@226
|
129 # tar xjf mtpaint-3.11.tar.bz2
|
paul@226
|
130 # cd mtpaint-3.11
|
paul@226
|
131 # ./configure --cpu=i486 --prefix=/usr intl
|
paul@226
|
132 # make
|
paul@226
|
133 # strip src/mtpaint
|
paul@226
|
134 </pre>
|
paul@226
|
135 <h4>Install in rootfs</h4>
|
paul@226
|
136 <pre> # cp src/mtpaint $fs/usr/bin
|
paul@226
|
137 # cp po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
|
paul@226
|
138 # cp src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
|
paul@226
|
139 </pre>
|
al@1285
|
140
|
al@1285
|
141 <h3 id="transmission">Transmission-0.72 - Lightweight BitTorrent client</h3>
|
paul@226
|
142 <p>
|
paul@226
|
143 Tranmission BitTorrent client is fast, lightweight and easy to use. The compiled package provides
|
paul@226
|
144 the command line client (transmissioncli) and a GTK+ client (transmission-gtk). We install the GTK+ client,
|
paul@226
|
145 the command line client is distributed as a separate SliTaz package (*.tazpkg).
|
paul@226
|
146 </p>
|
paul@226
|
147 <p>
|
paul@226
|
148 Website: <a href="http://transmission.m0k.org/">http://transmission.m0k.org/</a>
|
paul@226
|
149 </p>
|
paul@226
|
150 <pre> # wget http://download.m0k.org/transmission/files/Transmission-0.72.tar.gz
|
paul@226
|
151 # tar xzf Transmission-0.72.tar.gz
|
paul@226
|
152
|
al@1006
|
153 La version 0.72 est mal archivée:
|
paul@226
|
154 # mv "Transmission .72" Transmission-0.72
|
paul@226
|
155
|
paul@226
|
156 # cd Transmission-0.72
|
paul@226
|
157 # ./configure --prefix=/usr --disable-openssl
|
paul@226
|
158 # make
|
paul@226
|
159 # strip gtk/transmission-gtk
|
paul@226
|
160 # strip cli/transmissioncli
|
paul@226
|
161 </pre>
|
paul@226
|
162 <h4>Install in rootfs</h4>
|
paul@226
|
163 <pre> # cp gtk/transmission-gtk $fs/usr/bin
|
paul@226
|
164 # cp gtk/transmission.png $fs/usr/share/pixmaps
|
paul@226
|
165 # cp gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
|
paul@226
|
166 </pre>
|
al@1285
|
167
|
al@1285
|
168 <h3 id="emelfm2">emelfm2-0.3.5 - File Manager</h3>
|
paul@226
|
169 <p>
|
paul@228
|
170 The emelFM2 application is a file manager providing lots of useful functions,
|
paul@228
|
171 such as the mounting of devices, a text viewer, opening a terminal in the current
|
paul@228
|
172 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>
|
al@1285
|
194
|
al@1285
|
195 <h3 id="geany">geany-0.11 - Integrated Development Environment</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>
|
al@1285
|
224
|
al@1285
|
225 <h3 id="gftp">gftp-2.0.18 - Fast and simple FTP client</h3>
|
paul@226
|
226 <p>
|
paul@226
|
227 The gFTP application is a fast and efficient FTP client with a GTK+ graphical interface.
|
al@1285
|
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>
|
al@1285
|
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>
|
al@1285
|
260
|
al@1285
|
261 <h3 id="xpad">xpad-2.12 - Mini note taking application</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>
|
al@1006
|
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">
|
pascal@669
|
295 Copyright © <span class="year"></span> <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>
|