cinnamon-screensaver: Remove webkit-dependent screensaver.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-06-04 07:35:27 +07:00
parent a130ce6943
commit 84fafe436f
2 changed files with 14 additions and 0 deletions

View file

@ -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 \

View file

@ -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)