From d7a3ef545c7099780832a91f97f8dbf7b6ddf302 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Dec 2014 11:11:52 +0100 Subject: [PATCH] lxsession: update to 0.5.2. --- .../lxsession/patches/fix-lxsession-db.patch | 53 ------------------- srcpkgs/lxsession/template | 15 ++---- 2 files changed, 5 insertions(+), 63 deletions(-) delete mode 100644 srcpkgs/lxsession/patches/fix-lxsession-db.patch diff --git a/srcpkgs/lxsession/patches/fix-lxsession-db.patch b/srcpkgs/lxsession/patches/fix-lxsession-db.patch deleted file mode 100644 index d51dd2ac903..00000000000 --- a/srcpkgs/lxsession/patches/fix-lxsession-db.patch +++ /dev/null @@ -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"); - } - diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template index 3832c7928fc..3d5b8c2bb63 100644 --- a/srcpkgs/lxsession/template +++ b/srcpkgs/lxsession/template @@ -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 " distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz" -checksum=7a9c58a0d9cecc943441c0e8c4cde06516d14b7e370f9aeacebafd9f386badc7 - -post_install() { - # avoid duplicate lxpolkit invocation - rm -rf ${DESTDIR}/etc -} +checksum=2d55e9ea80057fe5ffd68a91a15bb004ad7bf019e50807a8bb9b342115efaada