HTML

Random musings in IT

Friss topikok

Címkék

21 days (14) addon (3) Alfresco (1) analysis (1) android (6) angel investment (1) angularjs (2) ant (1) architect (2) architecture (2) Atoll (1) awstats (1) axis (1) axis2 (1) beta (1) blog (4) blogging (2) bluetoth keyboard (1) bofh (1) boxee (1) breakfast (1) build (1) cassandra (1) CGI (1) challenge (10) challenge cup (1) chinese (4) chromium (1) CMS (1) compaq contura aero (1) conference (1) consulting (1) continous-integration (2) Dark Data (1) DB2 (5) Debian (1) developer (1) development (1) document outliner (1) driver (1) Eclipse (3) ECM (2) education (1) EJB (1) ejb-client (1) emulator (1) etcd (1) experience (1) facebook (1) female (1) FileNet (1) firefox (2) freeplane (17) freeplaneGTD (17) fun (8) Geronimo (1) getting things done (1) gitlab (1) gnome (1) gtd (15) habit (3) hack (1) hacking (1) hdmi to vga (1) hibernate (1) HR (2) Hungary (1) I18N (1) IBM (1) in (1) Information Lifecycle Governance (1) interview (1) invitel (1) issues (1) It (2) J2ME (1) java (11) javascript (3) java security (1) JAX-WS (1) JBoss (1) JSF (1) kernel (1) Keyboard (1) layout (1) lighttpd (1) Linux (11) LXC (1) macro (1) maven (3) meetup (1) mercury (1) microservice (1) mindweb (5) motorola vip1910-9 (1) movie (1) MQ (1) mw3030r (1) natty (1) nginx (1) node.js (1) nodejs (1) nosql (1) OpenUP (1) Oracle (1) overheat (1) php (1) plugin (1) PrimeFaces (1) project (5) project management (1) RCP (1) recruiter (2) regexp (1) release (11) reporting (1) retrospective (2) rootkit (1) rss (1) RUP (1) script (1) server (1) shared library (1) SharePoint (1) SOA (1) spam (2) spellchecker (1) SQL (1) SSL (1) startup (2) stb (1) story (1) swing (1) SWT (2) tablet (4) tapermonkey (1) tech-beer (1) test (1) thoughts (1) timelapse (1) tomcat (1) toys (1) translate (2) typescript (1) ubuntu (1) ui (1) unified-process (1) University (1) usb (1) VirtualBox (2) virtualization (2) web-service (2) webcam (1) WebSphere (2) wicket (1) widget (1) Windows 8.1 (1) wordpress (3) X11 (1) Címkefelhő

As my employer uses Exchange mail server, I need a way to access my mail from my Ubuntu box. The current Evolution exchange connector is quite outdated, so I prefer to use the emerging Evolution EWS connector. It can access the addressbook, the calendar and even the MAIL! :D Since it's emerging it requires frequent recompilation. After installing the required tools and libs, it still doesn't compile on the Ubuntu 12.04, for the several deprecated API calls it makes. So I came up with the following script to compile it and prepare a nice little package from it.

#!/bin/bash
sudo rm -r evolution-ews ; git clone http://git.gnome.org/browse/evolution-ews -b gnome-3-2
sed '/\-Wall/ a \
\t-Wno-error=deprecated-declarations \
\t-Wno-missing-field-initializers' evolution-ews/configure.ac |
sed '/AC_SUBST(SOUP_CFLAGS)/ i \
AC_CHECK_LIB(gthread-2.0, g_thread_init)' >evolution-ews/configure.ac.new
mv evolution-ews/configure.ac.new evolution-ews/configure.ac
cd evolution-ews

./autogen.sh --prefix=/usr --disable-maintainer-mode
sudo checkinstall --pkgname=evolution-ews --pkgversion=3.2 --pkgrelease=git -requires `evolution \(\>\= 3.2\), evolution \(\<\<3.3\)` && sudo mv *.deb ..
cd ..

Címkék: in

6 komment

A bejegyzés trackback címe:

https://itworks.blog.hu/api/trackback/id/tr25522368

Kommentek:

A hozzászólások a vonatkozó jogszabályok  értelmében felhasználói tartalomnak minősülnek, értük a szolgáltatás technikai  üzemeltetője semmilyen felelősséget nem vállal, azokat nem ellenőrzi. Kifogás esetén forduljon a blog szerkesztőjéhez. Részletek a  Felhasználási feltételekben és az adatvédelmi tájékoztatóban.

roberto 2012.03.20. 23:40:10

nice job but the script is not working

csak 2012.03.27. 06:57:39

Are you sure you installed all the required libraries? I used the script on three different machines without any problems. Send me your error log and I will look into it!

Marcelo Rezende Módolo 2012.03.28. 15:05:29

Hello! I'd like to try (I use the DAVMAIL), how do I download the script (I use Ubuntu 11.10)? You have the list of packages and dependencies? Thank you, Marcelo

Mark Pointing 2012.05.24. 03:39:12

Hi csak, I used your solution with a few alterations to solve an issue on ubuntu forums. Thanks for your work. This page is linked and credited in my post. The post is here: http://ubuntuforums.org/showthread.php?t=1976894

Craig Sutherland 2012.07.24. 20:22:42

Thanks csak, Your script worked great, but I needed a easy way to install for 20 machines, so I created a .deb which works great for evolution 3.23, so just install evolution on 12.04, install the evolution-ews package and hey presto. You can download it here. https://docs.google.com/open?id=0B8_p85pxZhZeM0ZmS21PdGRWQVk

csak 2013.04.01. 17:20:04

This script was for Ubuntu 12.04, as of 12.10 and later the package has been fixed and can easily be installed straight from the repository. It was a hack and was only needed temporarily. I'm glad if it helped a few fellows! The only reason the post is still here, is because it might contain something useful for someone.
süti beállítások módosítása