diff options
author | 2010-04-03 19:08:48 +0200 | |
---|---|---|
committer | 2010-04-03 19:08:48 +0200 | |
commit | 1c191ef585e808b0459b117d72d393378d198bce (patch) | |
tree | 745ed09b69e2a79c2d4b294768f3434834cb84d6 | |
parent | x11-themes/gtk-engines-equinox: (diff) | |
download | mrpouet-1c191ef585e808b0459b117d72d393378d198bce.tar.gz mrpouet-1c191ef585e808b0459b117d72d393378d198bce.tar.bz2 mrpouet-1c191ef585e808b0459b117d72d393378d198bce.zip |
gnome-extra/notify-osd:
* New package : notify on-screen-display notification agent
* This daemon is a replacement of notification-daemon
==> Don't worry it's DBus interface compatible with the API (libnotify)
==> So application which worked with the previous daemon should work with this one
3 files changed, 107 insertions, 0 deletions
diff --git a/gnome-extra/notify-osd/Manifest b/gnome-extra/notify-osd/Manifest new file mode 100644 index 0000000..3fa1eb8 --- /dev/null +++ b/gnome-extra/notify-osd/Manifest @@ -0,0 +1,3 @@ +AUX notify-osd-0.9.25-disable-automatic-testsuite-build.patch 1626 RMD160 de4387a06c87f10f7fcaf614cd1292f9cdd3c962 SHA1 93cb03fdb72edbf6e148aa8c8624ba8a8986a89a SHA256 9aa9e5cc79b3a4ab1a7454ec41de88ea6386e9106514b619cfa39496f6c4cb2d +DIST notify-osd-0.9.25.tar.gz 607601 RMD160 839345eed88528ab956eb7ee6578d851c2648a24 SHA1 146c97c8787326f25666fc9623b4417a5b4c9520 SHA256 64762a3909989adec01429c1d7a7310426a10f099b96ce4f38bd13004ed797e4 +EBUILD notify-osd-0.9.25.ebuild 1210 RMD160 4d34b365a9a94747b6017f806766b98bff60fb89 SHA1 d8f9e7a02b7b277b049b4430250b169be0cdf801 SHA256 8921e12f10b199ce613d6f5499c84bc08ff1afb2c18d1c2172c1b7c3382a0c19 diff --git a/gnome-extra/notify-osd/files/notify-osd-0.9.25-disable-automatic-testsuite-build.patch b/gnome-extra/notify-osd/files/notify-osd-0.9.25-disable-automatic-testsuite-build.patch new file mode 100644 index 0000000..7066470 --- /dev/null +++ b/gnome-extra/notify-osd/files/notify-osd-0.9.25-disable-automatic-testsuite-build.patch @@ -0,0 +1,52 @@ +From 5656a17634fe5032105075e3a5d9a38b50559486 Mon Sep 17 00:00:00 2001 +From: Romain Perier <mrpouet@gentoo.org> +Date: Sat, 3 Apr 2010 18:16:41 +0200 +Subject: [PATCH] Do not build testsuite as default (it may consume too much cpu for nothing) + +--- + Makefile.am | 5 ++++- + configure.in | 3 +++ + 2 files changed, 7 insertions(+), 1 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index b09eda1..307b6b4 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,9 +1,12 @@ + EXTRA_DIST = icons + +-SUBDIRS = src tests data examples ++SUBDIRS = src data examples + ++if BUILD_TESTS ++SUBDIRS += tests + test: check + tests: check + test-report: check + check-valgrind: all + cd tests && $(MAKE) $(AM_MAKEFLAGS) check-valgrind ++endif +diff --git a/configure.in b/configure.in +index fdc8020..e3858ee 100644 +--- a/configure.in ++++ b/configure.in +@@ -102,6 +102,8 @@ AC_ARG_WITH(examples, [ --with-examples=[[all/c/mono]] + demonstrating special features of notify-osd + there are Python-examples too, but they don't + need to be build]) ++AC_ARG_ENABLE(tests, [ --enable-tests ++ build testsuite and generate "make test" target to start them ], enable_tests=$enableval, enable_tests=no) + + c_examples=no + csharp_examples=no +@@ -122,6 +124,7 @@ if test "x$with_examples" = "xall"; then + AC_MSG_NOTICE([Build with C-sharp examples]) + fi + ++AM_CONDITIONAL(BUILD_TESTS, test "x$enable_tests" != "xno") + AM_CONDITIONAL(BUILD_C_EXAMPLES, test "x$c_examples" != "xno") + AM_CONDITIONAL(BUILD_MONO_EXAMPLES, test "x$csharp_examples" != "xno") + +-- +1.7.0.4 + diff --git a/gnome-extra/notify-osd/notify-osd-0.9.25.ebuild b/gnome-extra/notify-osd/notify-osd-0.9.25.ebuild new file mode 100644 index 0000000..337a5aa --- /dev/null +++ b/gnome-extra/notify-osd/notify-osd-0.9.25.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +GCONF_DEBUG="no" + +EAPI="2" + +inherit eutils gnome2 autotools + +DESCRIPTION="notify on-screen-display notification agent" +HOMEPAGE="https://launchpad.net/notify-osd" +SRC_URI="http://launchpad.net/${PN}/trunk/ubuntu-9.10-sru/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples test" + +RDEPEND=">=dev-libs/glib-2.16.0 + >=x11-libs/gtk+-2.14 + gnome-base/gconf + x11-libs/libwnck + >=x11-libs/libnotify-0.4.5 + >=dev-libs/dbus-glib-0.76 + !x11-misc/notification-daemon" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +#FIXME: tests/test-dbus.c segfaults on the second test case, probably because the assertion +# is executed (but I'm not sure), have a look at this crash later +# if it's not fixed on upstream +RESTRICT="test" + +# ChangeLog redirects you to "bzr log" (which is ugly imho) +DOCS="AUTHORS NEWS README TODO" + +pkg_setup() { + G2CONF="$(use_with examples examples all) + $(use_enable test tests)" +} + +src_prepare() { + gnome2_src_prepare + + epatch "${FILESDIR}"/${P}-disable-automatic-testsuite-build.patch + eautoreconf +} + +src_test() { + emake test || die "testsuite failed" +} |