]> git.pld-linux.org Git - packages/gnumeric.git/blob - gnumeric-gnomedb.patch
rebuild with python 3.10
[packages/gnumeric.git] / gnumeric-gnomedb.patch
1 --- gnumeric-1.12.45/configure.ac.orig  2018-11-24 18:24:59.000000000 +0100
2 +++ gnumeric-1.12.45/configure.ac       2019-07-04 19:58:36.996040340 +0200
3 @@ -302,12 +302,8 @@
4                 [gda_msg=yes],
5                 [gda_msg="NO.  libgda problem"])
6         if test "$gda_msg" = yes; then
7 -               PKG_CHECK_MODULES(GNOMEDB, [libgnomedb-4.0 >= 3.99.6],
8 -                       [gnomedb_msg="yes"],
9 -                       [gnomedb_msg="NO. libgnomedb problem"])
10 -               if test "$gnomedb_msg" = yes; then
11 -                       AC_DEFINE(HAVE_LIBGNOMEDB, 1, [ Define if libgnomedb support is compiled in])
12 -               fi
13 +               gnomedb_msg="yes"
14 +               AC_DEFINE(HAVE_LIBGNOMEDB, 1, [ Define if libgnomedb support is compiled in])
15         fi
16  fi
17  AM_CONDITIONAL(WITH_GDA, test x"$gda_msg" = xyes)
18 --- gnumeric-1.12.45/plugins/gnome-db/plugin-gnomedb.c.orig     2018-05-16 22:23:05.000000000 +0200
19 +++ gnumeric-1.12.45/plugins/gnome-db/plugin-gnomedb.c  2019-07-04 20:08:16.359568325 +0200
20 @@ -15,12 +15,10 @@
21         argv[0] = (char *) "gnome-database-properties-4.0";
22         argv[1] = NULL;
23         if (!g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL)) {
24 -               char *msg = g_strdup_printf (
25 +               go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (wbc)),
26 +                       GTK_MESSAGE_INFO, 
27                         _("Could not run GNOME database configuration tool ('%s')"),
28                         argv[0]);
29 -               go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (wbc)),
30 -                       GTK_MESSAGE_INFO,  msg);
31 -               g_free (msg);
32         }
33  }
34  
This page took 0.026337 seconds and 3 git commands to generate.