aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cinnamon-session
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-06-01 13:57:25 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-06-01 13:57:25 +0200
commitc870cee6f509f6a7f21fc919906cfbc8fd2e698c (patch)
tree4e74886b175a867db2d2ecac955384461b22f9b4 /unmaintained/cinnamon-session
parent14ddd462353199b0282c3f7b211053b8cd46633b (diff)
downloadaports-c870cee6f509f6a7f21fc919906cfbc8fd2e698c.tar.bz2
aports-c870cee6f509f6a7f21fc919906cfbc8fd2e698c.tar.xz
testing/cinnamon-* move to unmaintained
Diffstat (limited to 'unmaintained/cinnamon-session')
-rw-r--r--unmaintained/cinnamon-session/APKBUILD60
-rw-r--r--unmaintained/cinnamon-session/cinnamon-session.post-deinstall6
-rw-r--r--unmaintained/cinnamon-session/cinnamon-session.post-install6
-rw-r--r--unmaintained/cinnamon-session/cinnamon-session.post-upgrade6
-rw-r--r--unmaintained/cinnamon-session/remove_sessionmigration.patch18
-rw-r--r--unmaintained/cinnamon-session/timeout.patch24
6 files changed, 120 insertions, 0 deletions
diff --git a/unmaintained/cinnamon-session/APKBUILD b/unmaintained/cinnamon-session/APKBUILD
new file mode 100644
index 0000000000..b7ff3c5693
--- /dev/null
+++ b/unmaintained/cinnamon-session/APKBUILD
@@ -0,0 +1,60 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=cinnamon-session
+pkgver=2.0.6
+pkgrel=2
+pkgdesc="The Cinnamon Session Handler"
+url="https://github.com/linuxmint/cinnamon-session"
+arch="all"
+license="GPL"
+depends="cinnamon-desktop"
+depends_dev="cinnamon-settings-daemon-dev libnotify-dev dbus-dev gtk+3.0-dev
+ json-glib-dev librsvg-dev libgnome-keyring-dev libsm-dev upower-dev mesa-dev"
+makedepends="$depends_dev automake autoconf libtool xtrans gnome-common intltool"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-session/archive/${pkgver}.tar.gz
+ remove_sessionmigration.patch
+ timeout.patch"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="caa16ec2cd89cc5466e4131ab096a3bd cinnamon-session-2.0.6.tar.gz
+e93d23d7a474dd741f3bb3035104d0a3 remove_sessionmigration.patch
+920db4d6afa20761339cd617cd6592f3 timeout.patch"
+sha256sums="831a63f31bd5c0f5dcaee833d3e43e50e8c9d540cbe931e71b8e0f79ede14567 cinnamon-session-2.0.6.tar.gz
+f3c0bc1a3debfaa686230f19ba371b08dd4645064d90ead0c34f465c7d416736 remove_sessionmigration.patch
+ef421a14814c7858490b3a806568ab4ec8a0dc21d390e94f801771c1261bb24a timeout.patch"
+sha512sums="2a17dc620d05b51bc2701f90dc95fb7413f4822e4641ede6eaefbc1397a9454bcbf0bdfc44866f4a629ff0a3ecb7452515488113ef4a2fe362ab29021212aa27 cinnamon-session-2.0.6.tar.gz
+a51ded6f09ac9efac2b201289635c63ae7ea0d1435ba50c60a33b9518752bb8e09ee76bf9c65a8b631cabd285e68cb8a5c7a8c56b5d98970611c0a6110872423 remove_sessionmigration.patch
+dc74cb6e98755e7ddad5e53a4be291ecd034d0537347ca1b436c6027beeefa711951a759057dc97200459a34cb0951340c7d7023e61422ea7cc7c42c33455ea7 timeout.patch"
diff --git a/unmaintained/cinnamon-session/cinnamon-session.post-deinstall b/unmaintained/cinnamon-session/cinnamon-session.post-deinstall
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon-session/cinnamon-session.post-deinstall
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
diff --git a/unmaintained/cinnamon-session/cinnamon-session.post-install b/unmaintained/cinnamon-session/cinnamon-session.post-install
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon-session/cinnamon-session.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
diff --git a/unmaintained/cinnamon-session/cinnamon-session.post-upgrade b/unmaintained/cinnamon-session/cinnamon-session.post-upgrade
new file mode 100644
index 0000000000..772791e6f3
--- /dev/null
+++ b/unmaintained/cinnamon-session/cinnamon-session.post-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Compiling glib schemas"
+
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
diff --git a/unmaintained/cinnamon-session/remove_sessionmigration.patch b/unmaintained/cinnamon-session/remove_sessionmigration.patch
new file mode 100644
index 0000000000..0016080dde
--- /dev/null
+++ b/unmaintained/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/unmaintained/cinnamon-session/timeout.patch b/unmaintained/cinnamon-session/timeout.patch
new file mode 100644
index 0000000000..f4f5b64caf
--- /dev/null
+++ b/unmaintained/cinnamon-session/timeout.patch
@@ -0,0 +1,24 @@
+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