cinnamon-session: Upgraded to 4.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2019-06-30 23:48:09 +07:00
parent 43829b26a0
commit 0d02206aae
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 2 additions and 24 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for cinnamon-session
# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cinnamon-session
VERSION=${VERSION:-4.0.0}
VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_csb}
@ -72,7 +72,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/timeout.patch
patch -p1 < $CWD/meson.patch
sed -i "s|<upower.h>|<libupower-glib/upower.h>|g" cinnamon-session/csm-consolekit.c
sed -i "s|<upower.h>|<libupower-glib/upower.h>|g" cinnamon-session/csm-logout-dialog.c

View file

@ -1,21 +0,0 @@
--- cinnamon-session-3.8.1/cinnamon-session/meson.build.old 2018-04-25 19:32:35.259283056 +0700
+++ cinnamon-session-3.8.1/cinnamon-session/meson.build 2018-04-25 19:37:46.064298856 +0700
@@ -77,6 +77,7 @@
xext,
xrender,
xtest,
+ upower_old,
# elogind,
],
link_with: [
@@ -86,7 +87,9 @@
install: true,
)
-
+# We only support old upower
+# https://bugzilla.gnome.org/show_bug.cgi?id=710383
+upower_old = dependency('upower-glib', version: '<0.99.0', required: false)
# test('inhibit',
# executable('test-inhibit',