Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
Qalculate! is a modern multi-purpose desktop calculator.
It is small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, and
plotting. This package provides libraries and a console-based calculator.
+8
View File
@@ -0,0 +1,8 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2009/05/25 15:10:28 drochner Exp $
For online updates of currency exchange rates, either gnome-vfs
(pkgsrc/sysutils/gnome-vfs) or wget (pkgsrc/net/wget) needs to be
installed.
===========================================================================
+39
View File
@@ -0,0 +1,39 @@
# $NetBSD: Makefile,v 1.42 2012/09/15 10:05:32 obache Exp $
DISTNAME= libqalculate-0.9.7
PKGNAME= qalculate-0.9.7
PKGREVISION= 6
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qalculate/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://qalculate.sourceforge.net/
COMMENT= Modern multi-purpose desktop calculator (console version)
USE_GNU_READLINE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= autoconf gmake intltool msgfmt pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= ${WRKSRC}/libqalculate.pc.in
UNLIMIT_RESOURCES= datasize
SUBST_CLASSES+= pthread
SUBST_FILES.pthread= libqalculate.pc.in
SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g'
SUBST_STAGE.pthread= post-patch
PTHREAD_AUTO_VARS= yes
pre-configure:
${RUN} cd ${WRKSRC}; autoconf
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../math/cln/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+217
View File
@@ -0,0 +1,217 @@
@comment $NetBSD: PLIST,v 1.15 2010/04/13 17:25:22 drochner Exp $
bin/qalc
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/doc/lib${PKGNAME}/reference/html/Calculator_8h.html
share/doc/lib${PKGNAME}/reference/html/DataSet_8h.html
share/doc/lib${PKGNAME}/reference/html/ExpressionItem_8h.html
share/doc/lib${PKGNAME}/reference/html/Function_8h.html
share/doc/lib${PKGNAME}/reference/html/MathStructure_8h.html
share/doc/lib${PKGNAME}/reference/html/Number_8h.html
share/doc/lib${PKGNAME}/reference/html/Prefix_8h.html
share/doc/lib${PKGNAME}/reference/html/Unit_8h.html
share/doc/lib${PKGNAME}/reference/html/Variable_8h.html
share/doc/lib${PKGNAME}/reference/html/annotated.html
share/doc/lib${PKGNAME}/reference/html/classAliasUnit-members.html
share/doc/lib${PKGNAME}/reference/html/classAliasUnit.html
share/doc/lib${PKGNAME}/reference/html/classAliasUnit.png
share/doc/lib${PKGNAME}/reference/html/classAliasUnit__Composite-members.html
share/doc/lib${PKGNAME}/reference/html/classAliasUnit__Composite.html
share/doc/lib${PKGNAME}/reference/html/classAliasUnit__Composite.png
share/doc/lib${PKGNAME}/reference/html/classArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classArgument.html
share/doc/lib${PKGNAME}/reference/html/classArgument.png
share/doc/lib${PKGNAME}/reference/html/classArgumentSet-members.html
share/doc/lib${PKGNAME}/reference/html/classArgumentSet.html
share/doc/lib${PKGNAME}/reference/html/classArgumentSet.png
share/doc/lib${PKGNAME}/reference/html/classAssumptions-members.html
share/doc/lib${PKGNAME}/reference/html/classAssumptions.html
share/doc/lib${PKGNAME}/reference/html/classBinaryPrefix-members.html
share/doc/lib${PKGNAME}/reference/html/classBinaryPrefix.html
share/doc/lib${PKGNAME}/reference/html/classBinaryPrefix.png
share/doc/lib${PKGNAME}/reference/html/classBooleanArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classBooleanArgument.html
share/doc/lib${PKGNAME}/reference/html/classBooleanArgument.png
share/doc/lib${PKGNAME}/reference/html/classCalculator-members.html
share/doc/lib${PKGNAME}/reference/html/classCalculator.html
share/doc/lib${PKGNAME}/reference/html/classCalculatorMessage-members.html
share/doc/lib${PKGNAME}/reference/html/classCalculatorMessage.html
share/doc/lib${PKGNAME}/reference/html/classCompositeUnit-members.html
share/doc/lib${PKGNAME}/reference/html/classCompositeUnit.html
share/doc/lib${PKGNAME}/reference/html/classCompositeUnit.png
share/doc/lib${PKGNAME}/reference/html/classDataObject-members.html
share/doc/lib${PKGNAME}/reference/html/classDataObject.html
share/doc/lib${PKGNAME}/reference/html/classDataObjectArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classDataObjectArgument.html
share/doc/lib${PKGNAME}/reference/html/classDataObjectArgument.png
share/doc/lib${PKGNAME}/reference/html/classDataProperty-members.html
share/doc/lib${PKGNAME}/reference/html/classDataProperty.html
share/doc/lib${PKGNAME}/reference/html/classDataPropertyArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classDataPropertyArgument.html
share/doc/lib${PKGNAME}/reference/html/classDataPropertyArgument.png
share/doc/lib${PKGNAME}/reference/html/classDataSet-members.html
share/doc/lib${PKGNAME}/reference/html/classDataSet.html
share/doc/lib${PKGNAME}/reference/html/classDataSet.png
share/doc/lib${PKGNAME}/reference/html/classDateArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classDateArgument.html
share/doc/lib${PKGNAME}/reference/html/classDateArgument.png
share/doc/lib${PKGNAME}/reference/html/classDecimalPrefix-members.html
share/doc/lib${PKGNAME}/reference/html/classDecimalPrefix.html
share/doc/lib${PKGNAME}/reference/html/classDecimalPrefix.png
share/doc/lib${PKGNAME}/reference/html/classDynamicVariable-members.html
share/doc/lib${PKGNAME}/reference/html/classDynamicVariable.html
share/doc/lib${PKGNAME}/reference/html/classDynamicVariable.png
share/doc/lib${PKGNAME}/reference/html/classExpressionItem-members.html
share/doc/lib${PKGNAME}/reference/html/classExpressionItem.html
share/doc/lib${PKGNAME}/reference/html/classExpressionItem.png
share/doc/lib${PKGNAME}/reference/html/classExpressionItemArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classExpressionItemArgument.html
share/doc/lib${PKGNAME}/reference/html/classExpressionItemArgument.png
share/doc/lib${PKGNAME}/reference/html/classFunctionArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classFunctionArgument.html
share/doc/lib${PKGNAME}/reference/html/classFunctionArgument.png
share/doc/lib${PKGNAME}/reference/html/classIntegerArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classIntegerArgument.html
share/doc/lib${PKGNAME}/reference/html/classIntegerArgument.png
share/doc/lib${PKGNAME}/reference/html/classKnownVariable-members.html
share/doc/lib${PKGNAME}/reference/html/classKnownVariable.html
share/doc/lib${PKGNAME}/reference/html/classKnownVariable.png
share/doc/lib${PKGNAME}/reference/html/classMathFunction-members.html
share/doc/lib${PKGNAME}/reference/html/classMathFunction.html
share/doc/lib${PKGNAME}/reference/html/classMathFunction.png
share/doc/lib${PKGNAME}/reference/html/classMathStructure-members.html
share/doc/lib${PKGNAME}/reference/html/classMathStructure.html
share/doc/lib${PKGNAME}/reference/html/classMatrixArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classMatrixArgument.html
share/doc/lib${PKGNAME}/reference/html/classMatrixArgument.png
share/doc/lib${PKGNAME}/reference/html/classNumber-members.html
share/doc/lib${PKGNAME}/reference/html/classNumber.html
share/doc/lib${PKGNAME}/reference/html/classNumberArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classNumberArgument.html
share/doc/lib${PKGNAME}/reference/html/classNumberArgument.png
share/doc/lib${PKGNAME}/reference/html/classNumberPrefix-members.html
share/doc/lib${PKGNAME}/reference/html/classNumberPrefix.html
share/doc/lib${PKGNAME}/reference/html/classNumberPrefix.png
share/doc/lib${PKGNAME}/reference/html/classPrefix-members.html
share/doc/lib${PKGNAME}/reference/html/classPrefix.html
share/doc/lib${PKGNAME}/reference/html/classPrefix.png
share/doc/lib${PKGNAME}/reference/html/classSymbolicArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classSymbolicArgument.html
share/doc/lib${PKGNAME}/reference/html/classSymbolicArgument.png
share/doc/lib${PKGNAME}/reference/html/classTextArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classTextArgument.html
share/doc/lib${PKGNAME}/reference/html/classTextArgument.png
share/doc/lib${PKGNAME}/reference/html/classUnit-members.html
share/doc/lib${PKGNAME}/reference/html/classUnit.html
share/doc/lib${PKGNAME}/reference/html/classUnit.png
share/doc/lib${PKGNAME}/reference/html/classUnknownVariable-members.html
share/doc/lib${PKGNAME}/reference/html/classUnknownVariable.html
share/doc/lib${PKGNAME}/reference/html/classUnknownVariable.png
share/doc/lib${PKGNAME}/reference/html/classUserFunction-members.html
share/doc/lib${PKGNAME}/reference/html/classUserFunction.html
share/doc/lib${PKGNAME}/reference/html/classUserFunction.png
share/doc/lib${PKGNAME}/reference/html/classVariable-members.html
share/doc/lib${PKGNAME}/reference/html/classVariable.html
share/doc/lib${PKGNAME}/reference/html/classVariable.png
share/doc/lib${PKGNAME}/reference/html/classVectorArgument-members.html
share/doc/lib${PKGNAME}/reference/html/classVectorArgument.html
share/doc/lib${PKGNAME}/reference/html/classVectorArgument.png
share/doc/lib${PKGNAME}/reference/html/classes.html
share/doc/lib${PKGNAME}/reference/html/doxygen.css
share/doc/lib${PKGNAME}/reference/html/doxygen.png
share/doc/lib${PKGNAME}/reference/html/files.html
share/doc/lib${PKGNAME}/reference/html/functions.html
share/doc/lib${PKGNAME}/reference/html/functions_0x62.html
share/doc/lib${PKGNAME}/reference/html/functions_0x63.html
share/doc/lib${PKGNAME}/reference/html/functions_0x64.html
share/doc/lib${PKGNAME}/reference/html/functions_0x65.html
share/doc/lib${PKGNAME}/reference/html/functions_0x66.html
share/doc/lib${PKGNAME}/reference/html/functions_0x67.html
share/doc/lib${PKGNAME}/reference/html/functions_0x68.html
share/doc/lib${PKGNAME}/reference/html/functions_0x69.html
share/doc/lib${PKGNAME}/reference/html/functions_0x6b.html
share/doc/lib${PKGNAME}/reference/html/functions_0x6c.html
share/doc/lib${PKGNAME}/reference/html/functions_0x6d.html
share/doc/lib${PKGNAME}/reference/html/functions_0x6e.html
share/doc/lib${PKGNAME}/reference/html/functions_0x6f.html
share/doc/lib${PKGNAME}/reference/html/functions_0x70.html
share/doc/lib${PKGNAME}/reference/html/functions_0x72.html
share/doc/lib${PKGNAME}/reference/html/functions_0x73.html
share/doc/lib${PKGNAME}/reference/html/functions_0x74.html
share/doc/lib${PKGNAME}/reference/html/functions_0x75.html
share/doc/lib${PKGNAME}/reference/html/functions_0x76.html
share/doc/lib${PKGNAME}/reference/html/functions_0x77.html
share/doc/lib${PKGNAME}/reference/html/functions_0x78.html
share/doc/lib${PKGNAME}/reference/html/functions_0x79.html
share/doc/lib${PKGNAME}/reference/html/functions_0x7a.html
share/doc/lib${PKGNAME}/reference/html/functions_0x7e.html
share/doc/lib${PKGNAME}/reference/html/functions_func.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x62.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x63.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x64.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x65.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x66.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x67.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x68.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x69.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x6b.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x6c.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x6d.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x6e.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x6f.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x70.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x72.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x73.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x74.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x75.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x76.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x7a.html
share/doc/lib${PKGNAME}/reference/html/functions_func_0x7e.html
share/doc/lib${PKGNAME}/reference/html/functions_vars.html
share/doc/lib${PKGNAME}/reference/html/globals.html
share/doc/lib${PKGNAME}/reference/html/globals_enum.html
share/doc/lib${PKGNAME}/reference/html/globals_eval.html
share/doc/lib${PKGNAME}/reference/html/hierarchy.html
share/doc/lib${PKGNAME}/reference/html/includes_8h.html
share/doc/lib${PKGNAME}/reference/html/index.html
share/doc/lib${PKGNAME}/reference/html/structEvaluationOptions-members.html
share/doc/lib${PKGNAME}/reference/html/structEvaluationOptions.html
share/doc/lib${PKGNAME}/reference/html/structExpressionName-members.html
share/doc/lib${PKGNAME}/reference/html/structExpressionName.html
share/doc/lib${PKGNAME}/reference/html/structParseOptions-members.html
share/doc/lib${PKGNAME}/reference/html/structParseOptions.html
share/doc/lib${PKGNAME}/reference/html/structPlotDataParameters-members.html
share/doc/lib${PKGNAME}/reference/html/structPlotDataParameters.html
share/doc/lib${PKGNAME}/reference/html/structPlotParameters-members.html
share/doc/lib${PKGNAME}/reference/html/structPlotParameters.html
share/doc/lib${PKGNAME}/reference/html/structPrintOptions-members.html
share/doc/lib${PKGNAME}/reference/html/structPrintOptions.html
share/doc/lib${PKGNAME}/reference/html/structSortOptions-members.html
share/doc/lib${PKGNAME}/reference/html/structSortOptions.html
share/doc/lib${PKGNAME}/reference/html/tabs.css
share/doc/lib${PKGNAME}/reference/html/util_8h.html
share/locale/fr/LC_MESSAGES/libqalculate.mo
share/locale/nl/LC_MESSAGES/libqalculate.mo
share/locale/sv/LC_MESSAGES/libqalculate.mo
share/locale/zh_CN/LC_MESSAGES/libqalculate.mo
share/qalculate/currencies.xml
share/qalculate/datasets.xml
share/qalculate/elements.xml
share/qalculate/functions.xml
share/qalculate/planets.xml
share/qalculate/prefixes.xml
share/qalculate/units.xml
share/qalculate/variables.xml
+17
View File
@@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.17 2012/09/15 10:05:32 obache Exp $
BUILDLINK_TREE+= qalculate
.if !defined(QALCULATE_BUILDLINK3_MK)
QALCULATE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.qalculate+= qalculate>=0.8.2
BUILDLINK_ABI_DEPENDS.qalculate+= qalculate>=0.9.7nb6
BUILDLINK_PKGSRCDIR.qalculate?= ../../math/qalculate
.include "../../devel/glib2/buildlink3.mk"
.include "../../math/cln/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.endif # QALCULATE_BUILDLINK3_MK
BUILDLINK_TREE+= -qalculate
+10
View File
@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.20 2010/04/13 17:25:22 drochner Exp $
SHA1 (libqalculate-0.9.7.tar.gz) = c15f7f3a97995decf62cc964956fc1e374ecd78c
RMD160 (libqalculate-0.9.7.tar.gz) = cc9e198769bea9731f92d2f3836875c83f715674
Size (libqalculate-0.9.7.tar.gz) = 1256271 bytes
SHA1 (patch-ab) = b1a4b0ffe5dc19ff2b1c640960c3f3a524fd524b
SHA1 (patch-ac) = 98e817d60fc4cd521e7d227ecd330364ec072ecd
SHA1 (patch-ad) = 8327989bed8dee02c3881f42b981197238609f82
SHA1 (patch-ae) = 7c9685c578a848cb4e9c55756110d891b9254f2b
SHA1 (patch-af) = 3bab134f0ca10ecf91252e8211982be767e594e5
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.10 2007/08/01 16:16:11 joerg Exp $
--- src/qalc.cc.orig 2007-08-01 15:38:35.000000000 +0000
+++ src/qalc.cc
@@ -16,7 +16,7 @@
#include <time.h>
#include <pthread.h>
#include <dirent.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <glib.h>
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: patch-ac,v 1.1 2006/02/24 00:05:00 joerg Exp $
--- libqalculate.pc.in.orig 2006-02-23 23:44:44.000000000 +0000
+++ libqalculate.pc.in
@@ -7,5 +7,5 @@ Name: libqalculate
Description: libqalculate
Requires: glib-2.0 libxml-2.0
Version: @VERSION@
-Libs: -L${libdir} @CLN_LIBS@ -lpthread -lqalculate
+Libs: -L${libdir} @CLN_LIBS@ @PTHREAD_LIBS@ -lqalculate
Cflags: -I${includedir} @CLN_CPPFLAGS@
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ad,v 1.4 2010/04/13 17:25:22 drochner Exp $
--- configure.in.orig 2010-01-05 15:15:27.000000000 +0000
+++ configure.in
@@ -34,6 +34,7 @@ AC_PROG_LN_S
AC_HEADER_STDC
AC_PROG_INTLTOOL
AM_PROG_LIBTOOL
+PKG_PROG_PKG_CONFIG
dnl ------------------------------------
dnl | check for compiler characteristics |-------------------------------------
@@ -87,8 +88,6 @@ dnl --------------------------------
dnl | check for neccessary libraries |-----------------------------------------
dnl --------------------------------
-AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
-
AC_LANG([C++])
PKG_CHECK_MODULES(GLIB, [
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1 2007/08/01 16:16:11 joerg Exp $
--- src/defs2doc.cc.orig 2007-08-01 15:38:32.000000000 +0000
+++ src/defs2doc.cc
@@ -16,7 +16,7 @@
#include <time.h>
#include <pthread.h>
#include <dirent.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <glib.h>
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2009/05/25 15:10:28 drochner Exp $
--- libqalculate/BuiltinFunctions.cc.orig 2009-05-12 12:55:15.000000000 +0200
+++ libqalculate/BuiltinFunctions.cc
@@ -2283,7 +2283,7 @@ int TimestampFunction::calculate(MathStr
string str = vargs[0].symbol();
remove_blank_ends(str);
if(str == _("now") || str == "now") {
- mstruct.number().setInternal(time(NULL));
+ mstruct.number().setInternal((long)time(NULL));
return 1;
}
GDate *gtime = g_date_new();