[postler] Rebuild for new libdb. Fix build issue with vala 0.12.1.

Thomas Moschny thm at fedoraproject.org
Sat Jul 2 15:58:18 UTC 2011


commit 73d662ee69b4a1fb72aceb7cbcf22f6f0aea54cd
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Sat Jul 2 17:57:14 2011 +0200

    Rebuild for new libdb.
    Fix build issue with vala 0.12.1.

 postler-0.1.1-vala-0.12.1.patch |   26 ++++++++++++++++++++++++++
 postler.spec                    |    8 +++++++-
 2 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/postler-0.1.1-vala-0.12.1.patch b/postler-0.1.1-vala-0.12.1.patch
new file mode 100644
index 0000000..ab5ed4a
--- /dev/null
+++ b/postler-0.1.1-vala-0.12.1.patch
@@ -0,0 +1,26 @@
+From: Thomas Moschny <thomas.moschny at gmx.de>
+Subject: [PATCH] t/0.1.1-vala-0.12.1
+
+Fix issue with vala 0.12.1.
+
+Signed-off-by: Thomas Moschny <thomas.moschny at gmx.de>
+
+---
+ postler/postler-content.vala |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/postler/postler-content.vala b/postler/postler-content.vala
+index 7cf230e..9ce3a75 100644
+--- a/postler/postler-content.vala
++++ b/postler/postler-content.vala
+@@ -1086,7 +1086,7 @@ public class Postler.Content : WebKit.WebView {
+                     var escaped = GLib.Regex.escape_string (" " + emoticon.token);
+                     var regex = new GLib.Regex (escaped);
+                     body_chunk = regex.replace_eval (body_chunk, -1, 0, 0,
+-                        (match_info, result) => { evaluate_emoticon (match_info, result, emoticon); });
++                        (match_info, result) => { return evaluate_emoticon (match_info, result, emoticon); });
+                 }
+                 catch (GLib.RegexError error) { }
+             }
+-- 
+tg: (a562267..) t/0.1.1-vala-0.12.1 (depends on: 0.1.1)
diff --git a/postler.spec b/postler.spec
index 31d2f7e..dba19fa 100644
--- a/postler.spec
+++ b/postler.spec
@@ -1,12 +1,13 @@
 Name:           postler
 Version:        0.1.1
-Release:        4%{?dist}
+Release:        5%{?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
+Patch1:         postler-0.1.1-vala-0.12.1.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  vala >= 0.10.0
 BuildRequires:  intltool
@@ -39,6 +40,7 @@ defaults.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 
 %build
@@ -91,6 +93,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* 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.
+
 * Sat Apr 16 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.1.1-4
 - Merge ideas from Michel Alexandre Salim's specfile:
   - Use pkgconfig(...)-style BRs.


More information about the scm-commits mailing list