aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-05-11 03:10:31 +0800
committermarcus <marcus@FreeBSD.org>2009-05-11 03:10:31 +0800
commit16710c759833fed9ef47495f39428269bf0b20e7 (patch)
treef350ded0180288282a75f9854fb266a869b86843 /science/gchemutils
parent6ef406d633e4c5ef75f401463417cf84d0bd23f4 (diff)
downloadfreebsd-ports-gnome-16710c759833fed9ef47495f39428269bf0b20e7.tar.gz
freebsd-ports-gnome-16710c759833fed9ef47495f39428269bf0b20e7.tar.zst
freebsd-ports-gnome-16710c759833fed9ef47495f39428269bf0b20e7.zip
Chase the API changes in goffice-0.7.6.
Diffstat (limited to 'science/gchemutils')
-rw-r--r--science/gchemutils/files/patch-programs_calc_gchemcalc.cc15
-rw-r--r--science/gchemutils/files/patch-programs_spectra_window.cc11
-rw-r--r--science/gchemutils/files/patch-programs_table_gchemtable-curve.cc11
3 files changed, 33 insertions, 4 deletions
diff --git a/science/gchemutils/files/patch-programs_calc_gchemcalc.cc b/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
index b5c7b7c24b7e..892d85f462ca 100644
--- a/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
+++ b/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
@@ -1,5 +1,5 @@
--- programs/calc/gchemcalc.cc.orig 2009-01-05 14:09:59.000000000 -0500
-+++ programs/calc/gchemcalc.cc 2009-05-05 01:04:35.000000000 -0400
++++ programs/calc/gchemcalc.cc 2009-05-10 15:08:02.000000000 -0400
@@ -56,11 +56,11 @@
#include <goffice/gtk/goffice-gtk.h>
#include <goffice/graph/gog-axis.h>
@@ -15,7 +15,16 @@
#include <goffice/utils/go-locale.h>
#include <goffice/utils/go-image.h>
#include <goffice/utils/go-line.h>
-@@ -736,7 +736,7 @@
+@@ -512,7 +512,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
+@@ -736,7 +736,7 @@ int main (int argc, char *argv[])
App = new GChemCalc ();
/* Initialize plugins manager */
@@ -24,7 +33,7 @@
GladeXML *xml = glade_xml_new (GLADEDIR"/gchemcalc.glade", "gchemcalc", NULL);
App->window = GTK_WINDOW (glade_xml_get_widget (xml, "gchemcalc"));
-@@ -808,7 +808,7 @@
+@@ -808,7 +808,7 @@ int main (int argc, char *argv[])
// Create a series for the plot and populate it with some simple data
App->series = gog_plot_new_series (App->plot);
gog_object_add_by_name (GOG_OBJECT (App->series), "Vertical drop lines", NULL);
diff --git a/science/gchemutils/files/patch-programs_spectra_window.cc b/science/gchemutils/files/patch-programs_spectra_window.cc
new file mode 100644
index 000000000000..b2b97bd3663a
--- /dev/null
+++ b/science/gchemutils/files/patch-programs_spectra_window.cc
@@ -0,0 +1,11 @@
+--- programs/spectra/window.cc.orig 2009-05-10 15:08:58.000000000 -0400
++++ programs/spectra/window.cc 2009-05-10 15:09:03.000000000 -0400
+@@ -320,7 +320,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
diff --git a/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc b/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
index 26912a5b510e..615f7d8e0b97 100644
--- a/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
+++ b/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
@@ -1,5 +1,5 @@
--- programs/table/gchemtable-curve.cc.orig 2009-01-05 14:10:00.000000000 -0500
-+++ programs/table/gchemtable-curve.cc 2009-05-05 01:11:15.000000000 -0400
++++ programs/table/gchemtable-curve.cc 2009-05-10 15:08:23.000000000 -0400
@@ -37,11 +37,9 @@
#include <goffice/graph/gog-data-set.h>
#include <goffice/graph/gog-guru.h>
@@ -13,6 +13,15 @@
#include <goffice/math/go-math.h>
#include <goffice/utils/go-locale.h>
#include <goffice/utils/go-line.h>
+@@ -95,7 +93,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
@@ -332,7 +330,7 @@ GChemTableCurve::GChemTableCurve (GChemT
obj = gog_object_get_child_by_role (GOG_OBJECT (chart),
gog_object_find_role_by_name (GOG_OBJECT (chart), "Y-Axis"));