diff options
author | pav <pav@FreeBSD.org> | 2005-06-07 17:01:36 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-06-07 17:01:36 +0800 |
commit | a7496bc4418dad19ffd838e5cb99a1a04e899792 (patch) | |
tree | 6682aabc072011122a78303356fc2d8c6fb12c2b | |
parent | 20fa2a7f1789f2895848a892dd55c99dc2d76f34 (diff) | |
download | freebsd-ports-gnome-a7496bc4418dad19ffd838e5cb99a1a04e899792.tar.gz freebsd-ports-gnome-a7496bc4418dad19ffd838e5cb99a1a04e899792.tar.zst freebsd-ports-gnome-a7496bc4418dad19ffd838e5cb99a1a04e899792.zip |
- Update qalculate to 0.8.0, which splits out libqalculate
PR: ports/81832
Submitted by: Sergey Akifyev <asa@agava.com> (maintainer)
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/libqalculate/Makefile | 31 | ||||
-rw-r--r-- | math/libqalculate/distinfo | 2 | ||||
-rw-r--r-- | math/libqalculate/files/patch-libqalculate-Calculator.cc (renamed from math/qalculate/files/patch-src_libqalculate_Calculator.cc) | 4 | ||||
-rw-r--r-- | math/libqalculate/files/patch-src-Makefile.in | 11 | ||||
-rw-r--r-- | math/libqalculate/files/patch-src-qalc.cc (renamed from math/qalculate/files/patch-src_qalc.cc) | 4 | ||||
-rw-r--r-- | math/libqalculate/pkg-descr | 6 | ||||
-rw-r--r-- | math/libqalculate/pkg-plist | 29 | ||||
-rw-r--r-- | math/qalculate/Makefile | 19 | ||||
-rw-r--r-- | math/qalculate/distinfo | 4 | ||||
-rw-r--r-- | math/qalculate/files/extra-patch-FreeBSD4 | 11 | ||||
-rw-r--r-- | math/qalculate/pkg-descr | 2 | ||||
-rw-r--r-- | math/qalculate/pkg-plist | 148 |
13 files changed, 151 insertions, 121 deletions
diff --git a/math/Makefile b/math/Makefile index 9b79e5b425b6..c0add791b1ff 100644 --- a/math/Makefile +++ b/math/Makefile @@ -99,6 +99,7 @@ SUBDIR += libgmp4 SUBDIR += libmath++ SUBDIR += libneural + SUBDIR += libqalculate SUBDIR += libranlib SUBDIR += linalg SUBDIR += linpack diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile new file mode 100644 index 000000000000..1975288419aa --- /dev/null +++ b/math/libqalculate/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: libqalculate +# Date created: 03 June 2004 +# Whom: Sergey Akifyev <asa@agava.com> +# +# $FreeBSD$ +# + +PORTNAME= libqalculate +PORTVERSION= 0.8.0 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= qalculate + +MAINTAINER= asa@agava.com +COMMENT= Very powerful GUI calculator for GNOME (backend library) + +LIB_DEPENDS= cln.3:${PORTSDIR}/math/cln + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_INC_LIBTOOL_VER=15 +USE_GNOME= intlhack lthack pkgconfig gnomehack glib20 libxml2 +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "does not configure" +.endif + +.include <bsd.port.post.mk> diff --git a/math/libqalculate/distinfo b/math/libqalculate/distinfo new file mode 100644 index 000000000000..3bb70373a693 --- /dev/null +++ b/math/libqalculate/distinfo @@ -0,0 +1,2 @@ +MD5 (libqalculate-0.8.0.tar.gz) = c3b63fa34093e519d9ff55a590713620 +SIZE (libqalculate-0.8.0.tar.gz) = 665416 diff --git a/math/qalculate/files/patch-src_libqalculate_Calculator.cc b/math/libqalculate/files/patch-libqalculate-Calculator.cc index 7bd59d32a76a..fec6d7893e6d 100644 --- a/math/qalculate/files/patch-src_libqalculate_Calculator.cc +++ b/math/libqalculate/files/patch-libqalculate-Calculator.cc @@ -1,5 +1,5 @@ ---- src/libqalculate/Calculator.cc.orig Fri Mar 11 14:36:10 2005 -+++ src/libqalculate/Calculator.cc Fri Mar 11 14:36:17 2005 +--- libqalculate/Calculator.cc.orig Fri Jun 3 12:25:49 2005 ++++ libqalculate/Calculator.cc Fri Jun 3 12:25:59 2005 @@ -33,7 +33,7 @@ #include <sys/types.h> #include <sys/stat.h> diff --git a/math/libqalculate/files/patch-src-Makefile.in b/math/libqalculate/files/patch-src-Makefile.in new file mode 100644 index 000000000000..34cd1b4a1820 --- /dev/null +++ b/math/libqalculate/files/patch-src-Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Tue Jun 7 10:42:56 2005 ++++ src/Makefile.in Tue Jun 7 10:44:51 2005 +@@ -530,7 +530,7 @@ + + + install-exec-local: +- cd $(DESTDIR)$(bindir) && rm -f qalculate; $(LN_S) @LN_QALCULATE@ qalculate ++# cd $(DESTDIR)$(bindir) && rm -f qalculate; $(LN_S) @LN_QALCULATE@ qalculate + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/math/qalculate/files/patch-src_qalc.cc b/math/libqalculate/files/patch-src-qalc.cc index 6da583f1b7fb..f5e93c171d5b 100644 --- a/math/qalculate/files/patch-src_qalc.cc +++ b/math/libqalculate/files/patch-src-qalc.cc @@ -1,5 +1,5 @@ ---- src/qalc.cc.orig Fri Mar 11 14:50:18 2005 -+++ src/qalc.cc Fri Mar 11 14:50:31 2005 +--- src/qalc.cc.orig Fri Jun 3 12:51:31 2005 ++++ src/qalc.cc Fri Jun 3 12:51:45 2005 @@ -16,7 +16,7 @@ #include <time.h> #include <pthread.h> diff --git a/math/libqalculate/pkg-descr b/math/libqalculate/pkg-descr new file mode 100644 index 000000000000..45ee2936fc83 --- /dev/null +++ b/math/libqalculate/pkg-descr @@ -0,0 +1,6 @@ +Qalculate! is a 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, plotting, and +a user-friendly interface. + +WWW: http://qalculate.sourceforge.net diff --git a/math/libqalculate/pkg-plist b/math/libqalculate/pkg-plist new file mode 100644 index 000000000000..304163f74c6b --- /dev/null +++ b/math/libqalculate/pkg-plist @@ -0,0 +1,29 @@ +bin/qalc +include/libqalculate/Function.h +include/libqalculate/Calculator.h +include/libqalculate/DataSet.h +include/libqalculate/Variable.h +include/libqalculate/ExpressionItem.h +include/libqalculate/Number.h +include/libqalculate/MathStructure.h +include/libqalculate/Prefix.h +include/libqalculate/util.h +include/libqalculate/includes.h +include/libqalculate/Unit.h +include/libqalculate/BuiltinFunctions.h +include/libqalculate/qalculate.h +lib/libqalculate.a +lib/libqalculate.la +lib/libqalculate.so +lib/libqalculate.so.0 +libdata/pkgconfig/libqalculate.pc +share/locale/sv/LC_MESSAGES/libqalculate.mo +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 +@dirrm include/libqalculate +@dirrm share/qalculate diff --git a/math/qalculate/Makefile b/math/qalculate/Makefile index 372848efcd3d..331d3a5845c4 100644 --- a/math/qalculate/Makefile +++ b/math/qalculate/Makefile @@ -6,17 +6,16 @@ # PORTNAME= qalculate -PORTVERSION= 0.7.2 -PORTREVISION= 1 +PORTVERSION= 0.8.0 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -#DISTNAME= ${PORTNAME}-gtk-${PORTVERSION} +DISTNAME= ${PORTNAME}-gtk-${PORTVERSION} MAINTAINER= asa@agava.com COMMENT= Very powerful GUI calculator for GNOME -LIB_DEPENDS= cln.3:${PORTSDIR}/math/cln +LIB_DEPENDS= qalculate.0:${PORTSDIR}/math/libqalculate RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \ wget:${PORTSDIR}/ftp/wget @@ -25,15 +24,5 @@ USE_GMAKE= yes USE_INC_LIBTOOL_VER=15 USE_GNOME= gnomeprefix gnomehack intlhack libglade2 libgnome INSTALLS_OMF= yes -INSTALLS_SHLIB= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -# cln is built with gcc 3.4 on FreeBSD 4.x -USE_GCC= 3.4 -# in FreeBSD 4.x struct liconv does not contain int_p_cs_precedes -EXTRA_PATCHES= ${FILESDIR}/extra-patch-FreeBSD4 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/math/qalculate/distinfo b/math/qalculate/distinfo index f4ac87b06f3d..e637b4a34587 100644 --- a/math/qalculate/distinfo +++ b/math/qalculate/distinfo @@ -1,2 +1,2 @@ -MD5 (qalculate-0.7.2.tar.gz) = 75af1f213829fb0905ce6784ee0e1017 -SIZE (qalculate-0.7.2.tar.gz) = 1504796 +MD5 (qalculate-gtk-0.8.0.tar.gz) = baf8571de19dbcc41ef22cd8b4bab24b +SIZE (qalculate-gtk-0.8.0.tar.gz) = 1194828 diff --git a/math/qalculate/files/extra-patch-FreeBSD4 b/math/qalculate/files/extra-patch-FreeBSD4 deleted file mode 100644 index 7c28930a8593..000000000000 --- a/math/qalculate/files/extra-patch-FreeBSD4 +++ /dev/null @@ -1,11 +0,0 @@ ---- src/libqalculate/Calculator.cc.orig Sun Aug 29 17:22:28 2004 -+++ src/libqalculate/Calculator.cc Sun Aug 29 17:27:37 2004 -@@ -225,7 +225,7 @@ - - saved_locale = strdup(setlocale(LC_NUMERIC, NULL)); - struct lconv *lc = localeconv(); -- place_currency_code_before = lc->int_p_cs_precedes; -+ place_currency_code_before = lc->p_cs_precedes; - place_currency_sign_before = lc->p_cs_precedes; - setlocale(LC_NUMERIC, "C"); - ILLEGAL_IN_NAMES = DOT_S + RESERVED OPERATORS SPACES PARENTHESISS VECTOR_WRAPS; diff --git a/math/qalculate/pkg-descr b/math/qalculate/pkg-descr index 45ee2936fc83..00d54745042a 100644 --- a/math/qalculate/pkg-descr +++ b/math/qalculate/pkg-descr @@ -3,4 +3,6 @@ use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface. +This package includes libqalculate - Qalculate! backend library + WWW: http://qalculate.sourceforge.net diff --git a/math/qalculate/pkg-plist b/math/qalculate/pkg-plist index 08098802b302..81d5d2a7ea0a 100644 --- a/math/qalculate/pkg-plist +++ b/math/qalculate/pkg-plist @@ -1,91 +1,61 @@ -bin/qalc bin/qalculate bin/qalculate-gtk -include/libqalculate/Function.h -include/libqalculate/Calculator.h -include/libqalculate/DataSet.h -include/libqalculate/Variable.h -include/libqalculate/ExpressionItem.h -include/libqalculate/Number.h -include/libqalculate/MathStructure.h -include/libqalculate/Prefix.h -include/libqalculate/util.h -include/libqalculate/includes.h -include/libqalculate/Unit.h -include/libqalculate/BuiltinFunctions.h -include/libqalculate/qalculate.h -lib/libqalculate.so.0 -lib/libqalculate.so -lib/libqalculate.la -lib/libqalculate.a -libdata/pkgconfig/libqalculate.pc -share/gnome/applnk/Utilities/qalculate.desktop -share/gnome/applications/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/legal.xml -share/gnome/help/qalculate/C/qalculate.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/omf/qalculate/qalculate-C.omf -share/gnome/qalculate/glade/about.glade -share/gnome/qalculate/glade/argumentrules.glade -share/gnome/qalculate/glade/csvexport.glade -share/gnome/qalculate/glade/csvimport.glade -share/gnome/qalculate/glade/datasetedit.glade -share/gnome/qalculate/glade/datasets.glade -share/gnome/qalculate/glade/decimals.glade -share/gnome/qalculate/glade/functionedit.glade -share/gnome/qalculate/glade/functions.glade -share/gnome/qalculate/glade/main.glade -share/gnome/qalculate/glade/matrixedit.glade -share/gnome/qalculate/glade/namesedit.glade -share/gnome/qalculate/glade/nbases.glade -share/gnome/qalculate/glade/nbexpression.glade -share/gnome/qalculate/glade/periodictable.glade -share/gnome/qalculate/glade/plot.glade -share/gnome/qalculate/glade/precision.glade -share/gnome/qalculate/glade/preferences.glade -share/gnome/qalculate/glade/unit.glade -share/gnome/qalculate/glade/unitedit.glade -share/gnome/qalculate/glade/units.glade -share/gnome/qalculate/glade/unknownedit.glade -share/gnome/qalculate/glade/variableedit.glade -share/gnome/qalculate/glade/variables.glade -share/gnome/qalculate/datasets.xml -share/gnome/qalculate/elements.xml -share/gnome/qalculate/functions.xml -share/gnome/qalculate/planets.xml -share/gnome/qalculate/prefixes.xml -share/gnome/qalculate/units.xml -share/gnome/qalculate/variables.xml -share/locale/sv/LC_MESSAGES/qalculate.mo -@dirrm include/libqalculate -@dirrm share/gnome/applnk/Utilities -@dirrm share/gnome/applnk -@dirrm share/gnome/help/qalculate/C/figures -@dirrm share/gnome/help/qalculate/C -@dirrm share/gnome/help/qalculate -@dirrm share/gnome/omf/qalculate -@dirrm share/gnome/qalculate/glade -@dirrm share/gnome/qalculate +share/locale/sv/LC_MESSAGES/qalculate-gtk.mo +share/gnome/applications/qalculate-gtk.desktop +share/gnome/help/qalculate-gtk/C/legal.xml +share/gnome/help/qalculate-gtk/C/appendixa.xml +share/gnome/help/qalculate-gtk/C/appendixb.xml +share/gnome/help/qalculate-gtk/C/appendixc.xml +share/gnome/help/qalculate-gtk/C/qalculate-gtk.xml +share/gnome/help/qalculate-gtk/C/figures/calculation-history.png +share/gnome/help/qalculate-gtk/C/figures/calculator-buttons-screen.png +share/gnome/help/qalculate-gtk/C/figures/calculator-buttons.png +share/gnome/help/qalculate-gtk/C/figures/completion.png +share/gnome/help/qalculate-gtk/C/figures/convert-number-bases.png +share/gnome/help/qalculate-gtk/C/figures/convert-unit.png +share/gnome/help/qalculate-gtk/C/figures/edit-function.png +share/gnome/help/qalculate-gtk/C/figures/edit-matrix.png +share/gnome/help/qalculate-gtk/C/figures/edit-unit.png +share/gnome/help/qalculate-gtk/C/figures/function-manager.png +share/gnome/help/qalculate-gtk/C/figures/gnuplot.png +share/gnome/help/qalculate-gtk/C/figures/import-csv.png +share/gnome/help/qalculate-gtk/C/figures/insert-function-screen.png +share/gnome/help/qalculate-gtk/C/figures/insert-function.png +share/gnome/help/qalculate-gtk/C/figures/mainwindow-screen.png +share/gnome/help/qalculate-gtk/C/figures/mainwindow.png +share/gnome/help/qalculate-gtk/C/figures/plot-data.png +share/gnome/help/qalculate-gtk/C/figures/plot-settings.png +share/gnome/help/qalculate-gtk/C/figures/store-variable.png +share/gnome/help/qalculate-gtk/C/figures/unit-manager.png +share/gnome/help/qalculate-gtk/C/figures/variable-manager.png +share/gnome/omf/qalculate-gtk/qalculate-gtk-C.omf +share/gnome/qalculate-gtk/glade/about.glade +share/gnome/qalculate-gtk/glade/argumentrules.glade +share/gnome/qalculate-gtk/glade/csvexport.glade +share/gnome/qalculate-gtk/glade/csvimport.glade +share/gnome/qalculate-gtk/glade/datasetedit.glade +share/gnome/qalculate-gtk/glade/datasets.glade +share/gnome/qalculate-gtk/glade/decimals.glade +share/gnome/qalculate-gtk/glade/functionedit.glade +share/gnome/qalculate-gtk/glade/functions.glade +share/gnome/qalculate-gtk/glade/main.glade +share/gnome/qalculate-gtk/glade/matrixedit.glade +share/gnome/qalculate-gtk/glade/namesedit.glade +share/gnome/qalculate-gtk/glade/nbases.glade +share/gnome/qalculate-gtk/glade/nbexpression.glade +share/gnome/qalculate-gtk/glade/periodictable.glade +share/gnome/qalculate-gtk/glade/plot.glade +share/gnome/qalculate-gtk/glade/precision.glade +share/gnome/qalculate-gtk/glade/preferences.glade +share/gnome/qalculate-gtk/glade/unit.glade +share/gnome/qalculate-gtk/glade/units.glade +share/gnome/qalculate-gtk/glade/unitedit.glade +share/gnome/qalculate-gtk/glade/unknownedit.glade +share/gnome/qalculate-gtk/glade/variableedit.glade +share/gnome/qalculate-gtk/glade/variables.glade +@dirrm share/gnome/help/qalculate-gtk/C/figures +@dirrm share/gnome/help/qalculate-gtk/C +@dirrm share/gnome/help/qalculate-gtk +@dirrm share/gnome/omf/qalculate-gtk +@dirrm share/gnome/qalculate-gtk/glade +@dirrm share/gnome/qalculate-gtk |