diff options
author | drochner <drochner@pkgsrc.org> | 2005-05-18 15:45:04 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-05-18 15:45:04 +0000 |
commit | 43354f52185780e8e01dde11bdd378bc10186ad9 (patch) | |
tree | c0fcd36e4f7e696ce2fdcb9dc59ffebfc323ac1e /math | |
parent | 852cbe7113252a55fe9800940d04a3ba4baa2796 (diff) | |
download | pkgsrc-43354f52185780e8e01dde11bdd378bc10186ad9.tar.gz |
import galculator-1.2.5, a nice desktop calculator
Diffstat (limited to 'math')
-rw-r--r-- | math/galculator/DESCR | 3 | ||||
-rw-r--r-- | math/galculator/Makefile | 19 | ||||
-rw-r--r-- | math/galculator/PLIST | 22 | ||||
-rw-r--r-- | math/galculator/distinfo | 6 | ||||
-rw-r--r-- | math/galculator/patches/patch-aa | 13 |
5 files changed, 63 insertions, 0 deletions
diff --git a/math/galculator/DESCR b/math/galculator/DESCR new file mode 100644 index 00000000000..9a0e48838a7 --- /dev/null +++ b/math/galculator/DESCR @@ -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 --git a/math/galculator/Makefile b/math/galculator/Makefile new file mode 100644 index 00000000000..f44b1297ea9 --- /dev/null +++ b/math/galculator/Makefile @@ -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 +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 --git a/math/galculator/PLIST b/math/galculator/PLIST new file mode 100644 index 00000000000..d36efb644c8 --- /dev/null +++ b/math/galculator/PLIST @@ -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 --git a/math/galculator/distinfo b/math/galculator/distinfo new file mode 100644 index 00000000000..1f9f2aa2192 --- /dev/null +++ b/math/galculator/distinfo @@ -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 --git a/math/galculator/patches/patch-aa b/math/galculator/patches/patch-aa new file mode 100644 index 00000000000..6710b727cb3 --- /dev/null +++ b/math/galculator/patches/patch-aa @@ -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); |