Hello community, here is the log from the commit of package geary for openSUSE:Factory checked in at 2013-12-16 15:58:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geary (Old) and /work/SRC/openSUSE:Factory/.geary.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "geary" Changes: -------- --- /work/SRC/openSUSE:Factory/geary/geary.changes 2013-08-27 20:41:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.geary.new/geary.changes 2013-12-16 15:58:35.000000000 +0100 @@ -1,0 +2,45 @@ +Fri Dec 13 20:25:17 UTC 2013 - dimstar@opensuse.org + +- Update to version 0.4.3: + + Fix "squished" conversation list when used with certain themes. + + Compile-time support for WebKitGTK 2.0. +- Add geary-vala-workaround.patch: Work around vala issues which + causes invalid int to pointer and pointer to int conversions. +- Export CFLAGS="%{optflags} -w" in order to work around + bgo#682526. + +------------------------------------------------------------------- +Sat Nov 30 19:46:42 UTC 2013 - dimstar@opensuse.org + +- Update to version 0.4.2: + + Compile with Vala 0.22.1. +- Changes from version 0.4.1: + + Compile-time support for WebKitGTK 2.2. + + Fixes IMAP STARTTLS failure to connect bug. + + Works around LIST bug in IceWarp IMAP servers (crasher). + + Solves crash when IMAP connect fails due to timeout. + + CamelCased MIME types now handled properly (prevents blank + emails). + + Adds missing RTL icons. + + Updated translations. +- Changes from version 0.4.0: + + Per-account full text search. + + Automatic save to draft. + + Refreshed user interface. + + Per-folder unread email count. + + Experimental support for Outlook.com. + + Enhanced "show external images" preference. + + Find bar for locating text within a conversation (Ctrl+F). + + Improved handling of attachments. + + Malicious link checker. + + Passwords stored with libsecret instead of GNOME Keyring. + + Hundreds of bugs fixed and small improvements. +- Drop geary-webkitgtk-2.1.patch: fixed upstream. +- Remove sed hack that removed fatal-warnings from CMakeLists.txt: + fixed upstream. +- Replace pkgconfig(gnome-keyring-1) BuildRequires with + pkgconfig(libsecret-1): ported to libsecret. +- Replace pkgconfig(gee-1.0) BuildRequires to pkgconfig(gee-0.8): + ported to libgee 0.8 (which is newer than libgee-1.0). + +------------------------------------------------------------------- Old: ---- geary-0.3.1.tar.xz geary-webkitgtk-2.1.patch New: ---- geary-0.4.3.tar.xz geary-vala-workaround.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geary.spec ++++++ --- /var/tmp/diff_new_pack.nwXxdE/_old 2013-12-16 15:58:36.000000000 +0100 +++ /var/tmp/diff_new_pack.nwXxdE/_new 2013-12-16 15:58:36.000000000 +0100 @@ -17,29 +17,29 @@ Name: geary -Version: 0.3.1 +Version: 0.4.3 Release: 0 Summary: A lightweight email reader for the GNOME desktop License: LGPL-2.0+ Group: Productivity/Networking/Email/Clients Url: http://yorba.org/geary -Source: http://yorba.org/download/geary/stable/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM geary-webkitgtk-2.1.patch dimstar@opensuse.org -- Fix build with webkitgtk 2.1 -Patch0: geary-webkitgtk-2.1.patch +Source: http://ftp.acc.umu.se/pub/GNOME/sources/geary/0.4/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM geary-vala-workaround.patch bgo#720433 dimstar@opensuse.org -- Work around vala creating wrong conversions in some cases +Patch0: geary-vala-workaround.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: intltool BuildRequires: update-desktop-files -BuildRequires: pkgconfig(gee-1.0) >= 0.6.0 +BuildRequires: pkgconfig(gee-0.8) >= 0.8.5 BuildRequires: pkgconfig(gio-2.0) >= 2.28.0 BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gmime-2.6) >= 2.6.0 -BuildRequires: pkgconfig(gnome-keyring-1) >= 3.2.2 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 BuildRequires: pkgconfig(libcanberra) >= 0.28 BuildRequires: pkgconfig(libnotify) >= 0.7.5 +BuildRequires: pkgconfig(libsecret-1) >= 0.11 BuildRequires: pkgconfig(sqlite3) >= 3.7.4 BuildRequires: pkgconfig(unique-3.0) >= 3.0.0 BuildRequires: pkgconfig(vapigen) >= 0.17.4 @@ -58,9 +58,10 @@ %prep %setup -q %patch0 -p1 -sed -i "/fatal-warnings/d" src/CMakeLists.txt %build +#A Harsh workaround for bgo#682526 - The casts are 'accepted' +export CFLAGS="%{optflags} -w" # custom configure script, thus not using the macro. ./configure --prefix=%{_prefix} make %{?_smp_mflags} @@ -90,6 +91,8 @@ %doc %{_datadir}/gnome/help/%{name}/C/ %{_bindir}/%{name} %{_datadir}/%{name}/ +%dir %{_datadir}/appdata +%{_datadir}/appdata/geary.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/glib-2.0/schemas/org.yorba.geary.gschema.xml ++++++ geary-0.3.1.tar.xz -> geary-0.4.3.tar.xz ++++++ ++++ 213869 lines of diff (skipped) ++++++ geary-vala-workaround.patch ++++++
From 32deb02141c26acc2c9adddccb34dcbf170eb582 Mon Sep 17 00:00:00 2001 From: Jim Nelson <jim@yorba.org> Date: Fri, 13 Dec 2013 23:58:04 +0000 Subject: Workaround 64-bit portability issue: Fixes bgo#720433
This is technically a workaround until Vala fixes bgo#720437. Although the code change seems innocuous, the original code caused Vala's generator to not cast the returned int value to a pointer. --- diff --git a/src/engine/imap/response/imap-server-data.vala b/src/engine/imap/response/imap-server-data.vala index 32528bc..bdcc97b 100644 --- a/src/engine/imap/response/imap-server-data.vala +++ b/src/engine/imap/response/imap-server-data.vala @@ -153,7 +153,11 @@ public class Geary.Imap.ServerData : ServerResponse { Gee.List<int> results = new Gee.ArrayList<int>(); for (int ctr = 2; ctr < size; ctr++) { - results.add(get_as_string(ctr).as_int(0)); + // can't directly return the result from as_int() into results as a Vala bug causes a + // build policy violation for uncast int -> pointer on 64-bit architectures: + // https://bugzilla.gnome.org/show_bug.cgi?id=720437 + int result = get_as_string(ctr).as_int(0); + results.add(result); } return results; -- cgit v0.9.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org