[postler] Rebuild for new libpng. Fix build issue.
Thomas Moschny
thm at fedoraproject.org
Fri Nov 11 17:02:25 UTC 2011
commit 30128af54556ae11f1540a58679383b5793ade40
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Fri Nov 11 17:55:11 2011 +0100
Rebuild for new libpng.
Fix build issue.
postler-0.1.1-soup.patch | 26 ++++++++++++++++++++++++++
postler.spec | 10 +++++++++-
2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/postler-0.1.1-soup.patch b/postler-0.1.1-soup.patch
new file mode 100644
index 0000000..da45fd4
--- /dev/null
+++ b/postler-0.1.1-soup.patch
@@ -0,0 +1,26 @@
+diff --git a/postler/postler-content.vala b/postler/postler-content.vala
+index 7cf230e..940e44a 100644
+--- a/postler/postler-content.vala
++++ b/postler/postler-content.vala
+@@ -442,7 +442,7 @@ public class Postler.Content : WebKit.WebView {
+ TimeVal time = new TimeVal ();
+ int offset = 0;
+ if (parsed != null) {
+- parsed.to_timeval (time);
++ Soup.date_to_timeval (parsed, time);
+ offset = parsed.offset;
+ }
+ return new DateTime.from_timeval_local (time).add_minutes (offset);
+diff --git a/postler/postler.vapi b/postler/postler.vapi
+index 929932e..5626409 100644
+--- a/postler/postler.vapi
++++ b/postler/postler.vapi
+@@ -28,3 +28,8 @@ namespace Gdk {
+ out Gdk.Rectangle dest);
+ }
+
++[CCode (cprefix = "Soup", lower_case_cprefix = "soup_")]
++namespace Soup {
++ [CCode (cname = "soup_date_to_timeval", cheader_filename = "libsoup/soup.h")]
++ public void date_to_timeval (Soup.Date date, GLib.TimeVal time);
++}
diff --git a/postler.spec b/postler.spec
index dba19fa..a28a153 100644
--- a/postler.spec
+++ b/postler.spec
@@ -1,13 +1,16 @@
Name: postler
Version: 0.1.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: An ultra simple desktop mail client
Group: Applications/Internet
License: LGPLv2+
URL: http://launchpad.net/postler
Source0: http://git.xfce.org/apps/%{name}/snapshot/%{name}-%{version}.tar.bz2
Patch0: postler-0.1.1-rename_icon.patch
+# cherry-picked commit 9caec846
Patch1: postler-0.1.1-vala-0.12.1.patch
+# cherry-picked commit be2acb8a
+Patch2: postler-0.1.1-soup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vala >= 0.10.0
BuildRequires: intltool
@@ -41,6 +44,7 @@ defaults.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
@@ -93,6 +97,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Fri Nov 11 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.1.1-6
+- Rebuild for new libpng.
+- Fix build issue.
+
* Sat Jul 2 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.1.1-5
- Rebuild for new libdb.
- Fix build issue with vala 0.12.1.
More information about the scm-commits
mailing list