Bug 90331 - [maintainer] [lib]qalculate 0.8.2 -> 0.9.0
Summary: [maintainer] [lib]qalculate 0.8.2 -> 0.9.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jean-Yves Lefort
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 11:40 UTC by Sergey Akifyev
Modified: 2005-12-24 22:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Akifyev 2005-12-13 11:40:02 UTC
Please, note: PR contains diffs for both libqalculate and qalculate,
as they both must be updated to work

Changelog:
    * Redesigned GTK+ GUI with history view in the main window
    * Redesigned keypad in the KDE GUI
    * Display of as-you-type expression parsing and function hints
    * Enhanced completion
    * Scaling of result display to vertically fit the window
    * Nicer history listing
    * Enhanced result display in GTK+ GUI with much nicer parentheses
    * Meta modes
    * 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
    * Binary prefixes
    * Some new variables and functions
    * Fixed help display in new yelp
    * Fixed compile with cln-1.1.10
    * Fixed regressions in simplification
    * Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
    * ...and many more bug fixes and enhancements...

How-To-Repeat: 
--- libqalculate.diff begins here ---
diff -ruN libqalculate.orig/Makefile libqalculate/Makefile
--- libqalculate.orig/Makefile	Tue Dec 13 13:10:36 2005
+++ libqalculate/Makefile	Tue Dec 13 13:10:45 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libqalculate
-PORTVERSION=	0.8.2
-PORTREVISION=	1
+PORTVERSION=	0.9.0
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	qalculate
diff -ruN libqalculate.orig/distinfo libqalculate/distinfo
--- libqalculate.orig/distinfo	Tue Dec 13 13:10:36 2005
+++ libqalculate/distinfo	Tue Dec 13 13:10:52 2005
@@ -1,2 +1,3 @@
-MD5 (libqalculate-0.8.2.tar.gz) = 69824de52bea915f5cc00ed6e3b905c9
-SIZE (libqalculate-0.8.2.tar.gz) = 683579
+MD5 (libqalculate-0.9.0.tar.gz) = 1c730ef9865fc5ef850ae7c7dbe4eb93
+SHA256 (libqalculate-0.9.0.tar.gz) = 5cad6916d9fb38fab662ef812bff55d79653d144e734ab4c66cd1424ef556449
+SIZE (libqalculate-0.9.0.tar.gz) = 693984
diff -ruN libqalculate.orig/files/patch-libqalculate-Number.cc libqalculate/files/patch-libqalculate-Number.cc
--- libqalculate.orig/files/patch-libqalculate-Number.cc	Tue Dec 13 13:10:36 2005
+++ libqalculate/files/patch-libqalculate-Number.cc	Thu Jan  1 03:00:00 1970
@@ -1,29 +0,0 @@
---- libqalculate/Number.cc.orig	Thu Nov  3 18:27:14 2005
-+++ libqalculate/Number.cc	Thu Nov  3 18:28:15 2005
-@@ -2389,7 +2389,7 @@
- 				if(po.indicate_infinite_series && !infinite_series) {
- 					remainders.push_back(remainder);
- 				}
--				remainder *= base;
-+				remainder = remainder * base;
- 				div = cln::truncate2(remainder, d);
- 				remainder2 = div.remainder;
- 				remainder = div.quotient;
-@@ -2398,7 +2398,7 @@
- 					started = !cln::zerop(remainder);
- 				}
- 				if(started) {
--					num *= base;	
-+					num = num * base;	
- 					num += remainder;
- 				}
- 				l10++;
-@@ -2417,7 +2417,7 @@
- 			}
- 			remainders.clear();
- 			if(!exact && !infinite_series) {
--				remainder *= base;
-+				remainder = remainder * base;
- 				div = cln::truncate2(remainder, d);
- 				remainder2 = div.remainder;
- 				remainder = div.quotient;
diff -ruN libqalculate.orig/pkg-plist libqalculate/pkg-plist
--- libqalculate.orig/pkg-plist	Tue Dec 13 13:10:36 2005
+++ libqalculate/pkg-plist	Tue Dec 13 13:33:45 2005
@@ -1,3 +1,5 @@
+lib/libqalculate.a
+lib/libqalculate.so.0
 bin/qalc
 include/libqalculate/Function.h
 include/libqalculate/Calculator.h
@@ -12,9 +14,6 @@
 include/libqalculate/Unit.h
 include/libqalculate/BuiltinFunctions.h
 include/libqalculate/qalculate.h
-lib/libqalculate.a
-lib/libqalculate.so
-lib/libqalculate.so.0
 libdata/pkgconfig/libqalculate.pc
 share/locale/sv/LC_MESSAGES/libqalculate.mo
 share/qalculate/datasets.xml
@@ -25,5 +24,9 @@
 share/qalculate/units.xml
 share/qalculate/variables.xml
 share/qalculate/currencies.xml
+@dirrm lib
+@dirrm bin
 @dirrm include/libqalculate
+@dirrm libdata/pkgconfig
+@dirrm share/locale/sv/LC_MESSAGES
 @dirrm share/qalculate
--- libqalculate.diff ends here ---

--- qalculate.diff begins here ---
diff -ruN qalculate.orig/Makefile qalculate/Makefile
--- qalculate.orig/Makefile	Tue Dec 13 13:34:40 2005
+++ qalculate/Makefile	Tue Dec 13 13:34:48 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	qalculate
-PORTVERSION=	0.8.2.1
-PORTREVISION=	1
+PORTVERSION=	0.9.0
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN qalculate.orig/distinfo qalculate/distinfo
--- qalculate.orig/distinfo	Tue Dec 13 13:34:40 2005
+++ qalculate/distinfo	Tue Dec 13 13:34:57 2005
@@ -1,2 +1,3 @@
-MD5 (qalculate-gtk-0.8.2.1.tar.gz) = 61c2fbac218d56930f165fdca5c2693c
-SIZE (qalculate-gtk-0.8.2.1.tar.gz) = 1211326
+MD5 (qalculate-gtk-0.9.0.tar.gz) = 964d42e83d00929593439f73e604a185
+SHA256 (qalculate-gtk-0.9.0.tar.gz) = cd0142b4ab62bdde24fc91541c5bff3e2c7f21a8c47b403533696fe7757c1f2c
+SIZE (qalculate-gtk-0.9.0.tar.gz) = 1378123
diff -ruN qalculate.orig/pkg-plist qalculate/pkg-plist
--- qalculate.orig/pkg-plist	Tue Dec 13 13:34:40 2005
+++ qalculate/pkg-plist	Tue Dec 13 13:40:40 2005
@@ -1,4 +1,3 @@
-bin/qalculate
 bin/qalculate-gtk
 share/locale/sv/LC_MESSAGES/qalculate-gtk.mo
 share/gnome/applications/qalculate-gtk.desktop
@@ -8,7 +7,6 @@
 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
@@ -19,15 +17,15 @@
 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/help/qalculate-gtk/C/figures/edit-functiongeneral.png
+share/gnome/help/qalculate-gtk/C/figures/edit-variable.png
 share/gnome/omf/qalculate-gtk/qalculate-gtk-C.omf
 share/gnome/qalculate-gtk/glade/about.glade
 share/gnome/qalculate-gtk/glade/argumentrules.glade
@@ -53,9 +51,9 @@
 share/gnome/qalculate-gtk/glade/unknownedit.glade
 share/gnome/qalculate-gtk/glade/variableedit.glade
 share/gnome/qalculate-gtk/glade/variables.glade
+@dirrm bin
+@dirrm share/locale/sv/LC_MESSAGES
+@dirrm share/gnome/applications
 @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
--- qalculate.diff ends here ---
Comment 1 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-12-13 16:49:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jylefort

Take.
Comment 2 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-12-13 18:17:29 UTC
State Changed
From-To: open->feedback

Can I remove USE_X_PREFIX from libqalculate? It does not depend on X, and should 
go in ${LOCALBASE}.
Comment 3 Nikolas Britton 2005-12-15 09:46:02 UTC
Don't forget the KDE version! See ports/90424 for official PR 
http://www.freebsd.org/cgi/query-pr.cgi?pr=90424
Comment 4 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-12-24 22:11:12 UTC
State Changed
From-To: feedback->closed

Committed, thanks! 

Note that I cannot take care of the KDE version, since I do not feel like 
installing KDE.