slitaz-doc-wiki-data view pages/en/scratchbook/gtk-apps.txt @ rev 45

Update pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 01 07:41:07 2011 +0000 (2011-05-01)
parents
children
line source
1 ====== GTK+ Applications ======
3 Compiliation and installation of applications using GTK+.
5 ===== About =====
7 This chapter describes the commands for the compilation and installation of GTK+ applications distributed by default on the SliTaz LiveCD. The installation of GTK+ libraries are described in the [[gtk-libs|GTK+ libs]] chapter.
9 ==== Environmental variable ($fs) ====
11 If you do not specify any path to the rootfs directory, export the environmental variable:
13 # export fs=$PWD/rootfs
15 To check:
17 # echo $fs
19 ===== leafpad-0.8.10 - Simple text editor =====
21 Website: http://tarot.freeshell.org/leafpad/
23 # wget http://savannah.nongnu.org/download/leafpad/leafpad-0.8.10.tar.gz
24 # tar xzf leafpad-0.8.10.tar.gz
25 # cd leafpad-0.8.10
26 # ./configure --prefix=/usr
27 # make
28 # make DESTDIR=$PWD/_pkg install
29 # strip _pkg/usr/bin/*
31 ==== Install in rootfs ====
33 # cp _pkg/usr/bin/* $fs/usr/bin
34 # cp _pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
35 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
37 ===== gitmail-0.4 - Ghost In The Mail, mail client =====
39 Ghost in the mail allows users to quickly and easily send mail via SMTP.
41 Website: http://gitmail.sourceforge.net/
43 # wget http://switch.dl.sourceforge.net/sourceforge/gitmail/gitmail-0.4.tar.gz
44 # tar xzf gitmail-0.4.tar.gz
45 # cd GhostInTheMail-0.4
46 # ./configure --prefix=/usr
47 # make
48 # make DESTDIR=$PWD/_pkg \
49 gitmaildocdir=/usr/share/doc/GhostInTheMail \
50 install
51 # strip _pkg/usr/bin/*
53 ==== Install in rootfs ====
55 # cp _pkg/usr/bin/* $fs/usr/bin
57 ===== gqview-2.0.4 - Images Manager =====
59 Website: http://gqview.sourceforge.net/
61 # wget http://belnet.dl.sourceforge.net/sourceforge/gqview/gqview-2.0.4.tar.gz
62 # tar xzf gqview-2.0.4.tar.gz
63 # cd gqview-2.0.4
64 # ./configure --prefix=/usr --mandir=/usr/share/man
65 # make
66 # make DESTDIR=$PWD/_pkg install
67 # strip _pkg/usr/bin/*
69 ==== Install in rootfs ====
71 # cp _pkg/usr/bin/* $fs/usr/bin
72 # cp _pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
73 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
75 ===== mtpaint-3.11 - Image creation and processing =====
77 Website: http://mtpaint.sourceforge.net/
79 # wget http://switch.dl.sourceforge.net/sourceforge/mtpaint/mtpaint-3.11.tar.bz2
80 # tar xjf mtpaint-3.11.tar.bz2
81 # cd mtpaint-3.11
82 # ./configure --cpu=i486 --prefix=/usr intl
83 # make
84 # strip src/mtpaint
86 ==== Install in rootfs ====
88 # cp src/mtpaint $fs/usr/bin
89 # cp po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
90 # cp src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
92 ===== Transmission-0.72 - Lightweight BitTorrent client =====
94 Tranmission BitTorrent client is fast, lightweight and easy to use. The compiled package provides the command line client (transmissioncli) and a GTK+ client (transmission-gtk). We install the GTK+ client, the command line client is distributed as a separate SliTaz package (*.tazpkg).
96 Website: http://transmission.m0k.org/
98 # wget http://download.m0k.org/transmission/files/Transmission-0.72.tar.gz
99 # tar xzf Transmission-0.72.tar.gz
101 The archived version 0.72 is wrong:
102 # mv "Transmission .72" Transmission-0.72
104 # cd Transmission-0.72
105 # ./configure --prefix=/usr --disable-openssl
106 # make
107 # strip gtk/transmission-gtk
108 # strip cli/transmissioncli
110 ==== Install in rootfs ====
112 # cp gtk/transmission-gtk $fs/usr/bin
113 # cp gtk/transmission.png $fs/usr/share/pixmaps
114 # cp gtk/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/transmission-gtk.mo
116 ===== emelfm2-0.3.5 - File Manager =====
118 The emelFM2 application is a file manager providing lots of useful functions, such as the mounting of devices, a text viewer, opening a terminal in the current directory and so on.
120 Website: http://emelfm2.net/
122 # cd ..
123 # wget http://emelfm2.net/rel/emelfm2-0.3.5.tar.gz
124 # tar xzf emelfm2-0.3.5.tar.gz
125 # cd emelfm2-0.3.5
126 # make PREFIX=/usr
127 # make i18n PREFIX=/usr
128 # make install PREFIX=$PWD/_pkg/usr
129 # make install_i18n PREFIX=$PWD/_pkg/usr
130 # strip -v _pkg/usr/bin/*
131 # strip -v _pkg/usr/lib/emelfm2/plugins/*
133 ==== Install in rootfs ====
135 # cp _pkg/usr/bin/* $fs/usr/bin
136 # cp -a _pkg/usr/lib/* $fs/usr/lib
137 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
138 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
140 ===== geany-0.11 - Integrated Development Environment =====
142 Geany is a simple, fast and light IDE offering colored syntax, tabs, autocompletion, aids to scripts and much more.
144 Website: http://geany.uvena.de/
146 To compile and run geany on SliTaz, you must have the libstdc++ and libgcc1 libraries, both provided by gcc (we recompiled with gcc-4.1.1), but you can copy the libraries from the host system.
148 Note: The force is with you, if you activate it via the option --enable-the-force.
150 # wget http://mesh.dl.sourceforge.net/sourceforge/geany/geany-0.11.tar.gz
151 # tar xzf geany-0.11.tar.gz
152 # cd geany-0.11
153 # ./configure --prefix=/usr --mandir=/usr/share/man \
154 --disable-vte --enable-the-force
155 # make
156 # make DESTDIR=$PWD/_pkg install
157 # strip -v _pkg/usr/bin/*
159 ==== Install in rootfs ====
161 # cp _pkg/usr/bin/* $fs/usr/bin
162 # cp -a _pkg/usr/share/geany $fs/usr/share
163 # cp _pkg/usr/share/pixmaps/geany.png $fs/usr/share/pixmaps
164 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
166 ===== gftp-2.0.18 - Fast and simple FTP client =====
168 The gFTP application is a fast and efficient FTP client with a GTK+ graphical interface. Note that we compile without support for a text interface and ssl support. Get, untar, configure, compile and install.
170 Website: http://www.gftp.org/
172 # wget http://www.gftp.org/gftp-2.0.18.tar.gz
173 # tar xzf gftp-2.0.18.tar.gz
174 # cd gftp-2.0.18
175 # ./configure --prefix=/usr --mandir=/usr/share/man \
176 --disable-ssl --disable-textport \
177 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
178 # make
179 # make DESTDIR=$PWD/_pkg install
180 # strip _pkg/usr/bin/*
182 ==== Install in rootfs ====
184 SliTaz provides only the GTK+ client on the CD. Note that "gftp" is just a small script that detects the environment (console or X) and launches the right interface:
186 # cp _pkg/usr/bin/gftp $fs/usr/bin
187 # cp _pkg/usr/bin/gftp-gtk $fs/usr/bin
188 # cp -a _pkg/usr/share/gftp $fs/usr/share
189 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
190 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale
192 To save a little space and avoid duplication, you can delete 'COPYING' (17 KB) included in /usr/share/gftp. The GNU licence is already present in /usr/share/licence, if you want to create a symbolic link.
194 ===== xpad-2.12 - Mini note taking application =====
196 The Xpad application can quickly take notes via various customizable (GTK+) windows.
198 Website: http://xpad.sourceforge.net/
200 # wget http://surfnet.dl.sourceforge.net/sourceforge/xpad/xpad-2.12.tar.bz2
201 # tar xjf xpad-2.12.tar.bz2
202 # cd xpad-2.12
203 # ./configure --prefix=/usr --mandir=/usr/share/man \
204 --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu
205 # make
206 # make DESTDIR=$PWD/_pkg install
207 # strip _pkg/usr/bin/*
209 ==== Install in rootfs ====
211 # cp _pkg/usr/bin/xpad $fs/usr/bin
212 # cp -a _pkg/usr/share/pixmaps $fs/usr/share
213 # cp -a _pkg/usr/share/locale/fr $fs/usr/share/locale