summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-11-19 12:30:07 +0000
committeradam <adam@pkgsrc.org>2004-11-19 12:30:07 +0000
commit4b17cb150f3323c1b83aefec464ae381ef1729a8 (patch)
tree43dda68aba22af17692ece6034e9fb52e4aa52d2
parenta583fb2a74fd90c0c38680e3c43c33e0a0336eef (diff)
downloadpkgsrc-4b17cb150f3323c1b83aefec464ae381ef1729a8.tar.gz
Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux.
It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting, and a graphical interface (GTK+) that uses a one-line fault-tolerant expression entry (although it supports optional traditional buttons).
-rw-r--r--math/qalculate/DESCR5
-rw-r--r--math/qalculate/Makefile31
-rw-r--r--math/qalculate/PLIST87
-rw-r--r--math/qalculate/distinfo6
-rw-r--r--math/qalculate/patches/patch-aa16
-rw-r--r--math/qalculate/patches/patch-ab17
6 files changed, 162 insertions, 0 deletions
diff --git a/math/qalculate/DESCR b/math/qalculate/DESCR
new file mode 100644
index 00000000000..202712e5369
--- /dev/null
+++ b/math/qalculate/DESCR
@@ -0,0 +1,5 @@
+Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux.
+It is small and simple to use but with much power and versatility underneath.
+Features include customizable functions, units, arbitrary precision, plotting,
+and a graphical interface (GTK+) that uses a one-line fault-tolerant expression
+entry (although it supports optional traditional buttons).
diff --git a/math/qalculate/Makefile b/math/qalculate/Makefile
new file mode 100644
index 00000000000..6a48059ba09
--- /dev/null
+++ b/math/qalculate/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/19 12:30:07 adam Exp $
+
+DISTNAME= qalculate-0.7.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qalculate/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://qalculate.sourceforge.net/
+COMMENT= Qalculate is a modern multi-purpose desktop calculator
+
+DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
+DEPENDS+= wget>=1.8:../../net/wget
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_GNU_READLINE= yes
+GNU_CONFIGURE= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE= ${WRKSRC}/src/libqalculate/libqalculate.pc.in
+
+UNLIMIT_RESOURCES= datasize
+
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../math/cln/buildlink3.mk"
+.include "../../textproc/scrollkeeper/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/qalculate/PLIST b/math/qalculate/PLIST
new file mode 100644
index 00000000000..b0ec0d2a6ee
--- /dev/null
+++ b/math/qalculate/PLIST
@@ -0,0 +1,87 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/19 12:30:08 adam Exp $
+bin/qalc
+bin/qalculate
+bin/qalculate-gtk
+include/libqalculate/BuiltinFunctions.h
+include/libqalculate/Calculator.h
+include/libqalculate/DataSet.h
+include/libqalculate/ExpressionItem.h
+include/libqalculate/Function.h
+include/libqalculate/MathStructure.h
+include/libqalculate/Number.h
+include/libqalculate/Prefix.h
+include/libqalculate/Unit.h
+include/libqalculate/Variable.h
+include/libqalculate/includes.h
+include/libqalculate/qalculate.h
+include/libqalculate/util.h
+lib/libqalculate.la
+lib/pkgconfig/libqalculate.pc
+share/applications/qalculate.desktop
+share/applnk/Utilities/qalculate.desktop
+share/gnome/help/qalculate/C/appendixa.xml
+share/gnome/help/qalculate/C/appendixb.xml
+share/gnome/help/qalculate/C/appendixc.xml
+share/gnome/help/qalculate/C/figures/calculation-history.png
+share/gnome/help/qalculate/C/figures/calculator-buttons-screen.png
+share/gnome/help/qalculate/C/figures/calculator-buttons.png
+share/gnome/help/qalculate/C/figures/completion.png
+share/gnome/help/qalculate/C/figures/convert-number-bases.png
+share/gnome/help/qalculate/C/figures/convert-unit.png
+share/gnome/help/qalculate/C/figures/edit-function.png
+share/gnome/help/qalculate/C/figures/edit-matrix.png
+share/gnome/help/qalculate/C/figures/edit-unit.png
+share/gnome/help/qalculate/C/figures/function-manager.png
+share/gnome/help/qalculate/C/figures/gnuplot.png
+share/gnome/help/qalculate/C/figures/import-csv.png
+share/gnome/help/qalculate/C/figures/insert-function-screen.png
+share/gnome/help/qalculate/C/figures/insert-function.png
+share/gnome/help/qalculate/C/figures/mainwindow-screen.png
+share/gnome/help/qalculate/C/figures/mainwindow.png
+share/gnome/help/qalculate/C/figures/plot-data.png
+share/gnome/help/qalculate/C/figures/plot-settings.png
+share/gnome/help/qalculate/C/figures/store-variable.png
+share/gnome/help/qalculate/C/figures/unit-manager.png
+share/gnome/help/qalculate/C/figures/variable-manager.png
+share/gnome/help/qalculate/C/legal.xml
+share/gnome/help/qalculate/C/qalculate.xml
+share/omf/qalculate/qalculate-C.omf
+share/qalculate/datasets.xml
+share/qalculate/elements.xml
+share/qalculate/functions.xml
+share/qalculate/glade/about.glade
+share/qalculate/glade/argumentrules.glade
+share/qalculate/glade/csvexport.glade
+share/qalculate/glade/csvimport.glade
+share/qalculate/glade/datasetedit.glade
+share/qalculate/glade/datasets.glade
+share/qalculate/glade/decimals.glade
+share/qalculate/glade/functionedit.glade
+share/qalculate/glade/functions.glade
+share/qalculate/glade/main.glade
+share/qalculate/glade/matrixedit.glade
+share/qalculate/glade/namesedit.glade
+share/qalculate/glade/nbases.glade
+share/qalculate/glade/nbexpression.glade
+share/qalculate/glade/periodictable.glade
+share/qalculate/glade/plot.glade
+share/qalculate/glade/precision.glade
+share/qalculate/glade/preferences.glade
+share/qalculate/glade/unit.glade
+share/qalculate/glade/unitedit.glade
+share/qalculate/glade/units.glade
+share/qalculate/glade/unknownedit.glade
+share/qalculate/glade/variableedit.glade
+share/qalculate/glade/variables.glade
+share/qalculate/planets.xml
+share/qalculate/prefixes.xml
+share/qalculate/units.xml
+share/qalculate/variables.xml
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/qalculate.mo
+@dirrm share/qalculate/glade
+@dirrm share/qalculate
+@dirrm share/omf/qalculate
+@dirrm share/gnome/help/qalculate/C/figures
+@dirrm share/gnome/help/qalculate/C
+@dirrm share/gnome/help/qalculate
+@dirrm include/libqalculate
diff --git a/math/qalculate/distinfo b/math/qalculate/distinfo
new file mode 100644
index 00000000000..be294fa13a8
--- /dev/null
+++ b/math/qalculate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/19 12:30:07 adam Exp $
+
+SHA1 (qalculate-0.7.0.tar.gz) = 79b8f8441ed044b3316fc0e3b1fab647868f6353
+Size (qalculate-0.7.0.tar.gz) = 1498084 bytes
+SHA1 (patch-aa) = 138badf3dbb1d011720f980b8cf653e662c5e073
+SHA1 (patch-ab) = 05f21b9ff3a4fc567fd38befd4eb43b47cd347a0
diff --git a/math/qalculate/patches/patch-aa b/math/qalculate/patches/patch-aa
new file mode 100644
index 00000000000..ecd797c7adf
--- /dev/null
+++ b/math/qalculate/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/19 12:30:08 adam Exp $
+
+--- src/libqalculate/Calculator.cc.orig 2004-10-18 12:30:49.000000000 +0000
++++ src/libqalculate/Calculator.cc
+@@ -33,7 +33,11 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
++#if defined(__NetBSD__)
++#include <sys/wait.h>
++#else
+ #include <wait.h>
++#endif
+ #include <queue>
+ #include <glib.h>
+
diff --git a/math/qalculate/patches/patch-ab b/math/qalculate/patches/patch-ab
new file mode 100644
index 00000000000..e0d8f9e9181
--- /dev/null
+++ b/math/qalculate/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/19 12:30:08 adam Exp $
+
+--- configure.orig 2004-11-19 12:07:16.000000000 +0000
++++ configure
+@@ -20460,12 +20460,10 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
+ if test "x$GCC" = "xyes"; then
+ case $CFLAGS in
+ *-Os*)
+- CFLAGS="$CFLAGS -O2"
+ ;;
+ esac
+ case $CXXFLAGS in
+ *-Os*)
+- CXXFLAGS="$CXXFLAGS -O2"
+ ;;
+ esac
+ fi