diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-02-19 19:59:55 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-02-19 19:59:55 +0000 |
commit | d626197f00b14ab46bf2b847e9bd45fff81ed3e6 (patch) | |
tree | 89f878daf3aac17a2d86fc209aae1779addf647e /net-irc/xchat-gnome/files | |
parent | Added ~mips to KEYWORDS. (diff) | |
download | historical-d626197f00b14ab46bf2b847e9bd45fff81ed3e6.tar.gz historical-d626197f00b14ab46bf2b847e9bd45fff81ed3e6.tar.bz2 historical-d626197f00b14ab46bf2b847e9bd45fff81ed3e6.zip |
Revision bump for optional libnotify and libsexy support.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-irc/xchat-gnome/files')
3 files changed, 70 insertions, 0 deletions
diff --git a/net-irc/xchat-gnome/files/0.9-libnotify-api-changes.patch b/net-irc/xchat-gnome/files/0.9-libnotify-api-changes.patch new file mode 100644 index 000000000000..796d1135e5fe --- /dev/null +++ b/net-irc/xchat-gnome/files/0.9-libnotify-api-changes.patch @@ -0,0 +1,13 @@ +Index: plugins/notify-osd/notify-osd.c +=================================================================== +--- plugins/notify-osd/notify-osd.c (revision 10007) ++++ plugins/notify-osd/notify-osd.c (revision 10065) +@@ -66,7 +66,7 @@ + + notify = notify_notification_new (summary, message, NULL, NULL); + notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL); +- notify_notification_set_icon_data_from_pixbuf (notify, notify_icon); ++ notify_notification_set_icon_from_pixbuf (notify, notify_icon); + if (!notify_notification_show (notify, &error)) { + g_warning (_("Failed to send notification: %s\n"), error->message); + g_error_free (error); diff --git a/net-irc/xchat-gnome/files/0.9-libnotify-libsexy-configure.patch b/net-irc/xchat-gnome/files/0.9-libnotify-libsexy-configure.patch new file mode 100644 index 000000000000..ac9ba7c25067 --- /dev/null +++ b/net-irc/xchat-gnome/files/0.9-libnotify-libsexy-configure.patch @@ -0,0 +1,54 @@ +diff -Nur xchat-gnome-0.9.orig/configure.ac xchat-gnome-0.9/configure.ac +--- xchat-gnome-0.9.orig/configure.ac 2006-01-19 22:54:01.000000000 +0000 ++++ xchat-gnome-0.9/configure.ac 2006-02-19 17:57:55.394803381 +0000 +@@ -104,21 +104,42 @@ + + AM_CONDITIONAL([ENABLE_DBUS],[test "x$dbus" = "xyes"]) + ++AC_ARG_ENABLE([libsexy], ++ AS_HELP_STRING([--enable-libsexy],[Enable libsexy support]), ++ [enable_libsexy=$enableval libsexy=$enableval], ++ [enable_libsexy=no libsexy=no]) ++ + # libsexy soft dependency +-PKG_CHECK_MODULES([LIBSEXY], [libsexy >= $LIBSEXY_REQUIRED], libsexy=yes, libsexy=no) +-AC_SUBST([LIBSEXY_CFLAGS]) +-AC_SUBST([LIBSEXY_LIBS]) ++if test "x$enable_libsexy" = "xyes"; then ++ PKG_CHECK_MODULES([LIBSEXY], [libsexy >= $LIBSEXY_REQUIRED], libsexy=yes, libsexy=no) ++ AC_SUBST([LIBSEXY_CFLAGS]) ++ AC_SUBST([LIBSEXY_LIBS]) ++fi ++ + AM_CONDITIONAL([ENABLE_LIBSEXY],[test "x$libsexy" = "xyes"]) +-if test "x$libsexy" = xyes; then +- AC_DEFINE(HAVE_LIBSEXY, 1, [Enable libsexy]) ++ ++if test "x$enable_libsexy" = "xyes" && test "x$libsexy" != "xyes"; then ++ AC_MSG_ERROR([libsexy not found]) + fi + ++AC_ARG_ENABLE([libnotify], ++ AS_HELP_STRING([--enable-libnotify],[Enable libnotify support]), ++ [enable_libnotify=$enableval libnotify=$enableval], ++ [enable_libnotify=no libnotify=no]) ++ + # libnotify soft dependency +-PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $LIBNOTIFY_REQUIRED], libnotify=yes, libnotify=no) +-AC_SUBST([LIBNOTIFY_CFLAGS]) +-AC_SUBST([LIBNOTIFY_LIBS]) ++if test "x$enable_libnotify" = "xyes"; then ++ PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $LIBNOTIFY_REQUIRED], libnotify=yes, libnotify=no) ++ AC_SUBST([LIBNOTIFY_CFLAGS]) ++ AC_SUBST([LIBNOTIFY_LIBS]) ++fi ++ + AM_CONDITIONAL([ENABLE_LIBNOTIFY],[test "x$libnotify" = "xyes"]) + ++if test "x$enable_libnotify" = "xyes" && test "x$libnotify" != "xyes"; then ++ AC_MSG_ERROR([libnotify not found]) ++fi ++ + # GConf + AM_GCONF_SOURCE_2 + AC_PATH_PROG(GCONFTOOL, gconftool-2, no) diff --git a/net-irc/xchat-gnome/files/digest-xchat-gnome-0.9-r1 b/net-irc/xchat-gnome/files/digest-xchat-gnome-0.9-r1 new file mode 100644 index 000000000000..ec0c340f04ab --- /dev/null +++ b/net-irc/xchat-gnome/files/digest-xchat-gnome-0.9-r1 @@ -0,0 +1,3 @@ +MD5 607d36afbadd35a163464b3f39c93526 xchat-gnome-0.9.tar.bz2 1187552 +RMD160 60fae4853ad9a6b0497897e6002a94e5b0bc05d8 xchat-gnome-0.9.tar.bz2 1187552 +SHA256 bc97fcfc8999b4f35c00688dbe1ae7255cd5900e9b9442d835d6cfc21279806e xchat-gnome-0.9.tar.bz2 1187552 |