[packages/gmime3] - updated to 3.2.2 - added missing patch (missing file taken from git) - now uses libidn2

qboosh qboosh at pld-linux.org
Fri Nov 9 16:55:44 CET 2018


commit 1238efc1a620b8d68f9656143001da01baf40197
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 9 16:59:44 2018 +0100

    - updated to 3.2.2
    - added missing patch (missing file taken from git)
    - now uses libidn2

 gmime3-missing.patch | 24 ++++++++++++++++++++++++
 gmime3.spec          | 20 +++++++++++---------
 2 files changed, 35 insertions(+), 9 deletions(-)
---
diff --git a/gmime3.spec b/gmime3.spec
index d383253..64737e2 100644
--- a/gmime3.spec
+++ b/gmime3.spec
@@ -1,14 +1,15 @@
 Summary:	GMIME library
 Summary(pl.UTF-8):	Biblioteka GMIME
 Name:		gmime3
-Version:	3.0.5
+Version:	3.2.2
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gmime/3.0/gmime-%{version}.tar.xz
-# Source0-md5:	3a281d0b9487fa3281cb776daeca50c3
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gmime/3.2/gmime-%{version}.tar.xz
+# Source0-md5:	1188d71c9567375b20b9632a0ed85d3f
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-am.patch
+Patch2:		%{name}-missing.patch
 URL:		http://spruce.sourceforge.net/gmime/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.9
@@ -16,16 +17,16 @@ BuildRequires:	docbook-utils
 BuildRequires:	gettext-tools
 BuildRequires:	glib2-devel >= 1:2.32.0
 BuildRequires:	gobject-introspection-devel >= 1.30.0
-BuildRequires:	gpgme-devel >= 1:1.2.0
+BuildRequires:	gpgme-devel >= 1:1.6.0
 BuildRequires:	gtk-doc >= 1.8
-BuildRequires:	libidn-devel
+BuildRequires:	libidn2-devel >= 2.0.0
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	zlib-devel
 Requires:	glib2 >= 1:2.32.0
-Requires:	gpgme >= 1:1.2.0
+Requires:	gpgme >= 1:1.6.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,8 +41,8 @@ Summary(pl.UTF-8):	Pliki nagłówkowe do tworzenia programów z użyciem libgmim
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel >= 1:2.32.0
-Requires:	gpgme-devel >= 1:1.2.0
-Requires:	libidn-devel
+Requires:	gpgme-devel >= 1:1.6.0
+Requires:	libidn2-devel >= 2.0.0
 Requires:	zlib-devel
 
 %description devel
@@ -97,6 +98,7 @@ API języka Vala do biblioteki gmime.
 %setup -q -n gmime-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -148,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/gmime-3.0
+%{_gtkdocdir}/gmime-3.2
 
 %files -n vala-gmime3
 %defattr(644,root,root,755)
diff --git a/gmime3-missing.patch b/gmime3-missing.patch
new file mode 100644
index 0000000..bc5ba0e
--- /dev/null
+++ b/gmime3-missing.patch
@@ -0,0 +1,24 @@
+--- gmime-3.2.2/gmime/GMime-3.0.metadata.orig	1970-01-01 01:00:00.000000000 +0100
++++ gmime-3.2.2/gmime/GMime-3.0.metadata	2018-11-09 16:02:18.896575720 +0100
+@@ -0,0 +1,21 @@
++InternetAddress
++  .to_string#method name="to_new_string"
++References struct=false
++
++// G-I can't handle non-boxed types
++PartIter struct=false
++
++// G-I doesn't allow non-nullable return values (bug #660879)
++Message
++  .get_mime_part nullable
++Object
++  .get_content_type_parameter nullable
++Parser
++  .construct_message nullable
++
++// G-I doesn't support annotations on fields (bug #561619)
++Filter
++  .backbuf type="uint8[]" array_length_field="backsize"
++  .outreal type="uint8[]"
++	.outbuf type="unowned uint8[]" array_length_field="outsize"
++  .outptr type="unowned uint8[]"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gmime3.git/commitdiff/1238efc1a620b8d68f9656143001da01baf40197



More information about the pld-cvs-commit mailing list