pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/galculator import galculator-1.2.5, a nice deskto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db9db46a4f81
branches:  trunk
changeset: 494025:db9db46a4f81
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed May 18 15:45:04 2005 +0000

description:
import galculator-1.2.5, a nice desktop calculator

diffstat:

 math/galculator/DESCR            |   3 +++
 math/galculator/Makefile         |  19 +++++++++++++++++++
 math/galculator/PLIST            |  22 ++++++++++++++++++++++
 math/galculator/distinfo         |   6 ++++++
 math/galculator/patches/patch-aa |  13 +++++++++++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 6fbad88116f4 -r db9db46a4f81 math/galculator/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/galculator/DESCR     Wed May 18 15:45:04 2005 +0000
@@ -0,0 +1,3 @@
+galculator is a GTK 2 based calculator with ordinary notation/reverse polish
+notation, a formula entry mode, different number bases (DEC, HEX, OCT, BIN)
+and different units of angular measure (DEG, RAD, GRAD).
diff -r 6fbad88116f4 -r db9db46a4f81 math/galculator/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/galculator/Makefile  Wed May 18 15:45:04 2005 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/05/18 15:45:04 drochner Exp $
+#
+
+DISTNAME=              galculator-1.2.5
+CATEGORIES=            math
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=galculator/}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://galculator.sourceforge.net/
+COMMENT=               Desktop calculator with scientific / RPN modes
+
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+USE_GNU_TOOLS+=                make
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6fbad88116f4 -r db9db46a4f81 math/galculator/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/galculator/PLIST     Wed May 18 15:45:04 2005 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/18 15:45:04 drochner Exp $
+bin/galculator
+man/man1/galculator.1
+share/applications/galculator.desktop
+share/galculator/glade/about.glade
+share/galculator/glade/basic_buttons.glade
+share/galculator/glade/color.glade
+share/galculator/glade/dispctrl_bottom.glade
+share/galculator/glade/dispctrl_right.glade
+share/galculator/glade/dispctrl_right_vertical.glade
+share/galculator/glade/font.glade
+share/galculator/glade/main_frame.glade
+share/galculator/glade/prefs.glade
+share/galculator/glade/scientific_buttons.glade
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/galculator.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/galculator.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/galculator.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/galculator.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/galculator.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/galculator.mo
+@dirrm share/galculator/glade
+@dirrm share/galculator
diff -r 6fbad88116f4 -r db9db46a4f81 math/galculator/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/galculator/distinfo  Wed May 18 15:45:04 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/05/18 15:45:04 drochner Exp $
+
+SHA1 (galculator-1.2.5.tar.gz) = fb223bf23b1442ec391cec1932e917951f9cc895
+RMD160 (galculator-1.2.5.tar.gz) = bce9f52a4aca449ea15a160c83eb92ffbb3ab10e
+Size (galculator-1.2.5.tar.gz) = 275790 bytes
+SHA1 (patch-aa) = 16667855487c813ea5c8ea99a730d318c6cc7f40
diff -r 6fbad88116f4 -r db9db46a4f81 math/galculator/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/galculator/patches/patch-aa  Wed May 18 15:45:04 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/05/18 15:45:04 drochner Exp $
+
+--- src/general_functions.c.orig       2005-05-07 10:20:10.000000000 +0200
++++ src/general_functions.c
+@@ -124,7 +124,7 @@ double axtof (char *bin_string, int base
+                       return_value += (lower_bin_string[counter] - '0') * pow (base, strlen (lower_bin_string) - 1 - counter);
+               else if (lower_bin_string[counter] - 'a' < 10) \
+                       return_value += (lower_bin_string[counter] - 'a' + 10) * pow (base, strlen (lower_bin_string) - 1 - counter);
+-              else fprintf (stderr, _("[%s] failed to convert char %c in function \"axtof\". %s\n"), PROG_NAME, lower_bin_string[counter], lower_bin_string[counter], BUG_REPORT);
++              else fprintf (stderr, _("[%s] failed to convert char %c in function \"axtof\". %s\n"), PROG_NAME, lower_bin_string[counter], BUG_REPORT);
+       }
+       
+       g_free (lower_bin_string);



Home | Main Index | Thread Index | Old Index