diff options
author | 2010-12-16 23:54:31 +0100 | |
---|---|---|
committer | 2010-12-16 23:54:31 +0100 | |
commit | 988cd59d31bb6332932e1cbbb0cc52e3a3049a6e (patch) | |
tree | c5c385b6b7b8a026d681d644074df0cb5c7bb538 | |
parent | net-libs/libdmapsharing: bump to 2.1.13 (diff) | |
download | eva-988cd59d31bb6332932e1cbbb0cc52e3a3049a6e.tar.gz eva-988cd59d31bb6332932e1cbbb0cc52e3a3049a6e.tar.bz2 eva-988cd59d31bb6332932e1cbbb0cc52e3a3049a6e.zip |
x11-libs/libnotify: bump to 0.7
-rw-r--r-- | profiles/package.mask | 4 | ||||
-rw-r--r-- | x11-libs/libnotify/Manifest | 3 | ||||
-rw-r--r-- | x11-libs/libnotify/files/libnotify-0.7.0-gtk3-tests.patch | 109 | ||||
-rw-r--r-- | x11-libs/libnotify/libnotify-0.7.0.ebuild | 48 |
4 files changed, 164 insertions, 0 deletions
diff --git a/profiles/package.mask b/profiles/package.mask index 6c83f64..d8a1ae7 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -2,3 +2,7 @@ # Missing dependencies from the main tree. # Please checkout gnome overlay to test this package. mail-client/anjal + +# Gilles Dartiguelongue <eva@gentoo.org> (16 Dec 2010) +# Breaks API/ABI and no compatible applications yet. +>=x11-libs/libnotify-0.7 diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest index a4027b2..36b8eac 100644 --- a/x11-libs/libnotify/Manifest +++ b/x11-libs/libnotify/Manifest @@ -1,6 +1,9 @@ +AUX libnotify-0.7.0-gtk3-tests.patch 2964 RMD160 6cb2140ade47d02747d73b546049d6c80384e8cf SHA1 a86501e970acda853927fd26b3e0818c25fb4b23 SHA256 3ba602e6206327b9b20e7db54ffcab645fefe98c1cbd50cf4d7fa69ea70bfad1 DIST libnotify-0.4.5.tar.gz 364142 RMD160 6ddf4feb50504012c5f5fd205123d9f27cb12ef6 SHA1 e0a3be6249978ae2eb18bb77cdd22763271dc904 SHA256 0799db8ea1500b65a477421a8c930cc8c8b0bbc0596e55ea1601e2542f3fb0d9 DIST libnotify-0.5.2.tar.bz2 310439 RMD160 97c7d295683d6a093e46611d354fe8bfd799fb7d SHA1 bb088a318cfccb4261674065838860fa940fc04a SHA256 1f6f1a2d6a0e009997c7ed31f6197f9bf09e9b45fb9cd54acabceea951d99062 +DIST libnotify-0.7.0.tar.bz2 309390 RMD160 d77eced59a776f035e29d01bb6f43e518cf90516 SHA1 1671f2faa62c450eb505196570d141c8c44d8f4c SHA256 7efc797a75241d9324f1642d9f2d7abf9dc6d2382ab9d77a21578e3c5dc0f0f9 EBUILD libnotify-0.4.5.ebuild 985 RMD160 01ad4f28cf96d453a2da6419eb9e8ea64fab9129 SHA1 906f303f081402156a39723b78e08bea5b91d117 SHA256 db02bc95b24e99fe50666b1f01a3d5f72e0debb5cbc7d6528476d94a5eefd478 EBUILD libnotify-0.5.2.ebuild 973 RMD160 a321fb6fdaa4c95481332d6352166578490c5658 SHA1 30fc7ea70da091b6f1061e3a92c66d8c1da963ae SHA256 53619c8143893a3472c84d6f6d3f1ab4cd6533f669a82c987a14827d7db62f48 +EBUILD libnotify-0.7.0.ebuild 1220 RMD160 e82f83d1c8e1491ac063cf75296f35b92b7be3f6 SHA1 ae9527558daf437916f70dc1b40f00e06d07c6da SHA256 70cc51e239c7821801ba9303547f0e9802495105ca1c5135a57dbca1d9cd65f6 MISC ChangeLog 7081 RMD160 fd4922204e7f2f26cf33f45c99ca9d5cafc17ed1 SHA1 47be7d3b443f007a4b1f278375bcb49196be7234 SHA256 c20e636526a6e371e50a49c540ac454e9f6db9a3eb8d5bef6079b26a19ebf6c0 MISC metadata.xml 165 RMD160 f8f7dd761c5475651b8e04512e4f3dd043c41984 SHA1 47939c027699c5810cd3f25b4698719e9bd183d2 SHA256 dc2ad50713441100082e32ba283e9dd807b8fc46f69a5b9221fb9b89064deb31 diff --git a/x11-libs/libnotify/files/libnotify-0.7.0-gtk3-tests.patch b/x11-libs/libnotify/files/libnotify-0.7.0-gtk3-tests.patch new file mode 100644 index 0000000..8e6deac --- /dev/null +++ b/x11-libs/libnotify/files/libnotify-0.7.0-gtk3-tests.patch @@ -0,0 +1,109 @@ +From 3264bc7d2421f667aa7772476247c1a1fa06f61c Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Thu, 16 Dec 2010 00:01:13 +0100 +Subject: [PATCH] gentoo: do not build gtk+:3 tests if not required + +--- + configure.ac | 5 +++++ + tests/Makefile.am | 30 +++++++++++++++++------------- + 2 files changed, 22 insertions(+), 13 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 31d068e..7c0ad06 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -97,10 +97,15 @@ AC_SUBST(PACKAGE_LIBS) + AC_SUBST(PACKAGE_CFLAGS) + AC_SUBST(pkg_modules) + ++AC_ARG_ENABLE([tests], ++ AS_HELP_STRING([--enable-tests], [Check for extra dependencies to build all tests])) ++AS_IF([test $enable_tests = yes], [ + tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION" + PKG_CHECK_MODULES(TESTS, [$tests_modules]) ++]) + AC_SUBST(TESTS_LIBS) + AC_SUBST(TESTS_CFLAGS) ++AM_CONDITIONAL([MORE_TESTS], [test $enable_tests = yes]) + + GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` + AC_SUBST(GLIB_GENMARSHAL) +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 115cbd9..8fec9fb 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -2,17 +2,14 @@ INCLUDES = \ + -I$(top_srcdir) \ + $(TESTS_CFLAGS) + +-noinst_PROGRAMS = \ ++check_PROGRAMS = \ + test-replace \ +- test-replace-widget \ + test-server-info \ + test-default-action \ + test-multi-actions \ +- test-image \ + test-basic \ + test-error \ + test-markup \ +- test-persistence \ + test-rtl \ + test-size-changes \ + test-urgency \ +@@ -20,6 +17,22 @@ noinst_PROGRAMS = \ + test-xy-actions \ + test-xy-stress + ++#if MORE_TESTS ++check_PROGRAMS += \ ++ test-image \ ++ test-replace-widget \ ++ test-persistence ++ ++test_replace_widget_SOURCES = test-replace-widget.c ++test_replace_widget_LDADD = $(common_ldflags) ++ ++test_image_SOURCES = test-image.c ++test_image_LDADD = $(common_ldflags) ++ ++test_persistence_SOURCES = test-persistence.c ++test_persistence_LDADD = $(common_ldflags) ++#endif ++ + common_ldflags = \ + $(top_builddir)/libnotify/libnotify.la \ + $(TESTS_LIBS) +@@ -27,9 +40,6 @@ common_ldflags = \ + test_replace_SOURCES = test-replace.c + test_replace_LDADD = $(common_ldflags) + +-test_replace_widget_SOURCES = test-replace-widget.c +-test_replace_widget_LDADD = $(common_ldflags) +- + test_server_info_SOURCES = test-server-info.c + test_server_info_LDADD = $(common_ldflags) + +@@ -42,9 +52,6 @@ test_default_action_LDADD = $(common_ldflags) + test_multi_actions_SOURCES = test-multi-actions.c + test_multi_actions_LDADD = $(common_ldflags) + +-test_image_SOURCES = test-image.c +-test_image_LDADD = $(common_ldflags) +- + test_basic_SOURCES = test-basic.c + test_basic_LDADD = $(common_ldflags) + +@@ -69,9 +76,6 @@ test_xy_stress_LDADD = $(common_ldflags) + test_rtl_SOURCES = test-rtl.c + test_rtl_LDADD = $(common_ldflags) + +-test_persistence_SOURCES = test-persistence.c +-test_persistence_LDADD = $(common_ldflags) +- + EXTRA_DIST = applet-critical.png + + -include $(top_srcdir)/git.mk +-- +1.7.3.3 + diff --git a/x11-libs/libnotify/libnotify-0.7.0.ebuild b/x11-libs/libnotify/libnotify-0.7.0.ebuild new file mode 100644 index 0000000..af881e6 --- /dev/null +++ b/x11-libs/libnotify/libnotify-0.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libnotify/libnotify-0.4.5.ebuild,v 1.14 2010/03/26 16:28:15 ssuominen Exp $ + +EAPI="3" + +inherit autotools base eutils gnome.org + +DESCRIPTION="Notifications library" +HOMEPAGE="http://www.galago-project.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +RDEPEND=">=dev-libs/glib-2.26:2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/gtk-doc-am + test? ( >=x11-libs/gtk+-2.90:3 )" +PDEPEND="|| ( + x11-misc/notification-daemon + xfce-extra/xfce4-notifyd + x11-misc/notify-osd + >=x11-wm/awesome-3.4.4 )" + +src_prepare() { + base_src_prepare + + # Do not build gtk+:3 tests if unneeded + epatch "${FILESDIR}/${PN}-0.7.0-gtk3-tests.patch" + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --disable-dependency-tracking \ + $(use_enable test tests) +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS || die "dodoc failed" +} + +# Add preserve: /usr/lib64/libnotify.so.1 |