From 84fafe436fc069e2399670b7bfcab2b99acfc787 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 4 Jun 2015 07:35:27 +0700 Subject: [PATCH] cinnamon-screensaver: Remove webkit-dependent screensaver. Signed-off-by: Willy Sudiarto Raharjo --- cinnamon-screensaver/cinnamon-screensaver.SlackBuild | 4 ++++ cinnamon-screensaver/remove-webkit.patch | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 cinnamon-screensaver/remove-webkit.patch diff --git a/cinnamon-screensaver/cinnamon-screensaver.SlackBuild b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild index 1c27580..d6a1341 100644 --- a/cinnamon-screensaver/cinnamon-screensaver.SlackBuild +++ b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild @@ -71,6 +71,10 @@ 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 {} \; +# Removed webkit-dependent screensaver +rm -rf "data/screensavers/webkit@cinnamon.org" +patch -p1 < $CWD/remove-webkit.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \ diff --git a/cinnamon-screensaver/remove-webkit.patch b/cinnamon-screensaver/remove-webkit.patch new file mode 100644 index 0000000..f6452e2 --- /dev/null +++ b/cinnamon-screensaver/remove-webkit.patch @@ -0,0 +1,10 @@ +--- cinnamon-screensaver-2.6.3/configure.ac.orig 2015-06-04 07:46:11.089336633 +0700 ++++ cinnamon-screensaver-2.6.3/configure.ac 2015-06-04 07:46:41.493930910 +0700 +@@ -58,7 +58,6 @@ + gtk+-3.0 >= $GTK_REQUIRED_VERSION + dbus-glib-1 >= $DBUS_REQUIRED_VERSION + cinnamon-desktop >= $CINNAMON_DESKTOP_REQUIRED_VERSION) +-PKG_CHECK_MODULES([WEBKIT], [webkit2gtk-3.0],, [PKG_CHECK_MODULES([WEBKIT], [webkit2gtk-4.0])]) + AC_SUBST(CINNAMON_SCREENSAVER_CFLAGS) + AC_SUBST(CINNAMON_SCREENSAVER_LIBS) +