From 13d522beee6ee3110c6c188c92709784c7e48c4a Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Fri, 30 Jun 2017 11:55:09 +0700 Subject: desktop/compton-conf: Added category patch. Signed-off-by: Willy Sudiarto Raharjo --- desktop/compton-conf/compton-conf.SlackBuild | 6 ++++-- desktop/compton-conf/desktop_entry.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 desktop/compton-conf/desktop_entry.patch (limited to 'desktop') diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index 96897ce36e..955690666b 100644 --- a/desktop/compton-conf/compton-conf.SlackBuild +++ b/desktop/compton-conf/compton-conf.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for compton-conf. # -# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM="compton-conf" VERSION=${VERSION:-0.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,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 {} \; +patch -p1 < $CWD/desktop_entry.patch + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release diff --git a/desktop/compton-conf/desktop_entry.patch b/desktop/compton-conf/desktop_entry.patch new file mode 100644 index 0000000000..303d89fa76 --- /dev/null +++ b/desktop/compton-conf/desktop_entry.patch @@ -0,0 +1,11 @@ +diff -uprNEBZ --suppress-blank-empty a/compton-conf.desktop.in b/compton-conf.desktop.in +--- a/compton-conf.desktop.in 2015-11-27 11:29:17.187956000 -0600 ++++ b/compton-conf.desktop.in 2015-11-27 11:32:12.851906393 -0600 +@@ -6,6 +6,6 @@ Comment=Configure Compton window effects + TryExec=compton-conf + Exec=compton-conf + Icon=preferences-system-windows +-Categories=Settings;DesktopSettings;Qt;LXQt; ++Categories=Settings;DesktopSettings;Qt;X-LXQt; + + #TRANSLATIONS_DIR=translations -- cgit v1.2.3