summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-02-19 19:59:55 +0000
committerSven Wegener <swegener@gentoo.org>2006-02-19 19:59:55 +0000
commitd626197f00b14ab46bf2b847e9bd45fff81ed3e6 (patch)
tree89f878daf3aac17a2d86fc209aae1779addf647e /net-irc/xchat-gnome
parentAdded ~mips to KEYWORDS. (diff)
downloadhistorical-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')
-rw-r--r--net-irc/xchat-gnome/ChangeLog9
-rw-r--r--net-irc/xchat-gnome/Manifest24
-rw-r--r--net-irc/xchat-gnome/files/0.9-libnotify-api-changes.patch13
-rw-r--r--net-irc/xchat-gnome/files/0.9-libnotify-libsexy-configure.patch54
-rw-r--r--net-irc/xchat-gnome/files/digest-xchat-gnome-0.9-r13
-rw-r--r--net-irc/xchat-gnome/xchat-gnome-0.9-r1.ebuild81
6 files changed, 177 insertions, 7 deletions
diff --git a/net-irc/xchat-gnome/ChangeLog b/net-irc/xchat-gnome/ChangeLog
index 724b74f53fdb..a2557927470b 100644
--- a/net-irc/xchat-gnome/ChangeLog
+++ b/net-irc/xchat-gnome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/xchat-gnome
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/ChangeLog,v 1.13 2006/02/19 16:39:40 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/ChangeLog,v 1.14 2006/02/19 19:59:55 swegener Exp $
+
+*xchat-gnome-0.9-r1 (19 Feb 2006)
+
+ 19 Feb 2006; Sven Wegener <swegener@gentoo.org>
+ +files/0.9-libnotify-api-changes.patch,
+ +files/0.9-libnotify-libsexy-configure.patch, +xchat-gnome-0.9-r1.ebuild:
+ Revision bump for optional libnotify and libsexy support.
*xchat-gnome-0.9 (19 Feb 2006)
diff --git a/net-irc/xchat-gnome/Manifest b/net-irc/xchat-gnome/Manifest
index 534a714232ec..454dbc71606b 100644
--- a/net-irc/xchat-gnome/Manifest
+++ b/net-irc/xchat-gnome/Manifest
@@ -1,25 +1,37 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 27356e1b935ea335c2c1d82ee5d3f22d ChangeLog 2291
-RMD160 be4c838bdfd7d05248bf223b3a324d15c39c3543 ChangeLog 2291
-SHA256 9943717f4f6bef094eb5477600fc4b5d4534423e8bbd0f977fb281958efd5e51 ChangeLog 2291
+MD5 2933584830b7ccb4b328acb94796c16f ChangeLog 2555
+RMD160 97463b6898f47ad0c9f80b34fcc311e6bdaab745 ChangeLog 2555
+SHA256 7bcc219d4dd83d6e214dca1aa9b019c739d6705c0a5b24e921e55696e2be8242 ChangeLog 2555
+MD5 354edd83113bb2f99ca8eed3f136f4fd files/0.9-libnotify-api-changes.patch 652
+RMD160 3091991b6fef3b7b3f6c032cae9cfd007df32953 files/0.9-libnotify-api-changes.patch 652
+SHA256 1a49c84bf75b4e1c720e29bee23c9324d7d85c88f1cfb51545c59f801fb04850 files/0.9-libnotify-api-changes.patch 652
+MD5 8cffb05e320e9b284e8b1d24561d0346 files/0.9-libnotify-libsexy-configure.patch 1935
+RMD160 f0e58cc4b802a29f1ae789a1800e173d735f36b8 files/0.9-libnotify-libsexy-configure.patch 1935
+SHA256 550446d93972664dcbfcf096a736ed8ee5ec89cbc86fc090607726d8b9fb33b7 files/0.9-libnotify-libsexy-configure.patch 1935
MD5 c5e82da1d480886fc63fc2011b5389b3 files/digest-xchat-gnome-0.9 253
RMD160 0a62933ffda8f7f80790f05a7f5f5e2f7db18021 files/digest-xchat-gnome-0.9 253
SHA256 0601c3dc3e8b9cb2819a6921d8bcca4fbfec2a1775ed3e310131959a29cca3d0 files/digest-xchat-gnome-0.9 253
+MD5 c5e82da1d480886fc63fc2011b5389b3 files/digest-xchat-gnome-0.9-r1 253
+RMD160 0a62933ffda8f7f80790f05a7f5f5e2f7db18021 files/digest-xchat-gnome-0.9-r1 253
+SHA256 0601c3dc3e8b9cb2819a6921d8bcca4fbfec2a1775ed3e310131959a29cca3d0 files/digest-xchat-gnome-0.9-r1 253
MD5 c7599a8531a6130925ead14ec1489bc5 files/xchat-gnome-0.7-scrollkeeper.patch 386
RMD160 60b7b4ece62cc519f0d42d2c1a18f4a6ead70158 files/xchat-gnome-0.7-scrollkeeper.patch 386
SHA256 b9c1b513c03819aa3ab65df551ed69d06214b4088a2cb70e7d4bd2490d4e0226 files/xchat-gnome-0.7-scrollkeeper.patch 386
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata.xml 160
+MD5 3baf80b49c5a56060a11652d5aed0628 xchat-gnome-0.9-r1.ebuild 2093
+RMD160 2557439cdf28adbad270cc764090118ace5c06e8 xchat-gnome-0.9-r1.ebuild 2093
+SHA256 aecb37de6ae27ff27511676f712a2e566816657d9e131b624018d00a26fa1c36 xchat-gnome-0.9-r1.ebuild 2093
MD5 e930ac7749a74c7c40307afe4fc37ce3 xchat-gnome-0.9.ebuild 1643
RMD160 69db7aa2d561e43a78f9cd897a43de4d1a2e9fa4 xchat-gnome-0.9.ebuild 1643
SHA256 da81244989e2e6c9fbae07389032733e3b84b7f273c47f5908984f156ee49bdf xchat-gnome-0.9.ebuild 1643
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFD+J9VI1lqEGTUzyQRArNGAJ4wEf++m/QWSOBXLyWomrO75mlvBACfdubR
-tBPnIDyNUoWeMI3xS1Y8UyU=
-=3W0V
+iD8DBQFD+M5DI1lqEGTUzyQRAoBgAKDTcBjjZa3Gxb/v9x0sQ0z1sb9AkQCdFf6H
+QlVfZH5qH3jhDgmYqLS8eGo=
+=v+he
-----END PGP SIGNATURE-----
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
diff --git a/net-irc/xchat-gnome/xchat-gnome-0.9-r1.ebuild b/net-irc/xchat-gnome/xchat-gnome-0.9-r1.ebuild
new file mode 100644
index 000000000000..db76e9edbf72
--- /dev/null
+++ b/net-irc/xchat-gnome/xchat-gnome-0.9-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/xchat-gnome-0.9-r1.ebuild,v 1.1 2006/02/19 19:59:55 swegener Exp $
+
+inherit gnome2 eutils autotools
+
+DESCRIPTION="GNOME frontend for the popular X-Chat IRC client"
+HOMEPAGE="http://xchat-gnome.navi.cx/"
+SRC_URI="http://releases.navi.cx/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="perl tcltk python ssl mmx ipv6 nls dbus libsexy libnotify"
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ >=gnome-base/libgnome-2
+ >=gnome-base/gconf-2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/libglade-2
+ >=gnome-base/gnome-vfs-2
+ >=x11-libs/gtk+-2.8
+ >=x11-libs/libsexy-0.1.4
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )
+ dbus? ( >=sys-apps/dbus-0.35 )
+ libsexy? ( x11-libs/libsexy )
+ libnotify? ( x11-libs/libnotify )"
+
+DEPEND="${RDEPEND}
+ gnome-base/gnome-common
+ >=dev-util/pkgconfig-0.7
+ nls? ( sys-devel/gettext )"
+
+# gnome-base/gnome-common is temporarily needed for re-creating configure
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/xchat-gnome-0.7-scrollkeeper.patch
+ epatch ${FILESDIR}/0.9-libnotify-libsexy-configure.patch
+ epatch ${FILESDIR}/0.9-libnotify-api-changes.patch
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ econf \
+ --enable-gnomefe \
+ --enable-shm \
+ $(use_enable ssl openssl) \
+ $(use_enable perl) \
+ $(use_enable python) \
+ $(use_enable tcltk tcl) \
+ $(use_enable mmx) \
+ $(use_enable ipv6) \
+ $(use_enable dbus) \
+ $(use_enable nls) \
+ $(use_enable libsexy) \
+ $(use_enable libnotify) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ addpredict /var/lib/scrollkeeper/scrollkeeper_docs
+
+ USE_DESTDIR="1" gnome2_src_install || die "gnome2_src_install failed"
+
+ # install plugin development header
+ insinto /usr/include/xchat-gnome
+ doins src/common/xchat-plugin.h || die "doins failed"
+
+ dodoc AUTHORS ChangeLog NEWS || die "dodoc failed"
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+}