diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-07-26 10:38:43 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-07-26 10:38:43 +0000 |
commit | e52005298c8c0c4a4cb81bb9bb7093db2495c497 (patch) | |
tree | 12403ee4c1e6b506dd64bfba1f19cc11f3470222 /x11-libs/startup-notification | |
parent | rm (diff) | |
download | gentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.tar.gz gentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.tar.bz2 gentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.zip |
Do not build test programs unless needed, bug #226257.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/startup-notification')
3 files changed, 39 insertions, 4 deletions
diff --git a/x11-libs/startup-notification/ChangeLog b/x11-libs/startup-notification/ChangeLog index 7e2d99fd6107..1c49aa8fa1a7 100644 --- a/x11-libs/startup-notification/ChangeLog +++ b/x11-libs/startup-notification/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/startup-notification -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/ChangeLog,v 1.62 2009/04/25 03:19:03 dang Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/ChangeLog,v 1.63 2009/07/26 10:38:43 eva Exp $ + + 26 Jul 2009; Gilles Dartiguelongue <eva@gentoo.org> + startup-notification-0.10.ebuild, + +files/startup-notification-0.10-tests.patch: + Do not build test programs unless needed, bug #226257. *startup-notification-0.10 (25 Apr 2009) diff --git a/x11-libs/startup-notification/files/startup-notification-0.10-tests.patch b/x11-libs/startup-notification/files/startup-notification-0.10-tests.patch new file mode 100644 index 000000000000..612d0b19d77a --- /dev/null +++ b/x11-libs/startup-notification/files/startup-notification-0.10-tests.patch @@ -0,0 +1,14 @@ +Do not build tests unless required. + +Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=226257 +--- a/test/Makefile.am 2009-04-03 16:56:51.000000000 +0200 ++++ b/test/Makefile.am 2009-07-26 12:08:44.855802976 +0200 +@@ -16,7 +16,7 @@ + test-launcher-xcb \ + test-watch-xmessages-xcb + +-noinst_PROGRAMS=$(XLIB_TEST) $(XCB_TEST) ++check_PROGRAMS=$(XLIB_TEST) $(XCB_TEST) + + test_launcher_SOURCES= test-launcher.c + diff --git a/x11-libs/startup-notification/startup-notification-0.10.ebuild b/x11-libs/startup-notification/startup-notification-0.10.ebuild index d94ca8768053..d54d6799ba98 100644 --- a/x11-libs/startup-notification/startup-notification-0.10.ebuild +++ b/x11-libs/startup-notification/startup-notification-0.10.ebuild @@ -1,6 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/startup-notification-0.10.ebuild,v 1.1 2009/04/25 03:19:03 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/startup-notification-0.10.ebuild,v 1.2 2009/07/26 10:38:43 eva Exp $ + +EAPI="2" +WANT_AUTOMAKE="1.10" + +inherit autotools DESCRIPTION="Application startup notification and feedback library" HOMEPAGE="http://www.freedesktop.org/software/startup-notification" @@ -21,7 +26,18 @@ DEPEND="${RDEPEND} x11-proto/xproto x11-libs/libXt" +src_prepare() { + # Do not build tests unless required + epatch "${FILESDIR}/${P}-tests.patch" + + eautomake +} + +src_configure() { + econf --disable-static +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README doc/startup-notification.txt + dodoc AUTHORS ChangeLog NEWS README doc/startup-notification.txt || die "dodoc failed" } |