From 414a2868e44b66e1ad0cc613b83551434ed964b0 Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 8 Jul 2003 15:08:40 +0000 Subject: Update to 1.1.2. Adds French translation. --- math/galculator/Makefile | 2 +- math/galculator/distinfo | 2 +- .../galculator/files/patch-src_general_functions.c | 56 ---------------------- math/galculator/pkg-plist | 1 + 4 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 math/galculator/files/patch-src_general_functions.c (limited to 'math/galculator') diff --git a/math/galculator/Makefile b/math/galculator/Makefile index 1389d4c..d9690e2 100644 --- a/math/galculator/Makefile +++ b/math/galculator/Makefile @@ -6,7 +6,7 @@ # PORTNAME= galculator -PORTVERSION= 1.1.1 +PORTVERSION= 1.1.2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/math/galculator/distinfo b/math/galculator/distinfo index f6de9d9..db81960 100644 --- a/math/galculator/distinfo +++ b/math/galculator/distinfo @@ -1 +1 @@ -MD5 (galculator-1.1.1.tar.bz2) = 58e495b9ceb8ac8f16a8d1ab344fe1b1 +MD5 (galculator-1.1.2.tar.bz2) = 326b862122de170c53f44acf901327e7 diff --git a/math/galculator/files/patch-src_general_functions.c b/math/galculator/files/patch-src_general_functions.c deleted file mode 100644 index 55b89d0..0000000 --- a/math/galculator/files/patch-src_general_functions.c +++ /dev/null @@ -1,56 +0,0 @@ -$FreeBSD$ ---- src/general_functions.c.orig Mon Jun 23 21:34:24 2003 -+++ src/general_functions.c Thu Jun 26 00:23:54 2003 -@@ -512,14 +512,6 @@ void set_object_data (GladeXML *xml) - {"button_parclose", ')'},\ - {NULL}\ - }; -- -- while (operation_map[counter].button_name != NULL) { -- g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -- operation_map[counter].button_name)), -- "operation", GINT_TO_POINTER(operation_map[counter].operation)); -- counter++; -- } -- counter = 0; - - s_gfunc_map gfunc_map[] = {\ - {"button_sign", display_result_toggle_sign},\ -@@ -530,14 +522,6 @@ void set_object_data (GladeXML *xml) - {NULL}\ - }; - -- while (gfunc_map[counter].button_name != NULL) { -- g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -- gfunc_map[counter].button_name)), -- "func", gfunc_map[counter].func); -- counter++; -- }; -- counter = 0; -- - s_function_map function_map[] = {\ - {"button_sin", {sin, asin, sinh, sin}, TRUE},\ - {"button_cos", {cos, acos, cosh, cos}, TRUE},\ -@@ -551,6 +535,22 @@ void set_object_data (GladeXML *xml) - {"button_cmp", {cmp, cmp, cmp, cmp}, FALSE},\ - {NULL}\ - }; -+ -+ while (operation_map[counter].button_name != NULL) { -+ g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -+ operation_map[counter].button_name)), -+ "operation", GINT_TO_POINTER(operation_map[counter].operation)); -+ counter++; -+ } -+ counter = 0; -+ -+ while (gfunc_map[counter].button_name != NULL) { -+ g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -+ gfunc_map[counter].button_name)), -+ "func", gfunc_map[counter].func); -+ counter++; -+ }; -+ counter = 0; - - while (function_map[counter].button_name != NULL) { - func = (void *) malloc (sizeof (function_map[counter].func)); diff --git a/math/galculator/pkg-plist b/math/galculator/pkg-plist index aa5fe67..1115a14 100644 --- a/math/galculator/pkg-plist +++ b/math/galculator/pkg-plist @@ -7,5 +7,6 @@ share/galculator/glade/font.glade share/galculator/glade/main.glade share/galculator/glade/prefs.glade share/locale/de/LC_MESSAGES/galculator.mo +share/locale/fr/LC_MESSAGES/galculator.mo @dirrm share/galculator/glade @dirrm share/galculator -- cgit v1.1