summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2016-06-19 15:40:11 +0000
committerprlw1 <prlw1@pkgsrc.org>2016-06-19 15:40:11 +0000
commit682ab5ffe67720a9117263b594fc529448e8af0e (patch)
tree9ebc2a710fe7b93b88b3b2fa1638aa5a6a2cf5ea /math
parent4d75b8b9c4ffec92839dda70632009dda3a019f5 (diff)
downloadpkgsrc-682ab5ffe67720a9117263b594fc529448e8af0e.tar.gz
Update gnome-calculator to 3.20.1
Overview of changes in gnome-calculator 3.20.1 * Fix: precedence of root operator (Alexis Poirier and Alberto Ruiz) * Update: Translation (Translation team)
Diffstat (limited to 'math')
-rw-r--r--math/gnome-calculator/Makefile5
-rw-r--r--math/gnome-calculator/distinfo11
-rw-r--r--math/gnome-calculator/patches/patch-lib_equations-parser.vala32
3 files changed, 7 insertions, 41 deletions
diff --git a/math/gnome-calculator/Makefile b/math/gnome-calculator/Makefile
index 3e675deb07e..e7b66ccb4f4 100644
--- a/math/gnome-calculator/Makefile
+++ b/math/gnome-calculator/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2016/05/03 11:40:04 prlw1 Exp $
+# $NetBSD: Makefile,v 1.12 2016/06/19 15:40:11 prlw1 Exp $
-DISTNAME= gnome-calculator-3.20.0
-PKGREVISION= 1
+DISTNAME= gnome-calculator-3.20.1
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-calculator/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
diff --git a/math/gnome-calculator/distinfo b/math/gnome-calculator/distinfo
index 1f3bdde0bfb..d8a1a4f096b 100644
--- a/math/gnome-calculator/distinfo
+++ b/math/gnome-calculator/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2016/04/21 22:11:32 prlw1 Exp $
+$NetBSD: distinfo,v 1.6 2016/06/19 15:40:11 prlw1 Exp $
-SHA1 (gnome-calculator-3.20.0.tar.xz) = 95bdd2f68cc55453a5120c82bc7787ea1d4e7f01
-RMD160 (gnome-calculator-3.20.0.tar.xz) = 75c4a6bff254b9ed1b776b0a987158a6e741c03a
-SHA512 (gnome-calculator-3.20.0.tar.xz) = 6f5daa64af19f91c35e9242e182aef759a13060e11476fac7965854af715ddf4c247e181e9146042a56e126a9665daf4ddd447950dc201f892ca9267e02a24e3
-Size (gnome-calculator-3.20.0.tar.xz) = 1347932 bytes
-SHA1 (patch-lib_equations-parser.vala) = 39debd2e1d4b5e141ab1bb7357e45612a3ed9f7e
+SHA1 (gnome-calculator-3.20.1.tar.xz) = 461a9bccd4fcf8d4c5202bffcacd3fa7fed28995
+RMD160 (gnome-calculator-3.20.1.tar.xz) = 1523acb5842791cb6270813da75ed6541e5117a0
+SHA512 (gnome-calculator-3.20.1.tar.xz) = 28198343422d61eec40938e35659e92bec1a67c4a6f16bdafd7a13f0b3a449d884f33daa9cf6c61bd56e9859ae3554522a02c0650ffcfaf64fb69b69671e347e
+Size (gnome-calculator-3.20.1.tar.xz) = 1454768 bytes
diff --git a/math/gnome-calculator/patches/patch-lib_equations-parser.vala b/math/gnome-calculator/patches/patch-lib_equations-parser.vala
deleted file mode 100644
index 7debb32c609..00000000000
--- a/math/gnome-calculator/patches/patch-lib_equations-parser.vala
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-lib_equations-parser.vala,v 1.1 2016/04/21 22:11:32 prlw1 Exp $
-
-equation: fix precedence of the root operator with regards to the unary minus
-commit 87f716da
-
---- ./lib/equation-parser.vala.orig 2016-02-15 16:53:44.000000000 +0000
-+++ ./lib/equation-parser.vala
-@@ -26,15 +26,15 @@ private enum Precedence
- MOD = 3,
- DIVIDE = 3,
- NOT = 4,
-- ROOT = 5,
-- FUNCTION = 6,
-- BOOLEAN = 7,
-- PERCENTAGE = 8,
-- /* UNARY_MINUS and POWER must have same precedence. */
-- UNARY_MINUS = 9,
-- POWER = 9,
-- FACTORIAL = 10,
-- NUMBER_VARIABLE = 11,
-+ FUNCTION = 5,
-+ BOOLEAN = 6,
-+ PERCENTAGE = 7,
-+ /* UNARY_MINUS, ROOT and POWER must have same precedence. */
-+ UNARY_MINUS = 8,
-+ POWER = 8,
-+ ROOT = 8,
-+ FACTORIAL = 9,
-+ NUMBER_VARIABLE = 10,
- /* DEPTH should be always at the bottom. It stops node jumping off the current depth level. */
- DEPTH
- }