Jumat, 23 Oktober 2009

Membuat Usplash

Langkah-langkah
1. Download file throbber dan konfigurasi theme usplash (ada di download area). Ekstrak ke folder usplash.

# mkdir usplash
# unzip throbber.zip usplash/

2. Kopikan file usplash.png anda

# cp -f usplash.png usplash/

3. Meng-generate .c source

# cd usplash/
# pngtousplash usplash.png > usplash.c
# pngtousplash throbber_back.png > throbber_back.c
# pngtousplash throbber_fore.png > throbber_fore.c

4. Meng-compile .c menjadi file object .o

# gcc -g -Wall -fPIC -o usplash.o -c usplash.c
# gcc -g -Wall -fPIC -o throbber_back.o -c throbber_back.c
# gcc -g -Wall -fPIC -o throbber_fore.o -c throbber_fore.c
# gcc -g -Wall -fPIC -o usplash-theme.o -c usplash-theme.c

5. Meng-compile semua file object menjadi shared library

# gcc -g -Wall -fPIC -shared -o usplash.so *.o

6. Kopi file usplah-default ke

# root-live/usr/lib/usplash/usplash-artwork.so
# initrd/usr/lib/usplash/usplash-artwork.so

Jangan lupa mengeset nilai resolusi usplash di usplash.conf, baik di /etc/usplash.conf maupun di initrd.

0 komentar:

Posting Komentar