summaryrefslogtreecommitdiff
path: root/sci-chemistry/gnome-chemistry-utils/files/gnome-chemistry-utils-0.14.17-gnumeric.patch
blob: 826d9b056df87cc38aafcf69781d538aa0b9c3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Index: gchemutils/configure.ac
===================================================================
--- gchemutils/configure.ac	(revision 2072)
+++ gchemutils/configure.ac	(revision 2073)
@@ -352,7 +352,7 @@
   libspreadsheet=libspreadsheet-1.12
 fi
 
-PKG_CHECK_MODULES(gnumeric, [$libspreadsheet >= 1.11.6], [build_gnumeric_plugin=yes],
+PKG_CHECK_MODULES(gnumeric, [$libspreadsheet >= 1.12.42], [build_gnumeric_plugin=yes],
 		[build_gnumeric_plugin=no])
 dnl --without is not handled
 
Index: gchemutils/gnumeric/functions.cc
===================================================================
--- gchemutils/gnumeric/functions.cc	(revision 2072)
+++ gchemutils/gnumeric/functions.cc	(revision 2073)
@@ -195,23 +195,23 @@
 const GnmFuncDescriptor Chemistry_functions[] = {
 
         { N_("molarmass"),       "s",
-			help_molarmass, gnumeric_molarmass, NULL, NULL, NULL,
+			help_molarmass, gnumeric_molarmass, NULL,
 			GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
         { N_("monoisotopicmass"),       "s",
-			help_monoisotopicmass, gnumeric_monoisotopicmass, NULL, NULL, NULL,
+			help_monoisotopicmass, gnumeric_monoisotopicmass, NULL,
 			GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
         { N_("chemcomposition"),       "ss",
-			help_chemcomposition, gnumeric_chemcomposition, NULL, NULL, NULL,
+			help_chemcomposition, gnumeric_chemcomposition, NULL,
 			GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
         { N_("elementnumber"),       "s",
-			help_elementnumber, gnumeric_elementnumber, NULL, NULL, NULL,
+			help_elementnumber, gnumeric_elementnumber, NULL,
 			GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
         { N_("elementsymbol"),       "f",
-			help_elementsymbol, gnumeric_elementsymbol, NULL, NULL, NULL,
+			help_elementsymbol, gnumeric_elementsymbol, NULL,
 			GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
 
 
-        {NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+        {NULL, NULL, NULL, NULL, NULL,
 			GNM_FUNC_IS_PLACEHOLDER,  GNM_FUNC_IMPL_STATUS_UNIMPLEMENTED, GNM_FUNC_TEST_STATUS_NO_TESTSUITE}
 };