From: Elan Ruusamäe Date: Sat, 22 Dec 2012 18:03:33 +0000 (+0200) Subject: caja does stat() on inexistent default background and eats lots of cpu X-Git-Tag: auto/th/mate-file-manager-1.5.2-0.4~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=2f0046ef182111db28646918132a1b49ddf70715;p=packages%2Fcaja.git caja does stat() on inexistent default background and eats lots of cpu suggest mate-backgrounds background to avoid that ... lstat64("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", 0xbfc4b500) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) lstat64("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", 0xbfc4b500) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) lstat64("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", 0xbfc4b500) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", F_OK) = -1 ENOENT (No such file or directory) lstat64("/usr/share/pixmaps/backgrounds/mate/desktop/Stripes.png", 0xbfc4b500) = -1 ENOENT (No such file or directory) ... --- diff --git a/mate-file-manager.spec b/mate-file-manager.spec index da0eb29..9e9f33e 100644 --- a/mate-file-manager.spec +++ b/mate-file-manager.spec @@ -5,7 +5,7 @@ Summary: File manager for MATE Name: mate-file-manager Version: 1.5.2 -Release: 0.3 +Release: 0.4 License: GPLv2+ and LGPLv2+ Group: X11/Applications URL: http://mate-desktop.org @@ -41,6 +41,8 @@ Requires: shared-mime-info # the main binary links against libcaja-extension.so # don't depend on soname, rather on exact version Requires: %{name}-extensions = %{version}-%{release} +Suggests: mate-backgrounds +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Caja (mate-file-manager) is the file manager and graphical shell for