# HG changeset patch
# User Aleksej Bobylev <al.bobylev@gmail.com>
# Date 1401378748 -10800
# Node ID 3e67ad4646f64e5cdf113bcbcf4ed6ab7637d108
# Parent  9cd79296bc676312349f17de536b729b84e5b4b4
libfm: add forgotten modules and Sakura support, remove garbage MIME info; pcmanfm: use full translated original .desktop files.

diff -r 9cd79296bc67 -r 3e67ad4646f6 libfm/receipt
--- a/libfm/receipt	Thu May 29 17:22:30 2014 +0300
+++ b/libfm/receipt	Thu May 29 18:52:28 2014 +0300
@@ -43,14 +43,15 @@
 	cp -a $install/etc $fs
 	cp -a $install/usr/bin $fs/usr
 	cp -a $install/usr/lib/*.so* $fs/usr/lib
+	cp -a $install/usr/lib/libfm $fs/usr/lib
 	cp -a $install/usr/share/libfm $fs/usr/share
-	cp -a $install/usr/share/mime $fs/usr/share
 	cp -a $install/usr/share/applications $fs/usr/share
+
+	# add Sakura terminal
+	cat >> $fs/usr/share/libfm/terminals.list << EOT
+
+[sakura]
+open_arg=-e
+desktop_id=sakura.desktop
+EOT
 }
-
-post_install()
-{
-	# update mime-cache
-	echo "Updating mime-types database"
-	chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
-}
diff -r 9cd79296bc67 -r 3e67ad4646f6 pcmanfm/receipt
--- a/pcmanfm/receipt	Thu May 29 17:22:30 2014 +0300
+++ b/pcmanfm/receipt	Thu May 29 18:52:28 2014 +0300
@@ -37,9 +37,10 @@
 {
 	mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
 	cp -a $install/usr/bin $fs/usr
+	cp -a $install/usr/share/applications $fs/usr/share
 	cp -a $install/usr/share/pcmanfm $fs/usr/share
 	cp -a $stuff/default $fs/etc/xdg/pcmanfm
 
-	# XDG autostart desktop file (lxsession will use it automaticaly)
+	# XDG autostart desktop file (lxsession will use it automatically)
 	cp -a $stuff/autostart $fs/etc/xdg
 }
diff -r 9cd79296bc67 -r 3e67ad4646f6 pcmanfm/stuff/applications/pcmanfm-pref.desktop
--- a/pcmanfm/stuff/applications/pcmanfm-pref.desktop	Thu May 29 17:22:30 2014 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Desktop Wallpaper
-Name[fr]=Fond d'écran
-Name[ru]=Фон рабочего стола
-Name[zh_CN]=桌面壁纸
-Exec=pcmanfm --desktop-pref
-Icon=preferences-desktop-wallpaper
-Categories=Settings;DesktopSettings;
diff -r 9cd79296bc67 -r 3e67ad4646f6 pcmanfm/stuff/applications/pcmanfm.desktop
--- a/pcmanfm/stuff/applications/pcmanfm.desktop	Thu May 29 17:22:30 2014 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=PCMan File Manager
-Name[fr]=Gestionnaire de fichiers
-Name[pt]=Gerenciador de Arquivos
-Name[pt_BR]=Gerenciador de Arquivos
-Name[ru]=Файловый менеджер PCMan
-Name[zh_CN]=PCMan 文件管理器
-Name[zh_TW]=PCMan 檔案管理程式
-Exec=pcmanfm %F
-Icon=pcmanfm
-StartupNotify=true
-MimeType=inode/directory;
-Categories=GTK;System;FileTools;FileManager;