skrooge
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import kde5
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
kde5.configure()
|
||||
|
||||
def build():
|
||||
kde5.make()
|
||||
|
||||
def install():
|
||||
kde5.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "CHANGELOG", "COPYING", "README", "TODO")
|
||||
|
||||
@@ -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);
|
||||
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>skrooge</Name>
|
||||
<Homepage>http://skrooge.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<Icon>skrooge</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Personal finances manager</Summary>
|
||||
<Description>Skrooge allows you to manage your personal finances, powered by KDE. Thanks to its many features, it is one of the most powerful way to enter, follow, and analyze your expenses.</Description>
|
||||
<Archive sha1sum="d1e64235fac31c4aae0e2412269a11ca1b25b26a" type="tarxz">http://download.kde.org/stable/skrooge/skrooge-2.4.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
<Dependency>qt5-webkit-devel</Dependency>
|
||||
<Dependency>qt5-script-devel</Dependency>
|
||||
<Dependency>qt5-sql-mysql</Dependency>
|
||||
<Dependency>qt5-sql-odbc</Dependency>
|
||||
<Dependency>qt5-sql-postgresql</Dependency>
|
||||
<Dependency>qt5-sql-sqlite</Dependency>
|
||||
<Dependency>qt5-designer-devel</Dependency>
|
||||
<Dependency>qt5-svg-devel</Dependency>
|
||||
<Dependency>qt5-location-devel</Dependency>
|
||||
<Dependency>grantlee-qt5-devel</Dependency>
|
||||
<Dependency>karchive-devel</Dependency>
|
||||
<Dependency>kconfig-devel</Dependency>
|
||||
<Dependency>kcoreaddons-devel</Dependency>
|
||||
<Dependency>ki18n-devel</Dependency>
|
||||
<Dependency>kitemviews-devel</Dependency>
|
||||
<Dependency>kwidgetsaddons-devel</Dependency>
|
||||
<Dependency>kwindowsystem-devel</Dependency>
|
||||
<Dependency>kcompletion-devel</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
<Dependency>kjobwidgets-devel</Dependency>
|
||||
<Dependency>kconfigwidgets-devel</Dependency>
|
||||
<Dependency>kdesignerplugin</Dependency>
|
||||
<Dependency>kiconthemes-devel</Dependency>
|
||||
<Dependency>kio-devel</Dependency>
|
||||
<Dependency>knewstuff-devel</Dependency>
|
||||
<Dependency>kparts-devel</Dependency>
|
||||
<Dependency>kwallet-devel</Dependency>
|
||||
<Dependency>kxmlgui-devel</Dependency>
|
||||
<Dependency>sqlcipher-devel</Dependency>
|
||||
<Dependency>qca2-qt5-devel</Dependency>
|
||||
<Dependency>kdelibs4-support-devel</Dependency>
|
||||
<Dependency>kemoticons-devel</Dependency>
|
||||
<Dependency>kitemmodels-devel</Dependency>
|
||||
<Dependency>kinit-devel</Dependency>
|
||||
<Dependency>kunitconversion-devel</Dependency>
|
||||
<Dependency>kactivities-devel</Dependency>
|
||||
<Dependency>knotifyconfig-devel</Dependency>
|
||||
<Dependency>krunner-devel</Dependency>
|
||||
<Dependency>libofx-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch level="1">skrooge-gcc-fix.patch</Patch-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>skrooge</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>kio</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kparts</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libofx</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>krunner</Dependency>
|
||||
<Dependency>kwallet</Dependency>
|
||||
<Dependency>kxmlgui</Dependency>
|
||||
<Dependency>qt5-svg</Dependency>
|
||||
<Dependency>karchive</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
<Dependency>qca2-qt5</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>knewstuff</Dependency>
|
||||
<Dependency>sqlcipher</Dependency>
|
||||
<Dependency>kitemviews</Dependency>
|
||||
<Dependency>qt5-script</Dependency>
|
||||
<Dependency>qt5-webkit</Dependency>
|
||||
<Dependency>kcompletion</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kdbusaddons</Dependency>
|
||||
<Dependency>kiconthemes</Dependency>
|
||||
<Dependency>grantlee-qt5</Dependency>
|
||||
<Dependency>ktextwidgets</Dependency>
|
||||
<Dependency>knotifyconfig</Dependency>
|
||||
<Dependency>kconfigwidgets</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>qt5-declarative</Dependency>
|
||||
<Dependency>kdelibs4-support</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/xdg</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/appdata</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="config">/usr/share/config.kcfg</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/knotifications5</Path>
|
||||
<Path fileType="data">/usr/share/kservices5</Path>
|
||||
<Path fileType="data">/usr/share/kservicetypes5</Path>
|
||||
<Path fileType="data">/usr/share/kxmlgui5</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/mime</Path>
|
||||
<Path fileType="data">/usr/share/skrooge</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-05-23</Date>
|
||||
<Version>2.4.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-03-22</Date>
|
||||
<Version>2.3.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>skrooge</Name>
|
||||
<Summary xml:lang="tr">Kişisel finansal yönetici</Summary>
|
||||
<Description xml:lang="tr">Skrooge, kişisel finans akışınızı kontrol altında tutmanızı sağlayan bir uygulamadır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user