bb file for ninja

Julian julian_chu at openmoko.com
Thu May 8 21:10:40 CEST 2008


Jeremy 提到:
> Carsten Haitzler (The Rasterman) wrote:
>>  On Sun, 4 May 2008 11:25:32 +0200 Koen Kooi 
> <k.kooi at student.utwente.nl> babbled:
>>
>>  you can install it in PREFIX/share/enlightenment/data/themes/ and it 
> will be
>>  perfectly fine and work. :) (where PREFIX is the install prefix of
>>  enlightenment - normally /usr (and in our case it is /usr).
> I was thinking install default.edj to PREFIX/share/etk/themes/ cause
> it's for etk theme.
> PREFIX/share/enlightenment/data/themes/ also works and better?
> 
> Regards.
> Jeremy

Hi all,

I hopes to use update-alternatives.
If install libetk-themes, the default.edj, a symbolic link, will refer
to original-default.edj.
If install etk-theme-ninja, the default.edj will refer to the
default.edj under ninja directory.

It keeps the original default.edj and its priority is lowest.
But it chages the structure of original theme directory a little bit.

It works like below

root at om-gta02:/# opkg install libetk-themes
Installing libetk-themes (1:0.1.0.042+cvs20080508-r0.02) to root...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t/libetk-themes_0.1.0.042+cvs20080508-r0.02_armv4t.ipk
Configuring libetk-themes
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/etk/themes/original-default.edj

root at om-gta02:/# opkg install etk-theme-ninja
Installing etk-theme-ninja (0.0.1+svnr3-r0) to root...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t/etk-theme-ninja_0.0.1+svnr3-r0_armv4t.ipk
Configuring etk-theme-ninja
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/ninja/default.edj

root at om-gta02:/# opkg remove etk-theme-ninja
Removing package etk-theme-ninja from root...
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/etk/themes/original-default.edj

root at om-gta02:/# opkg remove libetk-themes
Removing package libetk-themes from root...
update-alternatives: removing //usr/share/etk/themes/default.edj as no
more alternatives exist for it

Is it good or not?

Cheers,

-Julian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080509/c7dc1c60/signature.pgp


More information about the openmoko-devel mailing list