wok rev 16715

libfm: add forgotten modules and Sakura support, remove garbage MIME info; pcmanfm: use full translated original .desktop files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 29 18:52:28 2014 +0300 (2014-05-29)
parents 9cd79296bc67
children 6f8fd1c4de21
files libfm/receipt pcmanfm/receipt pcmanfm/stuff/applications/pcmanfm-pref.desktop pcmanfm/stuff/applications/pcmanfm.desktop
line diff
     1.1 --- a/libfm/receipt	Thu May 29 17:22:30 2014 +0300
     1.2 +++ b/libfm/receipt	Thu May 29 18:52:28 2014 +0300
     1.3 @@ -43,14 +43,15 @@
     1.4  	cp -a $install/etc $fs
     1.5  	cp -a $install/usr/bin $fs/usr
     1.6  	cp -a $install/usr/lib/*.so* $fs/usr/lib
     1.7 +	cp -a $install/usr/lib/libfm $fs/usr/lib
     1.8  	cp -a $install/usr/share/libfm $fs/usr/share
     1.9 -	cp -a $install/usr/share/mime $fs/usr/share
    1.10  	cp -a $install/usr/share/applications $fs/usr/share
    1.11 +
    1.12 +	# add Sakura terminal
    1.13 +	cat >> $fs/usr/share/libfm/terminals.list << EOT
    1.14 +
    1.15 +[sakura]
    1.16 +open_arg=-e
    1.17 +desktop_id=sakura.desktop
    1.18 +EOT
    1.19  }
    1.20 -
    1.21 -post_install()
    1.22 -{
    1.23 -	# update mime-cache
    1.24 -	echo "Updating mime-types database"
    1.25 -	chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
    1.26 -}
     2.1 --- a/pcmanfm/receipt	Thu May 29 17:22:30 2014 +0300
     2.2 +++ b/pcmanfm/receipt	Thu May 29 18:52:28 2014 +0300
     2.3 @@ -37,9 +37,10 @@
     2.4  {
     2.5  	mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
     2.6  	cp -a $install/usr/bin $fs/usr
     2.7 +	cp -a $install/usr/share/applications $fs/usr/share
     2.8  	cp -a $install/usr/share/pcmanfm $fs/usr/share
     2.9  	cp -a $stuff/default $fs/etc/xdg/pcmanfm
    2.10  
    2.11 -	# XDG autostart desktop file (lxsession will use it automaticaly)
    2.12 +	# XDG autostart desktop file (lxsession will use it automatically)
    2.13  	cp -a $stuff/autostart $fs/etc/xdg
    2.14  }
     3.1 --- a/pcmanfm/stuff/applications/pcmanfm-pref.desktop	Thu May 29 17:22:30 2014 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,9 +0,0 @@
     3.4 -[Desktop Entry]
     3.5 -Type=Application
     3.6 -Name=Desktop Wallpaper
     3.7 -Name[fr]=Fond d'écran
     3.8 -Name[ru]=Фон рабочего стола
     3.9 -Name[zh_CN]=桌面壁纸
    3.10 -Exec=pcmanfm --desktop-pref
    3.11 -Icon=preferences-desktop-wallpaper
    3.12 -Categories=Settings;DesktopSettings;
     4.1 --- a/pcmanfm/stuff/applications/pcmanfm.desktop	Thu May 29 17:22:30 2014 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,14 +0,0 @@
     4.4 -[Desktop Entry]
     4.5 -Type=Application
     4.6 -Name=PCMan File Manager
     4.7 -Name[fr]=Gestionnaire de fichiers
     4.8 -Name[pt]=Gerenciador de Arquivos
     4.9 -Name[pt_BR]=Gerenciador de Arquivos
    4.10 -Name[ru]=Файловый менеджер PCMan
    4.11 -Name[zh_CN]=PCMan 文件管理器
    4.12 -Name[zh_TW]=PCMan 檔案管理程式
    4.13 -Exec=pcmanfm %F
    4.14 -Icon=pcmanfm
    4.15 -StartupNotify=true
    4.16 -MimeType=inode/directory;
    4.17 -Categories=GTK;System;FileTools;FileManager;