parent
f4808c7fc0
commit
97d702d3c7
@ -1,5 +1,4 @@
|
||||
AUX xneur-0.12.0-libnotify-0.7.patch 942 RMD160 7b387ed208aca4bda8c486357a3bdc96c6dd0599 SHA1 65ca63a725ec95cc71538bd0debca394be434b38 SHA256 a47904e04aac0167d0afe8fd9aa63f24acef65755bfc63744d98342c1538e295
|
||||
DIST xneur-0.12.0.tar.bz2 1088554 RMD160 0e5fa4012b69c4e82f7bcefe3e3c478f5500487a SHA1 aff607938f1cc1f7bd38b41b53ea8bf70a4db376 SHA256 962660306f138de44fbfcb458fffac59ce32000a49e2314e4f0460a98ac93327
|
||||
EBUILD xneur-0.12.0-r1.ebuild 2520 RMD160 ee0dabd6912e4dff9c500fe0045a6345e3ab9d3d SHA1 39056ec4c43885fddb0593491fcccc6e80069ec5 SHA256 1a654990ccb906fe42611d174b7dd3467b66c0bbac7edef9710e778545155200
|
||||
MISC ChangeLog 2422 RMD160 bcd4f006ceb5d69ba776f4d8f5d9e8c348c269fc SHA1 96467c8dcd2c5a7ddc0708a3028f6ea303a1ebd9 SHA256 865a64517f56b1b19b7d2f6a5a48d6fb35ca7eabcd692727a5de6f16ac48f6f2
|
||||
MISC metadata.xml 474 RMD160 4973d641049a2ff4fee27892be5fe67647bad186 SHA1 0208c219f21a0d4c7cd84ba5962e7f2901426f4a SHA256 dfe27aab6e4b47d75ab37a7d4e07f936e5e3577ce277dfd8c0eb0493b813d09e
|
||||
AUX 0.15.0-select-gtk.patch 1656 RMD160 2b9469eaa20c1c6bccc372d4ca2893b0825dc38d SHA1 9ea7718ae3fcf7173a6dd49d1f8f0f1d1ebefbbb SHA256 d674c760251f8cec10692ec2688bc364b69291e3ebcd69f8c63d499c4535129a
|
||||
DIST xneur-0.15.0.tar.bz2 1136568 RMD160 4e112bc286a5be4afe1bd32b63989a7ccf23bd26 SHA1 46795bebb7787d9f6fa092005ffefce423bc7c3c SHA256 ebedf81ac2c8510d60e235ca66c7ed73c306b22b5b3164981a628950b5cb3e70
|
||||
EBUILD xneur-0.15.0.ebuild 3042 RMD160 a7b192f3e0fa8ee9dd505a99e927a0037dfb101c SHA1 e6185512fde8344897480814f4cc8e51f17fe2ab SHA256 f061257ce539e79d5ce3d7db5885a0fd45e4ee7761c940c48ef4a39095283e58
|
||||
MISC ChangeLog 2671 RMD160 8b9c0a8c837cd5b3c34c66bd6ab517117bb91d72 SHA1 b53523b037f8e61589488e12dd4bdc71180bd83c SHA256 e6a342d7c7d5b159d9810afa894e6c6e300b086c5c71e154326ba2002a34ba99
|
||||
|
@ -0,0 +1,48 @@
|
||||
--- configure.in.orig 2011-12-06 19:43:49.934493120 +0100
|
||||
+++ configure.in 2011-12-06 19:43:57.365437555 +0100
|
||||
@@ -192,16 +192,28 @@
|
||||
AC_ARG_WITH(libnotify, [ --without-libnotify Compile without libnotify message support])
|
||||
if test "x$with_libnotify" != "xno"; then
|
||||
|
||||
- AC_ARG_WITH(gtk, [ --with-gtk Compile with additional GTK support])
|
||||
- if test "x$with_gtk" == "xyes"; then
|
||||
- PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
|
||||
- if test "x$found_gtk" = "xno"; then
|
||||
- PKG_CHECK_MODULES(GTK, [gtk+-2.0])
|
||||
- fi
|
||||
+ AC_ARG_WITH(gtk, [ --with-gtk[[=ARG]] Compile with additional GTK support ARG=[[yes|no|gtk2|gtk3]] [[default=no]]])
|
||||
+ if test "x$with_gtk" != "xno"; then
|
||||
+ if test "x$with_gtk" = "x"; then
|
||||
+ with_gtk="gtk3"
|
||||
+ fi
|
||||
+
|
||||
+ case $with_gtk in
|
||||
+ gtk2)
|
||||
+ PKG_CHECK_MODULES(GTK, [gtk+-2.0], found_gtk="yes", found_gtk="no")
|
||||
+ ;;
|
||||
+ gtk3|yes)
|
||||
+ PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
|
||||
+ ;;
|
||||
+ *)
|
||||
+ AC_MSG_ERROR([Unsupported Gtk+ selected, --with-gtk=[[yes|no|gtk2|gtk3]]])
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
+ PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.0])
|
||||
+ AC_DEFINE(WITH_LIBNOTIFY, 1, [Define if you want libnotify message support])
|
||||
fi
|
||||
|
||||
- PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.0])
|
||||
- AC_DEFINE(WITH_LIBNOTIFY, 1, [Define if you want libnotify message support])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(plugins, [ --without-plugins Compile without plugins support])
|
||||
@@ -331,7 +343,7 @@
|
||||
fi
|
||||
|
||||
if test "x$with_popup" != "xno"; then
|
||||
- if test "x$with_gtk" == "xyes"; then
|
||||
+ if test "x$found_gtk" == "xyes"; then
|
||||
cat <<EOF
|
||||
GTK compiler flags: $GTK_CFLAGS
|
||||
GTK linker flags: $GTK_LIBS
|
@ -1,28 +0,0 @@
|
||||
diff -ru xneur-0.12.0-orig/lib/notify/popup.c xneur-0.12.0/lib/notify/popup.c
|
||||
--- xneur-0.12.0-orig/lib/notify/popup.c 2011-01-27 05:25:42.000000000 -0500
|
||||
+++ xneur-0.12.0/lib/notify/popup.c 2011-03-12 02:21:20.411001315 -0500
|
||||
@@ -27,6 +27,10 @@
|
||||
|
||||
#include <libnotify/notify.h>
|
||||
|
||||
+#ifndef NOTIFY_CHECK_VERSION /* macro did not exist before libnotify-0.5.2 */
|
||||
+# define NOTIFY_CHECK_VERSION(x,y,z) 0
|
||||
+#endif
|
||||
+
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -73,8 +77,12 @@
|
||||
popup_body->header = popup_body->content;
|
||||
popup_body->content = NULL;
|
||||
}
|
||||
-
|
||||
+
|
||||
+#if NOTIFY_CHECK_VERSION(0,7,0)
|
||||
+ NotifyNotification *notify = notify_notification_new(popup_body->header, popup_body->content, icon);
|
||||
+#else
|
||||
NotifyNotification *notify = notify_notification_new(popup_body->header, popup_body->content, icon, NULL);
|
||||
+#endif
|
||||
|
||||
notify_notification_set_category(notify, type);
|
||||
notify_notification_set_urgency(notify, urgency);
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
|
||||
<use>
|
||||
<flag name='aplay'>Use aplay from <pkg>media-sound/alsa-utils</pkg> for
|
||||
playing sounds</flag>
|
||||
<flag name='keylogger'>Enable keylogger support (logs all text into html;
|
||||
<pkg>x11-misc/gxneur</pkg> allows to view this text)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in new issue