Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139501

Summary: evolution patch and configure script wierdness
Product: Gentoo Linux Reporter: Iain Buchanan <iaindb>
Component: [OLD] GNOMEAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: eva
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Iain Buchanan 2006-07-06 17:51:02 UTC
Hi,
Two related things :)

1. I added a plugin to the evolution ebuild, and now the configure script fails with some very straing errors (due to the evolution-2.3.7-configure_plugins.patch ?) such as:

checking for EVOLUTION_CALENDAR... yes
checking for EVOLUTION_MAIL... yes
checking for evolution-data-server IDL... /usr/share/idl/evolution-data-server-1.2/Evolution-DataServer.idl
checking for EVOLUTION_TEST... yes
configure: error: the specified plugin prefer-plain does not exist
./configure: line 35408: A11Y_CFLAGS: command not found
./configure: line 35409: A11Y_LIBS: command not found
./configure: line 35410: AA: command not found
./configure: line 35411: ACCEPT_KEYWORDS: command not found
./configure: line 35412: ACCEPT_LICENSE: command not found
./configure: line 35413: ACLOCAL: command not found

and then hundreds of lines of this "command not found" stuff.  I think it's something to do with the patch I mentioned.  The plugin does exist, but due to a configure bug (item 2) it's not "seen".

However, the patch evolution-2.3.7-configure_plugins.patch is not doing it's intended behaviour of notifying the user nicely.

Item 2. Here's a patch to get the prefer-plain plugin compiling nicely again.  I submitted it upstream, and it's been included there, so until we get whatever unstable version they've submitted it to, perhaps you could add it to the ebuild?

I can't create attachments, so here's the patch bounded by ###'s (I called it configure-plugin.patch, which is coincidentally too closely named to evolution-2.3.7-configure_plugins.patch):

##################################
--- configure.in.orig   2006-05-31 16:15:22.000000000 +0930
+++ configure.in        2006-05-31 16:15:25.000000000 +0930
@@ -1439,7 +1439,7 @@ plugins_standard="$plugins_standard_alwa
 all_plugins_standard="$plugins_standard"

 plugins_experimental_always="backup-restore folder-unsubscribe mail-to-meeting mail-remote prefer-plain save-attachments"
-plugins_experimental="$plugins_experimental $IPOD_SYNC"
+plugins_experimental="$plugins_experimental_always $IPOD_SYNC"
 all_plugins_experimental="$plugins_experimental_always ipod-sync"

 case x"$enable_plugins" in
##################################

comments welcome.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-07-06 18:42:31 UTC
there is not enough information in this bug.

some things that are missing:

1. upstream bug report link.
2. what version of evolution you applied your patch to.
3. diff of your new revision of the evolution ebuild versus ours.

please re-open with the requested information, thanks.
Comment 2 Iain Buchanan 2006-07-06 18:58:41 UTC
Sure :)

1. I didn't submit a bug, I just emailed evolution-patches (it was applied by Harish Krishnaswamy <kharish@novell.com>).  You can see it here http://cvs.gnome.org/viewcvs/evolution/configure.in?rev=1.900&view=markup with my name in the comments.

2. Tried it against 2.6.1, 2.6.2, and 2.6.2-r1 (gentoo versions)

3. I haven't fixed the strange behaviour of the evolution-2.3.7-configure_plugins.patch, so I don't have a diff of that.

Here is my ebuild, (diffed against 2.6.2-r1) which simply adds prefer-plain (which you may or may not want to do in the official ebuild), and my patch, called configure-plugin.patch, which you may want to rename to avoid confusion with the other evolution-2.3.7-configure_plugins.patch:

######################################
--- /usr/portage/mail-client/evolution/evolution-2.6.2-r1.ebuild        2006-07-02 06:08:51.000000000 +0930
+++ /usr/local/portage/mail-client/evolution/evolution-2.6.2-r1.ebuild  2006-07-07 10:04:50.000000000 +0930
@@ -105,5 +105,5 @@
                bbdb subject-thread save-calendar select-one-source copy-tool \
                mail-to-task mark-calendar-offline audio-inline mailing-list-actions \
-               new-mail-notify default-mailer import-ics-attachments"
+               new-mail-notify default-mailer import-ics-attachments prefer-plain"

        if use bogofilter; then
@@ -141,4 +141,6 @@
        gnome2_omf_fix help/omf.make

+   epatch ${FILESDIR}/configure-plugin.patch
+
        # Accept the list of plugins separated by commas instead of spaces.
        epatch ${FILESDIR}/${PN}-2.3.7-configure_plugins.patch
@@ -152,5 +154,5 @@

        # Fix --as-needed
-       epatch ${FILESDIR}/${P}-as-needed.patch
+       epatch ${FILESDIR}/${P}-as-needed.patch

        eaclocal || die

######################################

Sorry about the bad bug report :)
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-08-13 08:19:10 UTC
just signaling it's activated in the gnome-experimental, so it should it portage with gnome 2.16 release.
Comment 4 Iain Buchanan 2006-11-13 04:08:37 UTC
closing cause it works in gnome 2.16 release :)