Hello community, here is the log from the commit of package gmime for openSUSE:Factory checked in at 2012-01-17 11:32:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gmime (Old) and /work/SRC/openSUSE:Factory/.gmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gmime", Maintainer is "sbrabec@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/gmime/gmime.changes 2012-01-06 11:44:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gmime.new/gmime.changes 2012-01-17 16:05:48.000000000 +0100 @@ -1,0 +2,39 @@ +Thu Jan 12 16:44:26 UTC 2012 - vuntz@opensuse.org + +- The binaries shipped in the tools subpackage are GPL-2.0+, so fix + the license of this subpackage. Fix bnc#741054. + +------------------------------------------------------------------- +Wed Jan 11 11:53:16 UTC 2012 - dimstar@opensuse.org + +- Update to version 2.6.4: + + GMime 2.6.x is ABI/API incompatible to GMime 2.4.x. + + Most notable is the lack of GMimeSession which has been + dropped in favor of a much simpler callback mechanism. + GMimeCipherContexts constructors now take a password_request + callback function rather than forcing you to subclass + GMimeSession to get this functionality. + + Several other API changes, see documentation. + + See ChangeLog for full details since 2.4.x. +- Add xz BuildRequires because we can't build a package for a + xz-compressed tarball without explicitly specifying that... See + bnc#697467 for more details. +- Add gpgme-devel BuildRequires: new upstream dependency. +- Add gmime-compiler-warnings.patch: Fix compiler warnings and brp + checks about function reach end of statement without return + value. +- Add gmime-mono-arch-indep.patch: Revert commit bce1443e321a2: we + do not install mono libraries to %{_libdir}, but %{_prefix}/lib/ +- Add libtool BuildRequires and call to autoreconf, as the above + patch touches the build system. +- Rename libgmime-2_4-2 subpackage to libgmime-2_6-0, following the + upstream soname bump. +- Remove gmime-2_4-devel and gmime-2_4-doc Provides/Obsoletes from + devel subpackage: with 2.6, all files are now different in this + package. +- Remove gmime-2_4-sharp Provides from sharp subpackage: since 2.6 + has a different API, a Provides is wrong. We keep the Obsoletes, + though, as there are some common files and the gmime-2_4-sharp + packages should get removed anyway. + +------------------------------------------------------------------- Old: ---- gmime-2.4.28.tar.bz2 New: ---- gmime-2.6.4.tar.xz gmime-compiler-warnings.patch gmime-mono-arch-indep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gmime.spec ++++++ --- /var/tmp/diff_new_pack.eQcY78/_old 2012-01-17 16:05:49.000000000 +0100 +++ /var/tmp/diff_new_pack.eQcY78/_new 2012-01-17 16:05:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gmime # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,23 +15,29 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: gmime -Version: 2.4.28 -Release: 1 +Version: 2.6.4 +Release: 0 Url: http://spruce.sourceforge.net/gmime/ -Group: Productivity/Networking/Email/Utilities -License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Summary: MIME Parser and Utility Library -Source: http://download.gnome.org/sources/gmime/2.4/%{name}-%{version}.tar.bz2 +License: LGPL-2.1+ ; SUSE-Public-Domain ; MIT +Group: Productivity/Networking/Email/Utilities +Source: http://download.gnome.org/sources/gmime/2.6/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE gmime-mono-arch-indep.patch bgo#667072 dimstar@opensuse.org -- Do not install mono libs to libdir +Patch0: gmime-mono-arch-indep.patch +# PATCH-FIX-UPSTREAM gmime-compiler-warnings.patch bgo#667684 dimstar@opensuse.org -- Fix compiler warnings, taken from upstream git, commit 3d1a969 +Patch1: gmime-compiler-warnings.patch +BuildRequires: gpgme-devel BuildRequires: gtk-doc +# Needed for patch0 +BuildRequires: libtool BuildRequires: mono-devel +# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 +BuildRequires: xz BuildRequires: zlib-devel +BuildRequires: pkgconfig(gapi-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-sharp-2.0) -BuildRequires: pkgconfig(gapi-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,9 +45,9 @@ the Multipurpose Internet Mail Extension (MIME). %package tools -License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) -Group: Productivity/Networking/Email/Utilities Summary: MIME Parser and Utility Library -- Tools +License: GPL-2.0+ +Group: Productivity/Networking/Email/Utilities Provides: gmime-2_4 = %{version} Obsoletes: gmime-2_4 < %{version} @@ -49,21 +55,23 @@ GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). -%package -n libgmime-2_4-2 -License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) -Group: System/Libraries +%package -n libgmime-2_6-0 Summary: MIME Parser and Utility Library +License: LGPL-2.1+ ; SUSE-Public-Domain ; MIT +Group: System/Libraries -%description -n libgmime-2_4-2 +%description -n libgmime-2_6-0 GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %package sharp -License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) -Group: Development/Libraries/Other Summary: MIME Parser and Utility Library -- Mono Bindings -Requires: libgmime-2_4-2 = %{version} glib-sharp2 -Provides: gmime-2_4-sharp = %{version} +License: LGPL-2.1+ ; SUSE-Public-Domain ; MIT +Group: Development/Libraries/Other +Requires: libgmime-2_6-0 = %{version} glib-sharp2 +# Obsoletes without Provides: gmime-2_4-sharp was an old name +# during 2.4.x days, and even though API is different, we need to +# get rid of it since some files are common. Obsoletes: gmime-2_4-sharp < %{version} %description sharp @@ -71,14 +79,10 @@ the Multipurpose Internet Mail Extension (MIME). %package devel -License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) -Group: Development/Libraries/C and C++ Summary: MIME Parser and Utility Library -- Development Files -Requires: libgmime-2_4-2 = %{version} -Provides: gmime-2_4-devel = %{version} -Obsoletes: gmime-2_4-devel < %{version} -Provides: gmime-2_4-doc = %{version} -Obsoletes: gmime-2_4-doc < %{version} +License: LGPL-2.1+ ; SUSE-Public-Domain ; MIT +Group: Development/Libraries/C and C++ +Requires: libgmime-2_6-0 = %{version} %description devel GMime is a C/C++ library for parsing and creating messages using @@ -88,6 +92,8 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build %ifarch %arm @@ -95,6 +101,8 @@ # with >= -O2. See https://bugs.launchpad.net/gcc/+bug/836588. CFLAGS="%{optflags} -O1" %endif +# Needed for patch0 +autoreconf -fiv %configure\ --enable-largefile\ --disable-static\ @@ -102,53 +110,50 @@ make %{?jobs:-j%jobs} %install -%makeinstall GACUTIL_FLAGS="/package gtk-sharp /root -bootstrap $RPM_BUILD_ROOT%{_prefix}/lib" -# rename to prevent conflict with uu* utils from sharutils -mv $RPM_BUILD_ROOT%{_bindir}/uuencode $RPM_BUILD_ROOT%{_bindir}/gmime-uuencode -mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode +%makeinstall +find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print for FILE in COPYING ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done -rm $RPM_BUILD_ROOT%{_libdir}/*.*a - -%clean -rm -rf $RPM_BUILD_ROOT -%post -n libgmime-2_4-2 -p /sbin/ldconfig +%post -n libgmime-2_6-0 -p /sbin/ldconfig -%postun -n libgmime-2_4-2 -p /sbin/ldconfig +%postun -n libgmime-2_6-0 -p /sbin/ldconfig %files tools %defattr (-, root, root) # NEWS is empty -%doc AUTHORS COPYING ChangeLog PORTING README TODO +# COPYING is LGPL while the binaries are GPL +%doc AUTHORS ChangeLog README TODO %{_bindir}/*uu* -%files -n libgmime-2_4-2 +%files -n libgmime-2_6-0 %defattr (-, root, root) # NEWS is empty -%doc AUTHORS COPYING ChangeLog PORTING README TODO +%doc AUTHORS COPYING ChangeLog README TODO %{_libdir}/*.so.* %files sharp %defattr (-, root, root) -%dir %{_prefix}/lib/mono/gmime-sharp-2.4 +%dir %{_prefix}/lib/mono/gmime-sharp-2.6 %dir %{_prefix}/lib/mono/gac/gmime-sharp -%dir %{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4 -%{_prefix}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll -%{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4/gmime-sharp.dll -%{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config +%dir %{_prefix}/lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4 +%{_prefix}/lib/mono/gmime-sharp-2.6/gmime-sharp.dll +%{_prefix}/lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4/gmime-sharp.dll +%{_prefix}/lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config +%{_datadir}/gapi-2.0/gmime-api.xml # devel file: -%{_libdir}/pkgconfig/gmime-sharp-2.4.pc +%{_libdir}/pkgconfig/gmime-sharp-2.6.pc %files devel %defattr (-, root, root) -%{_includedir}/gmime-2.4 +%doc PORTING +%{_includedir}/gmime-2.6 %{_libdir}/*.so -%{_libdir}/pkgconfig/gmime-2.4.pc -%doc %{_datadir}/gtk-doc/html/gmime-2.4/ +%{_libdir}/pkgconfig/gmime-2.6.pc +%doc %{_datadir}/gtk-doc/html/gmime-2.6/ %changelog ++++++ gmime-compiler-warnings.patch ++++++
From 3d1a9694454b4abb7061c9faacca42f98c6a0080 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast
Date: Wed, 11 Jan 2012 13:15:24 +0000 Subject: Fixed compiler warnings
2012-01-11 Jeffrey Stedfast
From a2fb1c7b384c0ec27821c8a2e4574a9e1f0721da Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast
Date: Wed, 11 Jan 2012 13:53:49 +0000 Subject: Copy gtk-sharp build process over to gmime-sharp
2012-01-11 Jeffrey Stedfast