add compiz and apropriate ebuilds with package.unmask file
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -136,9 +136,12 @@
|
||||
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, [have_libnotify=yes], [have_libnotify=no])
|
||||
+AC_ARG_WITH([libnotify], [AS_HELP_STRING([--without-libnotify], [Build without libnotify support @<:@default=auto@:>@])])
|
||||
+AS_IF([test "x$with_libnotify" != "xno"], [
|
||||
+ PKG_CHECK_MODULES(LIBNOTIFY, libnotify, [have_libnotify=yes], [have_libnotify=no])
|
||||
+])
|
||||
AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes")
|
||||
-if test "$have_libnotify" = yes; then
|
||||
+if test "x$have_libnotify" = "xyes"; then
|
||||
AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin])
|
||||
fi
|
||||
|
||||
--- src/notification/notification.c
|
||||
+++ src/notification/notification.c
|
||||
@@ -21,6 +21,11 @@
|
||||
|
||||
|
||||
#include <libnotify/notify.h>
|
||||
+
|
||||
+#ifndef NOTIFY_CHECK_VERSION
|
||||
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
@@ -103,7 +108,12 @@
|
||||
|
||||
n = notify_notification_new (logLevel,
|
||||
message,
|
||||
- iconUri, NULL);
|
||||
+ iconUri
|
||||
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
||||
+ );
|
||||
+#else
|
||||
+ , NULL);
|
||||
+#endif
|
||||
|
||||
notify_notification_set_timeout (n, nd->timeout);
|
||||
|
@@ -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])
|
Reference in New Issue
Block a user