If you have evolution-2.7.x installed, evolution-sharp fails with: dl/bonobo-activation-2.0 -I /usr/share/idl/evolution-data-server-1.2 checking for ESHELL22... checking for ESHELL24... checking for ESHELL26... configure: error: You need to install evolution-shell This is because it is checking for evolution-shell 2.2, 2.4, and 2.6 using pkg-config, ie evolution-shell-2.x.pc. However, evolution 2.7 (surprise) installs evolution-shell-2.8.pc. The fix seems pretty simple... just need to add the following to configure.in with the rest of the evolution-sharp checks: PKG_CHECK_MODULES(ESHELL28, "evolution-shell-2.8", eshellver="2.8", foo=bar) and then running autoconf.
Created attachment 96607 [details] revised version of evolution-sharp-0.11.1 Updated ebuild based on the bug information.
Created attachment 96608 [details, diff] patch for revised ebuild patch used by revised ebuild, place it in the "files" directory.
Reassigning this properly.
That's not enough, you also have to check the soversions of the various evolution/e-d-s libraries and also if the API has changed since 0.6 you need to generate a new gapi template.
Created attachment 97134 [details] evolution-sharp-0.11.1-r1 w/ patch for evo 2.8
Created attachment 97135 [details, diff] patch for evo 2.8
the above list evolution-sharp-0.11.1-r1 ebuild and the evolution-sharp-0.11.1-evo29.patch are the products of my attempts to resolve this bug. Using the stock evolution-sharp-0.11.1.ebuild configure died with messages similiar to those listed above. I then went to breakmygentoo.net and found an ebuild with a patch for evolution-2.6 I tried this and it also failed to compile. So I modified the ebuild and the patch for evo 2.8 I then submitted this as bug ID 0000250 at breakymygentoo.net I repost my bug description from there: ################################################ the patch, evolution-sharp-0.11.1-evo28.patch, contains a little typo. +if test "x$edsver" = "x1.6"; then + EDS_VERSION=-1.2 + EDS_SOVERSION=7 + EBOOK_SOVERSION=5 + ECAL_SOVERSION=3 +fi should read: +if test "x$edsver" = "x1.8"; then + EDS_VERSION=-1.2 + EDS_SOVERSION=7 + EBOOK_SOVERSION=2 + ECAL_SOVERSION=6 +fi prior to this change the configure script finds simply 2 1.6 definitions and failed to find one for 1.8 and thus configure failed..the EDS_SOVERSION and ECAL_SOVERSION numbers are ones i found in /usr/lib... After I made these changes to the patch I then tried to compile again. This time configure succeeded and compilation began-it then failed with a missing file exception gcc Error 1....the missing file was evolution-api.xml. Upon further research I found that evolution-sharp-0.11.1/evolution/Makefile.in contained definitions for evolution-api-1.2.raw, evolution-api-1.4.raw and evolution-api-1.6.raw...but none for 1.8. So I unpacked the evolution-sharp tarball and cloned(cp -ax) it making a evolution-sharp-0.11.1.org directory. I then modified evolution-sharp-0.11.1/evolution/Makefile.in to create evolution-api-1.8.raw.... I then used: diff -ur evolution-sharp-0.11.1.org /evolution/Makefile.in evolution-sharp-0.11.1/evolution/Makefile.in to create the little patch attached below-which i labeled evolution-sharp-0.11.1-evo29.patch. I then copied the patch to dev-dotnet/evolution-sharp/files did ebuild...digest and modified the evolution-sharp-0.11.1-r1.ebuild(epatch ${FILESDIR}/${P}-evo29.patch) to apply the patch... compilation was then successfull... hope this helps...(my only coding skill is pattern recognition ;( ) ##################################################################### please look at the above listed ebuild and patch and tell me if these suffice to close this bug.(I also am not sure if ${FILESDIR}/${P} used in the epatch line will accept my patch which is labeled evolution-sharp-0.11.1-evo29.patch, the ebuild itself being labeled evolution-sharp-0.11.1-r1.ebuild ) hope this helps
Thanks for looking into this. I'm kinda confused by comment #7 (is it even talking about the same patches that you posted here?). We're not affiliated with breakmygentoo so it's best if you just post all info and complete patches here. Ignoring that, there are some problems with the patch in comment #6: 1. don't worry about ebuild modifications. I will commit the fix upstream and roll a new release, so all we'll have to do is bump the ebuild. 2. You should not modify Makefile.in, modify Makefile.am instead 3. You added evolution-api-1.8.raw to RAW_APIS but this file did not appear in the patch 4. Despite the supposed existence of evolution-api-1.8.raw, you use evolution-api-1.6.raw if 1.8 is detected (see your @USE_EDS18_TRUE@RAW_API assignment) 5. comment #4 has not been fully addressed 6. Am I right in assuming that you also needed the patch in comment #2? Your comment suggested otherwise
Just an update, I looked at this myself. The CVS version was already patched for evo-2.8/e-d-s-1.8 a while ago (completely forgot) but the patch was incomplete and the soversions have changed since. My only problem now is that when I generate the GAPI API file for the new versions and generate bindings code from that, some of the custom added code fails to compile. I suspect this might be the result of a gapi change rather than any evo stuff. Need to find some more time to continue looking at this.
Created attachment 98326 [details, diff] work so far Attaching my patch so far, still suffers from the above problem. This is against evo-sharp CVS.
Created attachment 98327 [details, diff] add ESHELL28 With only adding ESHELL28 to configure.in, I'm able to build evo-sharp against gnome 2.16, and beagle using the resulting build seems to correctly index my evo email.
Created attachment 98664 [details, diff] Proposed ebuild for evolution-sharp Using the patch from comment #11 and this ebuild, I was able to build without problems evolution-sharp. I'm in amd64, but with GNOME 2.16 unmasked.
Created attachment 98665 [details, diff] Patch to detect ESHELL 2.8 Patch attached for completeness.
Upstream GAPI bug http://bugzilla.ximian.com/show_bug.cgi?id=79623
a very small workaround is a symlink from /usr/lib64/pkgconfig/evolution-shell-2.8.pc to /usr/lib64/pkgconfig/evolution-shell-2.6.pc
Created attachment 99889 [details, diff] fixed sonames and eshell use only this patch with https://bugs.gentoo.org/attachment.cgi?id=97134 and sonames will be fixed (as long eshell detection), i still have problems since my beagled seems to shutdown with apparently no reason... Debug: +email://local@local/Sent;uid=1280#0 Debug: Helper Size: VmRSS=26,4 MB, size=1,68, 17,1% Debug: The daemon appears to have gone away. Debug: Shutting down helper. Segmentation fault riekr@pegasus ~/.beagle/Log $ riekr@pegasus ~/.beagle/Log $ riekr@pegasus ~/.beagle/Log $ Debug: (1) Waiting for 1 worker... Debug: waiting for server '/home/riekr/.beagle/socket-helper' DebugDebug: Exiting : Server '/home/riekr/.beagle/socket-helper' shut down riekr@pegasus ~/.beagle/Log $
Committed my nearly-working changes to evolution-sharp CVS if anyone is interested...
Daniel, someone at bugs.gnome.org wrote that Ubuntu has a solution for this: http://bugzilla.gnome.org/show_bug.cgi?id=362153
after upgrading to beagle-0.2.11 everything seems to work now. (In reply to comment #16) > Created an attachment (id=99889) [edit] > fixed sonames and eshell > > use only this patch with https://bugs.gentoo.org/attachment.cgi?id=97134 and > sonames will be fixed (as long eshell detection), i still have problems since > my beagled seems to shutdown with apparently no reason... > > Debug: +email://local@local/Sent;uid=1280#0 > Debug: Helper Size: VmRSS=26,4 MB, size=1,68, 17,1% > Debug: The daemon appears to have gone away. > Debug: Shutting down helper. > Segmentation fault > riekr@pegasus ~/.beagle/Log $ > riekr@pegasus ~/.beagle/Log $ > riekr@pegasus ~/.beagle/Log $ Debug: (1) Waiting for 1 worker... > Debug: waiting for server '/home/riekr/.beagle/socket-helper' > DebugDebug: Exiting > : Server '/home/riekr/.beagle/socket-helper' shut down > > riekr@pegasus ~/.beagle/Log $ >
evolution-sharp-0.12.0 has been released, however I have not added it to Portage yet as I am unsure about some of the changes. See http://bugzilla.gnome.org/show_bug.cgi?id=362153#c9 That's not really a showstopper though, so if someone wants to try creating an ebuild for it and testing beagle (search your address book, not your email) that would be useful.
Created attachment 102355 [details] evolution-sharp-0.12.0.ebuild I took the 0.11.1 ebuild from Portage and modified the e-d-s and evo DEPENDs. I didn't touch the mono or gtk-sharp lines -- I'm running 1.1.18-r1 and 2.10.0 respectively. I'm also running beagle 0.2.12-r1. The package built without problems and, after I deleted the old EvolutionDataServerIndex, it indexed my contacts, seemingly without issues. I can find contacts with no problem. Double-clicking on a found contact causes beagle-search to die with: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Search.Tiles.Contact.Open () [0x00021] in /var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/search/Tiles/Contact.cs:108 at Search.Tiles.Tile.OnButtonPressEvent (Gdk.EventButton b) [0x00026] in /var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/search/Tiles/Tile.cs:214 at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] at (wrapper native-to-managed) Gtk.Widget:buttonpressevent_cb (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at Search.MainWindow.Main (System.String[] args) [0x00075] in /var/tmp/portage/app-misc/beagle-0.2.12-r1/work/beagle-0.2.12/search/Search.cs:61 I don't know if that has anything to do with evolution-sharp or not. If not, I can file a separate bug. Here's my emerge --info: Portage 2.1.2_rc2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64) ================================================================= System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Sat, 18 Nov 2006 20:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection" DISTDIR="/var/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/portage/local/layman/sunrise /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/wrobel /usr/portage/local/layman/gentopia /usr/portage/local/layman/stuart-desktop" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X aac alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus debug dlloader dri dvd dvdr eds elibc_glibc emboss encode esd firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdehiddenvisibility kernel_linux ldap linguas_en lzw lzw-tiff mad mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl pic png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales video_cards_nvidia video_cards_vesa vorbis xml xml2 xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Fixed in portage, sorry for the long wait. Jose, please file a new bug for your beagle-search tile issue.