wok-current rev 14926

enna: add old default type for edc files.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 07 13:00:15 2013 +0000 (2013-08-07)
parents 5735e0b38f6f
children fd54f14fe0be
files enna/receipt
line diff
     1.1 --- a/enna/receipt	Wed Aug 07 10:48:47 2013 +0000
     1.2 +++ b/enna/receipt	Wed Aug 07 13:00:15 2013 +0000
     1.3 @@ -22,6 +22,19 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	while read name file; do
     1.8 +		sed -i "s/name: \"$name\";/&\n\ttype: RECT;/" \
     1.9 +			data/theme/default/$file.edc
    1.10 +	done <<EOT
    1.11 +clip			mainmenu
    1.12 +flags.video.clip	activity_video_flags
    1.13 +flags.audio.clip	activity_video_flags
    1.14 +flags.clip		activity_video_flags
    1.15 +flags.studio.clip	activity_video_flags
    1.16 +flags.media.clip	activity_video_flags
    1.17 +panel.clip		activity_video_infos
    1.18 +endclip			elm
    1.19 +EOT
    1.20  	sed -i 's/Elm_Genlist_Item /Elm_Genlist_Item_Type /g' src/bin/*.[hc]
    1.21  	sed -i 's|curl/types|curl/curl|' src/bin/url_utils.c
    1.22  	sed -i	-e 's/\(elm_genlist_item_insert_after.*\)after/\1NULL, after/' \