summaryrefslogtreecommitdiff
path: root/x11-plugins/compiz-plugins-extra/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-02-07 14:41:11 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-02-07 14:41:11 +0200
commit46aa2d6b49bd0bbcc030e1af9df6e317afeb8370 (patch)
tree160fdd4e9e701c6e840df5221e174e7eddd0c3f3 /x11-plugins/compiz-plugins-extra/files
parent3884e76580b91fd65999af449739dd4765455316 (diff)
Added plugins and compiz wm
Diffstat (limited to 'x11-plugins/compiz-plugins-extra/files')
-rw-r--r--x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch19
-rw-r--r--x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch21
2 files changed, 40 insertions, 0 deletions
diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch
new file mode 100644
index 00000000..9287d706
--- /dev/null
+++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch
@@ -0,0 +1,19 @@
+--- configure.ac 2011-04-21 15:51:08.000000000 +0400
++++ configure.ac 2012-08-16 21:37:46.894173595 +0400
+@@ -136,7 +136,15 @@
+ PKG_CHECK_MODULES(COMPIZMOUSEPOLL, compiz-mousepoll, [have_compiz_mousepoll=yes], [have_compiz_mousepoll=no])
+ AM_CONDITIONAL(SHOWMOUSE_PLUGIN, test "x$have_compiz_mousepoll" = "xyes")
+
+-PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no])
++AC_ARG_ENABLE(notifications, AS_HELP_STRING([--enable-notifications], [Build notification plugin]), [enable_notifications=$enableval], [enable_notification=auto])
++if test "$enable_notification" = auto; then
++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no])
++fi
++if test "$enable_notification" = yes; then
++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], AC_MSG_ERROR([Libnotify is not installed]))
++else
++ have_libnotify=no
++fi
+ AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes")
+ if test "$have_libnotify" = yes; then
+ AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin])
diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch
new file mode 100644
index 00000000..49bf16be
--- /dev/null
+++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch
@@ -0,0 +1,21 @@
+ configure.ac | 5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0a3d7c1..6f8356d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -150,11 +150,10 @@ if test x"$use_schemas" = x"yes"; then
+ fi
+ xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf`
+ AC_SUBST(xsltdir)
++else
++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes")
+ fi
+
+-AM_GCONF_SOURCE_2
+-
+-
+ AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes")
+ if test "$use_schemas" = yes; then
+ AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas])