diff options
author | Hans de Graaff <graaff@gentoo.org> | 2009-03-30 18:12:47 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2009-03-30 18:12:47 +0000 |
commit | f6b1b5ee8e03a67f352f6cde4dac359249f6e6e6 (patch) | |
tree | affc9cc5e9cbaba35ea2e6a0de7982598ead41de /mail-client/mail-notification | |
parent | Automated update of use.local.desc (diff) | |
download | historical-f6b1b5ee8e03a67f352f6cde4dac359249f6e6e6.tar.gz historical-f6b1b5ee8e03a67f352f6cde4dac359249f6e6e6.tar.bz2 historical-f6b1b5ee8e03a67f352f6cde4dac359249f6e6e6.zip |
Fix #262182
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'mail-client/mail-notification')
4 files changed, 126 insertions, 7 deletions
diff --git a/mail-client/mail-notification/ChangeLog b/mail-client/mail-notification/ChangeLog index f764d861347c..2454ec168fa3 100644 --- a/mail-client/mail-notification/ChangeLog +++ b/mail-client/mail-notification/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for mail-client/mail-notification -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.80 2008/12/13 10:28:12 graaff Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.81 2009/03/30 18:12:46 graaff Exp $ + +*mail-notification-5.4-r1 (30 Mar 2009) + + 30 Mar 2009; Hans de Graaff <graaff@gentoo.org> + +files/mail-notification-5.4-e-d-s-2.24.patch, + +mail-notification-5.4-r1.ebuild: + Version bump to fix #262182, thanks to Pacho Ramos for providing the original + patch. Instead of updating the patch to deal with all possible + evolution-data-server versions I've fixed things for the currently stable + 2.24 series and mail-notification now depends on that. 23 Oct 2008; Hans de Graaff <graaff@gentoo.org> -files/mail-notification-4.1-evo-2.12-api-change.patch, diff --git a/mail-client/mail-notification/Manifest b/mail-client/mail-notification/Manifest index feb0f6a52934..121ebb9b6d7b 100644 --- a/mail-client/mail-notification/Manifest +++ b/mail-client/mail-notification/Manifest @@ -2,15 +2,17 @@ Hash: SHA1 AUX mail-notification-5.4-dont-update-cache.patch 888 RMD160 e600c756d045b4f26cc85f0c0fe28d6f18fde60a SHA1 6a94e82258ae2dab923bcf0cb49a0ce44ae63404 SHA256 654b02200ac9ec60821dcd3b2baa268474055be2f7bd207b8ba9a2d7cb583c73 +AUX mail-notification-5.4-e-d-s-2.24.patch 521 RMD160 db3ae8438d054d3434605fb5d7cf90a965f806ff SHA1 75fac93f173f715bc4c7cbedf9c553e522785274 SHA256 e8bde8df77a51b1b06846ac37e7df2b3f0d1ee28716ce171b21150bcfd75094b AUX mail-notification-5.4-remove-ubuntu-special-case.patch 948 RMD160 0d6eeb7f3fee7a799b391c9195f9e94610ac40ff SHA1 50c7e4ae43dbf7542862f38b85ed8567d7f556c3 SHA256 0b05f41072a859254b6dfb672f6654c630f116c80b86eac6fe1f39318a4a6050 DIST mail-notification-5.4.tar.bz2 570008 RMD160 64946509ef99fdeba8ff547ffac3830c36131484 SHA1 c148449c5d2fd0a75571e4e42932da1f1ae013f6 SHA256 5dec5f3852437e7735269697c77a29a24ea230987c764523fe66dabdca815af5 +EBUILD mail-notification-5.4-r1.ebuild 2860 RMD160 880010ff7c3b9b0299f13058cd83ceae032211e0 SHA1 cb6e39fb5f3650fcea3a40ba63c282f2b76af04a SHA256 4d782b4d7178e58e22e138a20fb59935b7f2333ea17be9dc75aec39a8b2b4b87 EBUILD mail-notification-5.4.ebuild 2730 RMD160 e144df6e8f8393f85f71dccd5445569dad562b5a SHA1 9f58fb12a9d2bc87bec85d863f75da53748fa91d SHA256 d13c9dab374df718e42de8cd6139162c57d4066f3742bfeb469a6b4f8c8f20f0 -MISC ChangeLog 15266 RMD160 288e8f3750244b1622103fe630bfa7217f634b50 SHA1 d57652ad71ebfedadf58647bcdef38861d779345 SHA256 a33d115e4622ff52d1348bd2a09df06f54f9b6068a6ffb031e9c77ebaaad847d +MISC ChangeLog 15721 RMD160 36aad1eeb36c8883d6ab3f790d0aa0644ee959fc SHA1 cf45a996806184930f297cec3f8e71813ddde630 SHA256 acb196a293ae9f8f2bc27883571fe2ae5415f86ecb0d50ca56324831b6a831bb MISC metadata.xml 707 RMD160 2ba53e2a8e4eab0cd33e19a637f6a514393c7b33 SHA1 c19133019aba5ee60fa1cbb108c848ffd8df166f SHA256 383502af536e5918f620980c074170430a84e62ca61393c2f01898dd141c0e18 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.10 (GNU/Linux) -iEYEARECAAYFAklDjkIACgkQqj4ysMWt/vuUeACgwIN2XBiEP9INEIv148S6t/lx -SVIAn0EaTIfcAhLrSqTUWKan2zKmzq7x -=ktvW +iEYEARECAAYFAknRC6UACgkQqj4ysMWt/vt2bwCeJYKBUMKKhZ4On4SVHaY+JU0M +PogAoKHbPHWckRbslmCg/DhrJhxbSRJa +=os/m -----END PGP SIGNATURE----- diff --git a/mail-client/mail-notification/files/mail-notification-5.4-e-d-s-2.24.patch b/mail-client/mail-notification/files/mail-notification-5.4-e-d-s-2.24.patch new file mode 100644 index 000000000000..ed40d4457b77 --- /dev/null +++ b/mail-client/mail-notification/files/mail-notification-5.4-e-d-s-2.24.patch @@ -0,0 +1,12 @@ +--- build/src/mn-evolution-server.c.~1~ 2008-05-22 17:47:48.000000000 +0200 ++++ build/src/mn-evolution-server.c 2009-03-30 20:02:17.936196624 +0200 +@@ -595,7 +595,8 @@ + + for (i = 0; i < summary->len; i++) + { +- CamelMessageInfo *info = summary->pdata[i]; ++ char *uid = summary->pdata[i]; ++ CamelMessageInfo *info = camel_folder_get_message_info(folder, uid); + + if ((camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0) + g_ptr_array_add(*ret, self_camel_message_info_to_dbus_struct(info)); diff --git a/mail-client/mail-notification/mail-notification-5.4-r1.ebuild b/mail-client/mail-notification/mail-notification-5.4-r1.ebuild new file mode 100644 index 000000000000..73bfc84d67d5 --- /dev/null +++ b/mail-client/mail-notification/mail-notification-5.4-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r1.ebuild,v 1.1 2009/03/30 18:12:47 graaff Exp $ + +inherit gnome2 multilib flag-o-matic toolchain-funcs + +DESCRIPTION="A GNOME trayicon which checks for email, with support for many online and offline mailbox formats." +HOMEPAGE="http://www.nongnu.org/mailnotify/" +SRC_URI="http://savannah.nongnu.org/download/mailnotify/${P}.tar.bz2" + +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +SLOT="0" +LICENSE="GPL-3" + +IUSE="evo gmail imap ipv6 maildir mbox mh mozilla pop sasl ssl sylpheed" + +# gmime is actually optional, but it's used by so much of the package +# it's pointless making it optional. gnome-keyring is required for +# several specific access methods, and thus linked to those USE flags +# instead of adding a keyring USE flag. +RDEPEND=">=x11-libs/gtk+-2.12 + >=dev-libs/glib-2.14 + >=gnome-base/gconf-2.4.0 + >=gnome-base/gnome-panel-2.6 + >=gnome-base/eel-2.6 + >=gnome-base/gconf-2.6 + >=gnome-base/libgnomeui-2.14 + >=gnome-base/libglade-2.0 + dev-libs/dbus-glib + >=dev-libs/gmime-2.2.7 + =dev-libs/gmime-2.2* + >=x11-libs/libnotify-0.4.1 + pop? ( gnome-base/gnome-keyring ) + imap? ( gnome-base/gnome-keyring ) + gmail? ( gnome-base/gnome-keyring ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + sasl? ( >=dev-libs/cyrus-sasl-2 ) + evo? ( >=mail-client/evolution-2.24 ) + sylpheed? ( virtual/sylpheed )" + +DEPEND="${RDEPEND} + app-text/scrollkeeper + dev-util/pkgconfig + >=dev-util/intltool-0.35.0" + +# this now uses JB (the Jean-Yves Lefort's Build System) as a build system +# instead of autotools, this is a little helper function that basically does +# the same thing as use_enable +use_var() { + echo -n "${2:-$1}=" + use "${1}" && echo "yes" || echo "no" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-dont-update-cache.patch" + + # We are not Ubuntu, and I suspect that this is the cause of #215281 + epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch" + + # Make sure we don't crash with newer versions of + # evolution-data-server. + epatch "${FILESDIR}/${P}-e-d-s-2.24.patch" +} + +src_compile() { + ./jb configure destdir="${D}" prefix="/usr" libdir=/usr/$(get_libdir) \ + sysconfdir="/etc" localstatedir="/var" cc="$(tc-getCC)" \ + cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \ + scrollkeeper-dir="/var/lib/scrollkeeper" \ + $(use_var evo evolution) \ + $(use_var gmail) \ + $(use_var imap) \ + $(use_var ipv6) \ + $(use_var maildir) \ + $(use_var mbox) \ + $(use_var mh) \ + $(use_var mozilla) \ + $(use_var pop pop3) \ + $(use_var sasl) \ + $(use_var ssl) \ + $(use_var sylpheed) + + ./jb build +} + +src_install() { + GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install + + dodoc NEWS README AUTHORS TODO TRANSLATING + + rm -rf "${D}/var/lib/scrollkeeper" +} |