Date: Monday, March 6, 2017 @ 05:38:42 Author: heftig Revision: 290032
0.17.7-1 Added: libgdata/trunk/0001-tests-Fix-setting-properties-on-i686.patch Modified: libgdata/trunk/PKGBUILD -------------------------------------------------+ 0001-tests-Fix-setting-properties-on-i686.patch | 27 ++++++++++++++++++++++ PKGBUILD | 18 ++++++++++---- 2 files changed, 40 insertions(+), 5 deletions(-) Added: 0001-tests-Fix-setting-properties-on-i686.patch =================================================================== --- 0001-tests-Fix-setting-properties-on-i686.patch (rev 0) +++ 0001-tests-Fix-setting-properties-on-i686.patch 2017-03-06 05:38:42 UTC (rev 290032) @@ -0,0 +1,27 @@ +From cd0d7333e67558e3578255a39f938cfa33d6ffe3 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <[email protected]> +Date: Mon, 6 Mar 2017 06:28:32 +0100 +Subject: [PATCH] tests: Fix setting properties on i686 + +Without the cast, an integer literal will have to wrong size for a +64-bit integer parameter. +--- + gdata/tests/general.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdata/tests/general.c b/gdata/tests/general.c +index 6b41f25528e62f9f..75232de3c77fd509 100644 +--- a/gdata/tests/general.c ++++ b/gdata/tests/general.c +@@ -1309,7 +1309,7 @@ test_query_properties (void) + g_assert_##cmptype (gdata_query_get_##name_underscores (query), ==, new_val); \ + \ + notification_received = FALSE; \ +- g_object_set (query, name_hyphens, new_val2, NULL); \ ++ g_object_set (query, name_hyphens, (val_type) new_val2, NULL); \ + g_assert (notification_received == TRUE); \ + \ + g_assert_##cmptype (gdata_query_get_##name_underscores (query), ==, new_val2); \ +-- +2.12.0 + Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-03-05 21:51:49 UTC (rev 290031) +++ PKGBUILD 2017-03-06 05:38:42 UTC (rev 290032) @@ -2,17 +2,19 @@ # Maintainer: Jan de Groot <[email protected]> pkgname=libgdata -pkgver=0.17.6 +pkgver=0.17.7 pkgrel=1 pkgdesc="GLib-based library for accessing online service APIs using the GData protocol" +url="https://wiki.gnome.org/Projects/libgdata" arch=('i686' 'x86_64') license=('GPL') depends=('libsoup' 'liboauth' 'gcr' 'gnome-online-accounts') makedepends=('intltool' 'gobject-introspection' 'vala' 'uhttpmock' 'git' 'gtk-doc' 'autoconf-archive') -url="http://www.gnome.org" -_commit=17aeee7598a896603d7037066c7ac90b1ef87cd9 -source=("git://git.gnome.org/libgdata#commit=$_commit") -sha256sums=('SKIP') +_commit=209aa98488bbc08e54b41faad8b65426ac62ae32 # tags/0.17.7^0 +source=("git+https://git.gnome.org/browse/libgdata#commit=$_commit" + 0001-tests-Fix-setting-properties-on-i686.patch) +sha256sums=('SKIP' + '7618eb05c30130132a66b719d6d0427a37a9cb266dcde4e03237b591008880bf') pkgver() { cd $pkgname @@ -21,6 +23,7 @@ prepare() { cd $pkgname + patch -Np1 -i ../0001-tests-Fix-setting-properties-on-i686.patch NOCONFIGURE=1 ./autogen.sh } @@ -32,6 +35,11 @@ make } +check() { + cd $pkgname + make check +} + package() { cd $pkgname make DESTDIR="$pkgdir" install
