summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-07-08 15:08:40 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-07-08 15:08:40 +0000
commit77135353b42154b7c95c740d92b0532667e97023 (patch)
treeb62c15c0ca9cae7d166fb1abd9f7c5080af6be38 /math
parentUpdate to 1.5 (diff)
Update to 1.1.2. Adds French translation.
Notes
Notes: svn path=/head/; revision=84481
Diffstat (limited to 'math')
-rw-r--r--math/galculator/Makefile2
-rw-r--r--math/galculator/distinfo2
-rw-r--r--math/galculator/files/patch-src_general_functions.c56
-rw-r--r--math/galculator/pkg-plist1
4 files changed, 3 insertions, 58 deletions
diff --git a/math/galculator/Makefile b/math/galculator/Makefile
index 1389d4cc8123..d9690e205041 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 f6de9d9f2daa..db81960ebbc8 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 55b89d03cf8c..000000000000
--- 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 aa5fe6762ead..1115a14947ca 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