From c0985d6c87e1e2f5a719f8f59357dbd233cc2226 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 5 Nov 2018 21:16:38 +0700 Subject: [PATCH] cinnamon-settings-daemon: Updated for version 4.0.0. Signed-off-by: Willy Sudiarto Raharjo --- cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild index e811de3..85ed055 100644 --- a/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild +++ b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cinnamon-settings-daemon -VERSION=${VERSION:-3.8.5} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_csb} @@ -71,6 +71,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "s|UpDeviceLevel battery_level|UpDeviceClass battery_level|g" plugins/power/csd-power-manager.c + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \