summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2009-05-02 22:46:42 +0000
committerSerkan Kaba <serkan@gentoo.org>2009-05-02 22:46:42 +0000
commit1f7ce1b787385b204fe6c5ff802f8323f837715c (patch)
tree09106b8176a00f90f3452bb2d8d6d1ad4d082752 /x11-misc
parentstable amd64, bug 268254 (diff)
downloadhistorical-1f7ce1b787385b204fe6c5ff802f8323f837715c.tar.gz
historical-1f7ce1b787385b204fe6c5ff802f8323f837715c.tar.bz2
historical-1f7ce1b787385b204fe6c5ff802f8323f837715c.zip
Add patch for the server to report its sound capability when built with gstreamer USE flag. Fixes bug #268310.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/notification-daemon/ChangeLog10
-rw-r--r--x11-misc/notification-daemon/Manifest14
-rw-r--r--x11-misc/notification-daemon/files/notification-daemon-0.4.0-report-sound-capability.patch27
-rw-r--r--x11-misc/notification-daemon/notification-daemon-0.4.0-r1.ebuild42
4 files changed, 91 insertions, 2 deletions
diff --git a/x11-misc/notification-daemon/ChangeLog b/x11-misc/notification-daemon/ChangeLog
index f6e0fa7b6424..b016cec677dd 100644
--- a/x11-misc/notification-daemon/ChangeLog
+++ b/x11-misc/notification-daemon/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-misc/notification-daemon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/notification-daemon/ChangeLog,v 1.60 2009/04/27 16:07:27 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/notification-daemon/ChangeLog,v 1.61 2009/05/02 22:46:42 serkan Exp $
+
+*notification-daemon-0.4.0-r1 (02 May 2009)
+
+ 02 May 2009; Serkan Kaba <serkan@gentoo.org>
+ +notification-daemon-0.4.0-r1.ebuild,
+ +files/notification-daemon-0.4.0-report-sound-capability.patch:
+ Add patch for the server to report its sound capability when built with
+ gstreamer USE flag. Fixes bug #268310.
27 Apr 2009; Jeroen Roovers <jer@gentoo.org> notification-daemon-0.4.0:
Stable for HPPA (bug #263411).
diff --git a/x11-misc/notification-daemon/Manifest b/x11-misc/notification-daemon/Manifest
index 23497780336e..77be84243700 100644
--- a/x11-misc/notification-daemon/Manifest
+++ b/x11-misc/notification-daemon/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX notification-daemon-0.3.7-line-wrapping.patch 605 RMD160 4dc0f4e032f73ebd136e66a011fdd11cc8d6d714 SHA1 c06088339d611b706b8067f02e4c06c3e05191c6 SHA256 91ebac190d53247805c9220ef3cba3577617bf2cc90eac34ca90496aa12ae7d7
+AUX notification-daemon-0.4.0-report-sound-capability.patch 820 RMD160 f76bb8e8e495077216576b69d38d6714c9757298 SHA1 a55d4296987d4e0da052de65be01976002ed034d SHA256 ead94f505f0eda55964d1004477840ea16a5a586e6d1da29f93f48d071067269
DIST notification-daemon-0.3.7.tar.gz 412184 RMD160 04a226d939f6985ee73e4d603a95598cc8eff221 SHA1 14abf2431b1feb8c752926ff9cb84dc1b66823a6 SHA256 53d2f92c3d14423b49c2ff077855cf3987d38def963c82fd26fba5de379ca540
DIST notification-daemon-0.4.0.tar.gz 404178 RMD160 349ea655b4fd0a2b5987b59a5d1241158f20f9d5 SHA1 c978d780588f31f4e5b75487ad1f1b7498e51a07 SHA256 0c0c90ec7f2fc7fc5cbefba2e04df6ae311abc7ace23dd34f21dc063e119d808
EBUILD notification-daemon-0.3.7-r1.ebuild 985 RMD160 44ecf1104a83669c67cc4b5f1625004068ba7c28 SHA1 0409882b2bcb9dddcf4df454d978718628c6622c SHA256 d6e48296c2e6ac73d422c97293a3a023d0f3e7fe80e52c8a4d1432321ee6e21b
EBUILD notification-daemon-0.3.7.ebuild 836 RMD160 b0930063e7bfdf5e214ad5a25b597ef43e472494 SHA1 285347297bc9b004d499930c40f2d0a9bef5f0a7 SHA256 be20c7b5fde4c09af7f117f2713535ac3376d847bf9db1c19227f029ef3e2dcf
+EBUILD notification-daemon-0.4.0-r1.ebuild 1190 RMD160 21964cfc2c20cf9608ee1abc1b73f2fc96288e2f SHA1 1fceb8802f33ecc8aff4dcb260b0c6206a9d1f7d SHA256 d15aaa86db2a7a194db950e3b4f00b0ddd3264b0ec576c30e6aa5a220f0a6cd1
EBUILD notification-daemon-0.4.0.ebuild 1055 RMD160 3abcde5984cd270e8ba238999d9be9e4d7ebdfb0 SHA1 d1d4b787511cdefda08e6a2f58be3a13530d3301 SHA256 94f3e860d3e65d84f7a5f4852ed2e2426246263ab94c4eb1ded6062af5a39cbc
-MISC ChangeLog 9001 RMD160 ffd6f6bddbb0b2f0600ba09b501bd20b225ea0f5 SHA1 a5432596c98a76ce6cc84372e44fcbe3d2a9df62 SHA256 4caa31aaaa45488671a3dca25923f8dcea28807006d071a46d508afa376f0e7f
+MISC ChangeLog 9318 RMD160 97cb7d5d6e586f99a4e5614cb385b14cfd585e26 SHA1 edd6766c083047031ddf0dd1c314ef6b49e32925 SHA256 da078811694ec6d452d9c652b37b561d5e29886f2cc7ec125977bb9ea9d3b4a3
MISC metadata.xml 165 RMD160 f8f7dd761c5475651b8e04512e4f3dd043c41984 SHA1 47939c027699c5810cd3f25b4698719e9bd183d2 SHA256 dc2ad50713441100082e32ba283e9dd807b8fc46f69a5b9221fb9b89064deb31
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkn8zVQACgkQRh6X64ivZaKdjgCbBkOu6SBNwAvEUSKhvLt5gla9
+YicAniwNcZd+IV9eqh2J5vn++r5ZKvAx
+=lyn0
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/notification-daemon/files/notification-daemon-0.4.0-report-sound-capability.patch b/x11-misc/notification-daemon/files/notification-daemon-0.4.0-report-sound-capability.patch
new file mode 100644
index 000000000000..8e2c1f33f588
--- /dev/null
+++ b/x11-misc/notification-daemon/files/notification-daemon-0.4.0-report-sound-capability.patch
@@ -0,0 +1,27 @@
+diff -Nur notification-daemon-0.4.0/src/daemon/daemon.c notification-daemon-0.4.0_patched/src/daemon/daemon.c
+--- notification-daemon-0.4.0/src/daemon/daemon.c 2008-09-26 04:27:07.000000000 +0300
++++ notification-daemon-0.4.0_patched/src/daemon/daemon.c 2009-05-02 18:50:32.000000000 +0300
+@@ -1370,14 +1370,23 @@
+ gboolean
+ notify_daemon_get_capabilities(NotifyDaemon *daemon, char ***caps)
+ {
++#ifdef HAVE_GSTREAMER
++ *caps = g_new0(char *, 7);
++#else
+ *caps = g_new0(char *, 6);
++#endif
+
+ (*caps)[0] = g_strdup("actions");
+ (*caps)[1] = g_strdup("body");
+ (*caps)[2] = g_strdup("body-hyperlinks");
+ (*caps)[3] = g_strdup("body-markup");
+ (*caps)[4] = g_strdup("icon-static");
++#ifdef HAVE_GSTREAMER
++ (*caps)[5] = g_strdup("sound");
++ (*caps)[6] = NULL;
++#else
+ (*caps)[5] = NULL;
++#endif
+
+ return TRUE;
+ }
diff --git a/x11-misc/notification-daemon/notification-daemon-0.4.0-r1.ebuild b/x11-misc/notification-daemon/notification-daemon-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..153230874816
--- /dev/null
+++ b/x11-misc/notification-daemon/notification-daemon-0.4.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/notification-daemon/notification-daemon-0.4.0-r1.ebuild,v 1.1 2009/05/02 22:46:42 serkan Exp $
+
+WANT_AUTOMAKE="1.9"
+
+inherit gnome2 eutils
+
+DESCRIPTION="Notifications daemon"
+HOMEPAGE="http://www.galago-project.org/"
+SRC_URI="http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="gstreamer"
+
+RDEPEND=">=dev-libs/glib-2.4.0
+ >=x11-libs/gtk+-2.4.0
+ >=gnome-base/gconf-2.4.0
+ >=x11-libs/libsexy-0.1.3
+ >=dev-libs/dbus-glib-0.71
+ x11-libs/libwnck
+ ~x11-libs/libnotify-0.4.5
+ >=gnome-base/libglade-2
+ gstreamer? ( >=media-libs/gstreamer-0.10 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ >=sys-devel/gettext-0.14
+ !xfce-extra/notification-daemon-xfce
+ !x11-misc/xfce4-notifyd"
+
+src_unpack() {
+ gnome2_src_unpack
+ cd "${S}" || die "cd failed"
+ epatch "${FILESDIR}"/${P}-report-sound-capability.patch
+}
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS"
+ G2CONF="$(use_enable gstreamer sound gstreamer)"
+}