Currently, evolution and kdepim (korganizer) both come with libical,
but in different version, this leads to a conflict when installing
both:

file /usr/lib/libical.so.0.0.0 from install of kdepim-2.2-0.alpha2.1mdk conflicts with 
file from package evolution-0.10-1mdk
file /usr/lib/libicalvcal.so.0.0.0 from install of kdepim-2.2-0.alpha2.1mdk conflicts 
with file from package evolution-0.10-1mdk
(and lots of them in -devel)

I tried updating the old libical RPM (spec file attached, maybe it can be
useful one day) in order to make them both use that instead of their own 
versions, but evolution does not compile against the latest libical.

I would suggest linking libical static in evolution as probably nothing
else would use that version anyway.

Arnd <><

diff -u -r1.20 evolution.spec
--- evolution.spec      2001/05/18 15:45:28     1.20
+++ evolution.spec      2001/06/07 02:00:14
@@ -90,6 +90,9 @@
%configure --with-movemail=%{_libdir}/evolution/movemail --enable-ldap 
--with-nspr-includes=%{_includedir}/nspr --with-nss-includes=%{_includedir}/nss3
 # don't compile pilot support, we don't have a working abs sync pilot conduit
 # --enable-pilot-conduits=yes
+cd libical
+%configure --disable-shared
+cd ..
 
 #doesn't seem to support parallel compilation
 make
@@ -176,7 +178,6 @@
 %{_libdir}/evolution/camel-providers/*/*.la
 %{_libdir}/evolution/evolution-mail-importers/*/*.la
 %{_libdir}/evolution/evolution-mail-importers/*/*.a
-%{_includedir}/*.h
 %{_includedir}/camel
 %{_includedir}/ename
 %{_includedir}/evolution                                                        
%define name libical
%define version 0.23
%define release 1mdk

Name: %{name}
Icon: kde-icon.xpm
Summary: iCalendar library used by korganizer and evolution
Version: %{version}
Release: %{release}
Source: http://softwarestudio.org/download/%{name}-%{version}.tar.bz2
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
License: GPL
Prefix: /usr

%description
Libical is an Open Source implementation of the IETF's iCalendar 
Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). 
It parses iCal components and provides a C API for manipulating the 
component properties, parameters, and subcomponents.

%package devel
Summary: headers and static libraries for libical
Group: Development/C

%description devel
headers and static libraries for libical

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build
CFLAGS=$RPM_OPT_FLAGS ./configure --disable-rpath

%make

%install
%makeinstall
%make -C examples clean

##menus created

%post
##menu
/sbin/ldconfig

%postun
## menu
/sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT 

%files 
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc ChangeLog AUTHORS INSTALL NEWS README THANKS TODO

%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_includedir}/*
%doc ChangeLog AUTHORS INSTALL NEWS README THANKS TODO
%doc doc/UsingLibical.ps doc/UsingLibical.txt
%doc examples

%changelog
* Wed Jun 6 2001 Arnd Bergmann <[EMAIL PROTECTED]> 0.23-1mdk
- Updated to 0.23
- removed dependency on KDE
- created -devel package
- added documentation

* Wed Nov 15 2000 Christopher Molnar <[EMAIL PROTECTED]> 0.20d-2mdk
- Compiled for gcc 2.96

* Fri Nov 10 2000 Christopher Molnar <[EMAIL PROTECTED]> 0.20d-1mdk
- First release of kdebindings
- First Mandrake Build

Reply via email to