Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgdata for openSUSE:Factory 
checked in at 2022-09-21 14:39:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgdata (Old)
 and      /work/SRC/openSUSE:Factory/.libgdata.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgdata"

Wed Sep 21 14:39:48 2022 rev:65 rq:1003237 version:0.18.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgdata/libgdata.changes        2021-11-15 
00:06:49.375625396 +0100
+++ /work/SRC/openSUSE:Factory/.libgdata.new.2083/libgdata.changes      
2022-09-21 14:40:10.885380386 +0200
@@ -1,0 +2,15 @@
+Mon Sep  5 10:14:32 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Add 47.patch: build: Build against new gcr-4 library. Following
+  this, replace pkgconfig(gcr-base-3) with pkgconfig(gcr-4)
+  BuildRequires. Patch based on mr
+  https://gitlab.gnome.org/GNOME/libgdata/-/merge_requests/47
+- Pass oauth1=disabled to meson and drop pkgconfig(oauth)
+  BuildRequires. Disabled by default upstream, and google have
+  deprecated oauth1 since 2012.
+- Drop unused pkgconfig(gdk-pixbuf-2.0) and
+  pkgconfig(libuhttpmock-0.0), we already pass
+  always_build_tests=false to meson, so they are "wasted".
+- Remove already disabled pkgconfig(gtk+-3.0) BuildRequires.
+
+-------------------------------------------------------------------

New:
----
  47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgdata.spec ++++++
--- /var/tmp/diff_new_pack.YdoiOk/_old  2022-09-21 14:40:11.405381829 +0200
+++ /var/tmp/diff_new_pack.YdoiOk/_new  2022-09-21 14:40:11.409381840 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libgdata
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,23 +27,19 @@
 URL:            http://live.gnome.org/libgdata
 Source:         
https://download.gnome.org/sources/libgdata/0.18/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM 47.patch -- build: Build against new gcr-4 library
+Patch0:         47.patch
 
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
 BuildRequires:  meson
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(gcr-base-3)
-BuildRequires:  pkgconfig(gdk-pixbuf-2.0) >= 2.14
+BuildRequires:  pkgconfig(gcr-4)
 BuildRequires:  pkgconfig(gio-2.0) >= 2.38.0
 BuildRequires:  pkgconfig(goa-1.0) >= 3.8
 BuildRequires:  pkgconfig(json-glib-1.0) >= 0.15
-# Note: as of 0.10.0, gtk+-3.0 is only needed to build a demo that isn't
-# installed, so no need to depend on it
-#BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libsoup-2.4) >= 2.55.90
-BuildRequires:  pkgconfig(libuhttpmock-0.0) >= 0.5.0
 BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(oauth) >= 0.9.4
 BuildRequires:  pkgconfig(vapigen)
 
 %description
@@ -98,7 +94,7 @@
        -Dinstalled_tests=false \
        -Dgtk_doc=true \
        -Dvapi=true \
-       -Doauth1=enabled \
+       -Doauth1=disabled \
        %{nil}
 %meson_build
 

++++++ 47.patch ++++++
>From 5da08f0aeb4fd4f30c5c4f8aac662d03883bbf1a Mon Sep 17 00:00:00 2001
From: Bastien Nocera <[email protected]>
Date: Tue, 2 Aug 2022 11:07:49 +0200
Subject: [PATCH 1/3] build: Build against new gcr-4 library

Rather than the old gcr-base-3.
---
 gdata/gdata-service.c | 2 +-
 meson.build           | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 6e1f0d40..a59a23be 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -46,7 +46,7 @@
 
 #ifdef HAVE_GNOME
 #define GCR_API_SUBJECT_TO_CHANGE
-#include <gcr/gcr-base.h>
+#include <gcr/gcr.h>
 #endif /* HAVE_GNOME */
 
 #include "gdata-service.h"
diff --git a/meson.build b/meson.build
index 68eb0b1a..b860afd8 100644
--- a/meson.build
+++ b/meson.build
@@ -107,11 +107,11 @@ gtk_dep = dependency(
   not_found_message: 'GTK+ support requested but gtk+-3.0 ' + 
gtk_dep_req_version + ' could not be found',
 )
 
-# GNOME support, which pulls in gcr-base-3 to provide non-pageable memory
-gcr_dep = dependency('gcr-base-3', required: get_option('gnome'))
+# GNOME support, which pulls in gcr-4 to provide non-pageable memory
+gcr_dep = dependency('gcr-4', required: get_option('gnome'))
 enable_gnome = gcr_dep.found()
 if enable_gnome
-  gdata_private_deps += dependency('gcr-base-3')
+  gdata_private_deps += dependency('gcr-4')
 endif
 config_h.set('HAVE_GNOME', enable_gnome)
 
-- 
GitLab

Reply via email to