diff options
author | Tom Martin <slarti@gentoo.org> | 2006-04-08 10:51:45 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2006-04-08 10:51:45 +0000 |
commit | 74e8b0389709f8c464a386de011265c0b46798f1 (patch) | |
tree | ff592c4a6c4496c48c712b8b24a44f0e26f38f48 /mail-client/mail-notification | |
parent | Fixing compilation on gcc-4.1 (diff) | |
download | historical-74e8b0389709f8c464a386de011265c0b46798f1.tar.gz historical-74e8b0389709f8c464a386de011265c0b46798f1.tar.bz2 historical-74e8b0389709f8c464a386de011265c0b46798f1.zip |
Add a few ebuild fixes for Evolution 2.6; thanks to Ben Davis <ben@xsusio.com> in bug #127430. The ebuilds should now scale better to future versions of Evolution.
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'mail-client/mail-notification')
4 files changed, 90 insertions, 13 deletions
diff --git a/mail-client/mail-notification/ChangeLog b/mail-client/mail-notification/ChangeLog index 9a9cf06108d7..3d1ba6659692 100644 --- a/mail-client/mail-notification/ChangeLog +++ b/mail-client/mail-notification/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for mail-client/mail-notification # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.27 2006/03/15 00:43:31 allanonjl Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.28 2006/04/08 10:51:45 slarti Exp $ + + 08 Apr 2006; Tom Martin <slarti@gentoo.org> + +files/mail-notification-2.0-evolution-2.6.diff, + mail-notification-2.0.ebuild: + Add a few ebuild fixes for Evolution 2.6; thanks to Ben Davis + <ben@xsusio.com> in bug #127430. The ebuilds should now scale better to + future versions of Evolution. 14 Mar 2006; John N. Laliberte <allanonjl@gentoo.org> mail-notification-2.0.ebuild: diff --git a/mail-client/mail-notification/Manifest b/mail-client/mail-notification/Manifest index 3ccff78cc9ee..d57e32f18963 100644 --- a/mail-client/mail-notification/Manifest +++ b/mail-client/mail-notification/Manifest @@ -1,6 +1,9 @@ -MD5 11b1a3f05201099dd3335959faa09f1f ChangeLog 5257 -RMD160 ec43bbe2cf7e93bb22bd171a0bf6db1797697e18 ChangeLog 5257 -SHA256 6317a38c23be10c160a57d082670f4c5c566412d17bf5f399ddd7abdf0406c46 ChangeLog 5257 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 e38e67d24fc3ecedeb7ed518aa0f69c2 ChangeLog 5554 +RMD160 88b1d89307b6c381b40790529eff191254ccc115 ChangeLog 5554 +SHA256 ac0e79822096d96dca691380ff366e5b2fb144b1417b1426356a5c25326c0406 ChangeLog 5554 MD5 4f3f62c7c6d7b58791bba1c52b9dcc52 files/digest-mail-notification-0.8.1 75 RMD160 8b78eab849b15135c34ced1d79db5ed62879acfc files/digest-mail-notification-0.8.1 75 SHA256 dfa76ffa3b4f494e8269af1d99ba4623d711b701002c27b97654ecfed53f7d22 files/digest-mail-notification-0.8.1 75 @@ -19,6 +22,9 @@ SHA256 e48536498bdb7daf1e375de2bab7675941ff7cd044868d7e561f5b4f5c4810ca files/ma MD5 7dd1180fe96bd0bf9a9ccad1ffe2fe7a files/mail-notification-2.0-evolution-2.4.diff 3130 RMD160 5068ae2d6c916213d24b9a15e049abbc0e47fe2b files/mail-notification-2.0-evolution-2.4.diff 3130 SHA256 ac2d9447bd5d2d9d6c583fe23e0f5e6f41cbc38f8af62f200e8f2029100f7d0d files/mail-notification-2.0-evolution-2.4.diff 3130 +MD5 fad49951071e2100ec4b93169e8d44cd files/mail-notification-2.0-evolution-2.6.diff 3130 +RMD160 c1b97f3fdc17551c19e2a7540bc521dba88c19bd files/mail-notification-2.0-evolution-2.6.diff 3130 +SHA256 4fd78df7788a4d99fd01d17ad8e7b43e2ad335c9e32678620835d48b31f8efad files/mail-notification-2.0-evolution-2.6.diff 3130 MD5 7e2243b625802214a46bce8d633b94dc files/mail-notification-2.0-gmail-properties-fix.diff 508 RMD160 bf15014f598fb7315cb1c5f14729a640e93f8c7f files/mail-notification-2.0-gmail-properties-fix.diff 508 SHA256 e33432eb0ee1ef63eaceb4ea2391b04cc2f9c473d562fe9a92e3d8921c508ca9 files/mail-notification-2.0-gmail-properties-fix.diff 508 @@ -31,9 +37,16 @@ SHA256 abc2ab321f9c4837865832fa15b68f0715f22b27129dcb5caf5678c01f28e45b mail-not MD5 4ec34f3718248e51520bb199155a10aa mail-notification-1.1.ebuild 1814 RMD160 f624800bafed0197af056f47bed8486c14e6df24 mail-notification-1.1.ebuild 1814 SHA256 fed80ef505695252856a8c64d44e79799ca7b3fa714d4c08fd52fc84b90cd072 mail-notification-1.1.ebuild 1814 -MD5 0ed614c88b6d5dfcdda4498f6c067c81 mail-notification-2.0.ebuild 2366 -RMD160 125abf775414bb0a39b70e7bce6be79fab442f0a mail-notification-2.0.ebuild 2366 -SHA256 c0a214d26442532fcf6d684d0692e524cd52f3f8744050b79931c60c94139927 mail-notification-2.0.ebuild 2366 +MD5 20beda968a967b7af002a68229f17210 mail-notification-2.0.ebuild 2477 +RMD160 92bff452d13e758257c59d3bafd63e9d29c5a864 mail-notification-2.0.ebuild 2477 +SHA256 0fb49dc37cb84bbd1b1f08dfb19b1d61421593e3dda03671c83d42802ed3cb08 mail-notification-2.0.ebuild 2477 MD5 5d240c2111a6535d744ec8bbc7cc692c metadata.xml 249 RMD160 dce0c80c556a885e8059693e236acc50c67e7163 metadata.xml 249 SHA256 e7a2ee2e040e05b0780ea52daab475449bd2e93e9aaef741b65a7eb9cf33b4c5 metadata.xml 249 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEN6Q0CHk4+ZoBpvsRAhGJAKCG3IYwVTzwO8V53S3bK6pMKqOZggCeNqP4 +Epatw03osEiVUjEDUIwKcTI= +=3gVV +-----END PGP SIGNATURE----- diff --git a/mail-client/mail-notification/files/mail-notification-2.0-evolution-2.6.diff b/mail-client/mail-notification/files/mail-notification-2.0-evolution-2.6.diff new file mode 100644 index 000000000000..2b853f5569a1 --- /dev/null +++ b/mail-client/mail-notification/files/mail-notification-2.0-evolution-2.6.diff @@ -0,0 +1,52 @@ +--- configure.orig Mon Oct 24 10:40:20 2005 ++++ configure Mon Oct 24 10:40:46 2005 +@@ -24784,12 +24784,12 @@ + if test "x$ac_cv_env_EVOLUTION_PLUGIN_CFLAGS_set" = "xset"; then + pkg_cv_EVOLUTION_PLUGIN_CFLAGS=$ac_cv_env_EVOLUTION_PLUGIN_CFLAGS_value + elif test -n "$PKG_CONFIG"; then +- if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.2 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 +- ($PKG_CONFIG --exists "evolution-plugin-2.2 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ++ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.6 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 ++ ($PKG_CONFIG --exists "evolution-plugin-2.6 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_EVOLUTION_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "evolution-plugin-2.2 $evolution_plugin_min_version" 2>/dev/null` ++ pkg_cv_EVOLUTION_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "evolution-plugin-2.6 $evolution_plugin_min_version" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -24807,12 +24807,12 @@ + if test "x$ac_cv_env_EVOLUTION_PLUGIN_LIBS_set" = "xset"; then + pkg_cv_EVOLUTION_PLUGIN_LIBS=$ac_cv_env_EVOLUTION_PLUGIN_LIBS_value + elif test -n "$PKG_CONFIG"; then +- if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.2 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 +- ($PKG_CONFIG --exists "evolution-plugin-2.2 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ++ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.6 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 ++ ($PKG_CONFIG --exists "evolution-plugin-2.6 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_EVOLUTION_PLUGIN_LIBS=`$PKG_CONFIG --libs "evolution-plugin-2.2 $evolution_plugin_min_version" 2>/dev/null` ++ pkg_cv_EVOLUTION_PLUGIN_LIBS=`$PKG_CONFIG --libs "evolution-plugin-2.6 $evolution_plugin_min_version" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -24824,7 +24824,7 @@ + echo "${ECHO_T}$pkg_cv_EVOLUTION_PLUGIN_LIBS" >&6 + + if test $pkg_failed = yes; then +- EVOLUTION_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evolution-plugin-2.2 $evolution_plugin_min_version"` ++ EVOLUTION_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evolution-plugin-2.6 $evolution_plugin_min_version"` + # Put the nasty error message in config.log where it belongs + echo "$EVOLUTION_PLUGIN_PKG_ERRORS" 1>&5 + +@@ -24841,7 +24841,7 @@ + if test $found = yes; then + echo "$as_me:$LINENO: checking for the Evolution plugin directory" >&5 + echo $ECHO_N "checking for the Evolution plugin directory... $ECHO_C" >&6 +- evolution_plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-2.2 2>/dev/null` ++ evolution_plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-2.6 2>/dev/null` + if test -n "$evolution_plugindir"; then + echo "$as_me:$LINENO: result: $evolution_plugindir" >&5 + echo "${ECHO_T}$evolution_plugindir" >&6 diff --git a/mail-client/mail-notification/mail-notification-2.0.ebuild b/mail-client/mail-notification/mail-notification-2.0.ebuild index 86251795d43b..ee6f4d13f2b1 100644 --- a/mail-client/mail-notification/mail-notification-2.0.ebuild +++ b/mail-client/mail-notification/mail-notification-2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v 1.5 2006/03/15 00:43:31 allanonjl Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v 1.6 2006/04/08 10:51:45 slarti Exp $ inherit eutils gnome2 multilib flag-o-matic @@ -34,6 +34,10 @@ DEPEND=">=x11-libs/gtk+-2.6 sylpheed? ( virtual/sylpheed )" pkg_setup() { + if use evolution ; then + EVO_VERSION="$(best_version mail-client/evolution)" + fi + G2CONF="${G2CONF} $(use_enable ssl)" G2CONF="${G2CONF} $(use_enable sasl)" G2CONF="${G2CONF} $(use_enable ipv6)" @@ -42,7 +46,7 @@ pkg_setup() { G2CONF="${G2CONF} $(use_enable pop pop3)" G2CONF="${G2CONF} $(use_enable gmail)" G2CONF="${G2CONF} $(use_enable evolution)" - G2CONF="${G2CONF} --with-evolution-source-dir=/usr/include/evolution-2.4/" + G2CONF="${G2CONF} --with-evolution-source-dir=/usr/include/${EVO_VERSION}/" G2CONF="${G2CONF} $(use_enable sylpheed)" } @@ -50,9 +54,9 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/${P}-evolution-2.4.diff - epatch ${FILESDIR}/${P}-buildfix.diff - epatch ${FILESDIR}/${P}-gmail-properties-fix.diff + epatch "${FILESDIR}/${P}-evolution-${EVO_VERSION}.diff" + epatch "${FILESDIR}/${P}-buildfix.diff" + epatch "${FILESDIR}/${P}-gmail-properties-fix.diff" gnome2_omf_fix } @@ -63,7 +67,8 @@ src_compile() { } src_install() { - gnome2_src_install evolution_plugindir="/usr/$(get_libdir)/evolution/2.4/plugins" + gnome2_src_install + evolution_plugindir="/usr/$(get_libdir)/evolution/${EVO_VERSION}/plugins" } pkg_postinst() { |