add camel patch (#66024) for newer gcc's, removed addressbook camel.la workaround...
authorAlastair Tse <liquidx@gentoo.org>
Sat, 2 Oct 2004 23:07:46 +0000 (23:07 +0000)
committerAlastair Tse <liquidx@gentoo.org>
Sat, 2 Oct 2004 23:07:46 +0000 (23:07 +0000)
mail-client/evolution/ChangeLog
mail-client/evolution/Manifest
mail-client/evolution/evolution-1.4.6.ebuild
mail-client/evolution/evolution-2.0.1.ebuild
mail-client/evolution/files/evolution-2.0.1-camel.patch [new file with mode: 0644]

index 46eee67152a79180f480df27eca7b11b8f0d8581..d96129e79f4d15981314f83ef329f3423a22b359 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for mail-client/evolution
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.19 2004/10/01 10:23:28 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.20 2004/10/02 23:07:46 liquidx Exp $
+
+  03 Oct 2004; Alastair Tse <liquidx@gentoo.org>
+  +files/evolution-2.0.1-camel.patch, evolution-1.4.6.ebuild,
+  evolution-2.0.1.ebuild:
+  add camel patch (#66024) for newer gcc's, removed addressbook camel.la
+  workaround, added alternatives support to make /usr/bin/evolution symlink
 
 *evolution-2.0.1 (01 Oct 2004)
 
index f10103bbb71dbd091c9967d3a0b225690b97f70b..9f0554c3f1d554331754dabdfe24029ec2c8a81a 100644 (file)
@@ -1,9 +1,9 @@
-MD5 a55b1ad90c600ab2a23a824eca33c8fd ChangeLog 18763
+MD5 52f97869a6cb676307ab5c4fd467dac3 ChangeLog 19050
 MD5 dad6657ce9376178fb561002aa40f5e0 evolution-1.2.4.ebuild 6251
-MD5 695fe06900b7d3d3cfacb97437cd3b7b evolution-1.4.6.ebuild 5465
+MD5 dba924dd85421a68a5192906dfd03e80 evolution-1.4.6.ebuild 5562
 MD5 80850151bae2bd61c4ac796f83656ef6 metadata.xml 217
 MD5 272168a9a99d09e3b8fa2a5c7d0f5ed2 evolution-2.0.0.ebuild 3697
-MD5 69b25d7895aabf3403b52556690ea824 evolution-2.0.1.ebuild 3702
+MD5 4e6fa462d762cffccec93b5dc004a361 evolution-2.0.1.ebuild 3790
 MD5 3137288dd17e357d0972dab00e4f6b6d files/digest-evolution-1.2.4 1230
 MD5 fe0cafc4040da525377526f4a1fa297f files/digest-evolution-1.4.6 132
 MD5 c837abd50d990dea46fcea32b8a1b001 files/evolution-1.1.90-kde.patch 689
@@ -14,3 +14,4 @@ MD5 6e58f5e7a4195267cc545d8c9eba07a3 files/evolution-1.5.93-addressbooklibs.patc
 MD5 4df81c3442025403034c53975ba663b1 files/evolution-gcc34.patch 3044
 MD5 c99745f20c250a825bdda526f4209210 files/digest-evolution-2.0.0 70
 MD5 9c8bfa9074473718f6dd06a73417eed2 files/digest-evolution-2.0.1 70
+MD5 dc2deff6647a30a151572ec5d6e11c77 files/evolution-2.0.1-camel.patch 457
index c11062c9dced5a2e0d5db128fbd423a13e5b06b0..2a5c86a36825dd38948480a19b98893151e85160 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-1.4.6.ebuild,v 1.12 2004/09/17 13:58:53 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-1.4.6.ebuild,v 1.13 2004/10/02 23:07:46 liquidx Exp $
 
-inherit flag-o-matic virtualx gnome2 eutils
+inherit flag-o-matic virtualx gnome2 eutils alternatives
 
 # problems with -O3 on gcc-3.3.1
 replace-flags -O3 -O2
@@ -175,6 +175,7 @@ src_compile() {
 }
 
 pkg_postinst() {
+       alternatives_auto_makesym "/usr/bin/evolution" "/usr/bin/evolution-[0-9].[0-9]" 
        gnome2_pkg_postinst
        einfo "To change the default browser if you are not using GNOME, do:"
        einfo "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'"
index 8b796aedbe2c75821a921cba9eb88464fd402273..57849b59088dc1729728e847a291395d0cc32165 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.0.1.ebuild,v 1.1 2004/10/01 10:23:28 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.0.1.ebuild,v 1.2 2004/10/02 23:07:46 liquidx Exp $
 
-inherit eutils virtualx gnome2 flag-o-matic
+inherit eutils virtualx gnome2 flag-o-matic alternatives
 
 # problems with -O3 on gcc-3.3.1
 replace-flags -O3 -O2
@@ -66,9 +66,7 @@ ELTCONF="--reverse-deps"
 
 src_unpack() {
        unpack ${A}
-
-       cd ${S}
-       epatch ${FILESDIR}/evolution-1.5.93-addressbooklibs.patch
+       cd ${S}/camel; epatch ${FILESDIR}/evolution-2.0.1-camel.patch
 }
 
 src_compile() {
@@ -124,6 +122,7 @@ src_compile() {
 
 pkg_postinst() {
 
+       alternatives_auto_makesym "/usr/bin/evolution" "/usr/bin/evolution-[0-9].[0-9]"
        gnome2_gconf_install ${GCONFFILEPATH}
        einfo "To change the default browser if you are not using GNOME, do:"
        einfo "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'"
diff --git a/mail-client/evolution/files/evolution-2.0.1-camel.patch b/mail-client/evolution/files/evolution-2.0.1-camel.patch
new file mode 100644 (file)
index 0000000..507e564
--- /dev/null
@@ -0,0 +1,16 @@
+===================================================================
+RCS file: /cvs/gnome/evolution/camel/camel-service.c,v
+retrieving revision 1.92
+retrieving revision 1.93
+diff -u -r1.92 -r1.93
+--- camel-service.c    2004/09/24 02:50:45     1.92
++++ camel-service.c    2004/10/01 18:08:30     1.93
+@@ -897,7 +897,7 @@
+               hints = &myhints;
+       }
+ 
+-      hints->ai_family = AF_INET;
++      ((struct addrinfo *) hints)->ai_family = AF_INET;
+ #endif
+ 
+       msg = g_malloc0(sizeof(*msg));