forked from pool/libvmime
switch to 0.9.2 rerelease
OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=12
This commit is contained in:
parent
82c51f1887
commit
d20c5101f4
@ -1,20 +0,0 @@
|
||||
References: https://github.com/kisli/vmime/issues/149
|
||||
|
||||
libkcinetmapi does a much better fixup on its own.
|
||||
---
|
||||
src/vmime/text.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
Index: vmime-0.9.2.g500/src/vmime/text.cpp
|
||||
===================================================================
|
||||
--- vmime-0.9.2.g500.orig/src/vmime/text.cpp
|
||||
+++ vmime-0.9.2.g500/src/vmime/text.cpp
|
||||
@@ -401,8 +401,6 @@ text* text::decodeAndUnfold(const parsin
|
||||
out->removeAllWords();
|
||||
|
||||
std::vector <shared_ptr <word> > words = word::parseMultiple(ctx, in, 0, in.length(), NULL);
|
||||
- fixBrokenWords(words);
|
||||
-
|
||||
copy_vector(words, out->m_words);
|
||||
|
||||
return (out);
|
@ -1,36 +0,0 @@
|
||||
From 24449ea8c7eca61c08b955c95ea7c5295a2a2bde Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Wed, 27 Mar 2013 17:50:08 +0100
|
||||
Subject: [PATCH] build:
|
||||
|
||||
AFAICS, VMIME broke its API between 0.4.x and 0.8.x without updating
|
||||
soversions, hence no trust that it is correct now. v0.9.2 also
|
||||
carries the same number as 0.9.1 despite the API having changed.
|
||||
Make sure it has a unique SONAME. Do the same as we do for wxWidgets-3_0,
|
||||
and use an unambiguous "suse" suffix.
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: vmime-0.9.2~g490/CMakeLists.txt
|
||||
===================================================================
|
||||
--- vmime-0.9.2~g490.orig/CMakeLists.txt
|
||||
+++ vmime-0.9.2~g490/CMakeLists.txt
|
||||
@@ -52,7 +52,7 @@ SET(VMIME_VERSION_MICRO 2)
|
||||
# . Interfaces added/removed/changed: CURRENT++, REVISION=0
|
||||
# . Interfaces added (upward-compatible changes): AGE++
|
||||
# . Interfaces removed: AGE=0
|
||||
-SET(VMIME_API_VERSION_CURRENT 0)
|
||||
+SET(VMIME_API_VERSION_CURRENT 3)
|
||||
SET(VMIME_API_VERSION_REVISION 0)
|
||||
SET(VMIME_API_VERSION_AGE 0)
|
||||
|
||||
@@ -65,7 +65,7 @@ SET(VMIME_API_VERSION ${VMIME_API_VERSIO
|
||||
# VMime Library
|
||||
|
||||
# Set base name
|
||||
-SET(VMIME_LIBRARY_NAME vmime)
|
||||
+SET(VMIME_LIBRARY_NAME vmime-suse)
|
||||
|
||||
# Source files
|
||||
FILE(
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: libvmime
|
||||
%define lname libvmime-suse3
|
||||
%define lname libvmime1
|
||||
Summary: Library for working with RFC 2822, MIME messages and IMAP/POP/SMTP
|
||||
License: GPL-3.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
@ -27,8 +27,6 @@ Url: http://vmime.org/
|
||||
|
||||
Source: https://github.com/kisli/vmime/archive/v%version.tar.gz
|
||||
Patch1: libvmime-nodatetime.diff
|
||||
Patch2: libvmime-sotag.diff
|
||||
Patch3: dont-fixup.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ImageMagick
|
||||
%if 0%{?suse_version} < 1310
|
||||
@ -98,7 +96,7 @@ complete mail client.
|
||||
|
||||
%prep
|
||||
%setup -qn vmime-%version
|
||||
%patch -P 1 -P 2 -P 3 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?with_pdf}
|
||||
@ -134,7 +132,6 @@ mkdir -p "$b/%_docdir/%name"
|
||||
cp -a doc/book/book.pdf "$b/%_docdir/%name/"
|
||||
%endif
|
||||
make install DESTDIR="$b"
|
||||
ln -s libvmime-suse.so "$b/%_libdir/libvmime.so"
|
||||
find "$b" -type f -name "*.la" -delete
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
@ -143,12 +140,11 @@ find "$b" -type f -name "*.la" -delete
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%_libdir/%name-suse.so.3*
|
||||
%_libdir/%name.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/vmime
|
||||
%_libdir/libvmime-suse.so
|
||||
%_libdir/libvmime.so
|
||||
%_libdir/pkgconfig/*.pc
|
||||
%if 0%{?with_pdf}
|
||||
|
BIN
v0.9.2.tar.gz
(Stored with Git LFS)
BIN
v0.9.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user