Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnumeric for openSUSE:Factory 
checked in at 2021-05-21 21:50:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnumeric (Old)
 and      /work/SRC/openSUSE:Factory/.gnumeric.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnumeric"

Fri May 21 21:50:14 2021 rev:122 rq:894775 version:1.12.49

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnumeric/gnumeric.changes        2021-04-12 
12:39:14.597500313 +0200
+++ /work/SRC/openSUSE:Factory/.gnumeric.new.2988/gnumeric.changes      
2021-05-21 21:50:26.862126197 +0200
@@ -1,0 +2,5 @@
+Mon Apr  5 11:48:42 UTC 2021 - Callum Farmer <[email protected]>
+
+- Add libgda-6.patch: support GDA 6
+
+-------------------------------------------------------------------

New:
----
  libgda-6.patch

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

Other differences:
------------------
++++++ gnumeric.spec ++++++
--- /var/tmp/diff_new_pack.uND2cA/_old  2021-05-21 21:50:27.418123895 +0200
+++ /var/tmp/diff_new_pack.uND2cA/_new  2021-05-21 21:50:27.418123895 +0200
@@ -25,6 +25,8 @@
 URL:            http://www.gnumeric.org/
 Source0:        
https://download.gnome.org/sources/gnumeric/1.12/%{name}-%{version}.tar.xz
 Source1:        gnumeric-rpmlintrc
+# PATCH-FIX-UPSTREAM libgda-6.patch [email protected] -- Require and support 
GDA 6
+Patch0:         libgda-6.patch
 BuildRequires:  bison
 BuildRequires:  docbook-dtds
 BuildRequires:  fdupes
@@ -44,8 +46,8 @@
 #BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(gthread-2.0) >= 2.38.0
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.8.7
-BuildRequires:  pkgconfig(libgda-5.0) >= 5.0.0
-BuildRequires:  pkgconfig(libgda-ui-5.0) >= 5.0.0
+BuildRequires:  pkgconfig(libgda-6.0) >= 6.0.0
+BuildRequires:  pkgconfig(libgda-ui-6.0) >= 6.0.0
 BuildRequires:  pkgconfig(libgoffice-0.10) >= 0.10.47
 BuildRequires:  pkgconfig(libgsf-1) >= 1.14.33
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.4.12
@@ -130,7 +132,7 @@
 %lang_package
 
 %prep
-%setup -q
+%autosetup -p1
 translation-update-upstream
 translation-update-upstream po-functions gnumeric-functions
 # remove incomplete translations caused by translation-update-upstream (global 
LINGUAS file, two domains)

++++++ libgda-6.patch ++++++
>From 5862048949405f02819bad6a4ff3878dca7f41a9 Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 29 Mar 2021 17:32:31 +0100
Subject: [PATCH] Bump gda dependency to 6.0.0

---
 configure.ac             | 2 +-
 plugins/gda/plugin-gda.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7e87b44b5..63af2f9e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -298,7 +298,7 @@ AC_ARG_WITH(gda,
        fi
 )
 if test "$try_gda" = true; then
-       PKG_CHECK_MODULES(GDA, [libgda-5.0 >= 5.0.0, libgda-ui-5.0 >= 5.0.0],
+       PKG_CHECK_MODULES(GDA, [libgda-6.0 >= 6.0.0, libgda-ui-6.0 >= 6.0.0],
                [gda_msg=yes],
                [gda_msg="NO.  libgda problem"])
        if test "$gda_msg" = yes; then
diff --git a/plugins/gda/plugin-gda.c b/plugins/gda/plugin-gda.c
index 3f62a1f03..f8414f7e6 100644
--- a/plugins/gda/plugin-gda.c
+++ b/plugins/gda/plugin-gda.c
@@ -69,9 +69,9 @@ gnm_value_new_from_gda (GValue const *gval,
 
        if (t == GDA_TYPE_TIME) {
                GdaTime const *time = gda_value_get_time (gval);
-               res = value_new_float ( (time->hour +
-                                        (time->minute +
-                                         time->second / 60.) / 60.) / 24.),
+               res = value_new_float ( (g_date_time_get_hour (time) +
+                                        (g_date_time_get_minute (time) +
+                                         g_date_time_get_second (time) / 60.) 
/ 60.) / 24.),
                value_set_fmt (res, go_format_default_time ());
                return res;
        }
@@ -527,7 +527,7 @@ view_data_sources (GnmAction const *action, WorkbookControl 
*wbc)
 {
        char *argv[2];
 
-       argv[0] = gda_get_application_exec_path ("gda-control-center");
+       argv[0] = "/usr/bin/env gda-control-center-6.0";
        argv[1] = NULL;
        if (!g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, 
NULL, NULL)) {
                go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (wbc)), 
GTK_MESSAGE_INFO,
-- 
GitLab

Reply via email to