[arch-commits] Commit in skrooge/trunk (3 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed Feb 24 17:35:02 UTC 2016


    Date: Wednesday, February 24, 2016 @ 18:35:02
  Author: jlichtblau
Revision: 163324

upgpkg: skrooge 2.3.0-1 - new upstream release

Added:
  skrooge/trunk/skrooge-gcc-fix.patch
Modified:
  skrooge/trunk/PKGBUILD
  skrooge/trunk/skrooge.changelog

-----------------------+
 PKGBUILD              |   16 +++++++++---
 skrooge-gcc-fix.patch |   63 ++++++++++++++++++++++++++++++++++++++++++++++++
 skrooge.changelog     |    3 ++
 3 files changed, 78 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-24 17:31:06 UTC (rev 163323)
+++ PKGBUILD	2016-02-24 17:35:02 UTC (rev 163324)
@@ -5,8 +5,8 @@
 # Contributor: neuromante <lorenzo.nizzi.grifi at gmail.com>
 
 pkgname=skrooge
-pkgver=2.2.0
-pkgrel=2
+pkgver=2.3.0
+pkgrel=1
 pkgdesc="A personal finances manager for KDE"
 arch=('i686' 'x86_64')
 url="http://skrooge.org/"
@@ -17,9 +17,17 @@
 options=('!emptydirs')
 install=$pkgname.install
 changelog=$pkgname.changelog
-source=(http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('c711a63cff0874fdb0c9a1be954d6013dc77cafc30e779252fc50533ebae7eef')
+source=(http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz
+        $pkgname-gcc-fix.patch)
+sha256sums=('76f57e2cede320848f1f1bef41b3be128aec9d59a8e643701b30bcae61f8a11a'
+            '9fce467043903e4e82b75cc95c96fa57facef99867bb08243adb910bbca990b8')
 
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+#https://bugs.kde.org/show_bug.cgi?id=359679
+  patch -Np1 -i "${srcdir}"/$pkgname-gcc-fix.patch
+}
+
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 

Added: skrooge-gcc-fix.patch
===================================================================
--- skrooge-gcc-fix.patch	                        (rev 0)
+++ skrooge-gcc-fix.patch	2016-02-24 17:35:02 UTC (rev 163324)
@@ -0,0 +1,63 @@
+--- a/skgbasemodeler/skgdocument.cpp
++++ b/skgbasemodeler/skgdocument.cpp
+@@ -42,7 +42,6 @@
+ #include <qurl.h>
+ 
+ #include <sqlite3.h>
+-#include <math.h>
+ #include <cmath>
+ 
+ #include "skgtraces.h"
+@@ -51,11 +50,6 @@
+ #include "skgpropertyobject.h"
+ #include "skgtransactionmng.h"
+ #include "skgreport.h"
+-
+-#ifdef Q_OS_WIN
+-#define isnan(a) _isnan(a)
+-#define isinf(a) !_finite(a)
+-#endif
+ 
+ #ifdef SKGCIPHER
+ #define SQLDRIVERNAME QStringLiteral("SKGSQLCIPHER")
+@@ -2693,7 +2687,7 @@
+     if (iValue > 0) {
+         p = '+' % p;
+     }
+-    if (p.count() > 10 || isnan(iValue) || isinf(iValue)) {
++    if (p.count() > 10 || std::isnan(iValue) || std::isinf(iValue)) {
+         p = QChar(8734);
+     }
+     return "<font color=\"" %
+
+--- a/plugins/import/skrooge_import_gnc/skgimportplugingnc.cpp
++++ b/plugins/import/skrooge_import_gnc/skgimportplugingnc.cpp
+@@ -27,7 +27,6 @@
+ 
+ #include <qdom.h>
+ #include <qfileinfo.h>
+-#include <math.h>
+ #include <cmath>
+ 
+ #include "skgtraces.h"
+@@ -36,11 +35,6 @@
+ #include "skgobjectbase.h"
+ #include "skgpayeeobject.h"
+ #include "skgimportexportmanager.h"
+-
+-#ifdef Q_OS_WIN
+-#define isnan(a) _isnan(a)
+-#define isinf(a) !_finite(a)
+-#endif
+ 
+ /**
+  * This plugin factory.
+@@ -386,7 +380,7 @@
+                                         }
+                                     }
+ 
+-                                    if (!isnan(info.value)) {
++                                    if (!std::isnan(info.value)) {
+                                         QChar accountType = mapIdType[info.account.text()];
+                                         if (accountType == 'C') {
+                                             suboperationsList.push_front(info);

Modified: skrooge.changelog
===================================================================
--- skrooge.changelog	2016-02-24 17:31:06 UTC (rev 163323)
+++ skrooge.changelog	2016-02-24 17:35:02 UTC (rev 163324)
@@ -1,3 +1,6 @@
+2016-02-22 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* skrooge 2.3.0-1
+
 2015-11-30 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* skrooge 2.2.0-1
 



More information about the arch-commits mailing list