From fbfe20346cc6c8765a8b3c4b1fefd6595ea84ccc Mon Sep 17 00:00:00 2001 From: Roelof Wobben <[email protected]> Date: Tue, 11 Mar 2014 18:03:18 +0100 Subject: [PATCH] cinnamon-session-2.0.6-1-x86_64
-m Anew package: cinnamon-session --- source/gnome-extra/cinnamon-session/FrugalBuild | 34 ++++++++++++++++++++++ .../cinnamon-session/remove-sessionmigration.patch | 18 ++++++++++++ source/gnome-extra/cinnamon-session/timeout.patch | 25 ++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 source/gnome-extra/cinnamon-session/FrugalBuild create mode 100644 source/gnome-extra/cinnamon-session/remove-sessionmigration.patch create mode 100644 source/gnome-extra/cinnamon-session/timeout.patch diff --git a/source/gnome-extra/cinnamon-session/FrugalBuild b/source/gnome-extra/cinnamon-session/FrugalBuild new file mode 100644 index 0000000..3e42c57 --- /dev/null +++ b/source/gnome-extra/cinnamon-session/FrugalBuild @@ -0,0 +1,34 @@ +# Compiling time: 0.54 SBU +# Maintainer: Marius Cirsta , [email protected] +# Contributor: Roelof Wobben <[email protected]> + +options+=('asneeded') + +pkgname=cinnamon-session +pkgver=2.0.6 +pkgrel=1 +pkgdesc="The Cinnamon Session Handler" +url="http://cinnamon.linuxmint.com/" +depends=('gtk+3' 'upower' 'json-glib') +makedepends=('intltool' 'gnome-doc-utils' 'gobject-introspection>=1.36.0' 'gnome-common') +groups=('gnome-extra' 'cinnamon') +archs=('i686' 'x86_64') +_F_github_author=linuxmint +_F_github_name=cinnamon-session +_F_github_tag=y +_F_gnome_glib=y +Finclude github gnome-scriptlet +source=(${source[@]} remove-sessionmigration.patch timeout.patch) +Fconfopts+="-disable-schemas-compile --enable-systemd --disable-gconf" +sha1sums=('2a21f66e54d559d00608686188531d7730b6b960' \ + '65b07f44c9c0b0a3283a92794ac4c9bb18605d86' \ + '645433c4f078e628ebaf091c233b18262a541d91') + +build() + { + Funpack_github + Fbuild + Fbuild_gnome_scriptlet + } + +# optimization OK diff --git a/source/gnome-extra/cinnamon-session/remove-sessionmigration.patch b/source/gnome-extra/cinnamon-session/remove-sessionmigration.patch new file mode 100644 index 0000000..0016080 --- /dev/null +++ b/source/gnome-extra/cinnamon-session/remove-sessionmigration.patch @@ -0,0 +1,18 @@ +--- a/cinnamon-session/csm-session-fill.c ++++ b/cinnamon-session/csm-session-fill.c +@@ -228,15 +228,6 @@ + load_standard_apps (CsmManager *manager, + GKeyFile *keyfile) + { +- GError *error; +- +- g_debug ("fill: *** Executing user migration"); +- error = NULL; +- if(!g_spawn_command_line_sync ("session-migration", NULL, NULL, NULL, &error)) { +- g_warning ("Error while executing session-migration: %s", error->message); +- g_error_free (error); +- } +- + g_debug ("fill: *** Adding required components"); + handle_required_components (keyfile, !csm_manager_get_failsafe (manager), + append_required_components_helper, manager); diff --git a/source/gnome-extra/cinnamon-session/timeout.patch b/source/gnome-extra/cinnamon-session/timeout.patch new file mode 100644 index 0000000..d44a1c1 --- /dev/null +++ b/source/gnome-extra/cinnamon-session/timeout.patch @@ -0,0 +1,25 @@ +diff -u -r cinnamon-session-3.4.2/cinnamon-session/csm-session-fill.c cinnamon-session-3.4.2-timeout/cinnamon-session/csm-session-fill.c +--- cinnamon-session-3.4.2/cinnamon-session/csm-session-fill.c 2012-02-02 15:33:01.000000000 +0100 ++++ cinnamon-session-3.4.2-timeout/cinnamon-session/csm-session-fill.c 2012-06-10 02:39:46.184348462 +0200 +@@ -36,7 +36,7 @@ + #define CSM_KEYFILE_DEFAULT_PROVIDER_PREFIX "DefaultProvider" + + /* See https://bugzilla.gnome.org/show_bug.cgi?id=641992 for discussion */ +-#define CSM_RUNNABLE_HELPER_TIMEOUT 3000 /* ms */ ++#define CSM_RUNNABLE_HELPER_TIMEOUT 10000 /* ms */ + + typedef void (*GsmFillHandleProvider) (const char *provides, + const char *default_provider, +diff -u -r cinnamon-session-3.4.2/tools/cinnamon-session-check-accelerated.c cinnamon-session-3.4.2-timeout/tools/cinnamon-session-check-accelerated.c +--- cinnamon-session-3.4.2/tools/cinnamon-session-check-accelerated.c 2011-03-22 21:31:43.000000000 +0100 ++++ cinnamon-session-3.4.2-timeout/tools/cinnamon-session-check-accelerated.c 2012-06-10 02:42:08.013218006 +0200 +@@ -30,7 +30,7 @@ + #include <X11/Xatom.h> + + /* Wait up to this long for a running check to finish */ +-#define PROPERTY_CHANGE_TIMEOUT 5000 ++#define PROPERTY_CHANGE_TIMEOUT 12000 + + /* Values used for the _GNOME_SESSION_ACCELERATED root window property */ + #define NO_ACCEL 0 + -- 1.9.0
_______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
