lxsession: update to 0.5.2.

This commit is contained in:
Juan RP 2014-12-07 11:11:52 +01:00
parent 4253a193ed
commit d7a3ef545c
2 changed files with 5 additions and 63 deletions

View file

@ -1,53 +0,0 @@
--- lxsession-db/desktop-files-backend.vala.orig 2014-10-17 18:54:57.000000000 +0200
+++ lxsession-db/desktop-files-backend.vala 2014-10-19 20:50:49.587801950 +0200
@@ -254,16 +254,8 @@
{
foreach (string folder in default_available)
{
- var dir_log = File.new_for_path (folder);
- if (dir_log.query_exists ())
- {
- message ("Scanning folder: %s", folder);
- list_desktop_files.begin (folder, "available");
- }
- else
- {
- message ("%s doesn't exist. Pass", folder);
- }
+ message ("Scanning folder: %s", folder);
+ list_desktop_files.begin (folder, "available");
}
}
else
@@ -323,21 +315,21 @@
}
}
}
-
- if (mode == "installed")
- {
- finish_scanning_installed();
- }
- else if (mode == "available")
- {
- finish_scanning_available();
- }
-
}
catch (Error err)
{
stderr.printf ("Error: list_files failed: %s\n", err.message);
}
+
+ if (mode == "installed")
+ {
+ finish_scanning_installed();
+ }
+ else if (mode == "available")
+ {
+ finish_scanning_available();
+ }
+
message ("Finishing scanning\n");
}

View file

@ -1,11 +1,11 @@
# Template file for 'lxsession'
pkgname=lxsession
version=0.5.1
revision=2
version=0.5.2
revision=1
build_style=gnu-configure
configure_args="--enable-buildin-clipboard"
configure_args="--enable-buildin-clipboard --enable-buildin-polkit"
hostmakedepends="pkg-config intltool vala-devel"
makedepends="dbus-glib-devel gtk+-devel polkit-devel"
makedepends="dbus-glib-devel gtk+-devel polkit-devel libunique1-devel"
depends="hicolor-icon-theme"
replaces="lxpolkit>=0"
short_desc="LXDE X11 Session Manager"
@ -13,9 +13,4 @@ homepage="http://lxde.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
checksum=7a9c58a0d9cecc943441c0e8c4cde06516d14b7e370f9aeacebafd9f386badc7
post_install() {
# avoid duplicate lxpolkit invocation
rm -rf ${DESTDIR}/etc
}
checksum=2d55e9ea80057fe5ffd68a91a15bb004ad7bf019e50807a8bb9b342115efaada